Skip to main content
GET
/
h
/
v2
/
call
/
{id}
Get a call
curl --request GET \
  --url https://api.openmic.ai/h/v2/call/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "from_number": "<string>",
  "to_number": "<string>",
  "call_status": "registered",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "call_type": "phonecall",
  "agent_uid": "<string>",
  "customer_id": "<string>",
  "dynamic_variables": {},
  "callback_url": "<string>"
}

Authorizations

Authorization
string
header
required

API key obtained from the OpenMic dashboard.

Path Parameters

id
string
required

CUID of the call.

Response

Call details.

id
string
required

CUID call identifier.

from_number
string
required
to_number
string
required
call_status
enum<string>
required
Available options:
registered,
ongoing,
ended,
error
created_at
string<date-time>
required
updated_at
string<date-time>
required
call_type
enum<string>
Available options:
phonecall,
webcall
agent_uid
string
customer_id
string
dynamic_variables
object
callback_url
string