Skip to main content

Retry an Upload request

POST 
/external_connections/:id/uploads/:ticket_id/retry

If there were any errors during the upload process, this endpoint will retry the upload request. In some cases this will reattempt the existing upload request, in other cases it may create a new upload request. Please check the ticket_id in the response to determine if a new upload request was created.

Request

Path Parameters

    id int64required

    Identifies the resource.

    ticket_id uuidrequired

    Identifies an Upload request

Responses

202: Successful response

401: Unauthorized

404: Not found

409: Order is still in progress, please wait before retrying

422: Unprocessable Entity

Request samples


curl -L -X POST 'https://api.telnyx.com/v2/external_connections/:id/uploads/:ticket_id/retry' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": {
"ticket_id": "542c3bca-d247-42bc-8fe7-e01d16ecd761",
"tenant_id": "ea175aba-f47c-4702-9400-efaa42688048",
"location_id": "c37e5036-1e87-42e6-86a2-b3e8dd39a2ad",
"status": "error",
"available_usages": [
"calling_user_assignment"
],
"error_code": "string",
"error_message": "string",
"tn_upload_entries": [
{
"number_id": "542c3bca-d247-42bc-8fe7-e01d16ecd761",
"phone_number": "string",
"status": "error",
"error_code": "internal_error",
"error_message": "string",
"civic_address_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"location_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"internal_status": "error"
}
]
}
}