Skip to main content
GET
Get a WhatsApp call

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Path Parameters

id
string
required

Response

The call

object
string
Example:

"whatsapp.call"

id
string
Example:

"wac_..."

number_id
string
wa_call_id
string | null

Meta's call id (wacid...).

direction
enum<string>
Available options:
inbound,
outbound
user
string
Example:

"+919876543210"

agent_id
string | null
status
enum<string>
Available options:
ringing,
accepted,
connected,
completed,
failed,
rejected,
no_answer,
terminated
failure_reason
string | null
started_at
integer | null

Unix ms.

connected_at
integer | null

Unix ms.

ended_at
integer | null

Unix ms.

duration_seconds
integer | null
created_at
integer
updated_at
integer