API v1 Documentation
Client API - Contacts
Client API - Display
Client API - Environment
Client API - Response
Client API - User
Management API - Action Class
Management API - Attribute Class
Management API - Contact Attribute Keys
Management API - Contact Attributes
Management API - Contacts
Management API - Me
Management API - People
Management API - Response
Management API - Storage
Management API - Survey
Management API - Webhook
Health
Client API - Contacts
Update Contact (Attributes)
Update a contact’s attributes in Formbricks to keep them in sync with your app or when you want to set a custom attribute in Formbricks.
PUT
/
api
/
v1
/
client
/
{environmentId}
/
contacts
/
{userId}
/
attributes
Copy
Ask AI
curl --request PUT \
--url http:///%7B{baseurl}%7D/api/v1/client/{environmentId}/contacts/{userId}/attributes \
--header 'Content-Type: application/json' \
--data '{
"attributes": {
"Created From": "API"
}
}'
Copy
Ask AI
{
"data": {
"changed": true,
"message": "The person was successfully updated."
}
}
Body
application/json · object
Response
200
application/json
OK
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request PUT \
--url http:///%7B{baseurl}%7D/api/v1/client/{environmentId}/contacts/{userId}/attributes \
--header 'Content-Type: application/json' \
--data '{
"attributes": {
"Created From": "API"
}
}'
Copy
Ask AI
{
"data": {
"changed": true,
"message": "The person was successfully updated."
}
}
Assistant
Responses are generated using AI and may contain mistakes.