Generate Facial Verification URL
POST/v1/enrollees/:enrollee_id/facial-verification-url
Generate and return a short-lived facial verification launch URL for an enrollee.
Note: This feature is only available to HMOs/Insurers.
The returned qr_url keeps the existing implementation shape and may be opened directly in a browser or in-app webview by the calling HMO application to initiate the hosted facial verification check-in flow.
This request will only succeed when:
- the enrollee belongs to the authenticated Insurer/HMO
- the provider is linked to the authenticated Insurer/HMO
- check-in is enabled for the Insurer/HMO
- QR verification is enabled for the Insurer/HMO
Request
Path Parameters
The ID of the enrollee for whom the facial verification URL should be generated.
- application/json
Body
required
The ID of the provider context to associate with the facial verification flow. The provider must be linked to the authenticated Insurer/HMO.
Possible values: >= 1
Optional number of minutes before the generated URL expires. Defaults to 10 minutes when omitted.
Responses
- 200
- 400
- 401
- 403
- 404
- 422
Success
- application/json
- Schema
- Example (from schema)
Schema
The generated facial verification URL. It keeps the existing implementation format, including the query parameters token, expires, and provider.
{
"qr_url": "https://claims.curacel.co/qr-capture?token=3298936&expires=1775654155&provider=9568"
}
Bad Request (for example, check-in is not enabled for the Insurer/HMO)
Unauthenticated
Forbidden (for example, provider not linked to Insurer/HMO or QR verification feature not enabled)
Not Found (for example, enrollee not found within the authenticated Insurer/HMO scope)
Unprocessable Entity