Accepts this address suggestion as a new emergency address for Operator Connect and finishes the uploads of the numbers associated with it to Microsoft.
POST/addresses/:id/actions/accept_suggestions
Accepts this address suggestion as a new emergency address for Operator Connect and finishes the uploads of the numbers associated with it to Microsoft.
Request
Path Parameters
id uuidrequired
The UUID of the address that should be accepted.
- application/json
Body
id string
The ID of the address.
Responses
200: This address suggestion has already been accepted.
- application/json
202: This address suggestion was accepted. The numbers associated to it will resume processing in the background.
- application/json
404: Address not found or not accessible by the user.
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/addresses/:id/actions/accept_suggestions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"id": "string"
}'
Response samples
{
"data": {
"accepted": true,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"record_type": "address_suggestion"
}
}
{
"data": {
"accepted": true,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"record_type": "address_suggestion"
}
}
{
"errors": [
{
"code": "string",
"detail": "string",
"meta": {
"url": "string"
},
"title": "string"
}
]
}