API v1 Documentation
Client API > Response
Client API > Contacts
Client API > Display
Client API > Environment
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
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
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"
}
}'
{
"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?
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"
}
}'
{
"data": {
"changed": true,
"message": "The person was successfully updated."
}
}