Send an event to a given set of devices.

PUT {{baseUrl}}/sendToDevice/:eventType/:txnId

This endpoint is used to send send-to-device events to a set of client devices.

Request Body

{"messages"=>{"@alice:example.com"=>{"TLLBEANAAG"=>{"example_content_key"=>"value"}}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{}