Skip to main content

Karibu Messages API Documentation

The Karibu Messages API allows developers to send instant and campaign-based messages, retrieve message logs, and access message history for authenticated users or specific recipients. This API is designed for seamless integration into applications requiring messaging capabilities.

Authentication

All API endpoints require an X-API-Key header for authentication.

Endpoints Overview

The Karibu Messages API supports the following endpoints:

1. Send Instant Message

Send an instant message to one or multiple recipients.

Endpoint

Request Body

Response fields

Request Example

Response Example

Error Response (422)


2. Send Campaign Message

Send a message to all contacts in a specified campaign.

Endpoint

Request Body

Request Example

Response Example

Error Response (422)


3. Get Message Logs

Fetch all message logs for the authenticated user.

Endpoint

Response Example

Error Response (422)


4. Get User Messages

Retrieve all messages sent by the authenticated user.

Endpoint

Response Example

Error Response (422)


5. Get Messages By Recipient

Retrieve all messages sent to a specific recipient.

Endpoint

Path Parameters

Response Example

Error Response (422)


6. Get Message Detail

Retrieve details of a specific message by its ID.

Endpoint

Path Parameters

Response Example

Error Response (422)


Standard Response Format

Unless specified otherwise, successful responses follow this JSON format:
Error responses (e.g., 422 Validation Error) follow this format: