CRM

Create a CRM provider OAuth URL

Builds the provider's OAuth authorization URL for this workspace. The redirect URI has to be one we allow, or the request is rejected.

API key scopes: integrations:write.

get/api/integrations/crm/providers/{provider}/oauth-url

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/integrations/crm/providers/{provider}/oauth-url
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Path parameters

provider'gohighlevel' | 'hubspot' | 'activecampaign' | 'salesforce' | 'pipedrive' required

The provider this operation targets.

Query parameters

redirectUristring uri

Where to send the browser once the provider flow finishes.

locationIdstring

Identifier of the location to read, at the provider.

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.

Response

ok

provider'gohighlevel' | 'hubspot' | 'activecampaign' | 'salesforce' | 'pipedrive' required
authUrlstring uri required
statestring required
requiredScopesstring[] required
redirectUristring required

Changes

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