> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/authentication/authentication-factors/biometric-device-selfie-id/integration-methods/selfie-id-api/api/api-reference/signed-jwt-tokens.md).

# Signed JWT Tokens

The response to authentication will be signed JWT tokens. Once you validate and decode them you get data that is shown in the below sample response.

The JWT payload includes attributes like `kyc_event_id`, `livelinessTranscationId` and `livelinessScore`. A `session_identifier` attribute is included in the JWT token which can be used to correlate the JWT received as there is no credential ID available in case of Selfie ID.&#x20;

```json
{
  "exp": 1703581975,
  "nbf": 1703581675,
  "iat": 1703581675,
  "auth_time": 1703581675,
  "jti": "40873836-dd40-4245-b760-48f81a4f388f",
  "iss": "https://{environment-url}/realms/{partner-id}",
  "sub": "ecabc23a-ba8e-47de-b7a7-bd9ddf3e0171",
  "typ": "Bearer",
  "azp": "api",
  "session_state": "efc6c88b-a22d-4eaf-82cc-9840ebc3e004",
  "scope": "",
  "sid": "efc6c88b-a22d-4eaf-82cc-9840ebc3e004",
  "kyc_event_id": "829c837f-5bac-48af-a5bd-349951cc3648",
  "livelinessTranscationId": "20200694-3bc8-4889-9123-c6926d090daa",
  "faceMatchMessage": "Selfie photo matches with reference photo",
  "faceMatchScore": "1.0",
  "livelinessScore": "0.006376",
  "imgManipulationScore": "0.315634",
  "mobile": "829c837f-5bac-48af-a5bd-349951cc3648",
  "session_identifier": "IbgpbGi-wic",
  "type": "FaceID",
  "livelinessCode": "1043",
  "livelinessMessage": "Selfie photo is a live photo",
  "faceMatchTranscationId": "d14b1e71-457c-497c-8011-7400fbf15b5c",
  "credential_id": "bbdcb284-a64c-4c0c-889c-c100e0956fff"
}
```

**Parameters**

* **`sid` :** Transaction ID for the purpose of reconciliation.
* **`faceMatchMessage`:** Result message of the face match operation, indicating if the selfie matches the reference photo.
* **`faceMatchScore`:** Score representing the result of the face match operation (1.0 indicates a perfect match).
* **`livelinessScore`:** Score representing the result of liveliness detection, assessing if the selfie is of a live person.
* **`session_identifier`:** Unique identifier for the session or operation.
* **`type`:** Type of operation performed, here it is "FaceID."
* **`livelinessCode`:** Liveness code (1043 denotes a live and genuine selfie).
* **`livelinessMessage`:** Message indicating the result of the liveliness check (e.g., "Selfie photo is a live photo").
* **`kyc_event_id`:** KYC event ID associated with the transaction.
* **`livelinessTranscationId`:** Transaction ID specific to the liveliness detection.
* **`mobile`:** Mobile number associated with the KYC event.
* **`faceMatchTranscationId`:** Transaction ID specific to the face match operation.
* **`credential_id`:** Credential ID associated with the transaction.
* **`imgManipulationScore`**: Image Manipulation score will be on the basis of image manipulation detection. This is an optional feature and the parameter will be in the response only if it's enabled for the partner.
