4️Send Message API

Please make sure you have configured the mail server - https://portal.socialinviter.com/settings/mailserver

Send Message API

POST https://api.socialinviter.com/api/v2/message

This endpoint allows you to send message to the recipients.

Headers

NameTypeDescription

session*

string

Authentication token to track down who is emptying our stocks.

Request Body

NameTypeDescription

userid*

string

UserID of the logged in user. The UserID will be received from accesstoken API call.

service*

string

Service name refers to the provider, see Supported Service List below

token*

string

Token received from AccessToken API

recipients*

string

Array of object containing name and email eg: [{"name":"John Smith","email":"[email protected]}] Note: Stringify the Array

subject*

string

Subject for the email invitation

message*

string

Message for the email invitation

{
  "data": {
    "status": [
      {
        "id": "[email protected]",
        "status": "sent"
      }
    ],
    "overallStatus": "sent",
    "service": "twitter"
  },
  "status": {
    "message": "",
    "type": "success"
  }
}
pageSupported ServicespageError Handling

Last updated