Create custom field
documentedCreate a new custom field definition.
POST /api/v2/fieldsCustom Fieldsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.capsulecrm.com/api/v2/{{$entity}}/fields/definitions" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"definition": {"type": "{{$type}}", "name": "{{$name}}", "options": ["{{$option1}}", "{{$option2}}", "{{$option3}}"], "tag": {"name": "{{$tag_name}}"}}}'