Custom Fields
Create Custom Field
Create a new custom field to store additional contact attributes using the AutoSend API.
POST
Authorizations
Bearer authentication header of the form Bearer
<token>, where <token> is your auth token.Body Parameters
The programmatic name for the custom field. Must be unique within the project. Cannot be one of the reserved names:
firstName, first_name, lastName, last_name, email, mobile, unsubscribed, unsubscribe, unsubscribe_groups, unsubscribe_preferences, userId, externalId, createdAt, updatedAt, contactLists, address, address_line_1, address_line_2, city, state, zip, country.The data type of the custom field. Must be one of:
string, number, boolean, date.A human-readable description of what the field represents.
A fallback value used when a contact does not have an explicit value for this field.
Response
Custom field created successfullyIndicates whether the request was successful.
Confirmation message.Example:
"Custom field created successfully"The created custom field.