Get Outbound Call Status
- NEW! - Interactive API docs, now live!
Visit api-docs.plumvoice.com to read Plum API documentation, build and test requests in our interactive API sandbox, review the responses, and share it all with your team.
Checking Status For An Outbound Call
GET
https://fuse.plumvoice.com/api/outbound/{call_id}
Check the status of an outbound call.
Path Parameters
Name | Type | Description |
---|---|---|
call_id | string | Call ID for the desired call The call_id is returned from the queue and bulk_queue APIs |
Possible Response Codes
200: success
401: authentication headers invalid or the account is inactive
403: user does not have the appropriate permission to view the outbound call (owned by another user)
404: outbound call not found
405: invalid HTTP method supplied (only GET allowed)
500: database error
The return structure contains the following item(s):
Name | Data Type | Always Present | Description |
error | string | no | Message indicating what went wrong with the request when the HTTP code is not 200. |
call_details | mixed | no | All call data for the outbound call. Supplied when the HTTP code is 200. See the table below for more information on the data in this item. |
Definitions: Call Detail Data
Name | Data Type | Value |
status | string | Current status for the outbound call. |
attempts | int | Total number of attempts made. |
max_attempts | int | Maximum number of attempts for each queued number. |
queued_timestamp | int | Unix timestamp indicating when the call was queued. |
start_timestamp | int | Unix timestamp indicating when the call was scheduled to start outbound call attempts. |
end_timestamp | int | Unix timestamp indicating when the outbound call was scheduled to stop outbound attempts. |
reattempt_wait | int | Time, in seconds, to wait between retrying the outbound call after a failure. |
events | mixed | Numerically indexed array of outbound call events. Each row uses the 'event' and 'timestamp' labels to indicate the event and its duration. |
duration | int | Duration, in seconds, of a successfully completed call. |
Sample Code
This sample PHP code makes a request to this method:
Last updated