Show all custom attributes
GET
https://api.cakemail.dev
/lists/{list_id}/custom-attributes
Create a custom attribute
POST
https://api.cakemail.dev
/lists/{list_id}/custom-attributes
path Parameters
list_id
integer · min: 1 · required
query Parameters
account_id
integer · min: 1
Request Body
name
string · pattern:^[A-Za-z0-9\-_]+$
· requiredtype
string · enum · requiredEnum values:textmediumtextintegertimestampdatetime
Responses
name
string · requireddata
object · requiredobject
stringDefault: attributecreated
booleanDefault: true
Delete a custom attribute
DELETE
https://api.cakemail.dev
/lists/{list_id}/custom-attributes/{name}