customer-engagement
conversations
outbound-call-conversation-calls

Create outbound call conversation

Use this method to create a conversation associated with an outbound call. Expected usage is to trigger this endpoint and then start a call using the RTC SDK callConversations method. The created conversation ID is required when using the callConversations method to trigger an outbound call. Another option is to use the ID of a previously created call conversation. <a href="https://www.infobip.com/docs/conversations/calls#make-a-call-agent-guide" target="_blank">More info</a>.

post/ccaas/voice/2/outbound-call-conversation

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token

Request body

fromstring required

DID number that is used to originate the call. DID numbers can be configured through the portal, or using the 'Purchase a number' endpoint.

tostring required

Destination number.

agentIdstring required

Id of the agent originating the call.

voiceClientType'PSTN' | 'WEBRTC' | 'WHATSAPP' | 'VIBER' | 'LIVE_CHAT'

Voice client type of the destination number.

Example request

{
  "from": "385998779621",
  "to": "38761123123",
  "agentId": "2010EA93ABC142E812C19F529BCBD22F",
  "voiceClientType": "PSTN"
}

Response

OK

fromstring required

DID number that is used to originate the call. DID numbers can be configured through the portal, or using the 'Purchase a number' endpoint.

tostring required

Destination number.

conversationIdstring

Id of the created conversation

agentIdstring required

Id of the agent originating the call.

Example response

{
  "from": "385998779621",
  "to": "38761123333",
  "conversationId": "718A037A2FE0D2D5AA2D12A7240ED8C4",
  "agentId": "2010EA93ABC142E812C19F529BCBD22F"
}

Changes

No recorded changes to this operation across all 1 revision of this API.