# Verzeichnis-Synchronisation abrufen

`GET https://{tenant}.stamp.eu/rest/sso/sync`

Every supported provider, configured or not — an unconfigured one comes
back as a disabled placeholder so the admin screen binds against one
list and does not have to know the provider catalogue.

## Antworten

### 200: Array of `DirectorySyncConfigResource`

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `data` | object[] | ja |  |
| `data[].id` | string \| null | ja |  |
| `data[].provider` | string | ja |  |
| `data[].configured` | boolean | ja |  |
| `data[].enabled` | boolean | ja |  |
| `data[].auto_commit` | boolean | ja |  |
| `data[].group_id` | string \| null | ja |  |
| `data[].admin_email` | string \| null | ja |  |
| `data[].default_schedule_model_id` | string \| null | ja |  |
| `data[].default_holiday_calendar_id` | string \| null | ja |  |
| `data[].runnable` | boolean | ja | Whether a run could actually read the directory right now. |
| `data[].requires_admin_email` | boolean | ja | Google impersonates a Workspace administrator; Entra uses an app-only token. The flag saves the client a provider switch. |
| `data[].credentials_configured` | boolean | ja |  |
| `data[].synced_at` | string \| null | ja |  |
| `data[].last_error` | string \| null | ja |  |
| `data[].last_run` | null \| object | ja |  |
| `data[].updated_at` | string \| null | ja |  |

### 401: Unauthenticated

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Error overview. |
