Create Custom Attribute
Log in to add to favouritesPage last updated 12 June 2026
This endpoint is for creating a new Custom Attribute for the specified project.
POSTapi/management/projects/{projectId}/personalization/attributes
Parameter
| Name | Parameter type | Type | Description |
|---|---|---|---|
| projectId(required) | path | string | The project identifier found in the project overview screen of the management console. |
Responses
Examples
{
"id": "custom.newAttribute",
"name": "My Custom Attribute",
"description": "Custom Attribute description limited to 140 characters",
"type": "boolean"
}{
"id": "custom.newAttribute",
"name": "My Custom Attribute",
"description": "Custom Attribute description limited to 140 characters",
"type": "string"
}{
"id": "custom.newAttribute",
"name": "My Custom Attribute",
"description": "Custom Attribute description limited to 140 characters",
"type": "integer"
}Remarks
A custom attribute requires a name, id and type to be created.
The id must be prefixed with custom. to be valid.
The name and id must both be unique.