Create a new Attribute Class by passing in its type as well as the name! Now just use them in your app and pass this value with a user & it’ll be associated with it.
POST
/
api
/
v1
/
management
/
attribute-classes
Create Attribute Class
Copy
curl --request POST \
--url https://{baseurl}/api/v1/management/attribute-classes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"environmentId": "{{environmentId}}",
"key": "my-custom-attribute",
"name": "My new Attribute",
"type": "custom"
}
'