Skip to main content
POST
/
external_connections
/
{id}
/
uploads
/
{ticket_id}
/
retry
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const response = await client.externalConnections.uploads.retry('7b6a6449-b055-45a6-81f6-f6f0dffa4cc6', {
  id: 'id',
});

console.log(response.data);
{
  "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": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "internal_status": "error"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<int64>
required

Identifies the resource.

Example:

"1293384261075731499"

ticket_id
string<uuid>
required

Identifies an Upload request

Example:

"7b6a6449-b055-45a6-81f6-f6f0dffa4cc6"

Response

Successful response

data
Upload · object