The id of the last message previously fetched
Interex Messaging API (1.0.1)
- Mock serverhttps://developer.interex.io/_mock/spec/design/messaging/api/v1/messages
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.interex.io/_mock/spec/design/messaging/api/v1/messages?lastId=0&count=0&messageType=string&schemaVersion=string&channel=string&entity=string&sent=true&fromTimestamp=2019-08-24T14%3A15%3A22Z&toTimestamp=2019-08-24T14%3A15%3A22Z' \
-H 'x-correlation-id: string'Response
application/json
[ { "id": 0, "from": 0, "to": 0, "timestamp": "2019-08-24T14:15:22Z", "messageType": "string", "schemaVersion": "string", "payload": "string" } ]
- Mock serverhttps://developer.interex.io/_mock/spec/design/messaging/api/v1/messages
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.interex.io/_mock/spec/design/messaging/api/v1/messages \
-H 'Content-Type: application/json' \
-H 'x-correlation-id: string' \
-d '{
"recipient": 0,
"messageType": "string",
"schemaVersion": "string",
"payload": "string"
}'Response
application/json
{ "id": 0, "from": 0, "to": 0, "timestamp": "2019-08-24T14:15:22Z", "messageType": "string", "schemaVersion": "string", "payload": "string" }