Create client

View as MarkdownOpen in Claude
Creates a Client. Answers **201** with the resource and a `Location` header. **Body** (JSON): - `name` (string, required, max 255) - `last_name` (string, optional, max 255) - `company` (string, optional, max 255) Requires a full-access token (read-only tokens answer 403). Validation failures answer 422 with a JSON:API `errors` document.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Request

This endpoint expects an object.
companystringOptional
last_namestringOptional
namestringOptional

Response headers

LocationstringOptional

Response

201 - Client created

dataobjectOptional
jsonapiobjectOptional

Errors

403
Forbidden Error
422
Unprocessable Entity Error