List the org's typed custom attribute definitions
GET/v2/organizations/me/custom-attribute-defs
Returns the dictionary that drives Contact.attributes validation. Returns { defs: [] } for orgs that haven't configured any.
Auth: contacts:read — every member that can read contacts also needs the schema to render the editor.
Responses
200Default ResponseResponse fields and example
Field Type Description defsrequiredobject[]defs[].keyrequiredstringdefs[].typerequiredstringValues: stringnumberbooleandatedefs[].labeloptionalstringdefs[].requiredrequiredbooleanJSON{ "defs": [ { "key": "string", "type": "string", "label": "string", "required": true } ]}
401RFC 7807 problem details for UNAUTHORIZED (401).403RFC 7807 problem details for FORBIDDEN (403).
Error responses follow RFC 7807 (application/problem+json), with a stable code in the code field. See the error codes
curl example
curl 'https://api.messages.ccxcompany.co/v2/organizations/me/custom-attribute-defs' \ -H "Authorization: Bearer $CCX_API_KEY"