v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Create a Custom Field

post/customFields

Headers

X-CAP-API-AUTH-KEYstring required

Auth Key for internal API

X-CAP-API-AUTH-ORG-IDstring required

Organisation ID

Request body

RAW_BODYstring

Response

200

successboolean

Example response

{
  "entity": [
    {
      "orgId": 50399,
      "name": "Email Footer Color",
      "type": "text",
      "dataType": "STRING",
      "label": "Mail content",
      "scope": "ORG_CUSTOM_FIELD",
      "defaultValue": "#1234",
      "phase": "1"
    }
  ],
  "success": true
}