Skip to content
Navigation
POST/users/identify

Identify (create or update) a user

Create a new portal user or update an existing one by email. User attributes must be configured in Settings > User Attributes before they can be set.

Request body

FieldTypeDescription
emailrequiredstringUser email (used for lookup/creation)
namestringDisplay name
imagestringProfile image URL
emailVerifiedbooleanEmail verification status
externalIdstringYour system's user ID for cross-referencing
attributesobjectUser attributes (must be configured in Settings > User Attributes)

Response

Existing user updated

FieldTypeDescription
principalIdrequiredstringPrincipal ID
userIdrequiredstringUser ID
namerequiredstring
emailrequiredstring
imagerequiredstringnullProfile image URL
emailVerifiedrequiredbooleanWhether email is verified
externalIdrequiredstringnullCustomer-provided external user ID
attributesrequiredobjectUser attributes (must be configured in Settings > User Attributes)
createdAtrequiredstringAccount creation date
createdrequiredbooleantrue if new user was created, false if existing was updated

Errors

400Validation error (invalid attributes)
401Unauthorized

Example request

curl \
  -X POST \
  "https://feedback.quackback.io/api/v1/users/identify" \
  -H "Authorization: Bearer qb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "example_email",
  "name": "example_name",
  "image": "example_image",
  "emailVerified": false,
  "externalId": "example_externalId"
}'