Skip to main content

Retrieve an Upload request

GET 
/external_connections/:id/uploads/:ticket_id

Return the details of an Upload request and its phone numbers.

Request

Path Parameters

    id int64required

    Identifies the resource.

    ticket_id uuidrequired

    Identifies an Upload request

Responses

200: Successful response

401: Unauthorized

404: Not found

Request samples


curl -L 'https://api.telnyx.com/v2/external_connections/:id/uploads/:ticket_id' \
-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"
}
]
}
}