Get Call Status Using Voice API v1

Retrieve the status of an individual call by passing 'sessionId' using Voice API v1.

📘

API Endpoints & Postman Collection

The Voice channel is supported via Voice API v1 and Send Message API v2.

The API endpoint for it is: [https://api.{YourRegion}.webexconnect.io/v1/voice/calls/{sessionId}].

Please modify YourRegion in the URL as per your tenant’s region. See Know Your Endpoint Page.

Refer to Postman Collection for trying Get Call Status Using Voice API v1.

📘

API Response and Error Codes

Voice API v1 is asynchronous. When you invoke the API, you receive an HTTP response confirming acceptance of your request. Further processing details are sent to your callback URL (notify URL) specified in the API request. For more information, see Channel Specific Status Codes.

Request Body for Get Call Status API

curl --location 'https://baseURL/v1/voice/calls/{sessionId}' \
--header 'Accept: application/json' \
--header 'Authorization: ServiceKey'

Get Call Status Path Parameters

ParameterTypeMandatoryDescription
sessionIdstringyesUnique identifier for the call. Returned in the response body of Voice API v1.

Get Call Status Header Parameters

ParameterTypeMandatoryDescription
AuthorizationstringyesAuthorization token (this can be either a JWT signed by a secret key or the service key).

Sample Response Body

{
    "durationSeconds": 21,
    "statusTime": "2025-01-28T19:37:09.875+05:30",
    "offeredTime": "2025-01-28T19:36:49.739+05:30",
    "answeredTime": "2025-01-28T19:37:09.875+05:30",
    "status": "ANSWERED"
}
<No Response Body>

Response Parameters

ParameterTypeDescription
durationSecondsIntegerDuration of the call, in seconds.
statusTimestringTimestamp of the call status, in UTC format.
offeredTimestringTimestamp when the call was placed, in UTC format.
answeredTimestringTimestamp when the call was answered, in UTC format.
statusstringStatus of the call. Possible values:
Answered: The end customer answered the call.
Dropped: The call was dropped due to a technical error.
Rejected: The call was rejected (e.g., network failure, busy, or declined by the customer).
Released: The call was ended by the platform.
Disconnected: The end customer disconnected the call.
Trombone Connected: Both the end customer and agent are connected.
Trombone Released: The agent exited the call.
Message Expired: The call request expired after the configured expiry time.