Get a client

Get a client

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

Retrieves an existing client.

Path Parameters

Name
Type
Description

id

string

The ID of the client.

Headers

Name
Type
Description

Authorization

string

The live or sandbox API key.

{
    "id": "5eb04fcd0f3e360008035eb1",
    "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-01-04T17:24:29.146Z",
    "updatedAt": "2020-01-04T17:24:29.146Z"
}

Example request

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

Last updated