API ReferenceAudienceCustom fields
Create a custom contact field
Authorization
api-key X-API-Key<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/custom-fields" \ -H "Content-Type: application/json" \ -d '{ "key": "plan_type", "label": "Plan Type", "fieldType": "text" }'{ "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "workspaceId": "550e8400-e29b-41d4-a716-446655440000", "key": "plan", "label": "Plan", "fieldType": "text", "subscriberEditable": false, "createdAt": "2026-01-01T00:00:00.000Z" }}