Skip to main content
GET
/
customers
/
{id}
/
users
List users attached to a customer. Used to show / hide customers for certain users. Users with role admin can always see and interact with all customers. User without that role must be explicitly added via this endpoint to be able so see and interact with the customer and conversation. The get route will not show admin users.
curl --request GET \
  --url https://1-some-client.some-server.healvi-chat/third-party/v1/customers/{id}/users \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "name": "<string>",
      "email": 123,
      "roles": [
        "<string>"
      ],
      "permissions": [
        "<string>"
      ],
      "created_at": "2023-01-01T12:00:00Z",
      "updated_at": "2023-01-01T12:00:00Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Response

200 - application/json

Success

data
object[]