Skip to content

Get Client

This endpoint returns one client by ID.

GET /v1/clients/clients/:id

Include your API key in the x-api-key header. See Authentication.

clients:read
ParameterTypeRequiredDescription
idstringYesClient ID.

This endpoint does not accept a request body.

Terminal window
curl "https://api.crewsum.com/v1/clients/clients/client-ghi123jkl4567890" \
-H "x-api-key: $CREWSUM_API_KEY"

On success, the API returns HTTP 200 OK.

{
"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"
}
}
}
  • The endpoint returns one client object in data.
  • Deleted clients are still returned, with isDeleted: true.
  • updatedAt is null for clients that were never updated.
  • customFields is always present. It is {} when the client has no custom fields.
StatusMeaning
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.

This endpoint does not trigger a webhook.