Skip to main content
GET
/
user
/
assistants
/
outbound
Получаване на изходящи асистенти
curl --request GET \
  --url https://call.aiployees.com/api/user/assistants/outbound \
  --header 'Authorization: Bearer <token>'
[
  {
    "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"
  }
]
Този endpoint връща списък с всички изходящи асистенти, принадлежащи на удостоверения потребител. Изходящите асистенти се използват за извършване на повиквания до потенциални клиенти и проспекти.

Response полета

data
array
[
  {
    "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"
  }
]

Бележки

  • Този endpoint връща само асистенти с тип “outbound”
  • Връщат се всички асистенти, принадлежащи на удостоверения потребител (без пагинация)
  • Използвайте тези асистенти с endpoint за извършване на повиквания, за да инициирате изходящи разговори
  • Изходящите асистенти могат да се използват за търговски разговори, проследявания, проучвания и други проактивни сценарии за обаждане