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
id
Identifier of the resource, assigned by Edulead and opaque to callers.
Allowed values:
Headers
Edulead-Team
Request
ConnectIntegrationRequest carries what the CRM returned after consent.
code
The code query parameter the CRM returned.
state
The state query parameter the CRM returned, as CreateIntegrationAuthorization minted it.
Response
Success
integration
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.