Create an object type
Create an object type. id restores a previous object type id.
Method: POST · Auth: bearer · Group: objects
/api/v1/{locale}/{websiteId}/objects
Request
Content-Type: application/json
{ "label": "string", "kind": "single|collection|user", "fieldSchema": "object", "slug": "string?", "id"?: "uuid" }Schema
{
"method": "POST",
"path": "/api/v1/{locale}/{websiteId}/objects",
"contentType": "application/json",
"bodyHint": "{ \"label\": \"string\", \"kind\": \"single|collection|user\", \"fieldSchema\": \"object\", \"slug\": \"string?\", \"id\"?: \"uuid\" }"
}MCP tools
- save_object_type — Save object type