GET
/
v1
/
calls
curl --request GET \
  --url https://api.openmic.ai/v1/calls \
  --header 'Authorization: Bearer <token>'
{
  "calls": [
    {
      "call_type": "phonecall",
      "from_number": "+1234567890",
      "to_number": "+0987654321",
      "direction": "outbound",
      "call_id": "cmbbvrg8wzi487w02m2bc7dji",
      "agent_id": "bvrg8wzi487w02m2bc7dh0ev",
      "call_status": "ended",
      "customer_id": "customer_001"
    }
  ],
  "pagination": {
    "limit": 1,
    "offset": 0,
    "total": 1,
    "has_more": false
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication using API key. Find it at: https://chat.openmic.ai/api-key

Query Parameters

limit
integer

Maximum number of calls to return (1-100)

Required range: 1 <= x <= 100
offset
integer

Number of calls to skip

Required range: x >= 0
customer_id
string

Filter by customer ID

from_number
string

Filter by originating phone number

to_number
string

Filter by destination phone number

bot_id
string

Filter by bot ID

from_date
string

Filter calls from this date (ISO 8601 format)

to_date
string

Filter calls to this date (ISO 8601 format)

call_status
enum<string>

Filter by call status

Available options:
registered,
ongoing,
ended,
error
call_type
enum<string>

Filter by call type

Available options:
phonecall,
webcall

Response

200
application/json

List of calls retrieved successfully

The response is of type object.