> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adherecompliance.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Récupérer les paramètres d'intégration

> Récupérez les paramètres actuels de vérification d'identité et de filtrage AML pour votre branche.

## Endpoint

```
GET /api/onboarding/settings
```

## Requête

### En-têtes

| En-tête | Valeur | Requis |
| - | - | - |
| `x-access-token` | Votre clé API | Oui |

### Exemple

```bash cURL theme={null}
curl https://adhere-api.smartcomply.com/api/onboarding/settings \
  -H "x-access-token: YOUR_API_KEY"
```

```python Python theme={null}
import requests

response = requests.get(
    "https://adhere-api.smartcomply.com/api/onboarding/settings",
    headers={"x-access-token": "YOUR_API_KEY"},
)
print(response.json())
```

```javascript Node.js theme={null}
const response = await fetch("https://adhere-api.smartcomply.com/api/onboarding/settings", {
  headers: { "x-access-token": "YOUR_API_KEY" },
});
const data = await response.json();
```

## Réponse

**status** `string`

`"success"` en cas de requête réussie.

**message** `string`

`"Settings retrieved"`

**data** `object`

**champs de données**

**ivs** `boolean`

Si la vérification d'identité est activée pour cette branche. Par défaut à `true`.

**aml** `boolean`

Si le filtrage AML est activé pour cette branche. Par défaut à `true`.

### 200 OK

```json theme={null}
{
  "status": "success",
  "message": "Settings retrieved",
  "data": {
    "ivs": true,
    "aml": true
  }
}
```

### Réponses d'erreur

| Statut HTTP | Message | Cause |
| - | - | - |
| `401` | `"Authorization token is missing"` | Aucun en-tête `x-access-token` |
| `401` | `"Authorization failed"` | Jeton non reconnu ou expiré |


## OpenAPI

````yaml GET /api/onboarding/settings
openapi: 3.0.3
info:
  title: Adhere API
  description: >-
    Identity verification, credit checks, transaction monitoring, and loan fraud
    detection across Africa.
  version: 3.0.0
servers:
  - url: https://adhere-api.smartcomply.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Nigeria KYC
  - name: Kenya KYC
  - name: Ghana KYC
  - name: Rwanda KYC
  - name: Uganda KYC
  - name: Document Verification
  - name: Biometrics
  - name: Individual Credit
  - name: Business Credit
  - name: Transaction Monitoring
  - name: Transaction Screening
  - name: Transaction KYC
  - name: Loan Fraud
  - name: User Journey
paths:
  /api/onboarding/settings:
    get:
      tags:
        - Customer Onboarding
      summary: Get Onboarding Settings
      description: Retrieve the current IVS and AML toggle settings for your branch.
      operationId: getOnboardingSettings
      responses:
        '200':
          description: Settings retrieved
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: failed
              message:
                type: string
                example: Authentication credentials were not provided.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-access-token
      description: Your Adhere API secret key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.