> ## Documentation Index
> Fetch the complete documentation index at: https://developer.verilock.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Session

> Retrieve the full details of a verification session, including verification results.

## Path Parameters

<ParamField path="id" type="string" required>
  The session ID (e.g., `ses_a1b2c3d4-...`)
</ParamField>

## Result Statuses

| Status        | Description                               |
| ------------- | ----------------------------------------- |
| `approved`    | The verification step passed successfully |
| `declined`    | The verification step failed              |
| `pending`     | The step is still being processed         |
| `not_started` | The step has not been initiated yet       |

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET \
    "https://verilock.io/api/v1/sessions/ses_a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
    -H "Authorization: Bearer qi_live_your_api_key_here" \
    -H "Accept: application/json"
  ```

  ```php PHP (Guzzle) theme={null}
  $sessionId = 'ses_a1b2c3d4-e5f6-7890-abcd-ef1234567890';
  $client = new \GuzzleHttp\Client();
  $response = $client->get(
    "https://verilock.io/api/v1/sessions/{$sessionId}",
    [
      'headers' => [
        'Authorization' => 'Bearer qi_live_your_api_key_here',
        'Accept' => 'application/json',
      ],
    ]
  );
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "id": "ses_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "type": "kyc",
    "status": "approved",
    "reference_id": "usr_12345",
    "steps": ["document", "selfie", "face_match", "liveness", "aml"],
    "applicant": {
      "first_name": "Jean",
      "last_name": "Dupont",
      "email": "jean.dupont@example.com",
      "date_of_birth": "1990-05-15",
      "nationality": "FR"
    },
    "results": {
      "document": {
        "status": "approved",
        "type": "passport",
        "details": {
          "document_number": "12AB34567",
          "issuing_country": "FR",
          "expiry_date": "2030-08-21"
        }
      },
      "selfie": {
        "status": "approved"
      },
      "face_match": {
        "status": "approved",
        "score": 0.97,
        "details": {
          "similarity": "very_high"
        }
      },
      "liveness": {
        "status": "approved",
        "score": 0.99,
        "details": {
          "is_live": true
        }
      },
      "aml": {
        "status": "approved",
        "score": 0.02,
        "details": {
          "pep": false,
          "sanctions": false,
          "adverse_media": false
        }
      }
    },
    "session_url": "https://verilock.io/verify/ses_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "created_at": "2026-03-15T10:30:00Z",
    "completed_at": "2026-03-15T10:45:22Z"
  }
  ```
</ResponseExample>
