Karibu Campaign API Documentation
The Karibu Campaign API allows developers to create, list, retrieve, and update SMS campaigns within developer-accessible workspaces. This API is designed for organizing bulk messaging efforts efficiently and securely.Authentication
All API endpoints require anX-API-Key
header for authentication.
Header | Type | Required | Description |
---|---|---|---|
X-API-Key | string | Yes | Your API key. |
Endpoints Overview
The Karibu Campaign API supports the following endpoints:Endpoint | Method | Description |
---|---|---|
/v1/campaign/create/ | POST | Creates a new campaign in a workspace. |
/v1/campaign/all/ | GET | Retrieves all campaigns for the authenticated user. |
/v1/campaign/{campaign_id}/ | GET | Retrieves details of a specific campaign. |
/v1/campaign/update/{campaign_id} | PATCH | Updates an existing campaign. |
1. Create Campaign
Create a new campaign in a developer-accessible workspace owned by the authenticated user.Endpoint
Request Body
Field | Type | Required | Description |
---|---|---|---|
workspace_id | string (UUID) | Yes | ID of the workspace for the campaign. |
name | string | Yes | Name of the campaign. |
description | string or null | No | Description of the campaign. |
launch_date | string (date-time) | Yes | Campaign launch date (ISO 8601 format). |
Request Example
Response Example
Error Response (422)
2. List Campaigns
Retrieve all campaigns for the authenticated user in developer-accessible workspaces they own.Endpoint
Response Example
Error Response (422)
3. Get Campaign Details
Retrieve details of a specific campaign in a developer-accessible workspace owned by the user.Endpoint
Path Parameters
Field | Type | Required | Description |
---|---|---|---|
campaign_id | string | Yes | Unique campaign ID. |
Response Example
Error Response (422)
4. Update Campaign
Update an existing campaign in a developer-accessible workspace owned by the user.Endpoint
Path Parameters
Field | Type | Required | Description |
---|---|---|---|
campaign_id | string | Yes | Unique campaign ID. |
Request Body
Field | Type | Required | Description |
---|---|---|---|
name | string or null | No | Updated name of the campaign. |
description | string or null | No | Updated description of the campaign. |
launch_date | string or null | No | Updated launch date (ISO 8601 format). |