Getting Started with Javna CPaaS SMS API

To start using Javna CPaaS SMS API for sending outbound SMS messages, follow these steps:

  1. Create a Javna CPaaS Account:
    Ensure you have a Javna CPaaS account to access the API and send messages.

  2. Register Sender Names:
    Register all sender names you plan to use for outbound SMS messages. Ensure these names are approved. You can register sender names by logging in to your Javna CPaaS account and navigating to the "SMS Sender IDs" page under the SMS channel in the left-hand menu of your Javna CPaaS account.

  3. Generate API Key:
    To authenticate your API usage, generate an API key. Log in to your Javna CPaaS account, go to the "API Keys" page under "Developer Tools" on the left-hand menu, and generate an API key for the SMS API.

  4. Configure Your Webhook:

    To receive status updates for your messages, you need to configure a webhook:

    1. Create a Secure HTTPS Endpoint:
      Set up an endpoint on a secure (HTTPS) server capable of processing Event Notifications HTTPS requests. Ensure your server has a valid certificate properly configured and installed.

    2. Add and Configure the Webhook in Javna CPaaS:

      Log in to your Javna CPaaS account, click on the “Webhooks Settings” button under “Developer Tools,” and follow the necessary steps to add a webhook to your SMS channel and subscribe to the events you want to receive webhook notifications for.


📘

Notes:

  • When you add a webhook for the first time, a POST request will be sent to the webhook URL. If the endpoint did not return a successful (200 OK) HTTP response within 5 seconds, the URL will be considered invalid, in which case an error message will appear, indicating that the URL is invalid. a POST request will also be initiated whenever you edit the webhook.
  • You can add multiple webhooks to the same channel either with the same events or different events based on your preference.