REST API Quick Start


Whether your REST requests need to be authenticated or not depends on your channel's authentication settings. If you are unsure whether to authenticate or not, we recommend using the Basic Authorization header for all REST requests.

Sending messages

Rooms are used to isolate different message types. To listen to messages, you need to subscribe to a specific room. Users can freely connect to multiple rooms (this does not create extra connections).

Body: {"hello": "from REST"}

You can use cURL to try it out:

curl -H "Content-Type: application/json" \
 -X POST \
 -d 'Hello from Scaledrone' \