---
title: "Test Crm Config"
method: POST
path: "/integrations/crm/test"
tags: ["integrations", "crm"]
---

# Test Crm Config

`POST /integrations/crm/test`

## Request

- Base URL: `https://dev.whispa.net` (the document declares no server; this is the origin it was published from)
- URL: `https://dev.whispa.net/integrations/crm/test`
- Auth: one of:
  - OAuth 2
    - Password
    - Token URL: `auth/bearer/login`
  - API key in cookie `access_token`

## Request body

- CrmIntegrationConfig
  - `provider` 'collect' | 'spark', required
  - `enabled` boolean
  - `config` object

## Response `200`

Successful Response

- CrmTestConnectionResponse
  - `provider` 'collect' | 'spark', required
  - `status` 'ok'
  - `message` string, required
  - `operator_id` string, nullable
  - `sample_lookup_count` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/whispa/apis/whispa-api.md) - [All operations](https://skmtc.dev/whispa/apis/whispa-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whispa/apis/whispa-api/revisions/12c2e4aca43c?raw)
