Clients
Methods, permissions, request fields and response schemas for clients.
Read and search
Retrieve current records, history and status.
Search off-platform clientsSearch and paginate clients records accessible to your organization.GET/clients
/clientsPagination: Default 50, maximum 100. Follow nextCursor with the same search, tenant and resource until null. Creation cutoff excludes later inserts; mutable fields may change between pages. Unsupported search returns 400.
Query parameters
| Field | Type | Description and constraints |
|---|---|---|
limitOptional | integer | Minimum 1 · Maximum 100 · Default: 50 |
cursorOptional | string | At least 1 characters · At most 768 characters |
searchOptional | string | At least 0 characters · At most 200 characters |
Example response
Illustrative · HTTP 200Sample values from the response schema. No API request is sent.
{
"data": [
{
"id": "11111111-1111-4111-8111-111111111111",
"organizationId": "11111111-1111-4111-8111-111111111111",
"name": "Example name",
"email": "Example email",
"company": "Example company",
"notes": "Example notes",
"createdById": "11111111-1111-4111-8111-111111111111",
"createdAt": "2026-01-01T00:00:00Z",
"updatedAt": "2026-01-01T00:00:00Z"
}
],
"nextCursor": "Example nextCursor"
}What you receive
{data: bounded clients summaries[], nextCursor: string | null}. Fetch detail endpoints for full records.
Request example · cURL
Replace example IDs and values. Supply the token from your secret store. Each intended write uses one stable $ACTION_KEY.
curl -X GET "$BASE/clients?limit=50" \
-H "Authorization: Bearer $ALLPROFILES_API_TOKEN"Success response schema · HTTP 200
{
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"organizationId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"email": {
"type": [
"string",
"null"
]
},
"company": {
"type": [
"string",
"null"
]
},
"notes": {
"type": [
"string",
"null"
]
},
"createdById": {
"type": "string",
"format": "uuid"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"organizationId",
"name",
"email",
"company",
"notes",
"createdById",
"createdAt",
"updatedAt"
],
"additionalProperties": false
},
"maxItems": 100,
"minItems": 0
},
"nextCursor": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 768
}
},
"required": [
"data",
"nextCursor"
],
"additionalProperties": false
}
}
}Errors and recovery
400- Invalid JSON, request fields, query, path identifier or missing Idempotency-Key.
401- Missing, invalid, revoked or expired organization API token; its issuing actor must still be the current organization owner.
403- Token scope or actor capability denied, disabled/banned account, or action unavailable.
404- Unknown route or resource not accessible in the bound organization. Cross-tenant resources are not enumerated.
409- Conflicting profile/rental state, duplicate resource, idempotency payload mismatch or operation still in progress.
410- event_cursor_expired: the event cursor is behind retained history. Reconcile current resources and start from the supplied recovery cursor.
422- Business validation/moderation rejected the operation. CHAT_MESSAGE_BLOCKED was not delivered.
429- API rate/concurrency limit exceeded; use backoff and Retry-After when present.
500- Internal operation error. Sensitive implementation details are not returned. Investigate using the request ID before repeating a write.
503- Provider or configuration unavailable; uncertain writes must retain the same Idempotency-Key.
Example responses are illustrative. Try live request sends a request to the API and shows its actual status and response. Your token scopes, organization permissions and the current state of the resource determine what the server allows.
Financial fields named ...Cents or ...InCents use integer cents. Path fields and nested constraints are shown above and in the downloadable OpenAPI contract.
Create and import
Add records, prepare imports or start a new setup.
Save an off-platform clientSave an off-platform client record for manual rentals; no invitation or invoice is sent.POST/clients
/clientsSend Idempotency-Key. Retry the same intended action with the same key and exact payload to retrieve its saved result.
Request body
| Field | Type | Description and constraints |
|---|---|---|
nameRequired | string | At least 1 characters · At most 120 characters |
emailOptional | string · email | At most 200 characters |
companyOptional | string | At least 0 characters · At most 120 characters |
notesOptional | string | At least 0 characters · At most 1000 characters |
Example response
Illustrative · HTTP 201Sample values from the response schema. No API request is sent.
{
"id": "11111111-1111-4111-8111-111111111111",
"organizationId": "11111111-1111-4111-8111-111111111111",
"name": "Example name"
}What you receive
Created client or the existing same-name client; does not send an invitation or invoice.
Request example · cURL
Replace example IDs and values. Supply the token from your secret store. Each intended write uses one stable $ACTION_KEY.
curl -X POST "$BASE/clients" \
-H "Authorization: Bearer $ALLPROFILES_API_TOKEN" \
-H "Idempotency-Key: $ACTION_KEY" \
-H "Content-Type: application/json" \
--data '{"name":"example"}'Full JSON request schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"email": {
"type": "string",
"format": "email",
"maxLength": 200
},
"company": {
"type": "string",
"minLength": 0,
"maxLength": 120
},
"notes": {
"type": "string",
"minLength": 0,
"maxLength": 1000
}
},
"required": [
"name"
],
"additionalProperties": false
}Success response schema · HTTP 201
{
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"organizationId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string",
"minLength": 0,
"maxLength": 5000
},
"email": {
"type": [
"string",
"null"
],
"minLength": 0,
"maxLength": 5000
},
"company": {
"type": [
"string",
"null"
],
"minLength": 0,
"maxLength": 5000
},
"notes": {
"type": [
"string",
"null"
],
"minLength": 0,
"maxLength": 5000
},
"createdById": {
"type": "string",
"format": "uuid"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"organizationId",
"name"
],
"additionalProperties": true
}
}
}Errors and recovery
400- Invalid JSON, request fields, query, path identifier or missing Idempotency-Key.
401- Missing, invalid, revoked or expired organization API token; its issuing actor must still be the current organization owner.
403- Token scope or actor capability denied, disabled/banned account, or action unavailable.
404- Unknown route or resource not accessible in the bound organization. Cross-tenant resources are not enumerated.
409- Conflicting profile/rental state, duplicate resource, idempotency payload mismatch or operation still in progress.
410- event_cursor_expired: the event cursor is behind retained history. Reconcile current resources and start from the supplied recovery cursor.
422- Business validation/moderation rejected the operation. CHAT_MESSAGE_BLOCKED was not delivered.
429- API rate/concurrency limit exceeded; use backoff and Retry-After when present.
500- Internal operation error. Sensitive implementation details are not returned. Investigate using the request ID before repeating a write.
503- Provider or configuration unavailable; uncertain writes must retain the same Idempotency-Key.
Example responses are illustrative. Try live request sends a request to the API and shows its actual status and response. Your token scopes, organization permissions and the current state of the resource determine what the server allows.
Financial fields named ...Cents or ...InCents use integer cents. Path fields and nested constraints are shown above and in the downloadable OpenAPI contract.