---
title: "Probe CRM provider health"
method: POST
path: "/api/integrations/crm/connections/{id}/health"
tags: ["CRM"]
---

# Probe CRM provider health

`POST /api/integrations/crm/connections/{id}/health`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/integrations/crm/connections/{id}/health`
- Auth: one of:
  - API key in cookie `luca.session_token`
  - API key in header `x-api-key`
  - HTTP bearer

Probes the provider live and updates the connection's stored health. It's how you tell a stale credential from a provider outage.

**API key scopes:** `integrations:write`. You also need an `Idempotency-Key` header.

## Path parameters

- `id` string, uuid, required

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- CrmHealth
  - `status` 'healthy' | 'missing_credentials' | 'missing_scopes' | 'error', required
  - `missingScopes` string[]
  - `signals` string[]
  - `checkedAt` string, required

## Other responses

- `400`: bad request
- `401`: unauthorized
- `403`: forbidden
- `404`: not found
- `409`: conflict
- `429`: rate limited
- `500`: internal error
- `503`: service unavailable

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
