Body
Post Call Transfer Request
A unique identifier for this call transfer request. This should be different for each transfer attempt.
"0867617078-0032318833-2221801472-0002236962"
The unique identifier of the call in your call system. Multiple call transfers using the same externalConversationId will be treated as a single conversation.
This is the primary identifier for conversations within ASAPP and is reflected in reporting.
"0867617078-0032318833-2221801472-0002236962"
The type of call transfer being made. Currently supports:
PHONE_NUMBER
: A temporary phone number is assigned for the transfer.SIP
: Session Initiation Protocol (SIP) transfer.
PHONE_NUMBER
, SIP
Configuration information for requesting a phone number. Mandatory if type
is PHONE_NUMBER
.
Configuration for SIP transfers. Defines how the call will be transferred back when the Generative Agent finishes the conversation.
Transfer Types:
BYE
: Ends the call with a SIP BYE message. Use for supervised transfers to Generative Agent.REFER
: Sends a SIP REFER message with the return URI in the Refer-To header. Use for blind transfers to another system.INVITE
: Initiates a new SIP INVITE to the return URI, ASAPP will continue to transcribe the call until the call is ended.
{
"returnTransferType": "REFER",
"returnUri": "sip:transfer@your-company.com:5060"
}
Optional context information to pass to the Generative Agent when the call is received.
Response
Successful response
Post Call Transfer Response
The unique identifier for this call transfer request, matching the ID provided in the request.
"0867617078-0032318833-2221801472-0002236962"
The unique identifier of the call in your call system. This will be referenced in ASAPP reporting. Usually this is the same value as the call transfer ID.
"0867617078-0032318833-2221801472-0002236962"
The type of call transfer method being used.
PHONE_NUMBER
, SIP
The current status of the call transfer request.
On creation, the status is ACTIVE
and is waiting for your system to transfer the call.
ACTIVE
, ONGOING
, COMPLETED
, EXPIRED
Details about the assigned phone number for the transfer. Available only if type
is PHONE_NUMBER
.
Configuration for SIP transfers. Defines how the call will be transferred back when the Generative Agent finishes the conversation.
Transfer Types:
BYE
: Ends the call with a SIP BYE message. Use for supervised transfers to Generative Agent.REFER
: Sends a SIP REFER message with the return URI in the Refer-To header. Use for blind transfers to another system.INVITE
: Initiates a new SIP INVITE to the return URI, ASAPP will continue to transcribe the call until the call is ended.
{
"returnTransferType": "REFER",
"returnUri": "sip:transfer@your-company.com:5060"
}
The context information that will be passed to the Generative Agent when the call is received.