# The newest secure sign-in sessions

> The newest secure sign-in sessions: CustomDomain™ API reference in the analytics group. Covers request parameters, the request body, responses and error codes.

Source: https://docs.customdomain.ai/docs/api-reference/analytics/listSecureSignInSessions

## `GET https://api.customdomain.ai/v1/analytics/secure-sign-in/sessions`

The newest sessions in the window, one row each: provider, when it started, how it ended (`done`, `done_by_hand`, `running`, `stopped`), the furthest stage it reached, the plain reason it stopped, the last step logged before the end and the seconds from start to end. `connection_id` narrows to one domain's sessions, `provider` to one DNS provider. Pick a row's `id` for its timeline. API key; any member role.

### Authentication

`apiKey`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `days` | query | integer | no |  |
| `app_id` | query | string | no |  |
| `connection_id` | query | string | no |  |
| `provider` | query | string | no |  |
| `limit` | query | integer | no |  |

### Responses

| Status | Description |
| --- | --- |
| `200` | The sessions |
| `400` | Error envelope: {code, title, details}. |
| `401` | Error envelope: {code, title, details}. |
| `404` | Error envelope: {code, title, details}. |

### `200` response body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `sessions` | array of object | yes |  |

The full specification is served at `GET https://api.customdomain.ai/v1/openapi.json`.
