Skip to main content

Get Assignment Task Status

GET 
/phoneNumberAssignmentByProfile/:taskId

Check the status of the task associated with assigning all phone numbers on a messaging profile to a campaign by taskId.

Request

Path Parameters

    taskId Taskidrequired

Responses

200: Successful Response

default: Unexpected error

Request samples


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

Response samples


{
"taskId": "string",
"status": "pending",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}