Skip to main content

List OTA updates

GET 
/ota_updates

List OTA updates

Request

Query Parameters

    filter object

    Consolidated filter parameter for OTA updates (deepObject style). Originally: filter[status], filter[sim_card_id], filter[type]

    page object

    Consolidated pagination parameter (deepObject style). Originally: page[number], page[size]

Responses

200: Successful response

401: Unauthorized

default: Unexpected error

Request samples


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

Response samples


{
"data": [
{
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "ota_update",
"sim_card_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"type": "sim_card_network_preferences",
"status": "in-progress",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}