Read the selected account's Omni settings.
curl --request GET \
--url https://omni-api.sendblue.com/admin/settings \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omni-api.sendblue.com/admin/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/admin/settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"name": "West",
"spending_limit": {
"amount": "50.00",
"amount_micro_usd": 50000000,
"currency": "USD"
},
"low_balance_refill": null
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Read the selected account's Omni settings.
The account’s display name and cumulative USD spending limit. The root account also sees its configured low-balance refill trigger, including whether Sendblue enabled it. A subaccount sees its own limit and a null refill rule. This read requires settings:read. Missing credentials return 401 and a missing permission returns 403.
Required permission: settings:read. Accepted credentials: a signed-in administrator, an API key, the account token.
GET
/
admin
/
settings
Read the selected account's Omni settings.
curl --request GET \
--url https://omni-api.sendblue.com/admin/settings \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omni-api.sendblue.com/admin/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/admin/settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"name": "West",
"spending_limit": {
"amount": "50.00",
"amount_micro_usd": 50000000,
"currency": "USD"
},
"low_balance_refill": null
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Authorizations
personbearerlegacyKeyId & legacyKeySecret
Response
Stored settings for the authenticated account.