Skip to main content

List all port-out events

GET 
/portouts/events

Returns a list of all port-out events.

Request

Query Parameters

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page

    filter[event_type] string

    Possible values: [portout.status_changed, portout.new_comment, portout.foc_date_changed]

    Filter by event type.

    filter[portout_id] uuid

    Filter by port-out order ID.

    filter[created_at][gte] date-time

    Filter by created at greater than or equal to.

    filter[created_at][lte] date-time

    Filter by created at less than or equal to.

Responses

200: Successful response

500: Internal server error

Request samples


curl -L 'https://api.telnyx.com/v2/portouts/events' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"id": "eef3340b-8903-4466-b445-89b697315a3a",
"event_type": "portout.status_changed",
"portout_id": "9471c873-e3eb-4ca1-957d-f9a451334d52",
"available_notification_methods": [
"email"
],
"payload_status": "created",
"payload": {},
"record_type": "portout_event",
"created_at": "2021-03-19T10:07:15.527000Z",
"updated_at": "2021-03-19T10:07:15.527000Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}