Skip to main content
POST
/
events
/
calls
/
all
/
my
Gets all call events for current user.
curl --request POST \
  --url https://api.leadping.ai/events/calls/all/my \
  --header 'Content-Type: application/json' \
  --data '
{
  "pageSize": "<string>",
  "continuationToken": "<string>",
  "orderBy": [
    {
      "field": "<string>"
    }
  ],
  "includeCount": true,
  "search": "<string>",
  "searchFields": [
    "<string>"
  ],
  "filters": [
    {
      "value": "<unknown>",
      "field": "<string>"
    }
  ],
  "rangeFilters": [
    {
      "greaterThan": "<unknown>",
      "greaterThanOrEqual": "<unknown>",
      "lessThan": "<unknown>",
      "lessThanOrEqual": "<unknown>",
      "field": "<string>"
    }
  ]
}
'
{
  "items": [
    {
      "id": "<string>",
      "telnyxId": "<string>",
      "leadId": "<string>",
      "businessId": "<string>",
      "userId": "<string>",
      "conversationId": "<string>",
      "fromPhoneNumberId": "<string>",
      "billingPhoneNumberId": "<string>",
      "fromPhoneNumber": "<string>",
      "toPhoneNumber": "<string>",
      "callerId": "<string>",
      "statusReason": "<string>",
      "direction": "<string>",
      "providerStatus": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "answeredAt": "2023-11-07T05:31:56Z",
      "endedAt": "2023-11-07T05:31:56Z",
      "duration": "<string>",
      "billableSeconds": "<string>",
      "billableAmount": "<string>",
      "billingStatus": "<string>",
      "recordingUrl": "<string>",
      "metadata": {},
      "user": "<string>",
      "business": "<string>"
    }
  ],
  "pageSize": "<string>",
  "totalCount": "<string>",
  "continuationToken": "<string>"
}

Body

Pagination, filtering, and sorting options.

pageSize
string<int32>
Pattern: ^-?(?:0|[1-9]\d*)$
continuationToken
string | null
orderBy
object[] | null
includeCount
boolean | null
search
string | null
searchFields
string[] | null
filters
object[] | null
rangeFilters
object[] | null

Response

Call events were successfully retrieved.

items
object[]
pageSize
string<int32>
Pattern: ^-?(?:0|[1-9]\d*)$
totalCount
string<int32> | null
Pattern: ^-?(?:0|[1-9]\d*)$
continuationToken
string | null