Filtering for a Customer

Filtering for a Customer

Messages can be filtered for a signed in customer by using the Personal Access Token (scoped with person_me or customer_me). The customer messages can be filtered by using the following endpoint.

    "items": [{
        "id": "caf5c136-f62a-4e65-b5b4-078d2bt73651",
        "created_on": "2017-03-08T15:46:41+0000",
        "changed_on": null,
        "label": "AppMessage",
        "nickname": null,
        "body": "Hello world",
        "audio_url": null,
        "video_url": null,
        "audio_source_url": null,
        "video_source_url": null,
        "photo_url": "2017/03/13/app_b054cef86d85b7031335ee1b8f53601f.jpg",
    "total": 98,
    "after": "YWZ0ZXJfMg==",
    "before": "YmVmb3JlXzA=",
    "skip": 0,
    "limit": 2

Supported fields

sentPerson or User profile that created the message
repliesList of messages replied on the message
replied_atParent message if the message is a reply
replied_at{sent}Original person that created the parent message

Fields can be added as ?fields= param.

Was this article helpful?

We’d love to learn from your feedback