Request iMessage numbers, which Sendblue fulfills.
curl --request POST \
--url https://omni-api.sendblue.com/numbers/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"channel": "imessage",
"quantity": 1
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({channel: 'imessage', quantity: 1})
};
fetch('https://omni-api.sendblue.com/numbers/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/numbers/orders"
payload = {
"channel": "imessage",
"quantity": 1
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "7ddf4982-fe66-4c75-a31f-41936b641ce7",
"channel": "imessage",
"quantity": 1,
"area_code": "415",
"note": "San Francisco preferred",
"price": "15.00",
"status": "pending",
"phone_numbers": [],
"reason": null,
"created_at": "2026-11-23T12:00:00.000000Z",
"updated_at": "2026-11-23T12:00:00.000000Z"
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Request iMessage numbers, which Sendblue fulfills.
See number.imessage.request in GET /prices first. The request
records the total USD quote for its quantity at the applicable rate.
Sendblue reviews the request and sets up the lines separately.
Recording the request and its fulfillment do not debit the wallet.
Without an assigned price creation returns 422 (price_unavailable).
Repeating the same key and input returns the original request at its
recorded price; different input under the same key returns 409.
Required permission: number_orders:create. Accepted credentials: a signed-in person, an API key, the account token.
POST
/
numbers
/
orders
Request iMessage numbers, which Sendblue fulfills.
curl --request POST \
--url https://omni-api.sendblue.com/numbers/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"channel": "imessage",
"quantity": 1
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({channel: 'imessage', quantity: 1})
};
fetch('https://omni-api.sendblue.com/numbers/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/numbers/orders"
payload = {
"channel": "imessage",
"quantity": 1
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "7ddf4982-fe66-4c75-a31f-41936b641ce7",
"channel": "imessage",
"quantity": 1,
"area_code": "415",
"note": "San Francisco preferred",
"price": "15.00",
"status": "pending",
"phone_numbers": [],
"reason": null,
"created_at": "2026-11-23T12:00:00.000000Z",
"updated_at": "2026-11-23T12:00:00.000000Z"
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Authorizations
personbearerlegacyKeyId & legacyKeySecret
Headers
Body
application/json
Response
The recorded request with its total quoted price.