Create contact

View as MarkdownOpen in Claude
Creates a Contact. Answers **201** with the resource and a `Location` header. **Body** (JSON, all optional): - `name` (string, nullable, max 255) - a Contact can be unnamed. - `last_name` (string, nullable, max 255) - `company` (string, nullable, max 255) Requires a full-access token (read-only tokens answer 403).

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.
last_namestringOptional
namestringOptional

Response headers

LocationstringOptional

Response

201 - Contact created

dataobjectOptional
jsonapiobjectOptional

Errors

403
Forbidden Error