CampaignsApprovals
Bulk Approve Messages
Approve multiple pending messages at once.
AuthorizationBearer <token>
In: header
Header Parameters
x-tenant-id?string|null
approval_idsApproval Ids
Response Body
application/json
application/json
curl -X POST "https://api.obert.io/api/campaigns/approvals/bulk-approve" \ -H "Content-Type: application/json" \ -d '{ "approval_ids": [ "string" ] }'{
"approved_count": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}POSTApprove Message
Approve a pending message (optionally with edits). When ``body.send_now`` is False (default), the lead is parked in ``status=scheduled`` if the current moment falls outside the campaign's working hours. When True, the lead fires on the next worker tick regardless. The frontend probes ``/approvals/{id}/send-window`` first and only sets ``send_now`` if the user explicitly chose to override.
POSTBulk Skip Messages
Skip multiple pending messages at once.