# Get SCIM service provider config

> Source: https://truto.one/docs/api-reference/admin/scim/get-service-provider-config/

`GET /scim/v2/ServiceProviderConfig`

Resource: **SCIM**

Truto's SCIM 2.0 server, for your identity provider to provision users and groups into your team. Point the IdP at `https://api.truto.one/scim/v2`.

Supported: `PATCH`, and `filter` with `eq` only. Not supported: bulk, sort, ETags, password changes.

**Auth:** a SCIM token as a Bearer token (create one with `POST /scim-token`). API tokens and sessions are not accepted. Errors use the SCIM error shape with `Content-Type: application/scim+json`.

## Errors

| Status | Description |
| :----- | :---------- |
| `401` | Missing or invalid SCIM token. |

## Code examples

### curl

```bash
curl -X GET 'https://api.truto.one/scim/v2/ServiceProviderConfig' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
```

### JavaScript

```javascript
const response = await fetch('https://api.truto.one/scim/v2/ServiceProviderConfig', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

url = "https://api.truto.one/scim/v2/ServiceProviderConfig"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())
```
