Skip to main content

Add Single Custom Attribute

POST 

/profiles/custom-attributes

Creates a single custom attribute for a profile.

Follow the notes below for a successful request:
  • Use custom attributes to enrich a user profile with application-specific metadata (for example: user tier, referral source, or segmentation labels). This is optional for the core AI Pricing flow.

  • Identify the user by providing either customerUserId or profileId. At least one is required to return the correct result.

    A successful request returns the newly created custom attribute. The returned id represents the custom attribute ID and can be used later to update this attribute.

Request

Responses

Attribute created successfully.