Kaleyra SMS Integration with MoEngage

POST Method

This page covers the following topics:

Integrate with Kaleyra SMS

To integrate with Kaleyra SMS, perform the following steps:

  1. Sign in to your MoEngage account.
  2. On the MoEngage dashboard, navigate to Settings.
  3. Go to SMS & Connector and then SMS Connector Config.
  4. Click Create corresponding to Custom Connectors.
  5. Enter Connector Name as Kaleyra.
  6. Create an SMS campaign. For more information, see Create SMS Campaign through Kaleyra using MoEngage.

POST Method

  1. Select the POST method to configure Webhook URL or Target Connector URL.
  2. In the API URL field, enter the HTTP API endpoint of Kaleyra SMS as in the example URL.

📘

Example URL:

https://api.kaleyra.io/v1/SID/messages

  1. Add the SID (Security Identifier) in the above request from your Kaleyra account. For more information on generating an API key, see Generating an API Key.
  1. In the Headers section, add the following key and their corresponding value:

Key

Value

api-key

Ac4XXXXX21f

  1. From Body Type, select form.
  2. In the Body Type parameters, add the following keys and their corresponding values:

Key

Value

to

Moesms_destination

sender

KXXXXX

body

Moesms_message

source

MoEngage

type

Indian Customer - Use one of the following:
OTP, MKT, or TXN.
Non-Indian Customers - Use the Default.

  1. Click Send SMS to Test to preview the configuration.
  2. Click Save to save the settings.

GET Method

  1. Select the GET method to configure Webhook URL or Target Connector URL.
  2. In the API URL field, enter the HTTP API endpoint of Kaleyra SMS as in the example URL.

📘

Example URL:

https://api.kaleyra.io/v1/SID/messages?channel=sms&to=%XX%XXUserAttribute%XX'Mobile'%XX%XX%XX&from=&type=template&template_name=template Name&XXXX_XXXX=en

  1. Add the SID (Security Identifier) in the above request from your Kaleyra account. For more information on generating an API key, see Generating an API Key.
  1. In the Headers section, add the following key and their corresponding value:

Key

Value

api-key

Ac4XXXXX21f

  1. From Body Type, select form.
  2. In the Body Type parameters, add the following keys and their corresponding values:

Key

Value

to

Moesms_destination

sender

KXXXXX

body

Moesms_message

source

API

type

Indian Customer - Use one of the following:
OTP, MKT, or TXN.
Non-Indian Customers - Use the Default.

  1. Click Send SMS to Test to preview the configuration.
  2. Click Save to save the settings.

Create SMS Campaign through Kaleyra using MoEngage

To create an SMS campaign through Kaleyra.io using MoEngage, perform the following steps:

  1. On the MoEngage dashboard, navigate to Engage.
  2. Go to Campaigns, Create Campaign, and then Connectors.
  3. Click Create Custom Connector.
  4. In the Request Limit section, enter the number of requests per minute.

📘

Note:

The maximum number of requests per minute is 3500.


Did this page help you?