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

# Get one position

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

Module: Positions · operationId: `getPosition` · Auth: `Authorization: Bearer <token>`
Web page: https://apidocs.sequipay.com/#/api/get-position

Returns a single position by id, scoped to the authenticated company. An archived position is reachable by id (only the default list hides them); soft-deleted positions are not.

Requires the `positions:read` scope.

## Path parameters

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

## Example request

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

## Responses

### 200: The position.

- `status` (integer) Example: `200`.
- `message` (string) Example: `success`.
- `data` (object): A company position (job title). Compensation Core holds on this table (default salary) is never returned.
  - `id` (integer (int64)) Example: `7`.
  - `title` (string) Example: `Sales Rep`.
  - `description` (string, nullable) Example: `Front line sales`.
  - `default_worker_type` (string): Default employment classification (Core `default_classification`). Example: `w2`.
  - `status` (string): Derived from the archived date — `archived` once it is set. One of: `active`, `archived`.
  - `archived_at` (string (date-time), nullable)
  - `created_at` (string (date-time), nullable) Example: `2024-01-15T12:00:00.000Z`.
  - `updated_at` (string (date-time), nullable) Example: `2024-06-01T09:30:00.000Z`.

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

```json
{
  "status": 400,
  "message": "invalid position 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 position 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
}
```
