Calls

Call logs, history, stats, and trends

List calls or get stats/trends

get

Retrieves paginated call logs, aggregated stats, or trends based on action parameter.

  • No action: Returns paginated call list

  • action=stats: Returns call status breakdown

  • action=trends: Returns daily call counts over time

Authorizations
AuthorizationstringRequired

API key in format kros_live_xxxx for production or kros_test_xxxx for testing. Also accepts JWT tokens from Supabase Auth for dashboard sessions.

Query parameters
pageinteger · min: 1Optional

Page number for pagination (1-indexed)

Default: 1
limitinteger · min: 1 · max: 100Optional

Number of items per page

Default: 20
actionstring · enumOptional

Action type (stats or trends)

Possible values:
statusstring · enumOptional

Filter by call status

Possible values:
directionstring · enumOptional

Filter by call direction

Possible values:
phone_number_idstring · uuidOptional

Filter by phone number ID

start_datestring · dateOptional

Filter calls from this date (for trends)

end_datestring · dateOptional

Filter calls until this date (for trends)

Header parameters
x-organization-idstring · uuidOptional

Organization UUID for multi-tenant context. Falls back to user's first organization if not provided.

Responses
get
/calls

Get call details

get

Retrieves detailed call information including events and recording

Authorizations
AuthorizationstringRequired

API key in format kros_live_xxxx for production or kros_test_xxxx for testing. Also accepts JWT tokens from Supabase Auth for dashboard sessions.

Path parameters
idstring · uuidRequired

Call UUID

Header parameters
x-organization-idstring · uuidOptional

Organization UUID for multi-tenant context. Falls back to user's first organization if not provided.

Responses
get
/calls/{id}

Delete call record

delete

Deletes the call record and associated events

Authorizations
AuthorizationstringRequired

API key in format kros_live_xxxx for production or kros_test_xxxx for testing. Also accepts JWT tokens from Supabase Auth for dashboard sessions.

Path parameters
idstring · uuidRequired

Call UUID

Header parameters
x-organization-idstring · uuidOptional

Organization UUID for multi-tenant context. Falls back to user's first organization if not provided.

Responses
chevron-right
204

Call deleted

No content

delete
/calls/{id}

No content

Last updated