Create a custom field. Personal access token only. The API supports a second, partner-issued token class that is not part of the public surface. This endpoint does not accept that class.
Create a custom field.
Personal access token only. The API supports a second, partner-issued token class that is not part of the public surface. This endpoint does not accept that class.
bearerToken Personal access tokens created from the ThriveDesk UI. Create one under Integrations -> API Keys.
In: header
Inbox identifier.
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/inboxes/string/custom-fields" \ -H "Content-Type: application/json" \ -d '{ "name": "Order Number", "type": "text", "key": "order_number", "is_required": true, "is_active": true }'{ "message": "string", "data": { "id": "string", "inbox_id": "string", "name": "string", "key": "string", "description": "string", "type": "text", "default_value": null, "is_required": true, "is_active": true, "order": 0, "extra": {}, "options": [ { "id": "string", "value": "string" } ], "conditions": [ {} ], "created_at": "2019-08-24T14:15:22Z", "readable_created_at": "string" }}3 <= length <= 25Value in
Unique per inbox.
^[A-Za-z0-9_]+$3 <= length <= 25length <= 250Type must match the field type (string, boolean, or number).
Only for dropdown fields, rejected for other types.
1 <= itemsOnly for field types that support conditional visibility.