Skip to navigation

ConnectIntegration

ConnectIntegration connects the CRM with the code and state it returned after consent, and returns the connected integration.

Authentication

AuthorizationBearer

A team API key, sent as Authorization: Bearer <key>.

OR
AuthorizationBearer

The Cognito access token of a signed-in Edulead user (edulead auth login), sent as Authorization: Bearer <token>.

Path parameters

idenumRequired
Identifier of the resource, assigned by Edulead and opaque to callers.
Allowed values:

Headers

Edulead-TeamstringRequired

Request

ConnectIntegrationRequest carries what the CRM returned after consent.
codestringOptional1-2048 characters

The code query parameter the CRM returned.

statestringOptional1-4096 characters

The state query parameter the CRM returned, as CreateIntegrationAuthorization minted it.

Response

Success
integrationobjectOptional

Integration is one CRM and the team’s connection to it; id is hubspot or salesforce. Only app_installed and the two mapping lists can change; the service sets the others.