CRM Integration
CRM Settings
Manage CRM integration settings for your organization
GET
This endpoint allows you to manage CRM integration settings for your organization. You can retrieve current settings, connect a new CRM provider, or disconnect an existing CRM integration.
Authentication
All endpoints require authentication. TheorgId must be present in the authenticated session.
Requests without valid authentication will receive a
400 Bad Request
response with the message “Organization ID required”.Get CRM Settings
Retrieve the current CRM settings for your organization. Returns connection status, provider type, and a masked API key for security.Response
Indicates whether a CRM is currently connected and enabled for the
organization.
The CRM provider currently configured. Returns
null if no CRM is connected.Allowed values:close- Close CRMbullhorn- Bullhorn CRMnull- No CRM connected
ISO-8601 timestamp of when the CRM was connected. Only present if a CRM is
connected. Example:
2024-01-15T10:30:00.000ZA masked version of the API key showing only the last 4 characters for
verification purposes. Returns
null if no API key is configured.
Example: ********************abc1Save CRM Settings
Connect a CRM provider to your organization by saving the provider type and API credentials.Request
The CRM provider to connect. Allowed values: -
close - Close CRM -
bullhorn - Bullhorn CRMThe API key or authentication token for the CRM provider. Must be a non-empty string.
Response
Indicates the settings were saved successfully. Always
true for successful
responses.The CRM provider that was configured. Allowed values:
close, bullhornISO-8601 timestamp of when the CRM was connected. Example:
2024-01-15T10:30:00.000ZDisconnect CRM
Disconnect the CRM integration from your organization. This removes all CRM settings including the stored API key.Response
Indicates the CRM was successfully disconnected. Always
true for successful
responses.Confirms the CRM has been disconnected. Always
true for successful
responses.Error Codes
| Status Code | Error Code | Description |
|---|---|---|
400 | VALIDATION_ERROR | Invalid request body, missing required fields, or missing authentication |
500 | INTERNAL_ERROR | Server error while processing the request |
Supported CRM Providers
| Provider | Value | Description |
|---|---|---|
| Close | close | Close CRM - Sales communication platform |
| Bullhorn | bullhorn | Bullhorn CRM - Staffing and recruiting software |
Notes
- CRM settings are stored in Clerk organization private metadata
- API keys are never returned in full - only masked versions are available via the GET endpoint
- Disconnecting a CRM removes all settings; you’ll need to reconfigure if reconnecting
- Each organization can only have one CRM provider connected at a time