Skip to content

client

List clients

GET/v1/clients

Lists clients in the caller's tenant. Without `q`, pages by stable id order. With `q`, searches visible client names using case-insensitive substrings after ignoring punctuation and company suffixes (Inc, LLC, Ltd, Corp, Co); when nothing substring-matches, returns up to five similarity-ranked candidates with matchScore on each row. Search results are a single page (nextCursor is null). Archived clients and clients a source has removed are excluded. psaInUse and projectMix apply to both modes. Each client carries its icpProfile.

Parameters

NameInRequiredTypeDescription
limitqueryNointeger—
cursorqueryNostring—
psaInUsequeryNostring—
projectMixqueryNostring—
qqueryNostring—

Request body

No request body.

Responses and errors

  • 200

    List clients

    • data (required): array
    • nextCursor (required): object
  • 400

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ValidationFailedError:
    • allOf: ErrorEnvelope
  • 401

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnauthorizedError:
    • allOf: ErrorEnvelope
  • 403

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ForbiddenError:
    • allOf: ErrorEnvelope
  • 429

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • RateLimitedError:
    • allOf: ErrorEnvelope
  • 503

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnavailableError:
    • allOf: ErrorEnvelope

Example

curl --request GET \
  --url 'https://api.scopable.io/v1/clients' \
  --header 'Authorization: Bearer $SCOPABLE_API_KEY'

Replace $SCOPABLE_API_KEY with a key created in Settings, API.

View the OpenAPI 3.1 source

Need help with the API? …