POST
/
contact-attributes
curl --request POST \
  --url https://app.formbricks.com/api/v2/management/contact-attributes \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "attributeKeyId": "<string>",
  "contactId": "<string>",
  "value": "example@email.com"
}'

Authorizations

x-api-key
string
header
required

Use your Formbricks x-api-key to authenticate.

Body

application/json
The contact attribute to create

Input data for creating or updating a contact attribute

attributeKeyId
string
required

The ID of the attribute key

contactId
string
required

The ID of the contact

value
string
required

The value of the attribute

Example:

"example@email.com"

Response

201

Contact attribute created successfully.

Was this page helpful?