For the complete documentation index, see llms.txt. This page is also available as Markdown.

Detokenize Image

Exposed service to detokenize the best encrypted image generated by the Widget Selphi. The service must receive the string bestImageToken and the transactionId associated with the identity service, previously executed in the Flow of Onboarding.

Endpoint

POST /services/detokenize

Headers

Name
Type
Required
Description

x-api-key

string

Yes

API Key for access authorization.

Request body

Content-Type: application/json

Parameters

Parameter
Type
Required
Description

bestImageToken

string

Yes

Tokenized image sent in the parameter bestImage of the Endpoint /identity.

transactionId

string

No

Transaction ID associated with the operation/validation of the Liveness module obtained in the response from the Endpoint /identity.

Request example

{
  "bestImageToken": "{BEST_IMAGE_TOKEN}",
  "transactionId": "{TRANSACTION_ID}"
}

Responses

200 Success

Response parameters

Parameter
Type
Description

timestamp

string

Date and time of the request in format ISO 8601.

transactionId

string

Transaction identifier associated with the request processed by the API.

imageBuffer

string

Decoded image in format Base64.

Response example

400 Bad Request

401 Unauthorized

403 Forbidden

502 Bad Gateway

504 Gateway Timeout

Last updated