Skip to main content

Get Phone Number Status

GET 
/phoneNumberAssignmentByProfile/:taskId/phoneNumbers

Check the status of the individual phone number/campaign assignments associated with the supplied taskId.

Request

Path Parameters

    taskId Taskidrequired

Query Parameters

    recordsPerPage any
    page any

Responses

200: Successful Response

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/10dlc/phoneNumberAssignmentByProfile/:taskId/phoneNumbers' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"records": [
{
"taskId": "667a80f8-b0a9-49d0-b9ab-a7a1bcc45086",
"phoneNumber": "+12024567890",
"status": "pending"
}
]
}