A2P SMS

The A2P SMS API in the Integrari system is used for submitting message delivery jobs to Integrari by its clients. Integrari supports SMS as message delivery channel. Campaigns can be created for non-bulk [Quick send] and bulk messages. To use these APIs the invoke should be a registered user on Integrari.

Languages
Servers
https://api.integrari.com/o/

Send a Message

Request

Quick send API is used for submitting single message delivery jobs to Integrari by clients.

Headers
accountIdstringrequired

Account Id of the customer

Body

Quick send

msgCategorystring

msgCategory

contentTypestring

contentType

senderAddrstring

senderAddr

recipientstring

recipient

msgstring

msg

curl -i -X POST \
  https://api.integrari.com/o/a2p-campaign/v1.0/submissions/sms/nb \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'accountId: string' \
  -d '{
    "msgCategory": "string",
    "contentType": "string",
    "senderAddr": "string",
    "recipient": "string",
    "msg": "string"
  }'

Responses

OK

Send a Bulk Message

Request

Bulk send API is used for submitting single message delivery jobs to Integrari/CPaaS by clients.

Headers
accountIdstringrequired

Account Id of the customer

Bodymultipart/form-data

Send Single Sms To Multiple Recipients.

msgCategorystring

msgCategory

contentTypestring

contentType

senderAddrstring

senderAddr

recipientsArray of strings

recipient

msgobject

msg

campaignNamestring

campaignName

contactNamesArray of strings

contactNames

contactGroupsArray of strings

contactGroups

recipientFilestring or null(binary)
curl -i -X POST \
  https://api.integrari.com/o/a2p-campaign/v1.0/submissions/sms/b/1 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -H 'accountId: string' \
  -F msgCategory=string \
  -F contentType=string \
  -F senderAddr=string \
  -F 'recipients[0]=string' \
  -F campaignName=string \
  -F 'contactNames[0]=string' \
  -F 'contactGroups[0]=string' \
  -F recipientFile=string

Responses

OK