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"
}
]
}
}GHL AI agents with active prompt versions (prompt text truncated to 200 chars).
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"
}
]
}
}