CRM

Configure CRM provider webhook status

Registers or repairs the webhook on the provider's side, so changes flow back to us instead of waiting for the next sync.

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

post/api/integrations/crm/connections/{id}/webhooks/setup

Request

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

Path parameters

idstring uuid required

Identifier of the connection this operation targets.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Request body

enabledboolean
targetUrlstring uri

Response

ok

provider'gohighlevel' | 'hubspot' | 'activecampaign' | 'salesforce' | 'pipedrive' required
enabledboolean required
targetUrlstring uri required
providerWebhookIdstring nullable required
eventTypesstring[] required
status'configured' | 'pending' | 'failed' required
lastVerifiedAtstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.