This article explains the four-step process for first verification with Propelus: obtain credentials, request a bearer token valid for 2 hours, use the token in API calls, and refresh it regularly. Credentials must be kept secret. A sandbox environment is provided for safe testing before going live. Business users typically don’t handle these steps, as their technical teams manage tokens behind the scenes.
Four steps to your first verification
- Get your credentials. During onboarding Propelus issues your organization a client ID, a username, and a password.
- Request an access token. Your system sends those credentials to the token endpoint and receives a temporary bearer token in return.
-
Make requests with the token. Each API call carries the token in its
Authorizationheader, so Propelus knows it’s really you and what you’re allowed to see. - Refresh every 2 hours. Tokens are valid for 2 hours. When one expires, request a new one and carry on — no interruption to your work.
Bearer token{
"grant_type": "password", //Required
"username": "string", //Required
"password": "string", //Required
"client_id": "string". //Required
}
The response is a bearer token, valid for 2 hours:
{
"token": "string",
"token_type": "Bearer",
"token_format": "opaque",
"scope": "string",
"issued_at": 1697500046,
"expires_at": 1697507246
}
| Response field | Meaning |
|---|---|
| token | The bearer token to use on later requests. |
| token_type | Always Bearer. |
| token_format | Always opaque. |
| scope | Reserved for future use. |
| issued_at | When the token was issued (Unix epoch seconds). |
| expires_at | When it expires — 2 hours after issue (Unix epoch seconds). |
Send the token on every subsequent request.
Example cURL Request
# Request a token
curl --request POST \
--url https://auth.demo.propelus.com/v1/auth/token \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"grant_type": "password",
"username": "string",
"password": "string",
"client_id": "string"
}''
Test safely before you go live
You’ll get a sandbox environment with test data, so your team can try requests and see real-shaped responses without touching live records. When everything looks right, you switch to the live environment.
Where to go next
Ready to understand what actually happens during a check?