Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

List call sessions for tenant history

GET/v1/calls/sessions
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Query parameters
limitinteger<int64>
min 1 · max 100 · default: 25
offsetinteger<int64>
min 0
channel_idstring
directionstring
Allowed:USER_INITIATEDBUSINESS_INITIATED
statusstring
Responses
200OK
itemsCallSessionListItem[] | nullrequired
Show properties
Array of CallSessionListItem
call_idstringrequired
channel_idstringrequired
conversation_idstring
created_atstringrequired
directionstringrequired
duration_secondsinteger<int64>required
ended_atstring
from_numberstring
idstring
started_atstring
statusstringrequired
to_numberstring
totalinteger<int64>required
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X GET "/v1/calls/sessions"
Response
{
  "items": [
    {
      "call_id": "string",
      "channel_id": "string",
      "conversation_id": "string",
      "created_at": "string",
      "direction": "string",
      "duration_seconds": 0,
      "ended_at": "string",
      "from_number": "string",
      "id": "string",
      "started_at": "string",
      "status": "string",
      "to_number": "string"
    }
  ],
  "total": 0
}