Get User Issues

GET https://api.helpshift.com/v1/{{domain}}/chat/my-issues?platform-id={{platform_android}}

Get the user's active issues, with messages.

Request Params

KeyDatatypeRequiredDescription
platform-idstringFetch issues filed under this platform.
identifierstringThe user's unique identifier. (Either identifier, or at least one of uid, email, phone number is required.)
user_idstringUser UID. (Either identifier, or at least one of uid, email, phone number is required.)
emailstringUser Email. (Either identifier, or at least one of uid, email, phone number is required.)
phone_numberstringUser Phone Number. (Either identifier, or at least one of uid, email, phone number is required.)
issues-cursorstringTimestamp - if given, fetch issues updated after this timestamp.
message-cursorsstringPer-issue timestamp.
Format - {"issue-publish-id":timestamp}.
For each issue, return only messages created after the given timestamp. Multiple cursors can be given in a single API request.
statestringFilter issues by state.
Allowed valus -new, new-for-agent, agent-replied, waiting-for-agent, resolved, rejected and pending-reassignment.
Multiple states can be given as a comma-separadted string.

RESPONSES

status: OK

{"issues_cursor":1606728796882,"issues":[{"tags":[],"meta":{},"hs_user_id":"moana_profile_20201130064411019-3fd7c17767e89e9","title":"hacking the matrix won't do anything, we need to parse the mobile SMS feed!","redacted":false,"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}],"id":"6","state_data":{"state":"new","changed_at":1606728796882},"created_at":1606728796882}]}