Data for a request to the /sendToDevice API endpoint (specification).

Send an event to a single device or to a group of devices.

Constructors

Properties

Accessors

Constructors

Properties

body: string

A JSON-encoded string containing the rest of the payload: messages.

It represents the body of the HTTP request.

eventType: string

A string representing the type of event being sent to each devices.

id: string

The request ID.

txnId: string

A string representing a request identifier unique to the access token used to send the request.

Accessors