POST
/
{environmentId}
/
user
curl --request POST \
  --url https://app.formbricks.com/api/v2/client/{environmentId}/user \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "userId": "user123",
  "attributes": {}
}'
{
  "userId": "user123",
  "state": "identified"
}

Authorizations

x-api-key
string
header
required

Use your Formbricks x-api-key to authenticate.

Body

application/json Β· object

The body is of type object.

Response

200 - application/json
OK

The response is of type object.

Was this page helpful?