> ## Documentation Index
> Fetch the complete documentation index at: https://docs.suasofia.online/llms.txt
> Use this file to discover all available pages before exploring further.

# Obter assistentes de saída

> Recuperar todos os assistentes de saída do usuário autenticado

Este endpoint retorna uma lista de todos os assistentes de saída pertencentes ao usuário autenticado. Assistentes de saída são usados para realizar chamadas para leads e prospects.

### Campos de Resposta

<ResponseField name="data" type="array">
  <Expandable title="properties">
    <ResponseField name="id" type="integer">
      O identificador único do assistente
    </ResponseField>

    <ResponseField name="user_id" type="integer">
      O ID do usuário que possui este assistente
    </ResponseField>

    <ResponseField name="name" type="string">
      O nome do assistente
    </ResponseField>

    <ResponseField name="type" type="string">
      O tipo de assistente (sempre será "outbound" para este endpoint)
    </ResponseField>

    <ResponseField name="mode" type="string">
      O modo do motor (`pipeline` ou `multimodal`)
    </ResponseField>

    <ResponseField name="status" type="string">
      O status atual do assistente
    </ResponseField>

    <ResponseField name="voice_id" type="integer">
      O ID da voz usada pelo assistente
    </ResponseField>

    <ResponseField name="language_id" type="integer">
      O ID do idioma usado pelo assistente
    </ResponseField>

    <ResponseField name="timezone" type="string">
      A configuração de fuso horário do assistente
    </ResponseField>

    <ResponseField name="initial_message" type="string">
      A mensagem inicial que o assistente falará
    </ResponseField>

    <ResponseField name="system_prompt" type="string">
      O prompt do sistema que define o comportamento do assistente
    </ResponseField>

    <ResponseField name="variables" type="object">
      Variáveis personalizadas definidas para o assistente
    </ResponseField>

    <ResponseField name="webhook_url" type="string">
      A URL do webhook para notificações pós-chamada
    </ResponseField>

    <ResponseField name="is_webhook_active" type="boolean">
      Se as notificações por webhook estão habilitadas
    </ResponseField>

    <ResponseField name="created_at" type="string">
      A data e hora em que o assistente foi criado
    </ResponseField>

    <ResponseField name="updated_at" type="string">
      A data e hora da última atualização do assistente
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 Response theme={null}
  [
    {
      "id": 123,
      "user_id": 1,
      "name": "Sales Outbound Assistant",
      "type": "outbound",
      "mode": "pipeline",
      "status": "active",
      "voice_id": 8,
      "language_id": 1,
      "timezone": "America/New_York",
      "initial_message": "Hi, this is Sarah from Your Company. I hope I'm catching you at a good time. How are you doing today?",
      "system_prompt": "You are a sales representative for Your Company. Be professional, friendly, and focus on qualifying leads.",
      "variables": {
        "company_name": "Your Company",
        "product_line": "Premium Services"
      },
      "webhook_url": "https://yourcompany.com/api/webhooks/outbound-calls",
      "is_webhook_active": true,
      "created_at": "2025-07-15T14:32:15.000000Z",
      "updated_at": "2025-08-02T09:18:42.000000Z"
    },
    {
      "id": 124,
      "user_id": 1,
      "name": "Follow-up Assistant",
      "type": "outbound",
      "mode": "multimodal",
      "status": "inactive",
      "voice_id": 12,
      "language_id": 1,
      "timezone": "America/Los_Angeles",
      "initial_message": "Hello! I'm calling to follow up on our previous conversation. Do you have a few minutes to chat?",
      "system_prompt": "You are a follow-up specialist. Be warm and professional while gathering feedback and next steps.",
      "variables": {
        "purpose": "follow_up",
        "max_duration": "5_minutes"
      },
      "webhook_url": null,
      "is_webhook_active": false,
      "created_at": "2025-07-20T10:15:30.000000Z",
      "updated_at": "2025-07-25T16:45:22.000000Z"
    }
  ]
  ```
</ResponseExample>

### Notas

* Este endpoint retorna apenas assistentes com tipo "outbound"
* Todos os assistentes pertencentes ao usuário autenticado são retornados (sem paginação)
* Use esses assistentes com o endpoint de fazer chamada para iniciar chamadas de saída
* Assistentes de saída podem ser usados para chamadas de vendas, follow-ups, pesquisas e outros cenários de chamadas proativas
