Identify and verify a user’s identity with biometric verification. Returns a QR code or deep link for the user to scan with their UIP app.Use this endpoint to authenticate users, verify age requirements, check location, or validate other identity attributes.
Description of why you’re requesting identity verification. This is shown to the user in the UIP app.Example:"Sign in to Example App" or "Verify age for content access"
Optional array specifying which identity attributes to request. If omitted or empty, all available data is returned.Valid values:name, birthdate, countryExample:["name", "birthdate"]
Any values not in the list above will be ignored. The user will only be asked to share the requested attributes.
When the user completes the authentication, UIP sends a POST request to your webhook URL with the result.
Important: Webhooks are only sent when the user completes authentication. If the user cancels or the session expires without completion, no webhook is sent. Your application should handle timeouts on your end (sessions expire after 5 minutes).
event - Always "identify" for successful identifications
data.uip_id - The user’s unique UIP identifier
data.audit_id - Permanent audit trail reference ID (save this for compliance)
data.session_id - The session ID from your original request
data.name - User’s full name (if requested or all data requested)
data.date_of_birth - User’s date of birth in YYYY-MM-DD format (if requested or all data requested)
data.country_of_origin - User’s country code (if requested or all data requested)
data.expires_at - Unix timestamp when the UIP user identity expires and must renew verification with UIP
Only the fields you requested in requested_data will be included in the response. If you omitted requested_data or passed an empty array, all three fields (name, date_of_birth, country_of_origin) will be included.