Read the state of asynchronous work.
curl --request GET \
--url https://omni-api.sendblue.com/operations/{operation_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omni-api.sendblue.com/operations/{operation_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/operations/{operation_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "OP0123456789abcdef0123456789abcdef",
"type": "brand.submission",
"status": "succeeded",
"resource": {
"type": "brand",
"id": "BN0123456789abcdef0123456789abcdef"
},
"error": null,
"created_at": "2026-11-23T18:04:05.123456Z",
"updated_at": "2026-11-23T18:04:09.123456Z"
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Read the state of asynchronous work.
The submission of one brand or campaign to the carrier, named by the
operation_id of the brand or campaign. It is pending until the
carrier has answered, succeeded once the carrier accepted the
submission (the fee is charged then), and failed when the carrier
refused it (the fee is released). The registry’s review is not part
of the operation: read it from the resource’s status.
A number purchase does not return an operation yet: POST /numbers
answers 201 or 202, and repeating it reads the outcome.
Required permission: operations:read. Accepted credentials: a signed-in person, an API key, the account token.
GET
/
operations
/
{operation_id}
Read the state of asynchronous work.
curl --request GET \
--url https://omni-api.sendblue.com/operations/{operation_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omni-api.sendblue.com/operations/{operation_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/operations/{operation_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "OP0123456789abcdef0123456789abcdef",
"type": "brand.submission",
"status": "succeeded",
"resource": {
"type": "brand",
"id": "BN0123456789abcdef0123456789abcdef"
},
"error": null,
"created_at": "2026-11-23T18:04:05.123456Z",
"updated_at": "2026-11-23T18:04:09.123456Z"
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Authorizations
personbearerlegacyKeyId & legacyKeySecret
Response
The operation.