BOIVA Developer Hub
Integrate identity verification with confidence
Quickstarts on boiva.id, exact endpoint contracts in the canonical ReadMe API reference.
Generate a public access token
Send your Client ID and Client Key as request headers. BOIVA returns a token scoped for identity verification and valid for one hour.
Sandbox request
This token endpoint is called without a preceding Authorization header.
curl --location --request GET \
'https://sandbox.boiva.id/b2b/v0/token' \
--header 'X-Client-Id: {client-id}' \
--header 'X-Client-Key: {client-key}'X-Client-IdThe client identifier provided by the BOIVA team.
X-Client-KeyThe client key provided by the BOIVA team.
Successful response
{
"token": "{public-access-token}",
"scopes": ["identity_verification"],
"duration": 3600000
}Use as the Authorization header value.
Eligible API scope.
Milliseconds until expiry.
Server-side token lifecycle
- 01 · STORE
Keep the Client ID, Client Key, and token out of browser bundles, mobile apps, logs, and repositories.
- 02 · CACHE
Cache the token on your server and account for its one-hour validity.
- 03 · RENEW
Generate a new token before expiry and handle a 401 response without exposing credentials.
Do not add “Bearer” unless your assigned API contract says so
The canonical BOIVA reference defines the Authorization parameter as the Public Access Token. Use the exact header format in your provisioned contract.