Get All Customer Labels for the Org

Retrieves all customers labels created for that specific org.

  • Rate limiter controls the number of incoming and outgoing traffic of a network
  • Authentication verifies the identity of the current user or integration. See Introduction > Authentication (Merchant Setup on Admin Portal) for more details

Example request

curl --location 'https://eu.api.capillarytech.com/v2/organization/labels' \
--header 'Authorization: Basic bWFkaHNkNzI3MjU2YQ==' \
--header 'Cookie: _cfuvid=XwzpaUfBGieUZIPxFTHjhpyczOFRtqe.GRxZ21hOgK0-1751018164500-0.0.1.1-604800000; _cfuvid=YLm_seet2_6zJoqLhp5EdoEbbcbrOUi9o4nqY2vgbdU-1758709063429-0.0.1.1-604800000'

Resource Information

FieldValue
URIv2/organization/labels
HTTP MethodGET
AuthenticationRequired
Rate LimitedNo
Batch SupportNo

Header Requests

Header Key

Required

Value Example

Description

Authorization

Yes

Bearer <your_access_token>

Authentication token (JWT/OAuth). Note: The org ID is retrieved automatically based on the

till ID

associated with that organization.

Content-Type

No

application/json

Only needed for POST/PUT requests. Not required for GET.

Accept

No

application/json

Expected response format (defaults to JSON if omitted).

Response Fields

FieldTypeDescription
dataArrayList of label objects.
idIntegerUnique ID of the label.
orgIdIntegerID of the organization.
descriptionStringDescription of the label.
lastUpdatedByIntegerUser ID of the last updater.
nameStringName of the label.
activeBooleanIf true then label is active. If falsethen label is not active.
warningsArrayNon-critical warnings (if any).
errorsArrayCritical errors (if any).
{
    "data": [
        {
            "id": 20956,
            "orgId": 100737,
            "description": "High-value customers with premium status2",
            "lastUpdatedBy": 75155295,
            "name": "",
            "active": true
        },
        {
            "id": 20961,
            "orgId": 100737,
            "description": "121323232320",
            "lastUpdatedBy": 75155295,
            "name": "' OR '1'='1",
            "active": true
        },
        {
            "id": 20958,
            "orgId": 100737,
            "description": "Testing with wrong data type of name",
            "lastUpdatedBy": 75155295,
            "name": "1232121",
            "active": true
        },
        {
            "id": 20959,
            "orgId": 100737,
            "description": "12132323232",
            "lastUpdatedBy": 75155295,
            "name": "12321210000000000000000",
            "active": true
        },
        {
            "id": 20960,
            "orgId": 100737,
            "description": "121323232320",
            "lastUpdatedBy": 75155295,
            "name": "123212100000000000000000",
            "active": true
        },
        {
            "id": 21159,
            "orgId": 100737,
            "description": "Interested in gadgets and new technology",
            "lastUpdatedBy": 75161973,
            "name": "GadgetFreak",
            "active": true
        },
        {
            "id": 21152,
            "orgId": 100737,
            "description": "High-value customers with premium status",
            "lastUpdatedBy": 75155295,
            "name": "George",
            "active": true
        },
        {
            "id": 20941,
            "orgId": 100737,
            "description": "Recently acquired customers",
            "lastUpdatedBy": 75155295,
            "name": "New Customer",
            "active": true
        },
        {
            "id": 20944,
            "orgId": 100737,
            "description": "Recently acquired customers",
            "lastUpdatedBy": 75155295,
            "name": "Old Customer",
            "active": true
        },
        {
            "id": 20949,
            "orgId": 100737,
            "description": "Recently acquired customers1",
            "lastUpdatedBy": 75155295,
            "name": "Old1 Customer1",
            "active": true
        },
        {
            "id": 20952,
            "orgId": 100737,
            "description": "Recently acquired customers1 ^%$#%$#@^$#$%#^$#&##@#$@!@^#$%&*())))&^%$#@%^&*^%$#%^&*&^%$#%^TYUFDGHJFDRE%TYGHFDRETYGCFDSEW$%^TYGHFRE%$^&*UYIHJGYU&*(IOU*()IPOKLJHUY&^*UIJHKUIY&^%$ERDT%$E#WQEASRW#$@QWASD",
            "lastUpdatedBy": 75155295,
            "name": "Old2 Customer2",
            "active": true
        },
        {
            "id": 21158,
            "orgId": 100737,
            "description": "Customers whose purchase value is more than $4000",
            "lastUpdatedBy": 75161973,
            "name": "Premium",
            "active": true
        },
        {
            "id": 20942,
            "orgId": 100737,
            "description": "High-value customers with premium status",
            "lastUpdatedBy": 75155295,
            "name": "Premium Customer",
            "active": true
        },
        {
            "id": 17243,
            "orgId": 100737,
            "description": "real label",
            "lastUpdatedBy": 75152820,
            "name": "real",
            "active": true
        },
        {
            "id": 20957,
            "orgId": 100737,
            "description": "",
            "lastUpdatedBy": 75155295,
            "name": "Testing_UAT_@_123",
            "active": true
        },
        {
            "id": 20953,
            "orgId": 100737,
            "description": "High-value customers with premium status2",
            "lastUpdatedBy": 75155295,
            "name": "UAT-Testing",
            "active": true
        },
        {
            "id": 20955,
            "orgId": 100737,
            "lastUpdatedBy": 75155295,
            "name": "UAT-Testing1",
            "active": true
        },
        {
            "id": 20945,
            "orgId": 100737,
            "description": "High-value customers with premium status",
            "lastUpdatedBy": 75155295,
            "name": "Valuable Customer",
            "active": true
        },
        {
            "id": 20951,
            "orgId": 100737,
            "description": "High-value customers with premium status1 ^%$#%$#@^$#$%#^$#&##@#$@!@^#$%&*())))&^%$#@%^&*^%$#%^&*&^%$#%^TYUFDGHJFDRE%TYGHFDRETYGCFDSEW$%^TYGHFRE%$^&*UYIHJGYU&*(IOU*()IPOKLJHUY&^*UIJHKUIY&^%$ERDT%$E#WQEASRW#$@QWASD",
            "lastUpdatedBy": 75155295,
            "name": "Valuable Customer ^%$#%$#@^$#$%#^$#&##@#$@!@^#$%&*())))&^%$#@%^&*^%$#%^&*&^%$#%^TYUFDGHJFDRE%TYGHFDR",
            "active": true
        },
        {
            "id": 20948,
            "orgId": 100737,
            "description": "High-value customers with premium status1",
            "lastUpdatedBy": 75155295,
            "name": "Valuable Customer shvdshjdvshdvhjsdvjasajshjahadjgciuwyeguhbcwjhbjdshsbcjhwhewbehcbwjdhbckwjhekjhcbw",
            "active": true
        }
    ],
    "warnings": [],
    "errors": []
}
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!