Skip to content

HighLevel: List Actions for an Agent

HighLevel conversationAi.listActions: arguments, response, policy and SDK examples.

← Conversation AI operations · Get started

Operation gohighlevel.list_actions

Provider route: GET /conversation-ai/agents/{agentId}/actions/list. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/gohighlevel with npm, or alter-sdk-gohighlevel with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { HighLevelIntegration } from "@alter-ai/gohighlevel";
async function execute(input: Parameters<HighLevelIntegration["conversationAi"]["listActions"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new HighLevelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.conversationAi.listActions(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_gohighlevel import HighLevelIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = HighLevelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.conversation_ai.list_actions(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.agentIdstringRequired within parent

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand List Actions for an Agent — response body

Referenced models: List Actions for an Agent — response body

7 more schemas are linked from the tables above, on the schema pages.

List Actions for an Agent — response body
FieldTypePresenceDescription and constraints
$objectRoot
dataarrayRequired within parentGrouped actions by type
data[]ModelEach itemExpand List Actions for an Agent — response body — data item
successbooleanRequired within parentSuccess status of the request

Referenced models: List Actions for an Agent — response body — data item

List Actions for an Agent — response body — data item
FieldTypePresenceDescription and constraints
$objectRoot
agentIdstringOptionalAgent ID where the action belongs
detailsJSONRequired within parentAction-specific details. The structure depends on the action type. For TRIGGER_WORKFLOW use triggerWorkflowDto, for UPDATE_CONTACT_FIELD use updateContactFieldDto, for APPOINTMENT_BOOKING use appointmentBookingDto, for STOP_BOT use stopBotDto, for HUMAN_HAND_OVER use humanHandOverDto, for ADVANCED_FOLLOWUP use advancedFollowupDto, and for TRANSFER_BOT use transferBotDto.
details (anyOf 1)ModelAlternativeExpand Update Action — request body — body details trigger Condition, trigger Message, workflow Ids
details (anyOf 2)ModelAlternativeExpand Update Action — request body — body details contact Field Id, contact Update Examples, description
details (anyOf 3)ModelAlternativeExpand List Actions for an Agent — response body — data / item / details / sleepTimeUnit: days, hours, minutes
details (anyOf 4)ModelAlternativeExpand List Actions for an Agent — response body — data / item / details / sleepTimeUnit: days, hours, minutes, stop Bot Detection Type: Goodbye, Custom
details (anyOf 5)ModelAlternativeExpand List Actions for an Agent — response body — data / item / details / handoverType: contact Request, lack Of Information, failed To Resolve Issue, custom, sleep Time Unit: days, hours, minutes
details (anyOf 6)ModelAlternativeExpand List Actions for an Agent — response body — data / item / details / scenarioId: contact Stopped Replying, contact Is Busy, contact Requested
details (anyOf 7)ModelAlternativeExpand List Actions for an Agent — response body — data / item / details / transferBotType: Default, Custom
idstringRequired within parentUnique identifier for the action
namestringRequired within parentName of the action
typestringRequired within parentType of the action
Known values: triggerWorkflow, updateContactField, appointmentBooking, stopBot, humanHandOver, advancedFollowup, transferBot

Referenced models: List Actions for an Agent — response body — data / item / details / scenarioId: contact Stopped Replying, contact Is Busy, contact Requested, List Actions for an Agent — response body — data / item / details / sleepTimeUnit: days, hours, minutes, List Actions for an Agent — response body — data / item / details / handoverType: contact Request, lack Of Information, failed To Resolve Issue, custom, sleep Time Unit: days, hours, minutes, List Actions for an Agent — response body — data / item / details / sleepTimeUnit: days, hours, minutes, stop Bot Detection Type: Goodbye, Custom, List Actions for an Agent — response body — data / item / details / transferBotType: Default, Custom, Update Action — request body — body details trigger Condition, trigger Message, workflow Ids, Update Action — request body — body details contact Field Id, contact Update Examples, description

List Actions for an Agent — response body — data / item / details / scenarioId: contact Stopped Replying, contact Is Busy, contact Requested
FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether advanced followup is enabled
followupSequencearrayRequired within parentSequence of followup actions to perform
followupSequence[]ModelEach itemExpand List Actions for an Agent — response body — data / item / details / scenarioId: contact Stopped Replying, contact Is Busy, contact Requested followup Sequence item
followupSettingsJSONOptionalAdditional settings for followup behavior
followupSettings (allOf 1)ModelAll variants applyExpand List Actions for an Agent — response body — data / item / details / scenarioId: contact Stopped Replying, contact Is Busy, contact Requested followup Settings timezone To Use: contact, business
scenarioIdstringRequired within parentID of the followup scenario
Known values: contactStoppedReplying, contactIsBusy, contactRequested

Referenced models: List Actions for an Agent — response body — data / item / details / scenarioId: contact Stopped Replying, contact Is Busy, contact Requested followup Sequence item, List Actions for an Agent — response body — data / item / details / scenarioId: contact Stopped Replying, contact Is Busy, contact Requested followup Settings timezone To Use: contact, business

List Actions for an Agent — response body — data / item / details / sleepTimeUnit: days, hours, minutes
FieldTypePresenceDescription and constraints
$objectRoot
actionIdstringOptionalOptional action ID reference
calendarIdstringRequired within parentCalendar ID for appointment booking
cancelEnabledbooleanRequired within parentWhether to allow appointment cancellation (cannot be true when onlySendLink is true)
Default: false
onlySendLinkbooleanRequired within parentIf true, only sends the appointment link without booking
rescheduleEnabledbooleanRequired within parentWhether to allow appointment rescheduling (cannot be true when onlySendLink is true)
Default: false
sleepAfterBookingbooleanRequired within parentWhether to put the agent to sleep after booking (cannot be true when onlySendLink is true)
sleepTimeJSONOptional
sleepTime (anyOf 1)numberAlternativeSleep duration (required when sleepAfterBooking is true)
sleepTime (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
sleepTimeUnitstringOptionalUnit for sleep time (required when sleepAfterBooking is true)
Known values: days, hours, minutes
transferAgentstringOptionalAgent ID to transfer to (required when transferBot is true)
transferBotbooleanRequired within parentWhether to transfer to another agent after booking (cannot be true when onlySendLink is true)
triggerWorkflowbooleanRequired within parentWhether to trigger a workflow after booking (cannot be true when onlySendLink is true)
workflowIdsarrayOptionalWorkflow IDs to trigger after booking (required when triggerWorkflow is true)
workflowIds[]stringEach item
List Actions for an Agent — response body — data / item / details / handoverType: contact Request, lack Of Information, failed To Resolve Issue, custom, sleep Time Unit: days, hours, minutes
FieldTypePresenceDescription and constraints
$objectRoot
assignToUserIdstringOptionalID of the user to assign the conversation to
createTaskbooleanOptionalWhether to create a task when handing over
enabledbooleanRequired within parentWhether human handover action is enabled
examplesarrayOptionalExample phrases that trigger human handover (required when handoverType is custom or contactRequest)
examples[]stringEach item
finalMessagestringRequired within parentFinal message sent when handing over to human
handoverTypestringRequired within parentType of human handover detection
Known values: contactRequest, lackOfInformation, failedToResolveIssue, custom
reactivateEnabledbooleanRequired within parentWhether the agent can be reactivated after handover
skipAssignToUserbooleanOptionalWhether to skip assigning to a specific user
sleepTimeJSONOptional
sleepTime (anyOf 1)numberAlternativeTime duration before reactivation (required when reactivateEnabled is true)
sleepTime (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
sleepTimeUnitstringOptionalTime unit for reactivation delay (required when reactivateEnabled is true)
Known values: days, hours, minutes
tagsarrayOptionalTags to apply during handover
tags[]stringEach item
triggerConditionstringRequired within parentCondition that triggers human handover
List Actions for an Agent — response body — data / item / details / transferBotType: Default, Custom
FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanRequired within parentWhether this transfer action is enabled
transferBotExamplesarrayOptionalExample phrases that trigger transfer (required for Custom type, minimum 2)
transferBotExamples[]stringEach item
transferBotTriggerConditionstringOptionalCondition that triggers the transfer (required for Custom type)
transferBotTypestringRequired within parentType of transfer - Default or Custom
Known values: Default, Custom
transferToBotstringRequired within parentID of the bot/agent to transfer to

SDK function policy ID: gohighlevel.list_actions. Catalog operation: list-actions. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["conversation-ai.readonly"]

Pinned headers: {"Version": "v3"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.