Get Customers By Label IDs

post
Query parameters
sessionstringRequired

The session key generated by your admin for controlling which channel is allowed to send message across API

label_idstringRequired

The label_id must be 'all' for ALL label or label ids separated by commas

pagenumberOptional

Page number, default 1

per_pagenumberOptional

Per page, default 30 items

Header parameters
X-USER-TOKENstringRequired

The secret key provided by iSlash for accessing the iSlash API platform

Responses
200

Success

application/json
post
https://{ISLASH_API_ENDPOINT}/api/public/chat-label/customers
200

Success

Response
{
    "meta": {
        "code": "RESP_OKAY",
        "message": "Success"
    },
    "data": {
        "contacts": [
            {
                "id": 5,
                "first_name": "Tom",
                "last_name": "Chan",
                "identity": "85298765432",
                "labels": "Paid,Pending Payment",
                "assigned_to": "User 01"
            }
        ],
        "pagination": {
            "has-more-page": false,
            "per-page": 30
        }
    }
}

Last updated