View Settings
View Settings
GET
https://api.ocamba.com/v1/hood/settings
Display Hood Engage settings. delivery_pause is always included. all is false when the workspace is not paused, and a scope is omitted when that scope is not paused.Rate limits:
- Burst: 10/s
- Steady: 150/m
Response schemas
›
200
application/json
›
400
application/json
›
500
application/json
curl -X GET \
"https://api.ocamba.com/v1/hood/settings" \
-H "Authorization: Bearer {TOKEN}"const url = 'https://api.ocamba.com/v1/hood/settings';
const options = {
method: 'GET',
headers: {
Authorization: `Bearer {TOKEN}`
}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}$ch = curl_init("https://api.ocamba.com/v1/hood/settings");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);Responses
200 OK
{
"company_id": "1000000",
"engagement_score": {
"low_engagement": {
"from": 3,
"to": 12
},
"medium_engagement": {
"from": 13,
"to": 65
},
"high_engagement": {
"from": 66,
"to": 100
},
"advanced_settings": {
"purchase": 67,
"sms_click": 10,
"web_push_click": 15
}
},
"delivery_pause": {
"all": false,
"campaigns": {
"labels": {
"promo": true
}
}
},
"create_time": "2021-10-29 12:47:00",
"update_time": "2026-11-03 10:00:00"
}
400 Bad Request
{
"code": 400,
"title": "Bad request.",
"message": "The request is not valid.",
"trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
500 Internal Server Error
{
"code": 500,
"title": "Internal server error.",
"trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
Responses