Get Call Transfer resource by ID.
Documentation Index
Fetch the complete documentation index at: https://docs.asapp.com/llms.txt
Use this file to discover all available pages before exploring further.
The identifier for the call transfer.
Successful response
Get Call Transfer Response
The unique identifier for this call transfer request.
"0867617078-0032318833-2221801472-0002236962"
The unique identifier of the call in your call system. This will be referenced in ASAPP reporting.
"0867617078-0032318833-2221801472-0002236962"
The current status of the call transfer request.
ACTIVE: The call transfer request has been created and is waiting for your system to transfer the call.ONGOING: The call transfer has been received by ASAPP and is currently in progress. The phone number is no longer assigned to the call transfer request.COMPLETED: The call transfer has been successfully completed. The output context will be returned.EXPIRED: The call transfer request is no longer valid (e.g., the phone number expired).ACTIVE, ONGOING, COMPLETED, EXPIRED Timestamp (ISO 8601) when the call transfer resource was created.
"2024-06-01T12:34:56Z"
The type of call transfer method that was used.
PHONE_NUMBER, SIP Timestamp (ISO 8601) when the call transfer was received by ASAPP.
"2024-06-01T12:34:56Z"
Timestamp (ISO 8601) when the call transfer was completed by the Generative Agent.
"2024-06-01T12:34:56Z"
The context information that was passed to the Generative Agent when the call was received.
{
"taskName": "welcome",
"variables": {
"email": "example@gmail.com",
"name": "name"
}
}The context information from the Generative Agent when the call ended.
{
"currentTaskName": "welcome",
"referenceVariables": {
"reference_variable_1": "reference_value_1",
"reference_variable_2": "reference_value_2"
},
"transferVariables": {
"transfer_variable_1": "transfer_value_1",
"transfer_variable_2": "transfer_value_2"
}
}Details about the assigned phone number for the transfer, including the number to dial and when it expires. Only available 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. Default value if returnTransferType is not provided.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"
}