Skip to main content
GET
/
v1
/
platform
/
phone-numbers
/
calls
List Phone Calls
curl --request GET \
  --url https://api-sandbox.finogates.com/v1/platform/phone-numbers/calls \
  --header 'Authorization: Bearer <token>'
{
  "status_code": 123,
  "data": "<unknown>",
  "query_generated_time": 123,
  "row_count": 1,
  "limit": 2,
  "current_page": 2,
  "total_page_number": 1,
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

user_id
string | null

Show only calls where this user either made or received the call.

from_user_id
string | null

Show only calls made by this user.

to_user_id
string | null

Show only calls received by this user.

from_number
string | null

Show only calls made from this phone number.

to_number
string | null

Show only calls made to this phone number.

number
string | null

Show only calls that involve this phone number, whether it called or was called.

direction
string | null

Show only 'inbound' calls (received) or 'outbound' calls (made).

status
string | null

Show only calls in this state: ringing, in-progress, completed, failed, busy, no-answer, or canceled.

limit
integer
default:50

How many calls to return per page (1 to 200).

Required range: 1 <= x <= 200
offset
integer
default:0

How many calls to skip before this page starts.

Required range: x >= 0

Response

Successful Response

Standard response wrapper for list responses.

Declare ListResponse[list[SomeModel]] to render the real data array schema in OpenAPI/Swagger; a bare ListResponse leaves data untyped.

status_code
integer
required

HTTP status code for the response.

data
any
required

Payload or error details.

query_generated_time
integer
required

UTC timestamp (milliseconds since epoch) when response was generated.

row_count
integer
required

Total rows matching the request filters (not just this page).

Required range: x >= 0
limit
integer | null

Page size used for this response. Null for cursor-paginated endpoints.

Required range: x >= 1
current_page
integer | null

1-indexed page number for this response. Null for cursor-paginated endpoints.

Required range: x >= 1
total_page_number
integer | null

Total number of pages given the current limit. Null for cursor-paginated endpoints.

Required range: x >= 0
next_cursor
string | null

Cursor for the next page, if available.