# sendAssessmentReminder

Source: /openapi/thomas-federated.openapi.json

## Operation

| Method | URL |
|---|---|
| POST | https://dev-cxi-api.thomas.co/v1/assessments/assignments/reminders |

| Field | Value |
|---|---|
| operationId | sendAssessmentReminder |
| method | POST |
| server | https://dev-cxi-api.thomas.co/v1 |
| path | /assessments/assignments/reminders |
| tags | `Assignments` |
| summary | Remind a colleague to complete their pending assessment |
| badges | None |

## Request Parameters

None.

## Request Body

| Content type | Schema refs |
|---|---|
| application/json | #/components/schemas/SendAssessmentReminderRequestDto |

## Responses

| Status | Description | Schema refs |
|---|---|---|
| 200 | Reminder dispatched (or a no-op replay within the window) | #/components/schemas/SendAssessmentReminderResponseDto |
| 400 | Invalid request payload | #/components/schemas/ApiErrorResponseDto |
| 401 | Invalid or missing authentication token | #/components/schemas/ApiErrorResponseDto |
| 404 | No outstanding PENDING assignment for the subject in the caller’s tenant | #/components/schemas/ApiErrorResponseDto |

## Artifact Examples

### Response 400 example

```json
{
  "statusCode": 400,
  "message": "Validation failed",
  "error": "HTTP_BAD_REQUEST"
}
```

### Response 401 example

```json
{
  "statusCode": 401,
  "message": "Invalid or missing authentication token",
  "error": "AUTH_TOKEN_INVALID"
}
```

### Response 404 example

```json
{
  "statusCode": 404,
  "message": "No outstanding assessment to remind about",
  "error": "ASSESSMENT_REMINDER_NOT_FOUND"
}
```
