Install GoHighLevel
Get the GoHighLevel OAuth authorization URL to connect your GHL CRM to a call flow.
GET
Open the returned URL in a browser and approve access. GoHighLevel then redirects back to Trillet, which saves the connection on the call flow.
Headers
x-workspace-idstringrequiredWorkspace identifier for the API. The call flow must belong to this workspace (or one of its sub-workspaces).
Query Parameters
pathwayIdstringrequiredThe _id of a saved call flow to connect GoHighLevel to.
Response Fields
urlstringThe GoHighLevel OAuth authorization URL. Redirect the user to this URL to authorize the connection.
Errors
| Status | Body | When |
|---|---|---|
400 | {"message": "pathwayId query parameter is required"} | No pathwayId (note: message, not error) |
400 | {"error": "Flow must be saved before connecting GoHighLevel. Please save your flow first."} | pathwayId isn't a valid ID |
403 | {"error": "You do not have access to this workspace."} | You aren't a member of the x-workspace-id workspace |
403 | {"error": "Pathway does not belong to this workspace."} | The flow belongs to another workspace |
404 | {"error": "Pathway not found"} | No call flow with that ID |
{
"url": "https://marketplace.gohighlevel.com/oauth/chooselocation?response_type=code&client_id=...&redirect_uri=...&state=..."
}Last updated on