v4
latestOpenAPI 3.0.02026-08-04109113304.5 KBCreate a List Attribute
Create a List Attribue with provided name, list_type and key_field. Fields description and list_content are optional.
Request body
The unique identifier for the Optimizely account
Whether or not the List Attribute has been archived
AWS access key to upload List Attribute source file to S3
AWS secret key to upload List Attribute source file to S3
Time when the List Attribute was created
A short description of the List Attribute
The unique identifier for the List Attribute
The name of the object which holds targeting ids on your website
The last time the List Attribute was modified
A comma separated string of IDs or ZIP Codes. Items will be matched against the key_field to determine if an active visitor should be targeted by the list. Note that if the list currently contains data, providing this value will overwrite the previous data.
The type of data object which holds targeting ids on your website (cookies, query parameters, zip codes, Global JS variables)
A unique, human-readable name for the List Attribute
The ID of the project the List Attribute belongs to
S3 path containing files used to populate the List Attribute with data. Can be used with an S3 client or CLI to upload data.
Example request
{
"name": "SubscriberStatus"
}Response
Successfully created the List Attribute
The unique identifier for the Optimizely account
Whether or not the List Attribute has been archived
AWS access key to upload List Attribute source file to S3
AWS secret key to upload List Attribute source file to S3
Time when the List Attribute was created
A short description of the List Attribute
The unique identifier for the List Attribute
The name of the object which holds targeting ids on your website
The last time the List Attribute was modified
A comma separated string of IDs or ZIP Codes. Items will be matched against the key_field to determine if an active visitor should be targeted by the list. Note that if the list currently contains data, providing this value will overwrite the previous data.
The type of data object which holds targeting ids on your website (cookies, query parameters, zip codes, Global JS variables)
A unique, human-readable name for the List Attribute
The ID of the project the List Attribute belongs to
S3 path containing files used to populate the List Attribute with data. Can be used with an S3 client or CLI to upload data.
Example response
{
"name": "SubscriberStatus"
}