cURL
curl --request POST \ --url https://app.closerx.ai/api/ghl/connect/user/ \ --header 'Company-Name: <company-name>' \ --header 'Content-Type: application/json' \ --header 'api_key: <api-key>' \ --data ' { "code": "a", "state": "a" } '
{ "success": true, "message": "User successfully connected to GHL" }
Initiates the connection process to GHL (Go High Level) using OAuth code and state values returned after user authorization.
code
state
Schema name for multi-tenancy
Authorization code returned from GHL
"a"
State value returned from GHL
GHL connection successful
true
"User successfully connected to GHL"