CampaignsApprovals
Get Approval Count
Get the count of pending message approvals (for badge display).
AuthorizationBearer <token>
In: header
Query Parameters
campaign_id?string|null
Header Parameters
x-tenant-id?string|null
Response Body
application/json
application/json
curl -X GET "https://api.obert.io/api/campaigns/approvals/count"{
"pending_count": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}POSTBulk Skip Messages
Skip multiple pending messages at once.
GETGet Approval Send Window
Snapshot of the send-window decision — drives the approval dialog. Returns ``allowed_now=true`` when an immediate send is inside the working window. Otherwise the response carries the ``next_slot`` and ``reason`` so the frontend can render the 'outside working hours' confirmation dialog before the actual approve call.