# sendConnectionSessionReminder

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

## Operation

| Method | URL |
|---|---|
| POST | https://cxi-api-prod-weu-interim-eraffmdbdmdmbdfz.a01.azurefd.net/v1/sessions/{id}/reminder |

| Field | Value |
|---|---|
| operationId | sendConnectionSessionReminder |
| method | POST |
| server | https://cxi-api-prod-weu-interim-eraffmdbdmdmbdfz.a01.azurefd.net/v1 |
| path | /sessions/{id}/reminder |
| tags | `1:1 Sessions` |
| summary | Send an assessment reminder to a session's unassessed members |
| badges | None |

## Request Parameters

| Name | In | Required | Schema | Description |
|---|---|---|---|---|
| id | path | true | string |  |

## Request Body

None.

## Responses

| Status | Description | Schema refs |
|---|---|---|
| 200 | Reminder dispatch result (idempotent) | #/components/schemas/SendSessionReminderResponseDto |
| 400 | Malformed session id path parameter | #/components/schemas/ApiErrorResponseDto |
| 401 | Invalid or missing authentication token (AUTH_TOKEN_INVALID) | #/components/schemas/ApiErrorResponseDto |
| 403 | The caller is a member of the team but not its owner | #/components/schemas/ApiErrorResponseDto |
| 404 | Session not found or the caller is not a member of its team | #/components/schemas/ApiErrorResponseDto |
| 409 | The session cannot be reminded about in its current state | #/components/schemas/ApiErrorResponseDto |

## Artifact Examples

### Response 400 example

```json
{
  "statusCode": 400,
  "message": "Validation failed (uuid is expected)",
  "error": "HTTP_BAD_REQUEST"
}
```

### Response 401 example

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

### Response 403 example

```json
{
  "statusCode": 403,
  "message": "Only the team owner can perform this action",
  "error": "NOT_TEAM_OWNER"
}
```

### Response 404 example

```json
{
  "statusCode": 404,
  "message": "Session not found",
  "error": "SESSION_NOT_FOUND"
}
```

### Response 409 example — SESSION_NOT_ACTIVE

```json
{
  "statusCode": 409,
  "message": "Cannot send a reminder for a completed or discarded session",
  "error": "SESSION_NOT_ACTIVE"
}
```

### Response 409 example — SESSION_NOT_SCHEDULED

```json
{
  "statusCode": 409,
  "message": "Cannot send a reminder for a session with no scheduled date",
  "error": "SESSION_NOT_SCHEDULED"
}
```
