Body Parameters
Description of why you’re requesting identity verification. 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:
first_name, last_name, date_of_birth, country, expires_atExample: ["first_name", "last_name", "date_of_birth"]Example Request
Response (200 OK)
Unique identifier for this session. Use this to poll for results.
ISO 8601 timestamp when the session expires (5 minutes from creation).
Base64-encoded PNG data URI of the QR code. Display this to desktop users. The QR code encodes
https://www.uip.id/{session_id}.Implementation Flow
Display QR Code or Deep Link
Desktop: show the
qr_code image. Mobile: show an “Open UIP” button linking to https://www.uip.id/{session_id}No webhooks needed. The Identify API uses simple polling. No redirect URIs, no code exchange.
Common Use Cases
User Authentication
User Authentication
Request
first_name and last_name to authenticate users and create accountsAge Verification
Age Verification
Request only the
date_of_birth field to verify age without exposing other identity dataLocation Compliance
Location Compliance
Request the
country field to ensure compliance with regional regulationsComplete Profile
Complete Profile
Omit
requested_data or pass empty array to receive all available identity attributesErrors
See the Error Handling Guide for comprehensive error handling strategies. Possible error codes:auth/missing-api-key- No API key provided in Authorization headerauth/invalid-api-key- Invalid API keyauth/revoked-api-key- API key has been revokedauth/business-archived- Business account has been archivedrequest/invalid-payload- Request payload is invalid or missing required fieldspayment/insufficient-funds- Insufficient account balanceresource/not-found- Session not found (GET endpoint)internal/server-error- Failed to create or retrieve session