Skip to main content

Supported Scenarios

Transactional Alerts are designed for critical user communications, including:
  • Order/Booking/Purchase confirmations
  • Shipping/Delivery confirmations and updates
  • Security and account alerts
  • Password resets
  • OTP (one-time password)
  • User invitations and shares
  • User inaction related to previous transactions
  • Fraud prevention/security alerts
The Inform API sends notifications to all the channels simultaneously for a specified Live Alert. You can use the Inform API to do the following:
  • Send a transactional message on a single channel like SMS or Email or Push
  • Send transactional messages on multiple channels

Inform API Endpoint

Rate Limit

To ensure system stability, the following rate limits are applied per workspace:

Glossary

We’ve put together a list of terminology that you will encounter when using the Inform Service API.

Alert ID

This is the unique identifier for an Alert. This field will be used to identify the Alert configured in the MoEngage Dashboard that contains the template for the notifications to be sent to the user.

Alert Reference Name

This field is used to identify the Alert using your reference Name and can be used to identify the alert as an alternative to Alert ID.

Test Alert ID

When creating an Alert, you can test it on an external console and MoEngage provides a unique identifier called Test Alert ID for this purpose.

Test Alert Reference Name

Test Alert Reference Name is configured while adding the alert on the Dashboard to send this Test Alert request to an external console.

Live vs. Test Environments

Ensure you are using the correct ID and Endpoint for your environment.

How Does Inform API Work & Respond?

Reach out to your Customer Success Manager to enable sending the channel level details as part of your API response.
Inform API works in two steps as described below:
  1. A check is performed to verify if the API request received for Inform is valid.
  2. If valid, the second process is to resolve the content and send a message using the partner.

Response Codes

The response codes are shared in wxyzab format as described below: w - Status (failures are indicated with 1 and success is indicated with 2)\
  • x - Category of the error
  • y - Request is considered for parallel request (parallel requests is indicated with 0 and fallback requests are indicated with 1)
  • z - Can this request be retried by you(0 indicates it cannot be retried with same details)
  • ab - Reason details for the error
Below are the Category details: The Reason details are given below with each Reason Code holding specific meanings:

Payload Errors Before Accepting the API Request

The list of the payload errors that can occur before accepting the API request and the equivalent response codes to be shared under HTTP status code 4xx for different scenarios across each functionality is given below:

Payload Errors After Accepting the API Request

Alerts can be configured for parallel/sequential fallback as described below:
  • Parallel: For parallel requests, the payload information of success/failure requests should be added at each channel level.
  • Sequence: For fallback requests, the payload information of success/failure requests should be added for the first channel, and other channels, info should be shared over streams
The list of the payload details that can occur after accepting the API request and the equivalent response codes to be shared under HTTP status code **200/429 **for different scenarios across each functionality is given below:

FAQs

A request is deemed a duplicate in the following cases:
  • It is received within 5 minutes of a previously successful request containing the same transaction_id
  • It is received within 5 minutes of a previous request which is ‘In Progress’ (being processed) and contains the same transaction_id
Duplicate requests are dropped and not reprocessed.
When the vendor does not accept requests from MoEngage, MoEngage retries every request a maximum of five times with 200ms exponential backoff.
Alert logs are stored for up to 30 days for every Alert in MoEngage.
This error occurs when you hit the live alert ID at the sandbox endpoint. For every alert, there are 2 IDs: one is live, and another is Test; the same behavior can be seen for alerts created on the test environment of the MoEngage Dashboard as well. Test Alert ID can be picked up by editing the Alert and going to the 3rd page.

Postman Collection

Test these endpoints quickly by importing our Postman collection: View in Postman