Define custom data fields for contacts. Custom attributes extend the contact model with account-specific fields (e.g. company name, purchase date) that can be used in segmentation and merge tags.
Show all custom attributes
List all custom attributes defined for the account.
Required scope(s): custom_attributes:read
path Parameters
list_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
pageper_pagewith_countInclude count in the response
Include count in the response
Show all custom attributes › Responses
Successful Response
List of custom attributes
Create a custom attribute
Define a new custom attribute for contacts.
Required scope(s): custom_attributes:write
path Parameters
list_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Create a custom attribute › Request Body
name^[A-Za-z0-9\-_]+$ · requiredCannot be one of the reserved terms: id, email, status, registered, bounce_type, bounce_count, tags, _tags
typeAn enumeration.
Create a custom attribute › Responses
Successful Response
nameName of the created custom attribute
One List
objectObject type
createdWhether the attribute was created
Show a custom attribute
Retrieve the details of a custom attribute.
Required scope(s): custom_attributes:read
path Parameters
list_idnamequery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Show a custom attribute › Responses
Successful Response
One List
Delete a custom attribute
Delete a custom attribute definition. Existing values on contacts are removed.
Required scope(s): custom_attributes:delete
path Parameters
list_idname^[A-Za-z0-9\-_]+$ · requiredCannot be one of the reserved terms: id, email, status, registered, bounce_type, bounce_count, tags, _tags
Cannot be one of the reserved terms: id, email, status, registered, bounce_type, bounce_count, tags, _tags
query Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Delete a custom attribute › Responses
Successful Response
nameName of the deleted custom attribute
objectObject type
deletedWhether the attribute was deleted