Skip to main content
POST
/
v1
/
message
/
send-campaign
Send Campaign Message
curl --request POST \
  --url https://karibu.briq.tz/v1/message/send-campaign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <x-api-key>' \
  --data '
{
  "campaign_id": "<string>",
  "group_id": "<string>",
  "content": "Campaign message from Briq",
  "sender_id": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-Key
string
required

Body

application/json

Campaign sending Request Schema.

campaign_id
string
required
group_id
string
required
content
string
required
Example:

"Campaign message from Briq"

sender_id
string
required
Required string length: 2 - 13
start_date
string<date-time> | null
default:2025-08-22T15:54:00.595379

When sending starts

end_date
string<date-time> | null
frequency
enum<string> | null
default:once

Campaign Frequency.

Available options:
once,
hourly,
daily,
weekly,
monthly

Response

Successful Response