Get Client
This endpoint returns one client by ID.
Endpoint
Section titled “Endpoint”GET /v1/clients/clients/:idAuthentication
Section titled “Authentication”Include your API key in the x-api-key header. See Authentication.
Required Scope
Section titled “Required Scope”clients:readPath Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Client ID. |
Request Body
Section titled “Request Body”This endpoint does not accept a request body.
Example Request
Section titled “Example Request”curl "https://api.crewsum.com/v1/clients/clients/client-ghi123jkl4567890" \ -H "x-api-key: $CREWSUM_API_KEY"const response = await fetch( "https://api.crewsum.com/v1/clients/clients/client-ghi123jkl4567890", { headers: { "x-api-key": process.env.CREWSUM_API_KEY } },);const result = await response.json();GET /v1/clients/clients/client-ghi123jkl4567890 HTTP/1.1Host: api.crewsum.comx-api-key: <your-api-key>Response
Section titled “Response”On success, the API returns HTTP 200 OK.
Example Response
Section titled “Example Response”{ "message": "Successfully fetched client: client-ghi123jkl4567890", "data": { "id": "client-ghi123jkl4567890", "name": "Client Name", "description": "A brief description of the client", "isArchived": false, "createdAt": "2026-01-05T15:30:00.000Z", "updatedAt": "2026-02-10T09:12:00.000Z", "isDeleted": false, "customFields": { "region": "west", "accountManager": "Jordan Lee" } }}Behavior
Section titled “Behavior”- The endpoint returns one client object in
data. - Deleted clients are still returned, with
isDeleted: true. updatedAtisnullfor clients that were never updated.customFieldsis always present. It is{}when the client has no custom fields.
Error Responses
Section titled “Error Responses”| Status | Meaning |
|---|---|
400 | {"message": "ClientID missing"}. The ID path segment is empty. |
404 | {"message": "Client not found: <id>"}. No client with this ID exists in your account. |
Authentication and scope failures are described in Errors.
Related Webhooks
Section titled “Related Webhooks”This endpoint does not trigger a webhook.