SendSms
This endpoint allows sending of an sms message to the sim.
Network Support
Network | NetworkId |
---|---|
eSIMsmart | 218 |
eSIMsmart IOT | 225 |
- SIM status must be "on-hire"
- All SIMs must be:
- On the same network
- On the same account
Request
Name | Type | Description | Restrictions |
---|---|---|---|
serialNumbers | string array | An array of serial numbers corresponding to the SIMs you wish to update | At least one |
message | string | The message to send | |
binary | bool | Should the message be sent in binary format |
Example SendSms
curl --location 'https://api.cellhire.com/api/simSubmission/SendSms' \
--header 'Content-Type: application/json;charset=UTF-8' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjRBMDlENTFBMDhEOEUxMTU0OTkyODFDN...' \
--data '{
"serialNumbers": [
"987654321"
],
"message": "test message",
"binary": false
}'