Contacts
List calls associated with a contact
Permission
contacts:readAuthenticationGET
Returns calls whose caller number exactly matches the contact's immutable E.164 number, newest first. Deleting the contact does not delete these call records.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidcursor?stringOpaque pagination cursor from a previous response's next_cursor.
limit?integerRange
1 <= value <= 200Default
50Contact call page.
application/json- response
data*array<>next_cursor*string|nullcurl -X GET 'https://api.kejue.co/v1/contacts/497f6eca-6276-4993-bfeb-53cbbbba6f08/calls'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "agent_name": "string", "started_at": "2019-08-24T14:15:22Z", "ended_at": "2019-08-24T14:15:22Z", "duration_sec": 0, "lifecycle_status": "ringing", "outcome": "string", "direction": "string" } ], "next_cursor": "string"}