Skip to main content
POST
/
v1
/
auth
/
sync
Sync User
curl --request POST \
  --url https://api.example.com/v1/auth/sync \
  --header 'Content-Type: application/json' \
  --data '
{
  "clerk_user_id": "<string>",
  "email": "<string>",
  "name": "<string>",
  "avatar_url": "<string>"
}
'
{
  "user_id": "<string>",
  "workspace_id": "<string>",
  "created": true
}

Body

application/json
clerk_user_id
string
required
email
string
required
name
string
required
avatar_url
string | null

Response

Successful Response

user_id
string
required
workspace_id
string
required
created
boolean
required