Create a record
Creates a record under a project-scoped object, applying default-value tokens, validating against the definition, and enforcing unique fields and declared cardinality. Requires data-record:write on the project.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
projectId
The parent project id.
objectId
The project-scoped object definition id.
Request
This endpoint expects an object.
data
Field values keyed by field key.
Response
The created record.
record
An arbitrary JSON object.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error