{ "opencollection": "1.0.0", "info": { "name": "Twenty CRM Companies Metadata - Fields API", "version": "0.40" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Metadata - Fields", "type": "folder" }, "items": [ { "info": { "name": "List field metadata", "type": "http" }, "http": { "method": "GET", "url": "https://api.twenty.com/rest/metadata/fields" }, "docs": "List field metadata" }, { "info": { "name": "Create a field", "type": "http" }, "http": { "method": "POST", "url": "https://api.twenty.com/rest/metadata/fields", "body": { "type": "json", "data": "{}" } }, "docs": "Adds a field to an object. Use a relation field type to define a relation between objects." }, { "info": { "name": "Get a field definition", "type": "http" }, "http": { "method": "GET", "url": "https://api.twenty.com/rest/metadata/fields/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The UUID of the record." } ] }, "docs": "Get a field definition" }, { "info": { "name": "Update a field definition", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.twenty.com/rest/metadata/fields/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The UUID of the record." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a field definition" }, { "info": { "name": "Delete a field definition", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.twenty.com/rest/metadata/fields/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The UUID of the record." } ] }, "docs": "Delete a field definition" } ] } ], "bundled": true }