<!-- Generated by scripts/build-docs.js. Edit docs/swagger.yaml or docs/guides/, then run `npm run docs:build`. -->

# Get one verification step

`GET https://{apiId}.execute-api.us-west-1.amazonaws.com/{stage}/v1/onboarding/{id}`

Module: Onboarding · operationId: `getOnboardingStep` · Auth: `Authorization: Bearer <token>`
Web page: https://apidocs.sequipay.com/#/api/get-onboarding-step

Returns a single worker verification step by id, scoped to the authenticated company. Soft-deleted steps are not returned. Internal reviewer-identity columns are never returned.

Requires the `onboarding:read` scope.

## Path parameters

- `id` (integer (int64), **required**): The verification step's numeric id. Minimum: 1. Example: `1`.

## Example request

```bash
curl -X GET "https://{apiId}.execute-api.us-west-1.amazonaws.com/{stage}/v1/onboarding/1" \
  -H "Authorization: Bearer $SEQUIFI_TOKEN"
```

## Responses

### 200: The verification step.

- `status` (integer) Example: `200`.
- `message` (string) Example: `success`.
- `data` (object): A worker verification (onboarding) step. Internal reviewer-identity columns Core holds on this table (`handled_by`, `completed_by`, `completed_by_user_id`) are never returned.
  - `id` (integer (int64)) Example: `1`.
  - `employee_id` (integer (int64)) Example: `1024`.
  - `kind` (string) Example: `i9`.
  - `state` (string) Example: `completed`.
  - `ready` (boolean, nullable): Whether the step is ready to act on; `null` when Core has no value. Example: `true`.
  - `first_seen_at` (string (date-time), nullable) Example: `2024-01-01T09:00:00.000Z`.
  - `completed_at` (string (date-time), nullable) Example: `2024-01-20T12:00:00.000Z`.
  - `created_at` (string (date-time), nullable) Example: `2024-01-20T12:00:00.000Z`.
  - `updated_at` (string (date-time), nullable) Example: `2024-01-20T12:00:00.000Z`.

### 400: The id is not a positive integer.

```json
{
  "status": 400,
  "message": "invalid onboarding step id",
  "data": null
}
```

### 401: Missing, invalid, expired, or revoked token (from the authorizer).

### 403: The token lacks the required scope.

```json
{
  "error": "insufficient_scope",
  "required": "users:read"
}
```

### 404: No such verification step for this company.

```json
{
  "status": 404,
  "message": "not found",
  "data": null
}
```

### 500: An infrastructure or data error. The endpoint fails closed — a 500, never a partial or empty-looking result.

```json
{
  "status": 500,
  "message": "internal error",
  "data": null
}
```
