Get Auth Token — e-Consent
Obtain a short-lived auth token for the e-Consent signing service. This token is separate from the organization JWT and is required before calling the signing endpoints.
Endpoint
GET /api/getAuthToken
https://sandbox-services-sign.mobileid.dj/api/getAuthToken
Headers
| Header | Required | Description |
|---|---|---|
WebMobileIDAuthorization | Yes | Static API key assigned to your organization |
OReference | Yes | UUID identifying your organization |
Response
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}
Example Request
GET /api/getAuthToken HTTP/1.1
Host: sandbox-services-sign.mobileid.dj
WebMobileIDAuthorization: YOUR_WEB_MOBILEID_AUTHORIZATION_KEY
OReference: YOUR_ORGANIZATION_REFERENCE_UUID
Notes
- Use the returned token as
Authorization: Bearer <token>on Send Signing Document calls. - The signing service (
sandbox-services-sign.mobileid.dj) is separate from the organization API and uses its own token.