Get a client

GET /v0/labs/client/{client_id}

Return full details for a single client, including its primary address and licenses.

The client must already be associated with your lab, or have existing orders with it; otherwise the request returns not_found.

Path parameters

client_id integer required

Try it

Log in to send test requests to this endpoint straight from the docs.

Responses

200 Success
client object
Show 11 child attributes Hide 11 child attributes
id integer

Client ID

name string

Organization Name

training boolean

Whether this is a training client

last_modified timestamp

Time this client was last modified

email string

Organization Email

phone string

Organization Phone

url string

Organization Website

primary_address object
Show 6 child attributes Hide 6 child attributes
id integer

Address ID

address_line_1 string

Street address line 1

address_line_2 string

Street address line 2

city string

City

state_abbreviation string

Two letter state abbreviation

zipcode string

Zipcode

licenses array of objects
Show 6 child attributes Hide 6 child attributes
id integer

License ID

license_number string

License Number

license_code string

License Code (some states only)

nickname string

Human entered name for license

license_designation_name string

License Designation Name [changes by state]

license_type_name string

License Type Name [changes by state]

archived boolean

True if this client has been archived

notes string

Client Notes

400 Bad request

The request was malformed or failed validation. Validation failures include per-field messages in error_details.

Possible error_code values: invalid_request, request_too_old.

401 Unauthorized

Authentication failed.

Possible error_code values: missing_api_key, invalid_api_key, invalid_credentials_type, api_access_restricted, api_access_denied, missing_signature, missing_timestamp, invalid_timestamp, invalid_signature.

403 Permission denied

The API key is valid but does not have permission for this endpoint (for example, a client key calling a labs endpoint).

Possible error_code values: permission_denied.

404 Not found

The requested record does not exist or is not visible to this organization.

Possible error_code values: not_found.

How to sign requests
# X-ConfidentLims-Signature: see the Request Signing guide - https://api.confidentcannabis.com/v0/docs/request-signing.md
curl -X GET 'https://api.confidentcannabis.com/v0/labs/client/{client_id}' \
  -H 'X-ConfidentLims-APIKey: YOUR_API_KEY' \
  -H 'X-ConfidentLims-Timestamp: UNIX_TIMESTAMP' \
  -H 'X-ConfidentLims-Signature: REQUEST_SIGNATURE'
Response · 200
{
  "success": true,
  "client": {
    "id": 318,
    "name": "Sunrise Cultivation",
    "training": false,
    "last_modified": "2025-02-27T18:04:03",
    "email": "orders@sunrisecultivation.com",
    "phone": "9165550142",
    "url": "https://sunrisecultivation.com",
    "primary_address": {
      "id": 902,
      "address_line_1": "55 Orchard Road",
      "address_line_2": null,
      "city": "Woodland",
      "state_abbreviation": "CA",
      "zipcode": "95695"
    },
    "licenses": [
      {
        "id": 4410,
        "license_number": "CDPH-10003456",
        "license_code": null,
        "nickname": "Woodland cultivation",
        "license_designation_name": "Adult Use",
        "license_type_name": "Cultivation - Small Indoor"
      }
    ],
    "archived": false,
    "notes": "Prefers Monday drop-offs."
  }
}