Skip to main content
POST
/
client
/
{workspaceId}
/
user
Create or Identify User
curl --request POST \
  --url https://app.formbricks.com/api/v2/client/{workspaceId}/user \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "user123",
  "attributes": {}
}
'
{
  "userId": "user123",
  "state": "identified"
}

Documentation Index

Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

workspaceId
string
required

The ID of the Workspace. Deprecated alias environmentId.

Body

application/json

The body is of type object.

Response

200 - application/json

OK

The response is of type object.