Fields
Create Field
This endpoint creates a new field for your custom subscriber data
POST
/
api
/
people
/
fields
/
Body
name
string
requiredA human readable field name
data_name
string
requiredThe name of the field to be used in future API requests
type
string
requiredThe data type of the field
- string
- boolean
- tag
- number
editable
boolean
default: "true"Whether or not the field can be edited
Response
id
string
The id of the field
name
string
The human readable name of the field
data_name
string
The data name of the field is used in subsequent API requests for people
editable
boolean
Allows the field to be edited or not (default fields such as email or tags are not editable)
type
string | boolean | tag | number
The type of data stored in the field