Get Labels

Get a list of available labels

Retrieve a list of available labels

get

Retrieves a list of available labels in the iSlash system.

Query parameters
sessionstringRequired

The session key generated by your admin to control which channel can send messages via the API.

Header parameters
X-USER-TOKENstringRequired

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

Responses
200

Success

application/json
get
/label
200

Success

Sample Response
{
    "meta": {
        "code": "RESP_OKAY",
        "message": "Success",
        "trace_id": "040a6b96021b42e3"
    },
    "data": {
        "labels": [
            {
                "id": 1,
                "text": "Unassigned",
                "color": "blue"
            },
            {
                "id": 2,
                "text": "Pending Payment",
                "color": "blue"
            },
            {
                "id": 3,
                "text": "Paid",
                "color": "blue"
            }
        ]
    }
}

Last updated