4️Send Message API

Send Message API

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

This endpoint allows you to send message to the recipients.

Headers

Name
Type
Description

session*

string

Authentication token to track down who is emptying our stocks.

Request Body

Name
Type
Description

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"
  }
}
Supported ServicesError Handling

Last updated

Was this helpful?