Device S M S Messaging
Get SMS messages.
Retrieves queued SMS messages sent by all M2M MC devices associated with an account.
Authorization
thingspace_oauth VZ-M2M-Token AuthorizationBearer <token>
This is the ThingSpace token, from Credentials and Tokens is used
In: header
VZ-M2M-Token<token>
M2M Session Token (How to generate an M2M session token?)
In: header
Path Parameters
accountName*string
Numeric account name
Match
^[A-Za-z0-9\-]{3,32}$Length
3 <= length <= 32Query Parameters
next?string
Continue the previous query from the pageUrl in Location Header
Match
^[A-Za-z0-9]{3,32}$Length
3 <= length <= 64Response Body
application/json
application/json
curl -X GET "https://example.com/m2m/v1/sms/0000123456-00001/history"{ "messages": [ { "deviceIds": [ { "kind": "eid", "id": "12345678901234567890123456789012" } ], "message": "a text message", "timestamp": "2019-08-24T14:15:22Z" } ], "hasMoreData": false}
