Overview

The Whatsable Notifier API allows users to send messages via a POST request. This documentation covers the specifics of making a request to the API, including the required headers, payload structure, and understanding the API response.

API Endpoint

POST https://api.notifier.whatsable.app/send

Authentication

To use the API, an authorization token is required. This token must be included in the request headers.

Request Headers

Request Payload

The body of the request should be a JSON object with the following fields:

Example:

{
    "phone": "phone_number",
    "text": "text",
    "attachment": "attachment as public url",
    "filename": ""
}

Response

The response from the API will be in JSON format. It typically includes a message and details field.

Example Success Response