Messages

Send text to a device

post

Send text or raw data over UDP or TCP to a device with a specific SIM ID.

If the protocol is UDP, the packet will be sent to the receiving port. If the protocol is TCP, a connection will be established with the device on that port and the data will be sent. If the device does not accept incoming connections on that port, the data will be discarded.

Either text or data must be provided, but not both. Use text for string data and data for base64-encoded binary data that will be decoded and sent as raw bytes.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
sim_idstringRequiredExample: 000000001
Body
anyOptional
or
anyOptional
Responses
200

Message sent successfully

application/json
post
/messages/{sim_id}

Last updated