cURL
curl --request GET \ --url https://app.closerx.ai/api/agency/api_key/ \ --header 'Company-Name: <company-name>' \ --header 'api_key: <api-key>'
{ "success": true, "message": "data found", "data": { "agency_key": "<string>" } }
Retrieves the GHL agency API key associated with the authenticated account.
Schema name for multi-tenancy
Agency API key retrieved successfully
true
"data found"
Show child attributes