Get Messages for Issue
Fetch messages of given issue which are newer than given timestamp. The response also contains the current state of the issue.
Note: This API should not be used for polling for updates to the issue, use the Get User Issues API instead.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
identifier | string | The user's unique identifier (note: this is different from the uid). | |
messages-cursor | string | Timestamp - if given, fetch messages added after this timestamp. |
RESPONSES
status: OK
{"messages_cursor":1606728796882,"messages":[{"type":"Text","state":"sent","author":{"name":"Maui","id":"moana_profile_20201130064411019-3fd7c17767e89e9","emails":["visitor@example.net"]},"id":"moana_message_20201130093316889-c738bc346bbae3c","origin":"end-user","body":"hacking the matrix won't do anything, we need to parse the mobile SMS feed!","created_at":1606728796882}],"issue_state_data":{"state":"new","changed_at":1606728796882},"issue_redacted":false}