GET
/
calls
curl --request GET \
  --url https://backend-callhq-385086326930.asia-south1.run.app/api/calls \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "calls": [
    {
      "id": "<string>",
      "assistantId": "<string>",
      "phoneNumberId": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string

Filter by specific call ID.

assistantId
string
required

Filter by assistant ID.

phoneNumberId
string

Filter by phone number ID.

limit
integer

Maximum number of call records to return.

createdAtGe
string

Filter for calls created on or after this date/time.

createdAtLe
string

Filter for calls created on or before this date/time.

Response

200
application/json

List of call records retrieved successfully.

The response is of type object.