Endpoint
GEThttps://api.graine.cloud/v1/Accounts/{AccountSid}/Calls/{CallSid}
Reference: REST Call Control — Get Call
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| AccountSid | string | Yes | Account SID |
| CallSid | string | Yes | Call SID |
Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token |
Response
200 — Call found| Property | Type | Description |
|---|---|---|
| account_sid | string (uuid) | Account SID |
| application_sid | string (uuid) | Application SID |
| call_id | string | Call ID |
| call_sid | string (uuid) | Call SID |
| call_status | string | One of: trying, ringing, alerting, in-progress, completed, busy, no-answer, failed, queued |
| caller_name | string | Caller name |
| direction | string | inbound or outbound |
| duration | integer | Call duration |
| from | string | Calling party |
| originating_sip_trunk_name | string | Trunk that received/originated the call |
| parent_call_sid | string (uuid) | Parent call SID if applicable |
| service_url | string | Service URL |
| sip_status | integer | SIP status |
| to | string | Called party |
500 — System error (response may include
msg in body)