curl --request GET \
--url https://app.formbricks.com/api/v2/client/{environmentId}/identify/contacts/{userId}
Copy
{
"userId": "user123",
"state": "active"
}
Client API - Contacts
Get Contact State
Retrieves a contact’s state including their segments, displays, responses and other tracking information. If the contact doesn’t exist, it will be created.
GET
/
client
/
{environmentId}
/
identify
/
contacts
/
{userId}
Get Contact State
Copy
curl --request GET \
--url https://app.formbricks.com/api/v2/client/{environmentId}/identify/contacts/{userId}