Skip to main content
Rodz API
FR EN
v2.0.0

Reference / Account Management / Connect an API-key integration

Connect an API-key integration

Connect (or re-key) an API-key integration so signals can push leads to it.

PUT https://api.rodz.io/api/v1/integrations/{provider}

Documented from the OpenAPI contract, API version 2.0.0.

Read the full description

Connect (or re-key) an API-key integration so signals can push leads to it. The key is validated with the provider before it’s stored, and encrypted at rest.

Input: apiKey (required), optional label; Gong also takes secret + baseUrl.

Output: the provider’s connection status.

Providers: instantly, lemlist, smartlead, emelia, lagrowthmachine, gong, claap. OAuth providers (hubspot, pipedrive, google_sheets, slack) return 400 USE_DASHBOARD_OAUTH — connect them once in the dashboard, then select them per signal via destinations.

Errors: 422 INVALID_API_KEY when the key is refused. When the key could not be checked this time (the tool did not answer), the answer is the same 422 INVALID_API_KEY, nothing is saved, and it is marked: "reason": "unavailable" in detail.error and the response header X-Lookup-Status: unavailable. The key itself was not refused: retry later. A refused key never carries either mark.

Authentication and headers

Every route needs an API key. You create it in the dashboard, under Integrations then API. See how to get a key.

Authorization required

Bearer followed by your API key, for example Bearer USR_...

Content-Type required

application/json

Parameters

provider string path required

Request body PublicIntegrationConnect

apiKey string required

The provider API key.

  • minLength: 1
label string optional accepts null

Optional name to tell apart multiple connected accounts of this provider.

secret string optional accepts null

Gong only: signing secret.

baseUrl string optional accepts null

Gong only: API base URL.

Responses

200 OK
Response schema · PublicIntegrationStatus
provider string required

Provider id to use in destinations + connect URLs.

name string required

Human-readable provider name.

connected boolean required

Whether this provider is connected on your account.

label string optional accepts null

Account label, if set.

connectVia string required

How to connect: "api" (key) or "dashboard" (OAuth).

updatedAt string optional accepts null
422 INVALID_API_KEY: the API key was refused, or could not be checked this time (marked reason: unavailable and X-Lookup-Status: unavailable). VALIDATION_ERROR: the request body is invalid. Nothing is saved.
429 Rate limit exceeded. Retry after the number of seconds in the Retry-After response header.