Skip to content

Basic Publish

The following example publishes a message to the default channel:

Request

curl -H Content-Type:application/json -X POST \  
-d '{"message":"hello world!"}' \  
-v https://api.backendless.com/APP-ID/REST-API-KEY/messaging/default

Response

{  
  "errorMessage":null,  
  "messageId":"message:37C81F70-9B7B-4CF8-FF24-3690D9054F00",  
  "status":"scheduled"  
}

The value of the messageId property can be used to obtain the message delivery status.