SMS
SMS on 2mee Platform sends personalised Hologram messages as SMS to the phone numbers uploaded to the platform. Personalised Text messages can also be sent via 2mee.
Upload user Information
POST
https://exchange-prod-g.2mee.com/sms/{appId}/csv
This endpoint uploads Audience CSV to 2mee and returns id to be used as filterId in the sms creation API.
Path Parameters
Name | Type | Description |
---|---|---|
appId | string | ID of application from which SMS is to be sent |
Request Body
Name | Type | Description |
---|---|---|
csv | object | CSV containing the phone number,userID, userName and custom fields. |
Create SMS
POST
http://server-v1.2mee.com/notification/create
Creates SMS when provided with filterID(Audience) and Holocapsule Id (Hologram in case of HOLOPUSH).
Request Body
Name | Type | Description |
---|---|---|
appId | string | ID of the app from which the SMS has to be sent |
title | string | Title to identify the message in 2mee platform |
type | string | Type of SMS - HOLOPUSH incase of attaching the capsule, TEXT incase of plain message |
channel | string | SMS for SMS Messages |
playTime | string | Time at which the message needs to be sent/scheduled |
filterId | string | Audience to which the message has to be sent. |
smsInfo | object | Should contain the below given parameters |
message | string | The actual message that needs to be sent. Below are the placeholders for custom fields. {[name]} - for name {{[<wholelink>}}] - for tracked url |
from | string | Sender ID to appear on the message received |
trackedUrl | string | URL on which the holocapsule should appear. Mandatory incase of HOLOPUSH. |
slotId | string | ID of the HOLOCAPSULE. This can be fetched from Holocapsule list scetion. Manadatory incase of HOLOPUSH. |
position | string | Position of the Holocapsule on the URL page given. These are br(bottom-right),bl(bottom-left),tr(top-right) and tl(top-left). By default it is br. |
Schedule SMS
POST
https://exchange-prod-g.2mee.com/sms/schedule
Sends SMS out of 2mee at the specified time
Query Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the message created from SMS create API |
Last updated