List clients

URL

GET https://api.complycube.com/v1/clients

This endpoint allows you to list all existing clients. The clients are returned sorted by creation date, with the most recent clients appearing first.

Headers

Name
Type
Description

Authorization*

string

The API live or test key.

Query parameters

Name
Type
Description

<pagination>

string

The number of items to return and the number of pages to offset.

<filtering>

string

Filter the results.

You can use pagination and client filters for this endpoint.

Example request

curl -X GET https://api.complycube.com/v1/clients \
     -H 'Authorization: <YOUR_API_KEY>'

Example response

{
    "page": 1,
    "pageSize": 100,
    "totalItems": 3,
    "pages": 1,
    "items": [
        {
            "id": "5eb06507565eae00081ce258",
            "entityName": "John Doe",
            "type": "person",
            "email": "john.doe@example.com",
            "mobile": "+12 345678910",
            "telephone": "+12 345678910",
            "joinedDate": "2020-01-01",
            "personDetails": {
                "firstName": "John",
                "lastName": "Doe",
                "dob": "1990-01-01",
                "nationality": "GB"
            },
            "createdAt": "2020-05-01T18:55:03.015Z",
            "updatedAt": "2020-05-01T18:55:03.015Z"
        },
        {
            "id": "5eb05539ea91db0007ecd5b7",
            "entityName": "John Doe",
            "type": "person",
            "email": "john.doe@example.com",
            "mobile": "+12 345678910",
            "telephone": "+12 345678910",
            "joinedDate": "2020-01-01",
            "personDetails": {
                "firstName": "John",
                "lastName": "Doe",
                "dob": "1990-01-01",
                "nationality": "GB"
            },
            "createdAt": "2020-05-01T17:47:37.297Z",
            "updatedAt": "2020-05-01T17:47:37.297Z"
        },
        {
            "id": "5eb04fcd0f3e360008035eb1",
            "entityName": "John Doe",
            "type": "person",
            "email": "john.doe@example.com",
            "mobile": "+12 345678910",
            "telephone": "+12 345678910",
            "joinedDate": "2020-01-01",
            "personDetails": {
                "firstName": "John",
                "lastName": "Doe",
                "dob": "1990-01-01"
            },
            "createdAt": "2020-05-01T17:24:29.146Z",
            "updatedAt": "2020-05-01T17:24:29.146Z"
        }
    ]
}

Last updated