PUT
/
contact-attributes
/
{id}
curl --request PUT \
  --url https://app.formbricks.com/api/contact-attributes/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "attributeKeyId": "<string>",
  "contactId": "<string>",
  "value": "example@email.com"
}'
{
  "id": "<string>",
  "createdAt": "2021-01-01T00:00:00.000Z",
  "updatedAt": "2021-01-01T00:00:00.000Z",
  "attributeKeyId": "<string>",
  "contactId": "<string>",
  "value": "example@email.com"
}

Path Parameters

contactAttributeId
string
required

Body

application/json
The response to update

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

Response

200 - application/json
Response updated successfully.
id
string
required

The ID of the contact attribute

createdAt
string
required

The date and time the contact attribute was created

updatedAt
string
required

The date and time the contact attribute was last updated

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