Skip to main content
GET
/
integrations
/
ghl
/
agents
GHL agents
curl --request GET \
  --url https://ai.wisepilot.app/api/v1/integrations/ghl/agents \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "agents": [
      {
        "id": "<string>",
        "ghlAgentId": "<string>",
        "name": "<string>",
        "status": "<string>",
        "activePromptVersion": {
          "versionNumber": 123,
          "promptText": "<string>",
          "isActive": true
        },
        "createdAt": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key prefixed with cr_ (e.g. cr_a1b2c3...)

Query Parameters

website_id
string<uuid>

Website ID. Auto-resolved if key has single website scope.

Response

GHL agents

success
boolean
required
data
object