ghl-mcp-server

v2.0.2
@nerdsnipe-inc/ghl-mcp-server Checked 3 days ago Published 22 days ago

A Model Context Protocol (MCP) server for GoHighLevel API v3 — giving any AI agent full access to your GHL location.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ghl_get_contact

Get a single contact by ID with all fields, tags, and custom data.

ParameterTypeDescription
contactId *stringThe contact ID

ghl_create_contact

Create a new contact in the GHL location. Returns the created contact object.

ParameterTypeDescription
address1string
assignedTostringUser ID the contact is assigned to
citystring
companyNamestring
countrystring
customFieldsarrayCustom field values [{id, fieldValue}]
dateOfBirthstringBirth date, e.g. YYYY-MM-DD
dndbooleanDo Not Disturb flag
dndSettingsobjectPer-channel DND settings
emailstring
firstNamestring
genderstringGender of the contact
inboundDndSettingsobjectInbound DND settings per channel
lastNamestring
namestringFull name of the contact
phonestringE.164 format preferred, e.g. +15551234567
postalCodestring
sourcestringLead source
statestring
tagsarray
timezonestring
websitestring

ghl_update_contact

Update an existing contact. Only provide fields you want to change.

ParameterTypeDescription
contactId *stringThe contact ID to update
address1string
assignedTostringUser ID the contact is assigned to
citystring
countrystring
customFieldsarray
dateOfBirthstringBirth date, e.g. YYYY-MM-DD
dndboolean
dndSettingsobjectPer-channel DND settings
emailstring
firstNamestring
inboundDndSettingsobjectInbound DND settings per channel
lastNamestring
namestringFull name of the contact
phonestring
postalCodestring
sourcestring
statestring
tagsarray
timezonestring
websitestring

ghl_upsert_contact

Create or update a contact by email or phone. Useful for ensuring no duplicates.

ParameterTypeDescription
address1string
assignedTostringUser ID the contact is assigned to
citystring
companyNamestring
countrystring
createNewIfDuplicateAllowedbooleanAllow creating a new contact even if a duplicate is found
customFieldsarray
dateOfBirthstringBirth date, e.g. YYYY-MM-DD
dndbooleanDo Not Disturb flag
dndSettingsobjectPer-channel DND settings
emailstring
firstNamestring
genderstringGender of the contact
inboundDndSettingsobjectInbound DND settings per channel
lastNamestring
namestringFull name of the contact
phonestring
postalCodestring
sourcestring
statestring
tagsarray
timezonestring
websitestring

ghl_delete_contact

Permanently delete a contact by ID.

ParameterTypeDescription
contactId *stringThe contact ID to delete

ghl_search_contacts

List or search contacts. Call with no arguments to list all contacts (paginated); pass filters for tags, pipeline stage, source, etc. for advanced search.

ParameterTypeDescription
filtersarrayAdvanced filter conditions
pagenumber
pageLimitnumber
querystringFull-text search query
sortBystring
sortOrderstring

ghl_add_contact_tags

Add one or more tags to a contact.

ParameterTypeDescription
contactId *string
tags *arrayTags to add

ghl_remove_contact_tags

Remove one or more tags from a contact.

ParameterTypeDescription
contactId *string
tags *arrayTags to remove

ghl_get_contact_notes

Get all notes for a contact.

ParameterTypeDescription
contactId *string

ghl_create_contact_note

Add a note to a contact.

ParameterTypeDescription
body *stringNote content
contactId *string
colorstringHex color code for the note
pinnedbooleanWhether the note is pinned
titlestringTitle of the note
userIdstringUser ID to attribute note to

ghl_update_contact_note

Update an existing contact note. Spec has no required fields on update.

ParameterTypeDescription
contactId *string
noteId *string
bodystringUpdated note content
colorstringHex color code for the note
pinnedbooleanWhether the note is pinned
titlestringTitle of the note
userIdstringUser ID to attribute note to

ghl_delete_contact_note

Delete a note from a contact.

ParameterTypeDescription
contactId *string
noteId *string

ghl_get_contact_tasks

Get all tasks for a contact.

ParameterTypeDescription
contactId *string

ghl_create_contact_task

Create a task for a contact.

ParameterTypeDescription
contactId *string
dueDate *stringDue date ISO 8601 (e.g. 2024-12-31T17:00:00Z)
title *stringTask title
assignedTostringUser ID to assign task to
bodystringTask description
completedbooleanMark task as completed

ghl_update_contact_task

Update a task for a contact.

ParameterTypeDescription
contactId *string
taskId *string
assignedTostring
bodystring
completedbooleanMark task completed or not
dueDatestring
titlestring

ghl_delete_contact_task

Delete a task from a contact.

ParameterTypeDescription
contactId *string
taskId *string

ghl_add_contact_to_workflow

Enroll a contact into a GHL workflow/automation. Use the configured workflow IDs or supply a custom one.

ParameterTypeDescription
contactId *string
workflowId *stringThe workflow ID to enroll the contact in. Use ghl_get_workflows to discover available workflow IDs.
eventStartTimestringOptional ISO 8601 event start time for time-based triggers

ghl_remove_contact_from_workflow

Remove a contact from a GHL workflow/automation.

ParameterTypeDescription
contactId *string
workflowId *stringWorkflow ID to remove contact from

ghl_get_contact_appointments

Get all appointments booked for a contact.

ParameterTypeDescription
contactId *string

ghl_search_conversations

Search conversations in the GHL location. Filter by contact, status, type, or date.

ParameterTypeDescription
assignedTostringComma-separated user IDs to filter by assignee
contactIdstringFilter by contact ID
endDatenumberEnd timestamp in milliseconds
followersstringComma-separated user IDs to filter by followers
idstringFilter by conversation ID
lastMessageActionstring
lastMessageDirectionstring
lastMessageTypestringFilter by last message channel type
limitnumber
mentionsstringComma-separated user IDs to filter by mentions
querystringSearch query
scoreProfilestringScore profile ID to filter by
scoreProfileMaxnumberMaximum score profile value
scoreProfileMinnumberMinimum score profile value
sortstringSort direction
sortBystringField to sort by
sortScoreProfilestringScore profile ID used for sorting
startAfterDateCursor for pagination
startDatenumberStart timestamp in milliseconds
statusstring

ghl_get_conversation

Get a conversation by ID with metadata.

ParameterTypeDescription
conversationId *string

ghl_create_conversation

Create a new conversation thread for a contact.

ParameterTypeDescription
contactId *string

ghl_get_messages

Get messages in a conversation.

ParameterTypeDescription
conversationId *string
lastMessageIdstringCursor for pagination
limitnumber

ghl_send_message

Send a message to a contact via SMS, email, WhatsApp, or other channel. This is the primary tool for outbound communication.

ParameterTypeDescription
contactId *stringThe contact to message
message *stringMessage body text
type *stringMessage channel type
appointmentIdstringID of the associated appointment
attachmentsarrayArray of attachment URLs
conversationProviderIdstring
customSubtypeIdstringCustom subtype ID for email unsubscription preferences (email only)
emailReplyModestring
forwardobjectForwarding configuration for emails
fromNumberstringSender phone number override
htmlstringHTML body for email
optimizationPeriodstringSend-time optimization period
scheduledTimestampnumberUnix timestamp (seconds) to schedule message
statusstringSpec marks this required; see code comment above
subTypeSpec marks this required; see code comment above
subjectstringEmail subject (required for Email type)
templateIdstringID of message template
threadIdstringID of message thread (for email, the message ID containing the thread)
toNumberstringRecipient phone number for outbound messages
usesNativeSchedulingAibooleanWhether the scheduled email uses native AI for email scheduling

ghl_send_email

Send an email to a contact. Creates or continues the contact's email conversation thread.

ParameterTypeDescription
contactId *stringThe contact to email
subject *string
attachmentsarrayArray of attachment URLs
emailBccarray
emailCcarray
emailFromstringSender email address
emailTostringRecipient email address, if different from the contact's primary email
htmlstringHTML body
messagestringPlain text body (fallback for non-HTML clients)
replyMessageIdstringReply to a specific message

ghl_update_message_status

Mark a message as read or update its delivery status.

ParameterTypeDescription
messageId *string
status *stringNew message status

ghl_cancel_scheduled_message

Cancel a scheduled (future) message before it is sent.

ParameterTypeDescription
messageId *stringID of the scheduled message to cancel

ghl_add_inbound_message

Inject an inbound message into GHL (simulates receiving a message).

ParameterTypeDescription
contactId *string
conversationId *string
conversationProviderId *string
message *string
type *string

ghl_get_calendars

List all calendars in the GHL location.

ParameterTypeDescription
groupIdstringFilter by calendar group ID
showDraftedbooleanWhether to include drafted (unpublished) calendars. Defaults to true.

ghl_get_calendar

Get a specific calendar by ID.

ParameterTypeDescription
calendarId *string

ghl_get_free_slots

Get available appointment slots for a calendar within a date range. Use this before booking to find open times.

ParameterTypeDescription
calendarId *string
endDate *numberEnd timestamp in milliseconds (Unix epoch * 1000)
startDate *numberStart timestamp in milliseconds (Unix epoch * 1000)
timezonestringTimezone for slots, e.g. 'America/New_York'
userIdstringFilter free slots for a single user
userIdsarrayFilter free slots for multiple users

ghl_get_calendar_events

Get calendar events (appointments and blocked slots) for a date range.

ParameterTypeDescription
endTime *numberEnd timestamp in milliseconds
startTime *numberStart timestamp in milliseconds
calendarIdstringFilter by specific calendar
groupIdstring
userIdstringFilter by assigned user

ghl_create_appointment

Book an appointment on a GHL calendar for a contact. Always check free slots first.

ParameterTypeDescription
calendarId *string
contactId *stringContact to book the appointment for
startTime *stringISO 8601 start time, e.g. '2024-12-15T14:00:00-05:00'
addressstringLocation address if in-person
appointmentStatusstring
assignedUserIdstringUser ID assigned to the appointment
descriptionstringAppointment description/notes
endTimestringISO 8601 end time (spec: optional — calendar duration used if omitted)
ignoreDateRangeboolean
ignoreFreeSlotValidationbooleanSkip time slot validation for appointment creation
meetingLocationIdstringMeeting location ID from calendar.locationConfigurations
meetingLocationTypestring
overrideLocationConfigbooleanOverride location config: true with meetingLocationType, false with meetingLocationId
rrulestringRRULE (RFC 5545) for recurring events; only applied if ignoreFreeSlotValidation is true
titlestringAppointment title/name
toNotifyboolean

ghl_get_appointment

Get a specific appointment by event ID.

ParameterTypeDescription
eventId *string

ghl_update_appointment

Update an existing appointment (reschedule, change status, update notes).

ParameterTypeDescription
eventId *string
addressstringLocation address if in-person
appointmentStatusstring
assignedUserIdstringUser ID assigned to the appointment
calendarIdstring
descriptionstringAppointment description/notes
endTimestringNew ISO 8601 end time
ignoreDateRangeboolean
ignoreFreeSlotValidationbooleanSkip time slot validation for appointment updates
meetingLocationIdstringMeeting location ID from calendar.locationConfigurations
meetingLocationTypestring
overrideLocationConfigbooleanOverride location config: true with meetingLocationType, false with meetingLocationId
rrulestringRRULE (RFC 5545) for recurring events; only applied if ignoreFreeSlotValidation is true
startTimestringNew ISO 8601 start time
titlestring
toNotifyboolean

ghl_delete_calendar_event

Delete a calendar event or appointment.

ParameterTypeDescription
eventId *string

ghl_create_block_slot

Block a time slot on a calendar (prevents bookings during that period).

ParameterTypeDescription
calendarId *string
endTime *stringISO 8601 end time
startTime *stringISO 8601 start time
assignedUserIdstring
titlestring

ghl_get_calendar_groups

Get all calendar groups in the location.

ghl_get_pipelines

Get all pipelines and their stages in the GHL location.

ghl_search_opportunities

Search opportunities in the pipeline. Filter by contact, stage, pipeline, status, or assigned user.

ParameterTypeDescription
assignedTostringFilter by assigned user ID
contactIdstringFilter by contact ID
limitnumber
pagenumber
pipelineIdstringFilter by pipeline ID
pipelineStageIdstringFilter by stage ID
querystringSearch query
statusstring

ghl_get_opportunity

Get a specific opportunity by ID.

ParameterTypeDescription
opportunityId *string

ghl_create_opportunity

Create a new opportunity/deal in a pipeline.

ParameterTypeDescription
contactId *stringContact this opportunity belongs to
name *stringOpportunity name/title
pipelineId *stringPipeline to place the opportunity in
pipelineStageId *stringInitial stage ID
assignedTostringUser ID to assign to
customFieldsarrayCustom field values [{id, fieldValue}]
monetaryValuenumberDeal value in dollars
sourcestring
statusstring

ghl_update_opportunity

Update an opportunity — move to a new stage, update value, reassign, etc.

ParameterTypeDescription
opportunityId *string
assignedTostring
customFieldsarrayCustom field values [{id, fieldValue}]
monetaryValuenumber
namestring
pipelineIdstring
pipelineStageIdstringMove to this stage
sourcestring
statusstring

ghl_update_opportunity_status

Quickly update only the status of an opportunity (open/won/lost/abandoned).

ParameterTypeDescription
opportunityId *string
status *string
lostReasonIdstringLost reason ID (relevant when status is 'lost')

ghl_upsert_opportunity

Create or update an opportunity. Pass the opportunity `id` to target an existing opportunity for update; if omitted, a new opportunity is created. Note: the real UpsertOpportunityDto has no `contactId` field — despite GHL's public docs describing contactId-based upsert matching, the spec's actual matching key is the opportunity `id`. `followers` (array of user IDs) is required; its spec description confusingly says "contactId" but its type/name make clear it is the followers list, not the linked contact.

ParameterTypeDescription
followers *arrayArray of user IDs following this opportunity (required by spec; despite its spec description saying "contactId", this is not the linked contact)
followersActionType *stringWhether to add or remove the given followers
isRemoveAllFollowers *booleanWhether to remove all existing followers
name *string
pipelineId *string
assignedTostring
forecastExpectedCloseDatestringExpected close date
forecastProbabilitynumber
idstringOpportunity ID — pass to update an existing opportunity
lostReasonIdstring
monetaryValuenumber
pipelineStageIdstring
statusstring

ghl_delete_opportunity

Delete an opportunity permanently.

ParameterTypeDescription
opportunityId *string

ghl_get_workflows

List all workflows/automations in the GHL location. Use this to discover workflow IDs before enrolling contacts.

ghl_get_campaigns

List all campaigns in the GHL location.

ParameterTypeDescription
statusstringFilter by status (active, paused, etc.)

ghl_create_workflow

Create a new workflow in the GHL location from a full workflow definition. The request body is passed to the API as-is. A new workflow always starts as a draft; publish it with ghl_update_workflow_status.

ParameterTypeDescription
namestringWorkflow name

ghl_get_workflow_definition

Get the full definition (steps and configuration) of a workflow, including its current version number.

ParameterTypeDescription
workflowId *stringWorkflow ID

ghl_update_workflow_definition

Replace a workflow's definition (steps and configuration). This replaces the entire workflow definition — any step not included in this request will be deleted. Fetch the current definition with ghl_get_workflow_definition first and send the complete updated version.

ParameterTypeDescription
version *numberCurrent definition version, from ghl_get_workflow_definition
workflowId *stringWorkflow ID

ghl_update_workflow_status

Publish or unpublish a workflow by setting its status to published or draft.

ParameterTypeDescription
status *stringNew workflow status
workflowId *stringWorkflow ID

ghl_delete_workflow

Permanently delete a workflow in the GHL location.

ParameterTypeDescription
workflowId *stringWorkflow ID

ghl_search_workflows

Search workflows in the GHL location with filters, sorting and pagination. The filters, sort, offset and searchAfter fields are passed to the API as-is.

ParameterTypeDescription
filtersarraySearch filter objects
offsetnumberNumber of results to skip
searchAfterarraySort values from the last result of the previous page
sortarraySort criteria objects

ghl_get_workflow_step_types

List the workflow step types (actions, triggers, conditions) available to build workflow definitions. Use the filters to narrow the list.

ParameterTypeDescription
kindstringFilter by step kind
limitnumberMaximum number of results to return
querystringFree-text search across step types
skipnumberNumber of results to skip
typesstringFilter by step type

ghl_validate_workflow_definition

Validate a workflow definition without saving it. Returns any errors found in the steps. The request body is passed to the API as-is; include workflowId to validate against an existing workflow.

ParameterTypeDescription
workflowIdstringExisting workflow ID, if validating an update

ghl_get_workflow_logs

Get execution logs for a workflow, paginated.

ParameterTypeDescription
workflowId *stringWorkflow ID
limitnumberMaximum number of log entries to return
skipnumberNumber of log entries to skip

ghl_get_workflow_log_statistics

Get aggregated execution statistics for a workflow, grouped by a time bucket and optionally limited to a date range.

ParameterTypeDescription
workflowId *stringWorkflow ID
endDatestringEnd of the date range (ISO date)
groupBystringAggregation grouping (e.g. day, week)
startDatestringStart of the date range (ISO date)

ghl_get_location

Get details about the current GHL location/sub-account.

ghl_get_location_tags

List all tags defined in the location.

ghl_create_location_tag

Create a new tag in the location.

ParameterTypeDescription
name *stringTag name

ghl_delete_location_tag

Delete a tag from the location.

ParameterTypeDescription
tagId *stringTag ID to delete

ghl_get_custom_fields

List custom fields for the location.

ParameterTypeDescription
modelstringFilter custom fields by model

ghl_create_custom_field

Create a new custom field in the location.

ParameterTypeDescription
dataType *stringField data type
name *string
acceptedFormatarrayAccepted file extensions for FILE_UPLOAD fields, e.g. ['.pdf', '.docx']
isMultipleFilebooleanAllow multiple file uploads (FILE_UPLOAD fields)
maxNumberOfFilesnumberMax number of files allowed (FILE_UPLOAD fields)
modelstringModel the field belongs to
optionsarrayOptions for SINGLE_OPTIONS/MULTIPLE_OPTIONS/CHECKBOX/RADIO fields
placeholderstring
positionnumber
textBoxListOptionsarrayOptions for TEXTBOX_LIST fields

ghl_update_custom_field

Update an existing custom field. Spec requires `name` even on update.

ParameterTypeDescription
fieldId *stringCustom field ID to update
name *stringField name (required by spec, even on update)
acceptedFormatarrayAccepted file extensions for FILE_UPLOAD fields, e.g. ['.pdf', '.docx']
isMultipleFilebooleanAllow multiple file uploads (FILE_UPLOAD fields)
maxNumberOfFilesnumberMax number of files allowed (FILE_UPLOAD fields)
modelstringModel the field belongs to
optionsarrayOptions for SINGLE_OPTIONS/MULTIPLE_OPTIONS/CHECKBOX/RADIO fields
placeholderstring
positionnumber
textBoxListOptionsarrayOptions for TEXTBOX_LIST fields

ghl_delete_custom_field

Delete a custom field from the location.

ParameterTypeDescription
fieldId *stringCustom field ID to delete

ghl_get_custom_values

List all custom values (location-level variables) in the location.

ghl_create_custom_value

Create a new custom value (location-level variable).

ParameterTypeDescription
name *stringVariable name
value *stringVariable value

ghl_update_custom_value

Update an existing custom value. Spec uses the same DTO as create — both name and value are required; partial updates are not supported.

ParameterTypeDescription
name *stringVariable name (required — spec has no partial update)
value *stringVariable value (required — spec has no partial update)
valueId *stringCustom value ID to update

ghl_delete_custom_value

Delete a custom value (location-level variable) by ID.

ParameterTypeDescription
valueId *stringCustom value ID to delete

ghl_get_users

List all team members in the GHL location. Resolves the account's company ID via a location lookup first.

ParameterTypeDescription
limitnumberMax results
skipnumberNumber of results to skip

ghl_search_users

Search team members by name or email. Resolves the account's company ID via a location lookup first.

ParameterTypeDescription
querystringSearch query

ghl_get_user

Get a single team member by their user ID.

ParameterTypeDescription
userId *stringUser ID

ghl_create_user

Create a new team member in the location. Resolves the account's company ID via a location lookup first.

ParameterTypeDescription
email *string
firstName *string
lastName *string
password *stringMin 12 characters, at least one uppercase, one lowercase, one number, one special character
locationIdsarrayLocation IDs to assign the user to. Defaults to the current location if omitted.
permissionsobjectGranular permission flags
phonestringE.164 format preferred, e.g. +16135550100
platformLanguagestringPlatform language preference for the user
profilePhotostringURL of the user profile photo
rolestring
scopesarrayScopes to enable for the user, e.g. ['contacts.write', 'campaigns.readonly']. Only scopes passed are enabled; passing an empty array disables all scopes.
scopesAssignedToOnlyarrayAssigned-only scopes to enable for the user. Only scopes passed are enabled; passing an empty array disables all assigned scopes.
twilioPhoneobjectPer-location inbound Twilio number in E.164 format, keyed by location id
typestringaccount for sub-account users, agency for agency-level users

ghl_update_user

Update an existing team member. Only provide fields you want to change.

ParameterTypeDescription
userId *stringUser ID to update
companyIdstringCompany/Agency ID. Required for agency-level access
emailstringNote: ignored by the v3 API — GHL deprecated updating email via this endpoint; the call succeeds but email will not change.
firstNamestring
lastNamestring
locationIdsarraySub-account location IDs the user should have access to
passwordstringNew password. Min 12 characters, at least one uppercase, one lowercase, one number, one special character
permissionsobjectGranular permission flags
phonestring
platformLanguagestringPlatform language preference for the user
profilePhotostringURL of the user profile photo
rolestring
scopesarrayScopes to enable for the user, e.g. ['contacts.write', 'campaigns.readonly']. Only scopes passed are enabled; passing an empty array disables all scopes.
scopesAssignedToOnlyarrayAssigned-only scopes to enable for the user. Only scopes passed are enabled; passing an empty array disables all assigned scopes.
twilioPhoneobjectPer-location inbound Twilio number in E.164 format, keyed by location id
typestringaccount for sub-account users, agency for agency-level users

ghl_delete_user

Remove a team member from the location.

ParameterTypeDescription
userId *stringUser ID to delete

ghl_get_templates

List SMS/email/WhatsApp templates in the location. These are the quick-reply-style templates under Settings → Templates.

ParameterTypeDescription
limitnumber
originIdstringOrigin ID to scope templates to. Defaults to the location itself if omitted.
skipnumber
typestringFilter by template type

ghl_delete_template

Delete an SMS/email/WhatsApp template by ID.

ParameterTypeDescription
templateId *stringTemplate ID to delete

ghl_get_forms

List all forms created in the location.

ParameterTypeDescription
limitnumber
skipnumber
typestringFilter by form type

ghl_get_form_submissions

Get submissions for a specific form or all forms in the location.

ParameterTypeDescription
endAtstringEnd date ISO 8601
formIdstringFilter by form ID — omit to get all submissions
limitnumber
pagenumber
qstringFilter by contactId, name, email, or phone number
startAtstringStart date ISO 8601

ghl_get_surveys

List all surveys created in the location.

ParameterTypeDescription
limitnumber
skipnumber
typestringFilter by survey type

ghl_get_survey_submissions

Get survey submissions — optionally filter by survey, contact, or date range.

ParameterTypeDescription
endAtstringEnd date YYYY-MM-DD
limitnumberMax 100
pagenumber
qstringSearch by contact ID, name, email, or phone
startAtstringStart date YYYY-MM-DD
surveyIdstringFilter by survey ID

ghl_get_email_builder_templates

List email marketing / builder templates for the location. These are the visual-editor templates used in Marketing → Emails and referenced by workflow Send Email actions. Results are sorted by last-updated date.

ParameterTypeDescription
archivedbooleanReturn archived templates instead of active ones
folderIdstringOnly return items inside this folder ('root' for top level)
includestringRestrict results to templates only, folders only, or both (default)
limitnumberMax results (1-20)
offsetnumber
searchstringFilter templates by name
sortOrderstringSort direction on last-updated date

ghl_get_email_builder_template

Get a single email builder template by ID.

ParameterTypeDescription
templateId *stringEmail builder template ID

ghl_create_email_builder_template

Create a new HTML email template in GHL Marketing → Emails. Name and HTML content are sent in a single call. Returns the created template (including its `id`) for use in workflows and campaigns.

ParameterTypeDescription
html *stringFull HTML content of the email. Use GHL merge tags like {{contact.first_name}}, {{contact.company_name}}.
name *stringTemplate display name (shown in Marketing → Emails)
parentFolderIdstringFolder to create the template in
previewTextstringPreview/snippet text shown in the inbox before opening
subjectLinestringDefault email subject line

ghl_update_email_builder_template

Update an existing email builder template. Pass `html` to replace the template's content, and/or `name`/`previewText`/`subjectLine` to update metadata only.

ParameterTypeDescription
templateId *stringTemplate ID to update
archivedbooleanArchive (true) or restore (false) the template
htmlstringUpdated HTML content
namestringNew template display name
previewTextstring
subjectLinestringDefault email subject line

ghl_delete_email_builder_template

Delete an email builder template by ID.

ParameterTypeDescription
templateId *stringTemplate ID to delete

ghl_get_email_campaigns

List bulk email marketing campaigns in the location.

ParameterTypeDescription
limitnumberMax results (1-20)
offsetnumber
searchstringFilter campaigns by name
statusstring

ghl_get_email_campaign

Get a single email marketing campaign by ID.

ParameterTypeDescription
campaignId *stringCampaign ID to retrieve

ghl_create_email_campaign

Create a draft email marketing campaign, optionally seeded from an existing email builder template. The campaign is created as a draft — subject line, recipients and send time are set later via the schedule step in the GHL UI, which this tool does not perform.

ParameterTypeDescription
name *stringCampaign display name
userId *stringGHL user ID performing this action (required by the API)
htmlstringInitial HTML content (alternative to seeding from a template)
parentFolderIdstringFolder to create the campaign in
templateIdstringEmail builder template ID to seed the campaign from. Omit to create a blank campaign.
timeZonestringIANA timezone for the campaign, e.g. America/New_York
userNamestringName of the user performing this action

ghl_schedule_email_campaign

Schedule (or immediately send) a draft email campaign created via ghl_create_email_campaign. Sets the subject, sender, recipients, and send timing, and triggers the send. Pair with ghl_create_email_campaign, which only creates the draft.

ParameterTypeDescription
campaignId *stringCampaign ID to schedule (from ghl_create_email_campaign)
fromEmail *stringSender email address
fromName *stringSender display name
subject *stringEmail subject line
userId *stringGHL user ID performing this action (required by the API)
abTestConfigobjectA/B test configuration. Can be combined with any scheduleType except 'rss'.
attachmentsarrayAttachment download URLs
contactIdsarrayContact IDs to send to. Required when recipientType is 'contact'.
freezeListbooleanFreeze the contact list at schedule time — new matching contacts won't be added later
previewTextstringPreview text shown in inbox after subject
recipientTypestringRecipient selection type
replyToAddressstringReply-to email address
rssConfigobjectRSS feed configuration. Required when scheduleType is 'rss'.
scheduleConfigobjectSchedule configuration. Required when scheduleType is not 'rss'.
scheduleTypestringHow to schedule the campaign
segmentstringPre-built segment. Required when recipientType is 'segment'.
sendDaysarrayDays of the week to allow sending. Used for 'batch' and 'rss' scheduleTypes.
tagIdsarrayTag IDs to filter recipients by. Required when recipientType is 'tag'.
timeZonestringIANA timezone, e.g. America/New_York
userNamestringName of the user performing this action

ghl_delete_email_campaign

Delete an email marketing campaign by ID.

ParameterTypeDescription
campaignId *stringCampaign ID to delete

ghl_get_funnels

List all funnels in the location.

ParameterTypeDescription
categorystringFilter by funnel category
limitnumber
namestringFilter funnels by name
offsetnumber
parentIdstringFilter by parent folder ID
typestringFilter by funnel type

ghl_get_funnel_pages

List all pages in a specific funnel.

ParameterTypeDescription
funnelId *stringFunnel ID (from ghl_get_funnels)
limitnumber
namestringFilter pages by name
offsetnumber

ghl_get_funnel_page_count

Get the total count of pages in a funnel.

ParameterTypeDescription
funnelId *stringFunnel ID
namestringFilter by page name

ghl_get_blog_authors

List blog authors for the location.

ParameterTypeDescription
limit *numberMax results
offset *numberResults to skip

ghl_get_blog_categories

List blog categories for the location.

ParameterTypeDescription
limit *numberMax results
offset *numberResults to skip

ghl_get_blogs

List blog sites for the location.

ParameterTypeDescription
limit *numberMax results
skip *numberResults to skip
searchTermstringSearch term to filter blog sites

ghl_get_blog_posts

List posts for a blog. Supports search and status filtering.

ParameterTypeDescription
blogId *stringThe blog site ID
limit *numberMax results
offset *numberResults to skip
searchTermstringSearch term to filter posts
statusstringFilter by post status

ghl_check_blog_url_slug

Check whether a URL slug is already in use by another blog post.

ParameterTypeDescription
urlSlug *stringThe URL slug to check
postIdstringPost ID to exclude from the check (e.g. when editing an existing post)

ghl_create_blog_post

Create a new blog post. All of title, blogId, imageUrl, description, rawHTML, status, imageAltText, categories, author, urlSlug, and publishedAt are required by the API.

ParameterTypeDescription
author *stringAuthor ID
blogId *stringThe blog site ID (from the blog site dashboard link)
categories *arrayArray of category IDs
description *stringA short description
imageAltText *stringAlt text for the featured image
imageUrl *stringFeatured image URL
publishedAt *stringISO timestamp for publish date
rawHTML *stringThe blog post content as HTML
status *stringPost status
title *stringBlog post title
urlSlug *stringURL slug for the post
canonicalLinkstringCanonical URL for the post
tagsarrayArray of tag strings

ghl_update_blog_post

Update an existing blog post. Provide the full replacement set of fields — title, blogId, imageUrl, description, rawHTML, status, imageAltText, categories, author, urlSlug, publishedAt, and wordCount are all required by the API.

ParameterTypeDescription
author *stringAuthor ID
blogId *stringThe blog site ID (from the blog site dashboard link)
categories *arrayArray of category IDs
description *stringA short description
imageAltText *stringAlt text for the featured image
imageUrl *stringFeatured image URL
postId *stringThe blog post ID to update
publishedAt *stringISO timestamp for publish date
rawHTML *stringThe blog post content as HTML
status *stringPost status
title *stringBlog post title
urlSlug *stringURL slug for the post
wordCount *numberWord count of the post content
canonicalLinkstringCanonical URL for the post
tagsarrayArray of tag strings

ghl_get_businesses

List businesses for a location.

ParameterTypeDescription
limitnumberMax results
skipnumberResults to skip

ghl_get_business

Get a specific business by ID.

ParameterTypeDescription
businessId *stringThe business ID

ghl_create_business

Create a new business. Required fields: name. Optional fields: phone, email, website, address, city, postalCode, state, country, description.

ParameterTypeDescription
name *stringBusiness name
addressstringBusiness street address
citystringBusiness city
countrystringBusiness country
descriptionstringBusiness description
emailstringBusiness email address
phonestringBusiness phone number
postalCodestringBusiness postal code
statestringBusiness state
websitestringBusiness website URL

ghl_update_business

Update an existing business. All fields (name, phone, email, website, address, city, postalCode, state, country, description) are optional.

ParameterTypeDescription
businessId *stringThe business ID to update
addressstringBusiness street address
citystringBusiness city
countrystringBusiness country
descriptionstringBusiness description
emailstringBusiness email address
namestringBusiness name
phonestringBusiness phone number
postalCodestringBusiness postal code
statestringBusiness state
websitestringBusiness website URL

ghl_delete_business

Delete a business.

ParameterTypeDescription
businessId *stringThe business ID to delete

ghl_create_association_relation

Create a relation between two records for an association. Required fields: associationId, firstRecordId, secondRecordId.

ParameterTypeDescription
associationId *stringThe association ID
firstRecordId *stringThe first record ID
secondRecordId *stringThe second record ID

ghl_get_association_relations

List relations for a record. Required fields: recordId, skip, limit. Optional: associationIds.

ParameterTypeDescription
limit *numberMax results to return
recordId *stringThe record ID
skip *numberNumber of results to skip
associationIdsarrayAssociation IDs to filter by

ghl_delete_association_relation

Delete a relation between two records.

ParameterTypeDescription
relationId *stringThe relation ID to delete

ghl_get_association_by_key

Get an association by its key name.

ParameterTypeDescription
key_name *stringThe association key name

ghl_get_association_by_object_key

Get an association by its object key.

ParameterTypeDescription
objectKey *stringThe object key

ghl_create_association

Create a new association. Required fields: key, firstObjectLabel, firstObjectKey, secondObjectLabel, secondObjectKey.

ParameterTypeDescription
firstObjectKey *stringKey for the first object
firstObjectLabel *stringLabel for the first object
key *stringThe association key
secondObjectKey *stringKey for the second object
secondObjectLabel *stringLabel for the second object

ghl_get_association

Get a specific association by ID.

ParameterTypeDescription
associationId *stringThe association ID

ghl_update_association

Update an association's object labels. Required fields: firstObjectLabel, secondObjectLabel.

ParameterTypeDescription
associationId *stringThe association ID to update
firstObjectLabel *stringLabel for the first object
secondObjectLabel *stringLabel for the second object

ghl_delete_association

Delete an association.

ParameterTypeDescription
associationId *stringThe association ID to delete

ghl_list_associations

List associations for a location. Required fields: skip, limit.

ParameterTypeDescription
limit *numberMax results to return
skip *numberNumber of results to skip

ghl_get_object_schema

Get a custom or standard object schema by key. Required fields: key. Optional: fetchProperties.

ParameterTypeDescription
key *stringThe object schema key, e.g. custom_objects.pet
fetchPropertiesbooleanWhether to include the object's properties in the response

ghl_update_object_schema

Update a custom object schema. Required fields: key, searchableProperties. Optional: labels (singular/plural), description.

ParameterTypeDescription
key *stringThe object schema key to update
searchableProperties *arrayField keys to make searchable, using the format custom_objects.<object_name>.<field_key>
descriptionstringThe object's description
labelsobjectHow the custom object is displayed

ghl_get_objects

List all objects (standard and custom) for the location.

ghl_get_object_record

Get a single custom object record by ID. Required fields: schemaKey, id.

ParameterTypeDescription
id *stringThe record ID
schemaKey *stringThe object schema key

ghl_update_object_record

Update a custom object record. Required fields: schemaKey, id, record.

ParameterTypeDescription
id *stringThe record ID to update
record *objectThe record fields to update, keyed by field name
schemaKey *stringThe object schema key

ghl_delete_object_record

Delete a custom object record. Required fields: schemaKey, id.

ParameterTypeDescription
id *stringThe record ID to delete
schemaKey *stringThe object schema key

ghl_create_object_record

Create a new custom object record. Required fields: schemaKey, record.

ParameterTypeDescription
record *objectThe record fields, keyed by field name
schemaKey *stringThe object schema key

ghl_search_object_records

Search custom object records. Required fields: schemaKey, page, pageLimit, query, searchAfter.

ParameterTypeDescription
page *numberPage number
pageLimit *numberNumber of results per page
query *stringSearch query using a searchable property, e.g. 'name:Buddy' where 'name' is a configured searchable property
schemaKey *stringThe object schema key
searchAfter *arrayCursor values for pagination, from a prior response

ghl_import_courses

Import courses with lessons and modules. Accepts an array of product objects with nested course structure (categories, posts, etc.).

ParameterTypeDescription
products *arrayArray of product objects, each defining a full course. Shape (nested top to bottom): Product: { title: string (required), description: string (required), imageUrl?: string, categories: Category[] (req…
userIdstringOptional user ID for the import

ghl_get_proposal_documents

List proposal/estimate documents for the location. Supports filtering by status, payment status, date range, and search query.

ParameterTypeDescription
dateFromstringDate start from (ISO 8601). Must be provided together with dateTo
dateTostringDate to (ISO 8601). Must be provided together with dateFrom
limitnumberMax results
paymentStatusstringPayment status
querystringSearch string
skipnumberResults to skip
statusstringDocument status

ghl_send_proposal_document

Send a proposal/estimate document to a client.

ParameterTypeDescription
documentId *stringDocument Id
sentBy *stringUser Id of the sender
ccRecipientsarrayCC recipients for the document
documentNamestringDocument Name
mediumstringMedium to be used for sending the document
notificationSettingsobjectNotification settings (sender and receive email config)

ghl_get_proposal_templates

List proposal/estimate document templates for the location. Supports filtering by type, name, date range, and public document scope.

ParameterTypeDescription
dateFromstringDate start from (ISO 8601)
dateTostringDate to (ISO 8601)
isPublicDocumentbooleanIf the docForm is a DocForm
limitstringLimit
namestringTemplate Name
skipstringSkip
typestringComma-separated template types: proposal, estimate, contentLibrary
userIdstringUser Id, required when isPublicDocument is true

ghl_send_proposal_template

Send a proposal/estimate document template to a client contact.

ParameterTypeDescription
contactId *stringContact Id
templateId *stringTemplate Id
userId *stringUser Id
opportunityIdstringOpportunity Id
sendDocumentbooleanWhether to send the document

ghl_create_brand_board

Create a brand board for a location. A brand board holds logos, colors, and fonts, and can be created blank, from a template, from a snapshot, or extracted from a website URL.

ParameterTypeDescription
name *stringName of the brand board
brandBoardIdstringSource brand board ID to copy from (creates a new brand board based on this template)
colorsarrayArray of colors
defaultbooleanSet as the default brand board for this location
fontsarrayArray of fonts
logosarrayArray of logos
parentIdstringParent folder ID in media library for organizing brand boards
typestringSource type indicating how the brand board was created
urlstringWebsite URL to extract design kit from (colors, fonts, logos)

ghl_get_brand_boards

List brand boards for the location. Supports search, pagination, and including deleted boards.

ParameterTypeDescription
deletedbooleanInclude deleted brand boards in results
limitnumberMaximum number of brand boards to return
offsetnumberNumber of brand boards to skip for pagination
searchstringSearch term to filter brand boards by name

ghl_get_brand_board

Get a single brand board by ID.

ParameterTypeDescription
id *stringBrand board ID

ghl_update_brand_board

Update a brand board by ID. Only provided fields are changed.

ParameterTypeDescription
id *stringBrand board ID to update
colorsarrayArray of colors
defaultbooleanSet as the default brand board for this location
fontsarrayArray of fonts
logosarrayArray of logos
namestringName of the brand board
parentIdstringParent folder ID in media library (reserved for future use)

ghl_delete_brand_board

Delete a brand board by ID.

ParameterTypeDescription
id *stringBrand board ID to delete

ghl_get_brand_voices

List brand voices for the location. Supports search, pagination, and including deleted voices.

ParameterTypeDescription
deletedbooleanWhether to return deleted brand voices. Defaults to false
limitnumberNumber of brand voices to return. Defaults to 10, minimum 1, maximum 20
offsetnumberNumber of brand voices to skip for pagination. Defaults to 0
searchstringSearch text for brand voice name

ghl_create_brand_voice

Create a brand voice for a location. type=manual creates it with provided custom answers, type=url generates answers from a website, type=description generates answers from a text description.

ParameterTypeDescription
type *stringCreation type. "manual" creates with provided custom answers, "url" generates answers from a website, "description" generates answers from a text description
answersobjectBrand voice answers (brandName, toneOfVoice, targetAudience, customerPainPoints, businessType, companyWebsite, companyEmail, companyAddress, phone, businessHours, brandPromise, ...). Required when typ…
descriptionstringCompany description to generate brand voice from. Required when type is "description", optional when type is "url"
namestringName
urlstringWebsite URL to generate brand voice from. Required when type is "url"

ghl_get_brand_voice

Get a brand voice by ID.

ParameterTypeDescription
brandVoiceId *stringBrand voice ID

ghl_update_brand_voice

Update a brand voice by ID. Only provided fields are changed.

ParameterTypeDescription
brandVoiceId *stringBrand voice ID to update
answersobjectUpdated brand voice answers
namestringName

ghl_delete_brand_voice

Delete a brand voice by ID.

ParameterTypeDescription
brandVoiceId *stringBrand voice ID to delete

ghl_set_default_brand_voice

Set a brand voice as the default for the location.

ParameterTypeDescription
brandVoiceId *stringBrand voice ID to set as default

ghl_get_custom_menus

List custom menu links configured for the location. Supports search, pagination, and filtering to agency-level links only.

ParameterTypeDescription
limitnumberMaximum number of items to return. Defaults to 20
querystringSearch query to filter custom menus by name (partial or full match)
showOnCompanybooleanFilter to show only agency-level menu links. When omitted, fetches both agency and sub-account menu links
skipnumberNumber of items to skip for pagination. Defaults to 0

ghl_get_custom_menu

Get a single custom menu link by ID.

ParameterTypeDescription
customMenuId *stringUnique identifier of the custom menu

ghl_create_custom_menu

Create a custom menu link. For icon usage details see https://doc.clickup.com/8631005/d/h/87cpx-243696/d60fa70db6b92b2

ParameterTypeDescription
icon *objectIcon information for the custom menu (name and fontFamily are both required)
locations *arrayList of sub-account IDs where the menu should be shown. Applicable only when showOnLocation is true and showToAllLocations is false
openMode *stringMode for opening the menu link
showOnCompany *booleanWhether the menu must be displayed on the agency's level
showOnLocation *booleanWhether the menu must be displayed for sub-accounts level
showToAllLocations *booleanWhether the menu must be displayed to all sub-accounts
title *stringTitle of the custom menu
url *stringURL of the custom menu
userRole *stringWhich user-roles should the menu be accessible to
allowCamerabooleanWhether to allow camera access (only for iframe mode)
allowMicrophonebooleanWhether to allow microphone access (only for iframe mode)

ghl_update_custom_menu

Update a custom menu link by ID. Only provided fields are changed.

ParameterTypeDescription
customMenuId *stringID of the custom menu to update
allowCamerabooleanWhether to allow camera access (only for iframe mode)
allowMicrophonebooleanWhether to allow microphone access (only for iframe mode)
iconobjectIcon information for the custom menu
locationsarrayList of sub-account IDs where the menu should be shown. Applicable only when showOnLocation is true and showToAllLocations is false
openModestringMode for opening the menu link
showOnCompanybooleanWhether the menu must be displayed on the agency's level
showOnLocationbooleanWhether the menu must be displayed for sub-accounts level
showToAllLocationsbooleanWhether the menu must be displayed to all sub-accounts
titlestringTitle of the custom menu
urlstringURL of the custom menu
userRolestringWhich user-roles should the menu be accessible to

ghl_delete_custom_menu

Delete a custom menu link by ID.

ParameterTypeDescription
customMenuId *stringID of the custom menu to delete

ghl_get_phone_numbers

List all purchased/active phone numbers in the location.

ParameterTypeDescription
pagenumberPage number
pageSizenumberNumber of results per page
searchFilterstringFilter by phone number or label
skipNumberPoolbooleanSkip number pool results

ghl_search_available_phone_numbers

Search for available phone numbers to purchase. All filters below are required by the spec.

ParameterTypeDescription
anywhere *booleanMatch digits anywhere in number
countryCode *stringISO 2-letter country code (e.g. CA, US)
firstPart *stringBeginning of the phone number to match
lastPart *stringEnding of the phone number to match
mmsEnabled *booleanRequested numbers must have MMS capability
numberTypes *stringComma-separated phone number type(s), e.g. "local" or "tollFree,mobile,local"
smsEnabled *booleanRequested numbers must have SMS capability
voiceEnabled *booleanRequested numbers must have voice capability

ghl_purchase_phone_number

Purchase a phone number for the location. All fields below are required by the spec (Twilio address/bundle SIDs, Stripe payment details, and locality info).

ParameterTypeDescription
addressSid *stringTwilio address SID
bundleSid *stringTwilio bundle SID
countryCode *stringCountry for which the phone number is being requested
fingerprintId *stringUnique request ID for this purchase request
locality *stringLocality of the user in which the number is being purchased
numberType *stringType of phone number to purchase, e.g. local, tollFree
paymentIntentId *stringStripe payment intent ID
paymentMethodId *stringStripe registered payment method ID
phoneNumber *stringPhone number to purchase in E.164 format (e.g. +16135550100)
region *stringRegion of the user in which the number is being purchased
skipLocationKYC *booleanSkip location-level KYC verification if agency-level compliance is already verified
stripeAccountId *stringStripe account ID

ghl_release_phone_number

Release (delete) a purchased phone number from the location.

ParameterTypeDescription
numberId *stringThe phone number ID to release

ghl_update_phone_number

Update settings for a phone number (friendly name, call forwarding, etc.).

ParameterTypeDescription
numberId *stringThe phone number ID to update
callForwardingNumberstringNumber to forward calls to in E.164 format
friendlyNamestringDisplay label for the number

ghl_get_orders

Get payment orders in the location.

ParameterTypeDescription
contactIdstringFilter by contact
endAtstringEnd date filter ISO 8601
limitnumber
offsetnumber
paymentStatusstring
startAtstringStart date filter ISO 8601

ghl_get_order

Get a specific order by ID.

ParameterTypeDescription
orderId *string

ghl_get_transactions

Get payment transactions in the location.

ParameterTypeDescription
contactIdstring
endAtstring
limitnumber
offsetnumber
startAtstring

ghl_get_subscriptions

Get active subscriptions in the location.

ParameterTypeDescription
contactIdstring
limitnumber
offsetnumber

ghl_get_coupons

Get discount coupons in the location.

ParameterTypeDescription
limitnumber
offsetnumber
searchstringSearch by coupon name or code
statusstringFilter by coupon status

ghl_create_coupon

Create a discount coupon.

ParameterTypeDescription
code *stringCoupon code (e.g. SAVE20)
discountType *string
discountValue *numberDiscount value (% or $ amount)
name *string
startDate *stringCoupon validity start date, YYYY-MM-DDTHH:mm:ssZ (required by spec)
endDatestringCoupon expiry date ISO 8601
productIdsarrayRestrict to specific product IDs
usageLimitnumberMax number of times coupon can be used

ghl_get_invoices

Get invoices in the location.

ParameterTypeDescription
contactIdstringFilter by contact
endAtstring
limitnumber
offsetnumber
searchstring
startAtstring
statusstring

ghl_get_invoice

Get a specific invoice by ID.

ParameterTypeDescription
invoiceId *string

ghl_create_invoice

Create a new invoice. Sends contactDetails (not a bare contactId) per the spec.

ParameterTypeDescription
businessDetails *objectBusiness details shown on the invoice (required by spec)
contactDetails *objectContact to send the invoice to — spec uses a structured contactDetails object, not a bare contactId
currency *stringCurrency code, e.g. USD
discount *objectDiscount for the invoice (required by spec)
issueDate *stringIssue date, YYYY-MM-DD (required by spec)
items *arrayInvoice line items
liveMode *booleanUse live payment mode (false = test mode; required by spec)
name *stringInvoice name/title
sentTo *objectRecipients for the invoice (required by spec)
dueDatestringDue date, YYYY-MM-DD
invoiceNumberstring
titlestring

ghl_send_invoice

Send an invoice to the contact.

ParameterTypeDescription
action *string
invoiceId *string
liveMode *booleanUse live payment mode (false = test mode; required by spec)
userId *stringUser ID of the sender

ghl_void_invoice

Void (cancel) an invoice.

ParameterTypeDescription
invoiceId *string

ghl_record_invoice_payment

Record a manual payment against an invoice.

ParameterTypeDescription
amount *numberPayment amount in cents
invoiceId *string
mode *string
notes *stringNote recorded with the transaction (required by spec)
cardobjectCard details — relevant when mode is 'card'
chequeobjectCheque number — relevant when mode is 'cheque'

ghl_get_products

List products in the store catalog. Supports search, filtering, and pagination.

ParameterTypeDescription
availableInStorebooleanFilter by store availability
collectionIdsstringComma-separated collection IDs to filter by
collectionSlugstringFilter by collection slug
expandarrayRelated entities to expand, e.g. ['tax','stripe','paypal']
includedInStorebooleanFilter by whether product is included in the store
limitnumberMax results
offsetnumberResults to skip
productIdsarraySpecific product IDs to fetch
searchstringSearch by product name
sortOrderstringSort order
storeIdstringFilter by store ID

ghl_get_product

Get a single product by ID.

ParameterTypeDescription
productId *stringThe product ID
sendWishlistStatusbooleanInclude wishlist status in the response

ghl_create_product

Create a new product in the store catalog.

ParameterTypeDescription
name *stringProduct name
productType *stringProduct type
automaticTaxCategoryIdstring
availableInStoreboolean
collectionIdsarrayCategory/collection IDs
descriptionstring
imagestringProduct image URL
isLabelEnabledboolean
isTaxesEnabledboolean
labelobjectProduct label details
mediasarrayArray of media objects
seoobjectSEO metadata for the product
slugstring
statementDescriptorstring
taxInclusiveboolean
taxesarrayList of tax IDs attached to the product
variantsarrayArray of variant objects

ghl_update_product

Update an existing product. Provide the full replacement set of fields (name/productType required by the API).

ParameterTypeDescription
name *stringProduct name
productId *stringThe product ID to update
productType *stringProduct type
automaticTaxCategoryIdstring
availableInStoreboolean
collectionIdsarrayCategory/collection IDs
descriptionstring
imagestringProduct image URL
isLabelEnabledboolean
isTaxesEnabledboolean
labelobjectProduct label details
mediasarrayArray of media objects
pricesarrayList of price IDs for the product
seoobjectSEO metadata for the product
slugstring
statementDescriptorstring
taxInclusiveboolean
taxesarrayList of tax IDs attached to the product
variantsarrayArray of variant objects

ghl_delete_product

Delete a product from the store catalog.

ParameterTypeDescription
productId *stringThe product ID to delete
sendWishlistStatusbooleanInclude wishlist status in the response

ghl_bulk_update_products

Bulk update products: change price, compare-at price, availability, collections, or currency, or bulk-delete, across a set of product IDs (or filtered selection).

ParameterTypeDescription
productIds *arrayArray of product IDs to update
type *stringType of bulk update operation
availabilitybooleanNew availability status
collectionIdsarrayArray of collection IDs
compareAtPriceobjectCompare-at price update configuration
currencystringCurrency code, e.g. USD
filtersobjectFilters to apply when selecting all matching products
priceobjectPrice update configuration

ghl_bulk_edit_product_prices

Bulk edit prices across multiple products in a single request.

ParameterTypeDescription
products *arrayArray of products with their price edits, e.g. [{ productId, prices: [...] }]

ghl_get_product_prices

List prices for a product.

ParameterTypeDescription
productId *stringThe product ID
idsstringComma-separated price IDs to filter by
limitnumberMax results
offsetnumberResults to skip

ghl_get_product_price

Get a single price for a product by price ID.

ParameterTypeDescription
priceId *stringThe price ID
productId *stringThe product ID

ghl_create_product_price

Create a new price for a product.

ParameterTypeDescription
amount *numberPrice amount
currency *stringCurrency code, e.g. USD
name *stringPrice name
productId *stringThe product ID to create the price under
type *stringPrice type
allowOutOfStockPurchasesboolean
availableQuantitynumberAvailable inventory quantity
compareAtPricenumberCompare-at (original/strikethrough) price
descriptionstring
digitalDeliveryarrayDigital delivery options
isDigitalProductboolean
membershipOffersarrayArray of membership offer objects
metaobjectAdditional metadata associated with the price
recurringobjectRecurring billing configuration (if type is recurring)
setupFeenumberOne-time setup fee
shippingOptionsobjectShipping options of the price
skustring
totalCyclesnumberTotal number of billing cycles
trackInventoryboolean
trialPeriodnumberTrial period in days
userIdstringUser ID creating the price
variantOptionIdsarrayVariant option IDs this price applies to

ghl_update_product_price

Update an existing price for a product. Provide the full replacement set of fields (name/type/currency/amount required by the API).

ParameterTypeDescription
amount *numberPrice amount
currency *stringCurrency code, e.g. USD
name *stringPrice name
priceId *stringThe price ID to update
productId *stringThe product ID
type *stringPrice type
allowOutOfStockPurchasesboolean
availableQuantitynumberAvailable inventory quantity
compareAtPricenumberCompare-at (original/strikethrough) price
descriptionstring
digitalDeliveryarrayDigital delivery options
isDigitalProductboolean
membershipOffersarrayArray of membership offer objects
metaobjectAdditional metadata associated with the price
recurringobjectRecurring billing configuration (if type is recurring)
setupFeenumberOne-time setup fee
shippingOptionsobjectShipping options of the price
skustring
totalCyclesnumberTotal number of billing cycles
trackInventoryboolean
trialPeriodnumberTrial period in days
userIdstringUser ID updating the price
variantOptionIdsarrayVariant option IDs this price applies to

ghl_delete_product_price

Delete a price from a product.

ParameterTypeDescription
priceId *stringThe price ID to delete
productId *stringThe product ID

ghl_get_product_inventory

List inventory levels for products/price variants in the location.

ParameterTypeDescription
limitnumberMax results
offsetnumberResults to skip
searchstringSearch by product name

ghl_update_product_inventory

Bulk update inventory quantities for a set of product price variants.

ParameterTypeDescription
items *arrayArray of inventory items to update

ghl_get_product_collections

List product collections in the store catalog. Supports filtering by name and pagination.

ParameterTypeDescription
collectionIdsstringComma-separated collection IDs to filter by
limitnumberMax results
namestringFilter by collection name
offsetnumberResults to skip

ghl_get_product_collection

Get details of a single product collection by ID.

ParameterTypeDescription
collectionId *stringThe product collection ID

ghl_create_product_collection

Create a new product collection.

ParameterTypeDescription
name *stringName of the product collection
slug *stringSlug of the product collection, used for navigation
collectionIdstringCustom Mongo ID to assign to the collection
imagestringURL of the image to display as the collection thumbnail
seoobjectSEO metadata for the collection

ghl_update_product_collection

Update an existing product collection.

ParameterTypeDescription
collectionId *stringThe product collection ID to update
imagestringURL of the image to display as the collection thumbnail
namestringName of the product collection
seoobjectSEO metadata for the collection
slugstringSlug of the product collection, used for navigation

ghl_delete_product_collection

Delete a product collection.

ParameterTypeDescription
collectionId *stringThe product collection ID to delete

ghl_get_product_reviews

List product reviews for the store. Supports filtering by rating, date range, product, store, and pagination/sorting.

ParameterTypeDescription
endDatestringEnd date for filtering reviews (ISO 8601)
limitnumberMax results
offsetnumberResults to skip
productIdstringComma-separated list of product IDs
ratingnumberFilter by rating
sortFieldstringField to sort by
sortOrderstringSort order
startDatestringStart date for filtering reviews (ISO 8601)
storeIdstringComma-separated list of store IDs

ghl_get_product_review_count

Fetch a count of product reviews grouped by status, with optional filters.

ParameterTypeDescription
endDatestringEnd date for filtering reviews (ISO 8601)
productIdstringComma-separated list of product IDs
ratingnumberFilter by rating
startDatestringStart date for filtering reviews (ISO 8601)
storeIdstringComma-separated list of store IDs

ghl_bulk_update_product_reviews

Update one or multiple product reviews at once (e.g. status).

ParameterTypeDescription
reviews *arrayArray of reviews to update
status *stringStatus to apply to the reviews (e.g. approved)

ghl_update_product_review

Update the status, reply, rating, or content of a single product review.

ParameterTypeDescription
productId *stringProduct ID the review belongs to
reviewId *stringThe review ID to update
status *stringStatus of the review (e.g. approved)
detailstringDetailed review text
headlinestringHeadline of the review
ratingnumberRating of the product
replyarrayReply/replies to the review

ghl_delete_product_review

Delete a specific product review.

ParameterTypeDescription
productId *stringProduct ID the review belongs to
reviewId *stringThe review ID to delete

ghl_set_product_store_visibility

Include or exclude products from a store's product listing. Note: storeId identifies the store/funnel that displays products (e.g. a funnel-based storefront) — not the location ID.

ParameterTypeDescription
action *stringWhether to include or exclude the products from the store
productIds *arrayArray of product IDs to include or exclude
storeId *stringStore ID (the store/funnel that displays products, not the location ID)

ghl_update_product_store_priority

Set the display priority (ordering) of products in a store. Note: storeId identifies the store/funnel that displays products, not the location ID.

ParameterTypeDescription
products *arrayArray of products with their display priorities, e.g. [[productId, priority], ...]
storeId *stringStore ID (the store/funnel that displays products, not the location ID)

ghl_get_product_store_stats

Fetch the total number of products, number included in the store, and number excluded from the store, with optional search and collection filters. Note: storeId identifies the store/funnel that displays products, not the location ID.

ParameterTypeDescription
storeId *stringStore ID (the store/funnel that displays products, not the location ID)
collectionIdsstringComma-separated list of product collection IDs to filter by
searchstringFilter by product name

ghl_get_shipping_carriers

List shipping carriers configured for the store.

ghl_create_shipping_carrier

Create a new shipping carrier for the store.

ParameterTypeDescription
callbackUrl *stringThe URL endpoint that CRM needs to retrieve shipping rates from
name *stringName of the shipping carrier
allowsMultipleServiceSelectionbooleanWhether the seller can choose multiple services while creating shipping
servicesarrayAn array of available shipping carrier services

ghl_get_shipping_carrier

Get details of a single shipping carrier by ID.

ParameterTypeDescription
shippingCarrierId *stringThe shipping carrier ID

ghl_update_shipping_carrier

Update an existing shipping carrier.

ParameterTypeDescription
shippingCarrierId *stringThe shipping carrier ID
allowsMultipleServiceSelectionbooleanWhether the seller can choose multiple services while creating shipping
callbackUrlstringThe URL endpoint that CRM needs to retrieve shipping rates from
namestringName of the shipping carrier
servicesarrayAn array of available shipping carrier services

ghl_delete_shipping_carrier

Delete a shipping carrier from the store.

ParameterTypeDescription
shippingCarrierId *stringThe shipping carrier ID

ghl_get_shipping_zones

List shipping zones configured for the store. Supports pagination.

ParameterTypeDescription
limitnumberMax results
offsetnumberResults to skip
withShippingRatebooleanWhether to include shipping rates for each zone

ghl_create_shipping_zone

Create a new shipping zone for the store.

ParameterTypeDescription
countries *arrayList of countries that are available in this shipping zone
name *stringName of the shipping zone

ghl_get_shipping_zone

Get details of a single shipping zone by ID.

ParameterTypeDescription
shippingZoneId *stringThe shipping zone ID
withShippingRatebooleanWhether to include shipping rates for the zone

ghl_update_shipping_zone

Update an existing shipping zone.

ParameterTypeDescription
shippingZoneId *stringThe shipping zone ID
countriesarrayList of countries that are available in this shipping zone
namestringName of the shipping zone

ghl_delete_shipping_zone

Delete a shipping zone from the store.

ParameterTypeDescription
shippingZoneId *stringThe shipping zone ID

ghl_get_available_shipping_rates

Compute the available shipping rates for an order based on destination, weight, amount, and products.

ParameterTypeDescription
country *stringCountry code of the customer, e.g. US
products *arrayAn array of price IDs and quantities
source *objectSource of the order
totalOrderAmount *numberThe total order amount (min: 0.01)
totalOrderWeight *numberEstimated weight of the order in kg(s)
addressobjectAddress of the customer (ContactAddress shape)
amountAvailablebooleanSet true to skip backend calculation of order amount when totalOrderAmount is already provided
couponCodestringCoupon code
weightAvailablebooleanSet true when the weight is already calculated and should not be recalculated

ghl_get_shipping_rates

List shipping rates for a shipping zone. Supports pagination.

ParameterTypeDescription
shippingZoneId *stringThe shipping zone ID
limitnumberMax results
offsetnumberResults to skip

ghl_create_shipping_rate

Create a new shipping rate for a shipping zone.

ParameterTypeDescription
amount *numberThe amount of the shipping rate if it is a normal rate (0 means free). Fixed handling fee if it is a carrier rate (added to the carrier rate).
conditionType *stringType of condition to provide the conditional pricing
currency *stringThe currency of the amount of the rate / handling fee
maxCondition *numberMaximum condition for applying this price. Set 0 or null if there is no maximum
minCondition *numberMinimum condition for applying this price. Set 0 or null if there is no minimum
name *stringName of the shipping rate
shippingCarrierId *stringShipping carrier id
shippingZoneId *stringThe shipping zone ID
descriptionstringDelivery description
isCarrierRatebooleanWhether this is a carrier rate
percentageOfRateFeenumberPercentage of rate fee if it is a carrier rate
shippingCarrierServicesarrayAn array of available shipping carrier services

ghl_get_shipping_rate

Get details of a single shipping rate by ID.

ParameterTypeDescription
shippingRateId *stringThe shipping rate ID
shippingZoneId *stringThe shipping zone ID

ghl_update_shipping_rate

Update an existing shipping rate.

ParameterTypeDescription
shippingRateId *stringThe shipping rate ID
shippingZoneId *stringThe shipping zone ID
amountnumberThe amount of the shipping rate if it is a normal rate (0 means free). Fixed handling fee if it is a carrier rate (added to the carrier rate).
conditionTypestringType of condition to provide the conditional pricing
currencystringThe currency of the amount of the rate / handling fee
descriptionstringDelivery description
isCarrierRatebooleanWhether this is a carrier rate
maxConditionnumberMaximum condition for applying this price. Set 0 or null if there is no maximum
minConditionnumberMinimum condition for applying this price. Set 0 or null if there is no minimum
namestringName of the shipping rate
percentageOfRateFeenumberPercentage of rate fee if it is a carrier rate
shippingCarrierIdstringShipping carrier id
shippingCarrierServicesarrayAn array of available shipping carrier services

ghl_delete_shipping_rate

Delete a shipping rate from a shipping zone.

ParameterTypeDescription
shippingRateId *stringThe shipping rate ID
shippingZoneId *stringThe shipping zone ID

ghl_get_store_settings

Get the store settings (shipping origin, order notification emails).

ghl_update_store_settings

Create or update the store settings (shipping origin, order notification emails). Upserts — creates settings if none exist yet, otherwise updates them.

ParameterTypeDescription
shippingOrigin *objectShipping origin address
storeOrderFulfillmentNotificationobjectStore order fulfillment notification email settings
storeOrderNotificationobjectStore order notification email settings

ghl_get_affiliates

List affiliates for the location. Supports search, filtering, and pagination.

ParameterTypeDescription
activebooleanFilter by active status
campaignIdstringFilter by campaign ID
fromDatestringStart date filter, e.g. 2023-10-01
limitnumberMaximum number of records to return, max 100 (default 10)
querystringSearch affiliates by name
skipnumberNumber of records to skip (default 0)
toDatestringEnd date filter, e.g. 2023-10-01

ghl_get_affiliate

Get details of a single affiliate by ID.

ParameterTypeDescription
affiliateId *stringThe affiliate ID

ghl_get_affiliate_commissions

List affiliate commissions for the location. Supports filtering and pagination.

ParameterTypeDescription
affiliateIdstringFilter by affiliate ID
campaignIdstringFilter by campaign ID
fromDatestringStart date filter, e.g. 2023-10-01
limitnumberMaximum number of records to return, max 100 (default 10)
querystringSearch query, e.g. affiliate email
skipnumberNumber of records to skip (default 0)
statusstringFilter by commission status, e.g. pending
toDatestringEnd date filter, e.g. 2023-10-01

ghl_get_affiliate_payouts

List affiliate payouts for the location. Supports filtering and pagination.

ParameterTypeDescription
affiliateIdstringFilter by affiliate ID
campaignIdstringFilter by campaign ID
endstringEnd date-time filter, e.g. 2022-12-31T23:59:59.999Z
limitnumberMaximum number of records to return (default 10)
querystringSearch query
skipnumberNumber of records to skip (default 0)
startstringStart date-time filter, e.g. 2022-12-01T00:00:00.000Z
statusstringFilter by payout status, e.g. pending

ghl_verify_email

Verify email address or contact for deliverability and risk assessment.

ParameterTypeDescription
type *stringEmail Verification type: 'email' for email address or 'contact' for contact ID
verify *stringEmail verification recipient (email address or contactId)

ghl_get_social_accounts

Get connected social media accounts for the location.

ghl_get_social_posts

Get scheduled or published social media posts.

ParameterTypeDescription
fromDate *stringRange start (ISO 8601)
includeUsers *booleanWhether to include user data in the response
toDate *stringRange end (ISO 8601)
accountsarraySocial account IDs to filter by
limitnumber
postTypestringFilter by post type (post, story, or reel)
skipnumber
typestring

ghl_create_social_post

Schedule or publish a social media post.

ParameterTypeDescription
accountIds *arraySocial account IDs to post to
type *stringPost type: post, story, or reel
userId *stringUser ID creating/managing the post
mediaarrayMedia attachments for the post
scheduleDatestringISO 8601 scheduled publish time (omit to post immediately; required if status is scheduled or in_review)
statusstringPost status
summarystringPost caption/body text

ghl_delete_social_post

Delete a scheduled social media post.

ParameterTypeDescription
postId *string

ghl_get_media_files

Get files and folders in the GHL media library.

ParameterTypeDescription
limitnumber
offsetnumber
parentIdstringFolder ID to list contents of
querystringSearch query to filter files by name
sortBystringField to sort by
sortOrderstring
typestringFilter by file type

ghl_delete_media_file

Delete a file or folder from the GHL media library.

ParameterTypeDescription
fileId *stringFile or folder ID to delete

ghl_list_knowledge_bases

List all knowledge bases for the location with cursor-based pagination. Returns KB name, ID, and creation date.

ParameterTypeDescription
lastKnowledgeBaseIdstringID of the last knowledge base from the previous page — use for cursor pagination
limitnumberMaximum number of results to return (default 20)
querystringSearch query to filter knowledge bases by name

ghl_get_knowledge_base

Get a single knowledge base by ID. Returns full details including kbMetadata counts (FAQs, URLs, rich text, files).

ParameterTypeDescription
knowledgeBaseId *stringThe knowledge base ID to retrieve

ghl_create_knowledge_base

Create a new knowledge base for the location. Max 15 knowledge bases per location. Returns the created KB object.

ParameterTypeDescription
name *stringName for the new knowledge base
descriptionstringOptional description for the knowledge base

ghl_update_knowledge_base

Update the name or description of an existing knowledge base. Returns { success: true } on success.

ParameterTypeDescription
knowledgeBaseId *stringThe knowledge base ID to update
descriptionstringNew description for the knowledge base
namestringNew name for the knowledge base

ghl_delete_knowledge_base

Permanently delete a knowledge base and all its content (FAQs, trained URLs, etc.). Returns { success: true } on success.

ParameterTypeDescription
knowledgeBaseId *stringThe knowledge base ID to delete

ghl_list_faqs

List all FAQ question/answer pairs for a knowledge base with cursor-based pagination. Returns count, hasMore, lastFaqId for next page.

ParameterTypeDescription
knowledgeBaseId *stringKnowledge base ID to fetch FAQs from
lastFaqIdstringLast FAQ ID from the previous page — pass to get the next page (cursor pagination)
limitnumberMax FAQs to return per page (default 10)

ghl_create_faq

Create a new FAQ question and answer inside a knowledge base. Returns the created FAQ object with its ID.

ParameterTypeDescription
answer *stringThe FAQ answer text
knowledgeBaseId *stringKnowledge base ID to add the FAQ to
question *stringThe FAQ question text

ghl_update_faq

Update the question and answer of an existing FAQ. Both question and answer are required by the API. Returns { success: true }.

ParameterTypeDescription
answer *stringUpdated answer text
faqId *stringThe FAQ ID to update
question *stringUpdated question text

ghl_delete_faq

Permanently delete an FAQ from a knowledge base by FAQ ID. Returns { success: true } on success.

ParameterTypeDescription
faqId *stringThe FAQ ID to delete

ghl_list_crawler_urls

List all trained page links for a knowledge base. Supports page/pageLength pagination and URL filtering. Use to get urlIds for training or deletion.

ParameterTypeDescription
knowledgeBaseId *stringKnowledge base ID
pagenumberPage number (default 1)
pageLengthnumberRecords per page (default 20)
querystringFilter results by URL substring

ghl_discover_website

Start crawling a website to discover pages for AI training. Returns an operationId — use ghl_get_crawler_status to track progress, then ghl_train_crawler_urls to ingest.

ParameterTypeDescription
knowledgeBaseId *stringKnowledge base ID to add discovered pages to
option *stringCrawl scope: Exact = this URL only; Path = this path and sub-paths; Domain = entire domain
url *stringWebsite URL to start crawling from

ghl_get_crawler_status

Check the status of a website crawling operation. Returns aggregate status counts (Pending, Successful, Failed, etc.) and per-URL details.

ParameterTypeDescription
knowledgeBaseId *stringKnowledge base ID
operationId *stringOperation ID returned from ghl_discover_website — identifies the crawl job

ghl_train_crawler_urls

Ingest a set of discovered page URLs into the knowledge base for AI training. Use urlIds from ghl_list_crawler_urls. Returns { success: true } when training starts.

ParameterTypeDescription
knowledgeBaseId *stringKnowledge base ID
operationId *stringOperation ID from ghl_discover_website
urlIds *arrayArray of URL IDs to train (retrieve IDs via ghl_list_crawler_urls)

ghl_delete_crawler_urls

Remove trained page URLs from a knowledge base. Use urlIds from ghl_list_crawler_urls. Returns { success: true } on success.

ParameterTypeDescription
knowledgeBaseId *stringKnowledge base ID
urlIds *arrayArray of trained URL IDs to remove (retrieve IDs via ghl_list_crawler_urls)

ghl_create_conversation_ai_agent

Create a new Conversation AI agent. Requires name, personality, goal, and instructions. NOTE: unlike most tools in this codebase, no locationId is sent — the upstream API infers it from the auth token.

ParameterTypeDescription
goal *stringThe goal of the agent
instructions *stringInstructions for the agent
name *stringName of the agent
personality *stringPersonality traits of the agent
autoPilotMaxMessagesnumberMax messages in auto-pilot mode before requiring human intervention (max 100, min 1)
businessNamestringName of the business the agent represents
channelsarrayCommunication channels the agent can operate on
isPrimarybooleanWhether this agent is the primary agent
knowledgeBaseIdsarrayArray of knowledge base IDs associated with this agent
modestringMode of operation (default: off)
respondToAudiobooleanAllow agent to respond to audio
respondToImagesbooleanAllow agent to respond to images
sleepEnabledbooleanWhether sleep functionality is enabled (deprecated by upstream API)
sleepOnManualMessagebooleanEnable sleep when a manual outbound message is sent
sleepOnWorkflowMessagebooleanEnable sleep when a workflow outbound message is sent
sleepTimenumberDuration of sleep period, required if sleepEnabled is true
sleepTimeUnitstringUnit of sleep time, required if sleepEnabled is true
waitTimenumberWait time before agent responds (max 5 for minutes, 300 for seconds)
waitTimeUnitstringUnit for wait time

ghl_search_conversation_ai_agents

Search Conversation AI agents. All parameters are optional.

ParameterTypeDescription
limitnumberRecords per page
querystringSearch query on agent name; must be provided in lowercase
startAfterstringAgent ID to start after (pagination cursor); omit for the first page

ghl_get_conversation_ai_agent

Get a Conversation AI agent by ID.

ParameterTypeDescription
agentId *stringThe Conversation AI agent ID

ghl_update_conversation_ai_agent

Update a Conversation AI agent. Only autoPilotMaxMessages is required by the upstream API (all other fields, including name/personality/goal/instructions, are optional on update).

ParameterTypeDescription
agentId *stringThe Conversation AI agent ID
autoPilotMaxMessages *numberMax messages in auto-pilot mode before requiring human intervention (max 100, min 1)
businessNamestringName of the business the agent represents
channelsarrayChannels the agent can use
goalstringThe goal of the agent
instructionsstringInstructions for the agent
isPrimarybooleanWhether this agent is the primary agent
knowledgeBaseIdsarrayArray of knowledge base IDs associated with this agent
modestringMode of operation, required if primary is enabled
namestringName of the agent
personalitystringPersonality traits of the agent
respondToAudiobooleanAllow agent to respond to audio
respondToImagesbooleanAllow agent to respond to images
sleepEnabledbooleanWhether sleep functionality is enabled (deprecated by upstream API)
sleepOnManualMessagebooleanEnable sleep when a manual outbound message is sent
sleepOnWorkflowMessagebooleanEnable sleep when a workflow outbound message is sent
sleepTimenumberDuration of sleep period, required if sleepEnabled is true
sleepTimeUnitstringUnit of sleep time, required if sleepEnabled is true
waitTimenumberWait time before agent responds (max 5 for minutes, 300 for seconds)
waitTimeUnitstringUnit for wait time

ghl_delete_conversation_ai_agent

Delete a Conversation AI agent by ID.

ParameterTypeDescription
agentId *stringThe Conversation AI agent ID

ghl_attach_conversation_ai_action

Attach a new action to a Conversation AI agent. The `details` shape depends on `type` (triggerWorkflow, updateContactField, appointmentBooking, stopBot, humanHandOver, advancedFollowup, transferBot) — pass the fields for the matching action type as an object.

ParameterTypeDescription
agentId *stringThe Conversation AI agent ID
details *objectAction-specific details object; shape depends on type
name *stringName of the action
type *stringType of the action

ghl_list_conversation_ai_agent_actions

List all actions attached to a Conversation AI agent.

ParameterTypeDescription
agentId *stringThe Conversation AI agent ID

ghl_get_conversation_ai_agent_action

Get a single action attached to a Conversation AI agent.

ParameterTypeDescription
actionId *stringThe action ID
agentId *stringThe Conversation AI agent ID

ghl_update_conversation_ai_agent_action

Update an existing action attached to a Conversation AI agent. Requires type, name, and details (the full replacement set) — details shape depends on type, typed permissively here.

ParameterTypeDescription
actionId *stringThe action ID
agentId *stringThe Conversation AI agent ID
details *objectAction-specific details object; shape depends on type
name *stringName of the action
type *stringType of the action

ghl_remove_conversation_ai_agent_action

Remove an action from a Conversation AI agent.

ParameterTypeDescription
actionId *stringThe action ID
agentId *stringThe Conversation AI agent ID

ghl_update_conversation_ai_followup_settings

Update the followup settings for a Conversation AI agent.

ParameterTypeDescription
actionIds *arrayAction IDs this followup settings update applies to
agentId *stringThe Conversation AI agent ID
followupSettings *objectAdditional settings for followup behavior

ghl_get_conversation_ai_generation

Get an AI-generated message for a conversation or workflow message.

ParameterTypeDescription
messageId *stringThe message ID
source *stringSource of the message

ghl_create_voice_ai_action

Create a new Voice AI action attached to an agent. Requires agentId, actionType, name, and actionParameters (shape depends on actionType, typed permissively here).

ParameterTypeDescription
actionParameters *objectAction parameters; shape varies by actionType
actionType *stringType of action
agentId *stringAgent ID to attach the action to
name *stringHuman-readable name for this action

ghl_update_voice_ai_action

Update a Voice AI action. The upstream API requires the full replacement set: agentId, actionType, name, and actionParameters (shape depends on actionType, typed permissively here).

ParameterTypeDescription
actionId *stringThe Voice AI action ID
actionParameters *objectAction parameters; shape varies by actionType
actionType *stringType of action
agentId *stringAgent ID this action is attached to
name *stringHuman-readable name for this action

ghl_get_voice_ai_action

Get a single Voice AI action by ID.

ParameterTypeDescription
actionId *stringThe Voice AI action ID

ghl_delete_voice_ai_action

Delete a Voice AI action. Requires the agentId it's attached to (in addition to the action ID).

ParameterTypeDescription
actionId *stringThe Voice AI action ID
agentId *stringAgent ID this action is attached to

ghl_create_voice_ai_agent

Create a new Voice AI agent. Only locationId (injected automatically) is required by the upstream API; all other fields are optional configuration for the agent.

ParameterTypeDescription
agentNamestringDisplay name for the agent, 1-40 chars. Default: "My Agent {random 3 digit number}"
agentPromptstringCustom instructions defining the agent's behavior and personality
agentWorkingHoursarrayTime intervals defining when the agent accepts calls, by day of week. Default: [] (24/7)
businessNamestringName of the business this agent represents. Default: location name
callEndWorkflowIdsarrayArray of workflow IDs to trigger automatically when calls end (max 10)
inboundNumberstringPhone number for receiving inbound calls to this agent
isAgentAsBackupDisabledbooleanPrevents this agent from being used as a fallback option. Default: false
languagestringLanguage code for the agent's speech and understanding. Default: "en-US"
maxCallDurationnumberMaximum call duration in seconds, 180-900 (3-15 min). Default: 300
numberPoolIdstringIdentifier for the number pool managing phone number allocation
patienceLevelstringTolerance level for caller response delays. Default: "high"
reminderAfterIdleTimeSecondsnumberSeconds to wait before sending idle reminders, 1-20. Default: 8
sendPostCallNotificationToobjectConfiguration for post-call email notifications to various recipients
sendUserIdleRemindersbooleanEnables automatic reminders when callers are silent. Default: true
timezonestringIANA timezone identifier affecting working hours and scheduling. Default: location timezone
translationobjectTranslation settings. Rules: enabled can only be true if agent language isn't en-US; when enabled, language must be the agent's language or en-US and is required.
voiceIdstringIdentifier for the speech synthesis voice. Default: auto generated
welcomeMessagestringInitial greeting spoken when the agent answers calls. Default: auto generated

ghl_get_voice_ai_agents

List Voice AI agents for the location. All parameters besides locationId are optional.

ParameterTypeDescription
pagenumberPage number (1-5000, default 1)
pageSizenumberRecords per page (1-50, default 10)
querystringSearch query on agent name

ghl_update_voice_ai_agent

Update a Voice AI agent's configuration. All fields besides agentId are optional.

ParameterTypeDescription
agentId *stringThe Voice AI agent ID
agentNamestringDisplay name for the agent, 1-40 chars. Default: "My Agent {random 3 digit number}"
agentPromptstringCustom instructions defining the agent's behavior and personality
agentWorkingHoursarrayTime intervals defining when the agent accepts calls, by day of week. Default: [] (24/7)
businessNamestringName of the business this agent represents. Default: location name
callEndWorkflowIdsarrayArray of workflow IDs to trigger automatically when calls end (max 10)
inboundNumberstringPhone number for receiving inbound calls to this agent
isAgentAsBackupDisabledbooleanPrevents this agent from being used as a fallback option. Default: false
languagestringLanguage code for the agent's speech and understanding. Default: "en-US"
maxCallDurationnumberMaximum call duration in seconds, 180-900 (3-15 min). Default: 300
numberPoolIdstringIdentifier for the number pool managing phone number allocation
patienceLevelstringTolerance level for caller response delays. Default: "high"
reminderAfterIdleTimeSecondsnumberSeconds to wait before sending idle reminders, 1-20. Default: 8
sendPostCallNotificationToobjectConfiguration for post-call email notifications to various recipients
sendUserIdleRemindersbooleanEnables automatic reminders when callers are silent. Default: true
timezonestringIANA timezone identifier affecting working hours and scheduling. Default: location timezone
translationobjectTranslation settings. Rules: enabled can only be true if agent language isn't en-US; when enabled, language must be the agent's language or en-US and is required.
voiceIdstringIdentifier for the speech synthesis voice. Default: auto generated
welcomeMessagestringInitial greeting spoken when the agent answers calls. Default: auto generated

ghl_get_voice_ai_agent

Get a Voice AI agent by ID.

ParameterTypeDescription
agentId *stringThe Voice AI agent ID

ghl_delete_voice_ai_agent

Delete a Voice AI agent by ID.

ParameterTypeDescription
agentId *stringThe Voice AI agent ID

ghl_get_voice_ai_call_logs

Get the Voice AI call-log dashboard for the location, with optional filters and pagination. actionType and contactId may be a single value or a comma-separated list of values.

ParameterTypeDescription
actionTypestringFilter by action type(s): CALL_TRANSFER, DATA_EXTRACTION, IN_CALL_DATA_EXTRACTION, WORKFLOW_TRIGGER, SMS, APPOINTMENT_BOOKING, CUSTOM_ACTION, KNOWLEDGE_BASE (comma-separated list supported)
agentIdstringFilter by agent ID
callTypestringFilter by call type
contactIdstringFilter by contact ID (comma-separated list supported)
endDatenumberFilter by end date (epoch millis)
pagenumberPage number (default 1)
pageSizenumberRecords per page (default 10)
sortstringSort direction
sortBystringField to sort by
startDatenumberFilter by start date (epoch millis)

ghl_get_voice_ai_call_log

Get a single Voice AI call log entry by call ID.

ParameterTypeDescription
callId *stringThe call ID

ghl_create_chat_widget

Create a new chat widget for the sub-account. Requires version, chatType, and name; locationId is taken from the connected sub-account.

ParameterTypeDescription
chatType *stringChat type for the widget
name *stringName of the chat widget
version *numberWidget schema version, e.g. 2
defaultbooleanWhether this is the default widget
deletedbooleanWhether the widget is deleted
settingsobjectWidget display/behavior settings (WidgetSettingsDTO) — theme, messages, branding, dimensions, advanced settings, etc. Shape is permissive; see GHL docs for full field list.

ghl_clone_chat_widget

Create a copy of an existing chat widget in the same sub-account. Requires chatWidgetId; locationId is taken from the connected sub-account.

ParameterTypeDescription
chatWidgetId *stringID of the chat widget to clone
namestringName for the cloned widget

ghl_get_chat_widget

Get a single chat widget by ID.

ParameterTypeDescription
id *stringThe chat widget ID

ghl_update_chat_widget

Full update of a chat widget resource (PUT). All fields optional per upstream schema. Note: the upstream spec's UpdateWidgetDTO is byte-identical between PUT and PATCH (same optional properties, no required array on either) — implemented as-is; either this tool or ghl_patch_chat_widget can be used interchangeably.

ParameterTypeDescription
id *stringThe chat widget ID
chatTypestringChat type for the widget
defaultbooleanWhether this is the default widget
namestringName of the chat widget
settingsobjectWidget display/behavior settings (WidgetSettingsDTO) — theme, messages, branding, dimensions, advanced settings, etc. Shape is permissive; see GHL docs for full field list.
versionnumberWidget schema version, e.g. 2

ghl_patch_chat_widget

Partial update of a chat widget resource (PATCH). All fields optional. Note: the upstream spec's UpdateWidgetDTO is byte-identical between PUT and PATCH (same optional properties, no required array on either) — implemented as-is; either this tool or ghl_update_chat_widget can be used interchangeably.

ParameterTypeDescription
id *stringThe chat widget ID
chatTypestringChat type for the widget
defaultbooleanWhether this is the default widget
namestringName of the chat widget
settingsobjectWidget display/behavior settings (WidgetSettingsDTO) — theme, messages, branding, dimensions, advanced settings, etc. Shape is permissive; see GHL docs for full field list.
versionnumberWidget schema version, e.g. 2

ghl_list_chat_widgets

List chat widgets for the sub-account with pagination and optional filters. locationId is taken from the connected sub-account; offset/limit are required by the API.

ParameterTypeDescription
limit *numberPagination limit
offset *numberPagination offset
allInOneChatTypesstringAll-in-one chat type to filter by. Only applies when chatType is "allInOneChat". Supports normal types plus the virtual umbrella "webChat".
chatTypestringFilter by chat type. Supports normal types plus the virtual umbrella "webChat" (maps to facebookChat/emailChat/instagramChat/waChat).
excludeChatTypestringExclude widgets of this chat type
voiceAiAgentIdstringFilter by voice AI agent ID

ghl_get_chat_widget_config

Get widget display configuration by ID. Despite the "public" path segment (/chat-widget/public/config/{id}), this is wired the same way as every other endpoint here — via the authenticated GHL client.

ParameterTypeDescription
id *stringThe chat widget ID
versionstringConfig version to fetch, e.g. "3". Default: "2"

ghl_delete_chat_widget

Soft-delete a chat widget. If it was the default, another widget may be promoted.

ParameterTypeDescription
id *stringThe chat widget ID

ghl_create_agent_studio_agent

Create a new Agent Studio agent with an initial staging version. Requires status and version (an object describing the initial workflow — versionName, nodes, edges, variables, etc.); locationId is taken from the connected sub-account.

ParameterTypeDescription
status *stringStatus of the agent
version *objectVersion data for the agent's initial workflow, including nodes, edges, and configuration (e.g. { versionName, description, nodes, edges, uiNodes, uiEdges, globalVariables, inputVariables, runtimeVaria…
agencyIdstringAgency ID
authorEmailstringAuthor email
authorIdstringAuthor ID
authorNamestringAuthor name
descriptionstringDescription of the agent
namestringName of the agent

ghl_list_agent_studio_agents

List Agent Studio agents for the connected sub-account, with pagination. Optionally filter to only agents with a published production version via isPublished.

ParameterTypeDescription
limit *numberPagination limit
offset *numberPagination offset
isPublishedbooleanIf true, return only agents with a published production version

ghl_get_agent_studio_agent

Get a single Agent Studio agent by ID, including all its non-deleted versions (draft, staging, production). Agent must have active status.

ParameterTypeDescription
agentId *stringThe agent ID

ghl_update_agent_studio_agent_metadata

Update an Agent Studio agent's top-level METADATA — name, description, and/or status. Does NOT touch the agent's workflow definition (nodes/edges/variables); to update the workflow itself, use ghl_update_agent_studio_agent_version instead.

ParameterTypeDescription
agentId *stringThe agent ID
descriptionstringDescription of the agent
namestringName of the agent
statusstringStatus of the agent

ghl_delete_agent_studio_agent

Delete an Agent Studio agent and all of its versions.

ParameterTypeDescription
agentId *stringThe agent ID

ghl_update_agent_studio_agent_version

Update an Agent Studio agent VERSION's workflow definition — nodes, edges, global/input/runtime variables, and global config. This is the WORKFLOW-GRAPH update, distinct from ghl_update_agent_studio_agent_metadata (which only updates name/description/status and does not touch the workflow). Provide the complete nodes/edges arrays including unchanged items — this is a full replace of those fields, not a merge.

ParameterTypeDescription
versionId *stringThe agent version ID
descriptionstringDescription of the version
edgesarrayComplete array of edges connecting the nodes. Provide all edges including unchanged ones. Complex nested structure — modeled permissively.
globalConfigobjectGlobal configuration including prompts and settings.
globalVariablesarrayGlobal variables accessible throughout the agent workflow.
inputVariablesarrayInput variables required from the user at execution time.
nodesarrayComplete array of workflow nodes (start/LLM/etc.). Provide all nodes including unchanged ones. Complex nested structure — modeled permissively.
runtimeVariablesarrayRuntime variables generated during agent execution.
userIdstringUser ID performing the update
userNamestringUser name performing the update
versionNamestringVersion name

ghl_publish_agent_studio_agent

Promote an Agent Studio draft version to production, publishing it. A new draft version is created afterward for future edits.

ParameterTypeDescription
versionId *stringThe draft version ID to promote
userEmailstringUser email performing the promotion
userIdstringUser ID performing the promotion
userNamestringUser name performing the promotion

ghl_execute_agent_studio_agent

Execute an Agent Studio agent and get a non-streaming JSON response. For the first message in a new session, omit executionId; the response returns one to use for subsequent messages in the same session, preserving conversation context.

ParameterTypeDescription
agentId *stringThe agent ID to execute
message *stringMessage to send to the agent
attachmentsarrayAttachments for the message
contactIdstringContact ID to associate with this execution; hydrates contact data for the agent.
executionIdstringSession identifier from a previous response. Omit for the first message in a new session; include it on follow-ups to maintain conversation context.
inputVariablesobjectInput variables to pass to the agent, matching its configured input variables.
versionIdstringPublished version ID to execute. Defaults to the latest published production version.

ghl_create_social_queue

Create a content queue for a social media category. Required fields: categoryId, timeSlots, userId. Optional: enableFuturePosts, prioritizeNewContent.

ParameterTypeDescription
categoryId *stringThe category ID this queue belongs to
timeSlots *arrayRecurring posting time slots for the queue
userId *stringThe user ID that owns/creates the queue
enableFuturePostsbooleanAutomatically queue any new posts created in this category
prioritizeNewContentbooleanPlace new items added via directToQueue at the top of the queue

ghl_get_social_queue_categories

List social media categories available for creating queues. Optional: skip, limit, q (search query).

ParameterTypeDescription
limitnumberMax results to return
qstringSearch query to filter categories
skipnumberNumber of results to skip

ghl_list_social_queues

List content queues for the location. Optional: skip, limit.

ParameterTypeDescription
limitnumberMax results to return
skipnumberNumber of results to skip

ghl_get_social_queue_calendar

Fetch a calendar view of queued posts. Required fields: startDate, endDate. Optional: categoryIds, accountIds.

ParameterTypeDescription
endDate *stringCalendar range end date
startDate *stringCalendar range start date
accountIdsarrayFilter by social account IDs
categoryIdsarrayFilter by category IDs

ghl_delete_social_queue_active_post

Delete the currently active queue post and schedule the next one. Required fields: postId.

ParameterTypeDescription
postId *stringThe active post ID to delete

ghl_get_social_queue

Get a content queue by ID. Required fields: queueId.

ParameterTypeDescription
queueId *stringThe queue ID

ghl_update_social_queue

Update a content queue. Required fields: queueId. Optional: skipLegacyWatermark, status, skipDateTime, timeSlots, enableFuturePosts, prioritizeNewContent.

ParameterTypeDescription
queueId *stringThe queue ID to update
enableFuturePostsbooleanAutomatically queue any new posts created in this category
prioritizeNewContentbooleanPlace new items added via directToQueue at the top of the queue
skipDateTimestringSkip date/time in ISO format
skipLegacyWatermarkbooleanSkip legacy watermark cleanup when rescheduling posts
statusstringQueue status, e.g. "paused"
timeSlotsarrayRecurring posting time slots

ghl_create_social_queue_item

Create a new item in a content queue. Required fields: queueId. Optional: sessionId, modifiedPostPayload, order, variations, primaryImage, directToQueue.

ParameterTypeDescription
queueId *stringThe queue ID to add the item to
directToQueuebooleanWhen true, creates the item directly without requiring an edit session; order is ignored
modifiedPostPayloadobjectNew/modified post details (QueueModifiedPostDTO — deeply nested, passed through as-is)
orderOrder value: a number, or "top" / "bottom"
primaryImagestringPrimary media URL (image). Falls back to modifiedPostPayload.primaryImage if not set.
sessionIdstringEdit session ID
variationsarrayPost content variations (VariationInputDTO[] — passed through as-is)

ghl_get_social_queue_edit_calendar

Fetch a calendar view of an active edit session. Required fields: queueId, sessionId, startDate, endDate. Optional: accountIds.

ParameterTypeDescription
endDate *stringCalendar range end date
queueId *stringThe queue ID
sessionId *stringEdit session ID
startDate *stringCalendar range start date
accountIdsarrayFilter by social account IDs

ghl_discard_social_queue_edit

Discard an active queue edit session. Required fields: queueId, sessionId. Optional: keepInDraft.

ParameterTypeDescription
queueId *stringThe queue ID
sessionId *stringEdit session ID to discard
keepInDraftbooleanKeep discarded changes as a draft

ghl_save_social_queue_edit

Save an active queue edit session. Required fields: queueId, sessionId. Optional: keepInDraft.

ParameterTypeDescription
queueId *stringThe queue ID
sessionId *stringEdit session ID to save
keepInDraftbooleanKeep the saved changes as a draft

ghl_start_social_queue_edit

Start a new edit session for a content queue. Required fields: queueId.

ParameterTypeDescription
queueId *stringThe queue ID to start editing

ghl_get_social_queue_items

List items in a content queue. Required fields: queueId. Optional: sessionId, skip, limit, errorFilter, itemId.

ParameterTypeDescription
queueId *stringThe queue ID
errorFilterbooleanFilter to items with posting errors
itemIdstringFilter to a specific item ID
limitnumberMax results to return
sessionIdstringEdit session ID to scope results to
skipnumberNumber of results to skip

ghl_delete_social_queue_item

Delete an item from a content queue. Required fields: queueId, itemId. Optional: sessionId.

ParameterTypeDescription
itemId *stringThe queue item ID to delete
queueId *stringThe queue ID
sessionIdstringEdit session ID

ghl_update_social_queue_item

Update an item in a content queue. Required fields: queueId, itemId. Optional: sessionId, modifiedPostPayload, newOrder, variations, primaryImage.

ParameterTypeDescription
itemId *stringThe queue item ID to update
queueId *stringThe queue ID
modifiedPostPayloadobjectNew/modified post details (QueueModifiedPostDTO — deeply nested, passed through as-is)
newOrderOrder value: a number, or "top" / "bottom"
primaryImagestringPrimary media URL (image)
sessionIdstringEdit session ID
variationsarrayPost content variations (VariationInputDTO[] — passed through as-is)

ghl_clone_social_queue_item

Clone an item in a content queue. Required fields: queueId, itemId, sessionId, order.

ParameterTypeDescription
itemId *stringThe queue item ID to clone
order *numberOrder value for the cloned item
queueId *stringThe queue ID
sessionId *stringEdit session ID

ghl_reset_social_queue_item

Reset an item in a content queue back to its original state. Required fields: queueId, itemId. Optional: sessionId.

ParameterTypeDescription
itemId *stringThe queue item ID to reset
queueId *stringThe queue ID
sessionIdstringEdit session ID

ghl_get_social_queue_slots

List available posting slots for a content queue. Required fields: queueId. Optional: sessionId, skip, limit.

ParameterTypeDescription
queueId *stringThe queue ID
limitnumberMax results to return
sessionIdstringEdit session ID to scope results to
skipnumberNumber of results to skip

ghl_create_social_comment

Create a new comment on a social media post. Required fields: platform, parentId, isParentThread, content. Optional: attachments, mentions, notifyAllGroupMembers.

ParameterTypeDescription
content *stringComment text content
isParentThread *booleanWhether the parent is a thread (true) or a single post (false)
parentId *stringID of the parent post or comment
platform *stringSocial media platform (e.g., 'facebook', 'instagram')
attachmentsarrayURLs of media attachments (images, videos)
mentionsarrayList of user IDs or handles to mention
notifyAllGroupMembersbooleanWhether to notify all group members of this comment

ghl_list_social_comments

List comments for one or more social media posts. Required fields: platform, originIds. Optional: fromDate, toDate, sortBy, search, skip, limit, parentId.

ParameterTypeDescription
originIds *arrayArray of post/origin IDs to fetch comments for
platform *stringSocial media platform (e.g., 'facebook', 'instagram')
fromDatestringFilter comments from this date (ISO format)
limitnumberMax results to return
parentIdstringFilter to comments on a specific parent post/comment
searchstringSearch query to filter comments by text
skipnumberNumber of results to skip (pagination)
sortBystringSort order for comments (e.g., 'date', 'likes')
toDatestringFilter comments until this date (ISO format)

ghl_like_social_comment

Like a social media comment. Required fields: platform, id. Supported platforms for like/unlike: facebook, linkedin, community, tiktok, bluesky (instagram is NOT supported for liking/unliking, though it is supported for creating/listing comments).

ParameterTypeDescription
id *stringThe comment ID to like
platform *stringSocial media platform that supports liking comments (e.g., 'facebook', 'linkedin', 'community', 'tiktok', 'bluesky' — instagram is not supported)

ghl_unlike_social_comment

Unlike a social media comment. Required fields: platform, id. Supported platforms for like/unlike: facebook, linkedin, community, tiktok, bluesky (instagram is NOT supported for liking/unliking, though it is supported for creating/listing comments).

ParameterTypeDescription
id *stringThe comment ID to unlike
platform *stringSocial media platform that supports unliking comments (e.g., 'facebook', 'linkedin', 'community', 'tiktok', 'bluesky' — instagram is not supported)

ghl_start_social_oauth

Step 1 of 3 in the OAuth account-connection flow: start OAuth for a social platform. This returns a URL meant to be opened in a browser window (not called via a plain HTTP client) so the user can authenticate with the platform; the OAuth window then posts back an accountId used for Step 2 (ghl_get_social_oauth_accounts) and Step 3 (ghl_connect_social_oauth_account). Required: platform, userId. Optional: page, reconnect. Not to be confused with ghl_set_social_accounts, which associates accounts with an already-uploaded CSV import job, not the OAuth flow.

ParameterTypeDescription
platform *stringSocial platform to start OAuth for (bluesky is not supported and will error)
userId *stringThe user ID initiating the OAuth flow
pagestringPage context to return to after OAuth completes
reconnectstringAccount ID(s) being reconnected, if this is a reconnect flow

ghl_get_social_oauth_accounts

Step 2 of 3 in the OAuth account-connection flow: after the user completes OAuth (ghl_start_social_oauth), list the pages/channels/locations available to connect for the given platform and accountId returned by Step 1. Use the result to pick the account/page to connect via ghl_connect_social_oauth_account (Step 3). Required: platform, accountId. Optional: search.

ParameterTypeDescription
accountId *stringThe accountId returned from Step 1 (ghl_start_social_oauth)
platform *stringSocial platform
searchstringSearch query to filter available accounts/pages

ghl_connect_social_oauth_account

Step 3 of 3 in the OAuth account-connection flow: connect the account/page selected in Step 2 (ghl_get_social_oauth_accounts) to this location. The upstream request body is a `oneOf` of 8 platform-specific DTOs, selected by the `platform` path param — required fields differ per platform: - facebook: type, originId, name, avatar (all required) - instagram: pageId (required only). originId/name/avatar optional. - google: location, account (both required, nested objects) - pinterest: originId (required only). name/avatar/verified/username/websiteUrl/companyId/type/originAccountType opti…

ParameterTypeDescription
accountId *stringThe accountId returned from Step 1 to attach
platform *stringSocial platform
accountobjectREQUIRED for google: Google Business Profile account object
avatarstringAvatar/profile image URL
companyIdstringPinterest company/business ID (pinterest only)
locationobjectREQUIRED for google: Google Business Profile location object
namestringDisplay name of the account/page being connected
originAccountTypestringPinterest origin account type (pinterest only)
originIdstringPlatform-native ID of the page/channel/account being connected (all platforms except google)
pageIdstringREQUIRED for instagram: the linked Facebook Page ID
typestringAccount type, e.g. 'page' (facebook/linkedin/tiktok/youtube/threads/pinterest)
urnstringREQUIRED for linkedin: the LinkedIn URN, e.g. 'urn:li:organization:12345'
usernamestringPlatform username/handle (pinterest/tiktok/youtube)
verifiedbooleanVerified badge flag (pinterest/tiktok/youtube)
websiteUrlstringAccount website URL (pinterest only)

ghl_delete_social_account

Delete a connected social media account (and remove it from its group). Required: id. Optional: companyId, userId.

ParameterTypeDescription
id *stringThe connected account ID to delete
companyIdstringCompany ID (agency-level context)
userIdstringUser ID performing the deletion

ghl_set_social_accounts

Associate connected social accounts with an already-uploaded CSV bulk-import job (the CSV upload itself is a separate flow, not covered by this tool) so the platform knows which accounts to publish the CSV's posts to. This is NOT the OAuth account-connection flow — use ghl_start_social_oauth / ghl_get_social_oauth_accounts / ghl_connect_social_oauth_account to connect a new account. Required: accountIds, filePath, rowsCount, fileName, userId. Optional: approver, csvFileType.

ParameterTypeDescription
accountIds *arrayConnected account IDs to publish the CSV's posts to
fileName *stringName of the uploaded CSV file
filePath *stringPath of the already-uploaded CSV file
rowsCount *numberNumber of rows in the uploaded CSV
userId *stringUser ID performing the import
approverstringUser ID required to approve posts from this import
csvFileTypestringCSV file type/template identifier

ghl_get_social_categories

List social media categories for this location, with optional search and pagination. Optional: searchText, limit, skip.

ParameterTypeDescription
limitnumberMax results to return
searchTextstringSearch query to filter categories
skipnumberNumber of results to skip (pagination)

ghl_get_social_category

Get a single social media category by ID. Required: id.

ParameterTypeDescription
id *stringThe category ID

ghl_get_social_tags

List social media tags for this location, with optional search and pagination. Optional: searchText, limit, skip.

ParameterTypeDescription
limitnumberMax results to return
searchTextstringSearch query to filter tags
skipnumberNumber of results to skip (pagination)

ghl_get_social_tags_by_ids

Get multiple social media tags by their IDs. Required: tagIds.

ParameterTypeDescription
tagIds *arrayTag IDs to fetch

ghl_upload_social_csv

Step 1 of the CSV bulk-import flow: upload a CSV file of social media posts for this location. Takes raw CSV text content (not a file path — this server has no filesystem access to a client's local files) and a filename; sends it upstream as a multipart/form-data request with a binary `file` field. After upload, use ghl_get_social_csv_upload_status / ghl_get_social_csv_post to inspect the parsed rows, then ghl_finalize_social_csv to commit the import. Required: csvContent, filename.

ParameterTypeDescription
csvContent *stringRaw CSV file content (not a file path)
filename *stringFilename to report for the uploaded CSV, e.g. 'posts.csv'

ghl_get_social_csv_upload_status

List CSV bulk-import jobs (uploads) for this location, with pagination and filters. Required: userId. Optional: skip, limit, includeUsers, isFromTemplate.

ParameterTypeDescription
userId *stringUser ID to filter CSV uploads by
includeUsersbooleanInclude uploader user details in the response
isFromTemplatebooleanFilter to uploads created from a template
limitnumberMax results to return
skipnumberNumber of results to skip (pagination)

ghl_get_social_csv_post

Get the parsed rows/posts of a single CSV bulk-import job by ID, with pagination. Required: id. Optional: skip, limit.

ParameterTypeDescription
id *stringThe CSV upload job ID
limitnumberMax results to return
skipnumberNumber of results to skip (pagination)

ghl_finalize_social_csv

Finalize (commit) a CSV bulk-import job, scheduling/publishing its parsed posts. Required: id, userId.

ParameterTypeDescription
id *stringThe CSV upload job ID to finalize
userId *stringUser ID finalizing the import

ghl_delete_social_csv

Delete a CSV bulk-import job entirely (all its parsed posts). Required: id.

ParameterTypeDescription
id *stringThe CSV upload job ID to delete

ghl_delete_social_csv_post

Delete a single post row from a CSV bulk-import job (without deleting the whole job). Required: csvId, postId.

ParameterTypeDescription
csvId *stringThe CSV upload job ID
postId *stringThe post row ID within the CSV job to delete

ghl_bulk_delete_social_posts

Delete multiple social media posts by ID in a single request. Optional: postIds. Passing an empty array or omitting postIds entirely is presumed a no-op upstream.

ParameterTypeDescription
postIdsarrayPost IDs to delete

ghl_get_social_post

Get a single social media post by ID. Required: id.

ParameterTypeDescription
id *stringThe post ID

ghl_update_social_post

Update an existing social media post (content, schedule, status, media, platform-specific details, etc). This PUT endpoint is a full-document replace (CreatePostDTO), so omitted optional fields may clear existing values upstream — pass through previously-set fields you want to preserve. Required: id, type, accountIds, userId. Optional: summary, media, status, scheduleDate, selectedBestTime, createdBy, followUpComment, ogTagsDetails, postApprovalDetails, scheduleTimeUpdated, tags, categoryId, applyWatermark, tiktokPostDetails, gmbPostDetails, linkedinPostDetails, pinterestPostDetails, faceboo…

ParameterTypeDescription
accountIds *arrayConnected social account IDs to publish to
id *stringThe post ID to update
type *stringPost type: post, story, or reel
userId *stringUser ID performing the update
applyWatermarkbooleanApply watermark to media in this post (images only)
categoryIdstringCategory ID to attach to the post
createdBystringUser ID of the post's original creator (MongoDB ObjectId)
facebookPostDetailsobjectFacebook-specific post configuration (FacebookPostSchema)
followUpCommentstringFollow-up comment to post immediately after the main post (Facebook, Instagram, LinkedIn, YouTube only)
gmbPostDetailsobjectGoogle Business Profile-specific post configuration (GMBPostSchema)
instagramPostDetailsobjectInstagram-specific post configuration (InstagramPostSchema)
linkedinPostDetailsobjectLinkedIn-specific post configuration (LinkedinPostSchema)
mediaarrayMedia attachments for the post
ogTagsDetailsobjectOpen Graph tags metadata (OgTagsSchema) — e.g. metaImage, metaLink, ogTitle, ogDescription
pinterestPostDetailsobjectPinterest-specific post configuration (PinterestPostSchema)
postApprovalDetailsobjectPost approval workflow details (PostApprovalSchema) — e.g. approver, approvalStatus
scheduleDatestringISO 8601 scheduled publish time (required if status is scheduled or in_review)
scheduleTimeUpdatedbooleanFlag indicating the schedule datetime was manually updated (for tracking rescheduled posts)
selectedBestTimestringSelected best-time slot for scheduling (ISO 8601)
statusstringPost status
summarystringPost content/caption text
tagsarrayTag IDs to attach to the post
tiktokPostDetailsobjectTikTok-specific post configuration (TiktokPostSchema)
youtubePostDetailsobjectYouTube-specific post configuration (YoutubePostSchema)

ghl_get_social_statistics

Get engagement/analytics statistics for connected social accounts, optionally filtered by platform and date range (defaults to the last 7 days vs. the prior 7 days if no currentRange is given). Required: profileIds (1-100 account IDs, from the profileId field of ghl_get_social_accounts). Optional: platforms, currentRange, prevRange (prevRange only applies when currentRange is also given).

ParameterTypeDescription
profileIds *array1-100 connected social account IDs (profileId from the accounts API) to fetch analytics for
currentRangeobjectCustom date range for the current period (defaults to last 7 days if omitted)
platformsarrayFilter by platform(s); defaults to all platforms if omitted
prevRangeobjectComparison date range; only used when currentRange is also given

ghl_get_facebook_ad_accounts

List Facebook ad accounts connected to a location. Optional filters: type, next (pagination cursor), fetchAll, limit.

ParameterTypeDescription
fetchAllstringWhether to fetch all ad accounts
limitstringMax number of results to return
nextstringPagination cursor for the next page
typestringFilter by ad account type

ghl_get_facebook_ad_account

Get a single Facebook ad account by ID. Required fields: adAccountId. Optional: isDraft.

ParameterTypeDescription
adAccountId *stringThe Facebook ad account ID
isDraftbooleanWhether to fetch the draft version

ghl_delete_facebook_ad_account

Delete a Facebook ad account. Required fields: adAccountId.

ParameterTypeDescription
adAccountId *stringThe Facebook ad account ID to delete

ghl_create_facebook_integration

Create a Facebook ad-publishing integration for a location. Required fields: pageId. Optional: adAccountId.

ParameterTypeDescription
pageId *stringThe Facebook page ID to integrate
adAccountIdstringThe Facebook ad account ID to link

ghl_get_facebook_integration

Get the Facebook ad-publishing integration for a location. Optional: isDraft.

ParameterTypeDescription
isDraftbooleanWhether to fetch the draft version

ghl_delete_facebook_integration

Delete the Facebook ad-publishing integration for a location.

ghl_get_facebook_me

Get the Facebook identity (user/page) associated with the location's ad-publishing integration. Optional: isDraft.

ParameterTypeDescription
isDraftbooleanWhether to fetch the draft version

ghl_get_facebook_entity

List Facebook ad entities (campaigns, ad sets, or ads). Required fields: type (AD_MANAGER, INTEGRATION), entityType (CAMPAIGN, ADSET, AD). Optional: next, fetchAll, campaignId, adSetId, searchId, selectedAdAccountId.

ParameterTypeDescription
entityType *stringThe entity level to list
type *stringThe Facebook connection type
adSetIdstringFilter ads by ad set ID
campaignIdstringFilter ad sets/ads by campaign ID
fetchAllstringWhether to fetch all entities
nextstringPagination cursor for the next page
searchIdstringFilter by search ID
selectedAdAccountIdstringThe selected ad account ID

ghl_get_facebook_pages

List Facebook pages available to a location. Optional: fetchExisting.

ParameterTypeDescription
fetchExistingstringWhether to include already-connected pages

ghl_delete_facebook_page

Disconnect a Facebook page from a location. Required fields: pageId.

ParameterTypeDescription
pageId *stringThe Facebook page ID to disconnect

ghl_set_default_facebook_page

Set the default Facebook page for a location. Required fields: pageId. Optional: isDraft.

ParameterTypeDescription
pageId *stringThe Facebook page ID to set as default
isDraftbooleanWhether to apply this to the draft version

ghl_get_facebook_page_forms

List lead forms for a Facebook page. Required fields: pageId. Optional: isDraft.

ParameterTypeDescription
pageId *stringThe Facebook page ID
isDraftbooleanWhether to fetch the draft version

ghl_create_facebook_page_form

Create a Facebook lead form on a page. Required fields: pageId, type (MORE_VOLUME, HIGHER_INTENT), name, questions, privacyPolicyLink, thankYouPage. Optional: questionPageHeadline, privacyPolicyText, greetingCard, customDisclaimer, isDraft, draftFormId, locale.

ParameterTypeDescription
name *stringThe lead form name
pageId *stringThe Facebook page ID to create the form on
privacyPolicyLink *stringPrivacy policy URL
questions *arrayList of questions displayed on the lead form
thankYouPage *objectThank you page configuration
type *stringThe lead form type
customDisclaimerobjectCustom disclaimer configuration
draftFormIdstringDraft form ID
greetingCardobjectGreeting card configuration
isDraftbooleanIf the form is a draft, set to true
localestringLocale, e.g. EN_US
privacyPolicyTextstringPrivacy policy text
questionPageHeadlinestringQuestion page headline

ghl_get_facebook_page_instagram_accounts

List Instagram accounts linked to a Facebook page. Required fields: pageId. Optional: type (INTEGRATION, AD_MANAGER).

ParameterTypeDescription
pageId *stringThe Facebook page ID
typestringFilter by connection type

ghl_get_facebook_campaign

Get a single Facebook campaign by ID. Required fields: campaignId. Optional: fields, source.

ParameterTypeDescription
campaignId *stringThe Facebook campaign ID
fieldsstringComma-separated list of fields to return
sourcestringCampaign data source

ghl_upsert_facebook_campaign

Create or update a Facebook campaign. Pass id to update an existing campaign, or omit it to create a new one. Optional: name, objective (OUTCOME_LEADS, OUTCOME_TRAFFIC, OUTCOME_ENGAGEMENT, OUTCOME_SALES), specialAdCategories, source.

ParameterTypeDescription
idstringCampaign ID — provide to update, omit to create
namestringCampaign name
objectivestringCampaign objective
sourcestringCampaign data source
specialAdCategoriesarraySpecial ad categories

ghl_delete_facebook_campaign

Delete a Facebook campaign. Required fields: campaignId.

ParameterTypeDescription
campaignId *stringThe Facebook campaign ID to delete

ghl_duplicate_facebook_campaign

Duplicate a Facebook campaign. Required fields: campaignId.

ParameterTypeDescription
campaignId *stringThe Facebook campaign ID to duplicate

ghl_pause_facebook_campaign

Pause a Facebook campaign. Required fields: campaignId.

ParameterTypeDescription
campaignId *stringThe Facebook campaign ID to pause

ghl_publish_facebook_campaign

Publish a Facebook campaign. Required fields: campaignId.

ParameterTypeDescription
campaignId *stringThe Facebook campaign ID to publish

ghl_get_facebook_campaign_publishing_progress

Get the publishing progress of a Facebook campaign. Required fields: campaignId. Optional: isDraft.

ParameterTypeDescription
campaignId *stringThe Facebook campaign ID
isDraftbooleanWhether to fetch the draft version

ghl_resume_facebook_campaign

Resume a paused Facebook campaign. Required fields: campaignId.

ParameterTypeDescription
campaignId *stringThe Facebook campaign ID to resume

ghl_upsert_facebook_adset

Create or update a Facebook ad set. Pass id to update an existing ad set, or omit it to create a new one. Required fields: campaignId. Optional: name, pageId, instagramActorId, messagingPlatforms (WHATSAPP, MESSENGER, INSTAGRAM_DIRECT), whatsappNumber, audience, budget, conversionLocation, customEventType, pixelId.

ParameterTypeDescription
campaignId *stringThe parent campaign ID
audienceobjectTargeting audience configuration (geo-locations, locales, placements, custom audiences)
budgetobjectAd set budget configuration
conversionLocationstringConversion location
customEventTypestringCustom event type
idstringAd set ID — provide to update, omit to create
instagramActorIdstringInstagram actor ID
messagingPlatformsarrayMessaging platforms
namestringAd set name
pageIdstringFacebook page ID
pixelIdstringConversion pixel ID
whatsappNumberstringWhatsApp phone number

ghl_delete_facebook_adset

Delete a Facebook ad set. Required fields: adSetId.

ParameterTypeDescription
adSetId *stringThe Facebook ad set ID to delete

ghl_duplicate_facebook_adset

Duplicate a Facebook ad set. Required fields: adSetId.

ParameterTypeDescription
adSetId *stringThe Facebook ad set ID to duplicate

ghl_pause_facebook_adset

Pause a Facebook ad set. Required fields: adSetId.

ParameterTypeDescription
adSetId *stringThe Facebook ad set ID to pause

ghl_resume_facebook_adset

Resume a paused Facebook ad set. Required fields: adSetId.

ParameterTypeDescription
adSetId *stringThe Facebook ad set ID to resume

ghl_upsert_facebook_ad

Create or update a Facebook ad. Pass id to update an existing ad, or omit it to create a new one. Required fields: campaignId, adsetId. Optional: name, primaryText, headline, description, imageUrl, mediaType (SINGLE, CAROUSEL), media, multiAdvertiserAds, cta, conversationFormId, destinationLink, destinationFormId.

ParameterTypeDescription
adsetId *stringThe parent ad set ID
campaignId *stringThe parent campaign ID
conversationFormIdstringConversation form ID
ctastringCall to action type
descriptionstringAd description text
destinationFormIdstringDestination form ID
destinationLinkstringDestination link URL
headlinestringAd headline text
idstringAd ID — provide to update, omit to create
imageUrlstringAd image URL
mediaarrayMedia items (images or videos) attached to the ad creative
mediaTypestringAd media type
multiAdvertiserAdsbooleanEnable multi-advertiser ads
namestringAd name
primaryTextstringAd primary text

ghl_delete_facebook_ad

Delete a Facebook ad. Required fields: adId.

ParameterTypeDescription
adId *stringThe Facebook ad ID to delete

ghl_duplicate_facebook_ad

Duplicate a Facebook ad. Required fields: adId.

ParameterTypeDescription
adId *stringThe Facebook ad ID to duplicate

ghl_pause_facebook_ad

Pause a Facebook ad. Required fields: adId.

ParameterTypeDescription
adId *stringThe Facebook ad ID to pause

ghl_resume_facebook_ad

Resume a paused Facebook ad. Required fields: adId.

ParameterTypeDescription
adId *stringThe Facebook ad ID to resume

ghl_get_facebook_custom_audiences

Get Facebook custom audiences for a location. Required fields: type, adAccountId. Optional: source.

ParameterTypeDescription
adAccountId *stringFacebook ad account ID
type *stringCustom audience type filter
sourcestringAudience data source

ghl_delete_facebook_custom_audience

Delete a Facebook custom audience. Required fields: audienceId. Optional: isDraft.

ParameterTypeDescription
audienceId *stringThe Facebook custom audience ID to delete
isDraftbooleanWhether to delete the draft version

ghl_update_facebook_custom_audience

Update a Facebook custom audience's name and description. Required fields: audienceId, name. Optional: description.

ParameterTypeDescription
audienceId *stringThe Facebook custom audience ID to update
name *stringAudience name
descriptionstringAudience description

ghl_get_facebook_custom_audience

Get a single Facebook custom audience by ID. Required fields: audienceId. Optional: isDraft.

ParameterTypeDescription
audienceId *stringThe Facebook custom audience ID
isDraftbooleanWhether to fetch the draft version

ghl_add_facebook_custom_audience_member

Add a contact to a Facebook custom audience. Required fields: audienceId, contactId. Optional: fbAdAccountId.

ParameterTypeDescription
audienceId *stringThe Facebook custom audience ID
contactId *stringThe contact ID to add to the audience
fbAdAccountIdstringFacebook ad account ID

ghl_remove_facebook_custom_audience_member

Remove a contact from a Facebook custom audience. Required fields: audienceId, contactId. Optional: fbAdAccountId.

ParameterTypeDescription
audienceId *stringThe Facebook custom audience ID
contactId *stringThe contact ID to remove from the audience
fbAdAccountIdstringFacebook ad account ID

ghl_batch_update_facebook_custom_audience_members

Batch add or remove members of a Facebook custom audience via CSV, smartlists, or a dynamic audience. Required fields: audienceId, operationType. Optional: csvPath, smartlistIds, dynamicAudience.

ParameterTypeDescription
audienceId *stringThe Facebook custom audience ID
operationType *stringBatch operation type (e.g. ADD, REMOVE)
csvPathstringCSV file path containing the members to update
dynamicAudiencestringDynamic audience flag (spec models this as a string, e.g. "true")
smartlistIdsarraySmartlist IDs to source members from

ghl_get_facebook_pixels

Get Facebook conversion pixels for a location. Optional: channel, pageId, igUserId.

ParameterTypeDescription
channelstringChannel filter
igUserIdstringInstagram user ID filter
pageIdstringFacebook page ID filter

ghl_upsert_facebook_pixel

Create or update a Facebook conversion pixel. Pass conversionPixelId to update an existing pixel, or omit it to create a new one. Required fields: type. Optional: name, igUserId.

ParameterTypeDescription
type *stringPixel event type (e.g. LEAD_EVENT)
conversionPixelIdstringConversion pixel ID — provide to update, omit to create
igUserIdstringInstagram user ID
namestringPixel name

ghl_get_facebook_conversation_forms

Get Facebook conversation forms for a location. Optional: isDraft.

ParameterTypeDescription
isDraftbooleanWhether to fetch draft versions

ghl_create_facebook_conversation_form

Create a Facebook conversation form. Required fields: name, text, questions (array of {question, response?}).

ParameterTypeDescription
name *stringConversation form name
questions *arrayQuick-reply questions shown in the welcome message
text *stringWelcome message text

ghl_get_facebook_lead_form

Get a single Facebook lead form by ID. Required fields: leadFormId. Optional: isDraft.

ParameterTypeDescription
leadFormId *stringThe Facebook lead form ID
isDraftbooleanWhether to fetch the draft version

ghl_get_facebook_reporting

Get Facebook ad reporting data with aggregation. Required fields: fields (array), groupBy, startDate, endDate, type.

ParameterTypeDescription
endDate *stringEnd date for the report (YYYY-MM-DD format)
fields *arrayFields to include in the report
groupBy *stringGroup results by time period
startDate *stringStart date for the report (YYYY-MM-DD format)
type *stringReport type

ghl_get_facebook_campaign_reporting

Get reporting data for a specific Facebook campaign. Required fields: campaignId, startDate, endDate.

ParameterTypeDescription
campaignId *stringFacebook campaign ID
endDate *stringEnd date for the report (YYYY-MM-DD format)
startDate *stringStart date for the report (YYYY-MM-DD format)

ghl_get_facebook_reporting_list

Get a list of Facebook reporting data (campaigns, ad sets, or ads). Required fields: listType, startDate, endDate, type. Optional: campaignId.

ParameterTypeDescription
endDate *stringEnd date for the report (YYYY-MM-DD format)
listType *stringList type (e.g. CAMPAIGNS, ADSETS, ADS)
startDate *stringStart date for the report (YYYY-MM-DD format)
type *stringReport type
campaignIdstringFilter by campaign ID

ghl_search_facebook_targeting

Search Facebook targeting options (interests, behaviors, demographics). Required fields: type, query. Optional: locationId, searchType.

ParameterTypeDescription
query *stringSearch query string
type *stringTargeting type (e.g. INTERESTS, BEHAVIORS, DEMOGRAPHICS)
locationIdstringLocation ID (defaults to config location if not provided)
searchTypestringSearch type (e.g. KEYWORD)

ghl_get_google_ad_accounts

List Google ad accounts connected to a location. Optional filter: type.

ParameterTypeDescription
typestringFilter by ad account type

ghl_get_google_ad_account

Get a single Google ad account by ID. Required fields: adAccountId. Optional: isDraft.

ParameterTypeDescription
adAccountId *stringThe Google ad account ID
isDraftbooleanWhether to fetch the draft version

ghl_delete_google_ad_account

Delete a Google ad account. Required fields: adAccountId.

ParameterTypeDescription
adAccountId *stringThe Google ad account ID to delete

ghl_create_google_integration

Create a Google ad-publishing integration for a location. Required fields: adAccountId, mccId.

ParameterTypeDescription
adAccountId *stringThe Google ad account ID to link
mccId *stringThe Google MCC (My Client Center) ID

ghl_get_google_integration

Get the Google ad-publishing integration for a location. Optional: isDraft.

ParameterTypeDescription
isDraftbooleanWhether to fetch the draft version

ghl_get_google_me

Get the Google identity associated with the location's ad-publishing integration. Optional: isDraft.

ParameterTypeDescription
isDraftbooleanWhether to fetch the draft version

ghl_get_google_entity

List Google ad entities (campaigns, ad groups, or ads). Required fields: type (AD_MANAGER, INTEGRATION), entityType (CAMPAIGN, ADGROUP, AD). Optional: campaignId, adGroupId, searchId, startDate, endDate, selectedAdAccountId.

ParameterTypeDescription
entityType *stringThe entity level to list
type *stringThe Google connection type
adGroupIdstringFilter ads by ad group ID
campaignIdstringFilter ad groups/ads by campaign ID
endDatestringEnd date filter (YYYY-MM-DD format)
searchIdstringFilter by search ID
selectedAdAccountIdstringThe selected ad account ID
startDatestringStart date filter (YYYY-MM-DD format)

ghl_upsert_google_campaign

Create or update a Google Ads campaign. Pass id to update an existing campaign, or omit it to create a new one. Required fields: name, advertisingChannelType (SEARCH, DISCOVERY, DISPLAY, HOTEL, LOCAL, MULTI_CHANNEL, PERFORMANCE_MAX, DEMAND_GEN). Optional: advertisingChannelSubType (DEMAND_GEN), goalType (WEBSITE_TRAFFIC, LEAD), budget, audience, networkSettings, biddingStrategy, assets, isEuPoliticalAds, adGroups, campaignGoal, adSchedule, publishingStatus (DRAFT, SCHEDULED, PUBLISHED, PUBLISHING, FAILED, IN_REVIEW, PAUSED, ARCHIVED, WITH_ISSUES, REJECTED), googleAdAccountId, unpublishedChange…

ParameterTypeDescription
advertisingChannelType *stringAdvertising channel type
name *stringCampaign name
adGroupsarrayAd groups within the campaign
adSchedulearrayAd schedule entries
advancedOptionsobjectAdvanced campaign options
advertisingChannelSubTypestringAdvertising channel sub type
assetsobjectCampaign-level assets configuration
audienceobjectTargeting audience configuration
biddingStrategyobjectBidding strategy configuration
budgetobjectCampaign budget configuration
campaignGoalobjectCampaign goal configuration
goalTypestringCampaign goal type
googleAdAccountIdstringGoogle ad account ID
googleCampaignIdstringGoogle's own campaign ID
idstringCampaign ID — provide to update, omit to create
isEuPoliticalAdsbooleanWhether this is an EU political ad
maximumCpcnumberMaximum cost-per-click bid
networkSettingsobjectNetwork settings configuration
publishingStatusstringPublishing status
sourcestringCampaign data source
unpublishedChangesbooleanWhether there are unpublished changes

ghl_get_google_campaign

Get a single Google Ads campaign by ID. Required fields: adId. Optional: isDraft.

ParameterTypeDescription
adId *stringThe Google ad/campaign ID
isDraftbooleanWhether to fetch the draft version

ghl_publish_google_campaign

Publish a Google Ads campaign and push it live. Required fields: adId.

ParameterTypeDescription
adId *stringThe Google ad/campaign ID to publish

ghl_get_google_assets

List Google Ads creative assets. Required fields: type (CALL, SITELINK, LEAD_FORM, IMAGE, TEXT). Optional: id, advertiserOnly.

ParameterTypeDescription
type *stringAsset type to list
advertiserOnlystringWhether to only return advertiser-owned assets (e.g. "true")
idstringFilter by a specific asset ID

ghl_upsert_google_assets

Create or update a Google Ads creative asset. Required fields: type (CALL, SITELINK, LEAD_FORM), payload (shape depends on type — CallAssetPayload for CALL, SitelinkAssetPayload for SITELINK, LeadFormAssetPayload for LEAD_FORM). Include a resourceName inside payload to update an existing asset, or omit it to create a new one.

ParameterTypeDescription
payload *objectAsset payload — shape depends on type. Include resourceName to update an existing asset.
type *stringAsset type to create or update

ghl_get_google_keyword_ideas

Get Google Ads keyword ideas for a target URL. Required fields: url. Optional: languageCode, locations, keywords, isDraft.

ParameterTypeDescription
url *stringTarget URL to generate keyword ideas for
isDraftbooleanWhether to fetch the draft version
keywordsarraySeed keywords
languageCodestringLanguage code (e.g. en)
locationsarrayTarget locations

ghl_upsert_google_audience

Create or update a Google Ads audience. Pass resourceName to update an existing audience, or omit it to create a new one. Required fields: name. Optional: dimensions, exclusionDimension.

ParameterTypeDescription
name *stringAudience name
dimensionsobjectAudience dimensions
exclusionDimensionobjectExclusion dimensions
resourceNamestringGoogle Ads resource name — provide to update, omit to create

ghl_get_google_audiences

List Google Ads audiences for the location. Optional: isDraft.

ParameterTypeDescription
isDraftbooleanWhether to fetch draft versions

ghl_get_google_audience

Get a single Google Ads audience by ID. Required fields: audienceId. Optional: isDraft.

ParameterTypeDescription
audienceId *stringThe Google Ads audience ID
isDraftbooleanWhether to fetch the draft version

ghl_get_google_segments

List Google Ads segments for the location. Optional: type.

ParameterTypeDescription
typestringFilter by segment type

ghl_upsert_google_segment

Create or update a Google Ads segment. Pass id in the body to update an existing segment, or omit it to create a new one. Required fields: type (CUSTOM_SEGMENTS, WEBSITE_VISITOR, CUSTOMER_MATCH, LOOKALIKE), name. Optional: description, members, status, id, membershipStatus, ruleBasedUserList, membershipLifeSpan, seedUserListIds, countryCodes, expansionLevel (BALANCED, BROAD, NARROW).

ParameterTypeDescription
name *stringSegment name
type *stringSegment type
countryCodesarrayCountry codes
descriptionstringSegment description
expansionLevelstringLookalike expansion level
idstringSegment ID — provide to update, omit to create
membersarraySegment members
membershipLifeSpannumberMembership life span in days
membershipStatusstringMembership status
ruleBasedUserListobjectRule-based user list config
seedUserListIdsarraySeed user list IDs
statusstringSegment status

ghl_create_google_offline_user_list_job

Create a Google Ads offline user list upload job. Optional: smartListIds, csvPath, userListId, isDynamic.

ParameterTypeDescription
csvPathstringPath to a CSV file of offline users
isDynamicbooleanWhether the list updates dynamically
smartListIdsarraySmart list IDs to include
userListIdstringTarget user list ID

ghl_delete_google_segment

Delete a Google Ads segment. Required fields: segmentId, type (CUSTOM_SEGMENTS, DATA_SEGMENTS).

ParameterTypeDescription
segmentId *stringThe Google Ads segment ID
type *stringSegment type

ghl_get_google_segment

Get a single Google Ads segment by ID. Required fields: segmentId, type (CUSTOM_SEGMENTS, DATA_SEGMENTS).

ParameterTypeDescription
segmentId *stringThe Google Ads segment ID
type *stringSegment type

ghl_get_google_conversions

List Google Ads conversion actions for the location. Optional: type (AD_MANAGER, AD_WORDS), conversionType, category, startDate, endDate.

ParameterTypeDescription
categorystringFilter by conversion category
conversionTypestringFilter by conversion type
endDatestringFilter end date
startDatestringFilter start date
typestringConversion source type

ghl_upsert_google_conversion

Create or update a Google Ads conversion action. Pass conversionId to update an existing conversion, or omit it to create a new one. Required fields: name, type (UPLOAD_CLICKS, UPLOAD_CALLS, WEBPAGE, LEAD_FORM_SUBMIT), category, valueSettings, countingType (ONE_PER_CLICK, MANY_PER_CLICK), attributionModel (GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN, GOOGLE_ADS_LAST_CLICK), clickThroughWindow.

ParameterTypeDescription
attributionModel *stringAttribution model
category *stringConversion category
clickThroughWindow *numberClick-through conversion window in days
countingType *stringConversion counting type
name *stringConversion action name
type *stringConversion action type
valueSettings *objectValue settings that control how monetary value is attributed to conversions
conversionIdstringConversion ID — provide to update, omit to create

ghl_get_google_conversion

Get a single Google Ads conversion action by ID. Required fields: conversionId. Optional: isDraft.

ParameterTypeDescription
conversionId *stringThe Google Ads conversion action ID
isDraftbooleanWhether to fetch the draft version

ghl_delete_google_conversion

Delete a Google Ads conversion action. Required fields: conversionId. Optional: isDraft.

ParameterTypeDescription
conversionId *stringThe Google Ads conversion action ID
isDraftbooleanWhether to target the draft version

ghl_get_google_conversion_goals

List Google Ads conversion goals for the location. Optional: isDraft.

ParameterTypeDescription
isDraftbooleanWhether to fetch draft versions

ghl_get_google_target_interests

Search Google Ads target interest categories. Required fields: type (AFFINITY, IN_MARKET), advertisingChannelType.

ParameterTypeDescription
advertisingChannelType *stringAdvertising channel type to search interests for
type *stringTarget interest type

ghl_get_google_reporting

Get Google Ads reporting data with aggregation. Required fields: fields (array), startDate, endDate, type. Optional: groupBy.

ParameterTypeDescription
endDate *stringEnd date for the report (YYYY-MM-DD format)
fields *arrayFields to include in the report
startDate *stringStart date for the report (YYYY-MM-DD format)
type *stringReport type
groupBystringGroup results by time period

ghl_get_google_campaign_reporting

Get reporting data for a specific Google Ads campaign. Required fields: campaignId, startDate, endDate.

ParameterTypeDescription
campaignId *stringGoogle Ads campaign ID
endDate *stringEnd date for the report (YYYY-MM-DD format)
startDate *stringStart date for the report (YYYY-MM-DD format)

ghl_get_google_reporting_list

Get a list of Google Ads reporting data (e.g. campaigns). Required fields: listType, startDate, endDate, type. Optional: campaignId.

ParameterTypeDescription
endDate *stringEnd date for the report (YYYY-MM-DD format)
listType *stringList type (e.g. campaigns)
startDate *stringStart date for the report (YYYY-MM-DD format)
type *stringReport type
campaignIdstringFilter by campaign ID

ghl_search_google_targeting

Search Google Ads targeting options (e.g. geolocation). Required fields: type. Optional: query.

ParameterTypeDescription
type *stringTargeting type (e.g. geolocation)
querystringSearch query string

ghl_get_linkedin_ad_account

Get a connected LinkedIn ad account. Required fields: adAccountId.

ParameterTypeDescription
adAccountId *stringThe LinkedIn ad account ID

ghl_delete_linkedin_ad_account

Delete a connected LinkedIn ad account. Required fields: adAccountId.

ParameterTypeDescription
adAccountId *stringThe LinkedIn ad account ID to delete

ghl_get_linkedin_ad_accounts

List connected LinkedIn ad accounts for the location. Optional: isDraft.

ParameterTypeDescription
isDraftbooleanWhether to fetch draft versions

ghl_create_linkedin_integration

Create a LinkedIn ad account integration for the location. Required fields: adAccountId, adAccountName, currencyCode, organizationId.

ParameterTypeDescription
adAccountId *stringLinkedIn ad account ID
adAccountName *stringLinkedIn ad account name
currencyCode *stringAd account currency code (e.g. USD)
organizationId *stringLinkedIn organization ID

ghl_get_linkedin_integration

Get the LinkedIn ad account integration for the location. Optional: isDraft.

ParameterTypeDescription
isDraftbooleanWhether to fetch the draft version

ghl_get_linkedin_me

Get the authenticated LinkedIn member profile for the location's integration.

ghl_upsert_linkedin_campaign

Create or update a LinkedIn ad campaign group. Pass adCampaignGroupId to update an existing campaign group, or omit it to create a new one. Optional: name, objectiveType (LEAD_GENERATION, WEBSITE_VISIT), adBudgetOptimization (MAXIMUM_DELIVERY, COST_CAP), budget, adCampaigns, linkedInAdAccountId, publishingStatus (DRAFT, SCHEDULED, PUBLISHED, PUBLISHING, FAILED, IN_REVIEW, PAUSED, ARCHIVED, WITH_ISSUES, REJECTED), meta.

ParameterTypeDescription
adBudgetOptimizationstringAd budget optimization mode
adCampaignGroupIdstringLinkedIn campaign group resource ID — provide to update, omit to create
adCampaignsarrayChild ad campaigns (permissive — see AdCampaignDTO for full shape)
budgetobjectCampaign group budget
linkedInAdAccountIdstringLinkedIn ad account identifier
metaobjectAdditional metadata
namestringCampaign group name
objectiveTypestringCampaign group objective
publishingStatusstringPublishing status

ghl_get_linkedin_campaign

Get a single LinkedIn ad campaign group by ID. Required fields: adId. Optional: isDraft.

ParameterTypeDescription
adId *stringThe LinkedIn ad (campaign group) ID
isDraftbooleanWhether to fetch the draft version

ghl_publish_linkedin_campaign

Publish a LinkedIn ad campaign group to LinkedIn. Required fields: adId.

ParameterTypeDescription
adId *stringThe LinkedIn ad (campaign group) ID to publish

ghl_update_linkedin_ad_status

Update the status of a LinkedIn ad entity. Required fields: adId, operationType (PAUSED, ARCHIVED, RESUME), type (adGroup, adCampaign, ad). Optional: isDraft.

ParameterTypeDescription
adId *stringThe LinkedIn ad entity ID
operationType *stringStatus operation to apply
type *stringEntity type the status update targets
isDraftbooleanWhether to target the draft version

ghl_create_linkedin_lead_form

Create a LinkedIn lead-gen form for an ad account. Required fields: accountId, owner, creationLocale, name, state (PUBLISHED), content. Optional: hiddenFields, isDraft.

ParameterTypeDescription
accountId *stringThe LinkedIn ad account ID to create the form under
content *objectForm content (permissive — see LeadFormContentDTO for full shape)
creationLocale *objectCreation locale
name *stringForm name
owner *objectForm owner
state *stringForm state
hiddenFieldsarrayHidden fields
isDraftbooleanWhether to create as a draft

ghl_get_linkedin_lead_forms

List LinkedIn lead-gen forms for an ad account. Required fields: accountId. Optional: isDraft.

ParameterTypeDescription
accountId *stringThe LinkedIn ad account ID
isDraftbooleanWhether to fetch draft versions

ghl_get_linkedin_reporting

Get LinkedIn ad reporting analytics. Required fields: startDate, endDate. Optional: pivot (ACCOUNT, CAMPAIGN, CAMPAIGN_GROUP, CREATIVE), groupBy (day, month, year), entityUrns, fields.

ParameterTypeDescription
endDate *stringEnd date in yyyy-mm-dd format
startDate *stringStart date in yyyy-mm-dd format
entityUrnsstringComma-separated list of entity URNs
fieldsarrayReporting fields to include
groupBystringTime granularity for analytics
pivotstringAnalytics pivot type

ghl_get_linkedin_campaign_group_reporting

Get LinkedIn ad reporting analytics for a specific campaign group. Required fields: campaignGroupId, startDate, endDate. Optional: fields.

ParameterTypeDescription
campaignGroupId *stringThe LinkedIn campaign group ID
endDate *stringEnd date in yyyy-mm-dd format
startDate *stringStart date in yyyy-mm-dd format
fieldsarrayReporting fields to include

ghl_get_linkedin_reporting_list

Get a LinkedIn reporting list for a campaign within a campaign group. Required fields: listType, campaignId, campaignGroupId, startDate, endDate. Optional: fields.

ParameterTypeDescription
campaignGroupId *stringThe LinkedIn campaign group ID
campaignId *stringThe LinkedIn campaign ID
endDate *stringEnd date in yyyy-mm-dd format
listType *stringList type (e.g. campaigns)
startDate *stringStart date in yyyy-mm-dd format
fieldsarrayReporting fields to include

ghl_search_linkedin_targeting

Search LinkedIn targeting facets (e.g. locations, industries, job titles). Required fields: facet. Optional: query, q.

ParameterTypeDescription
facet *stringTargeting facet to search (e.g. locations)
qstringQuery parameter
querystringSearch query

ghl_create_space

Create a new Project space. Spaces are the top level of the Projects hierarchy (Space > Folder > List > Task).

ParameterTypeDescription
name *stringSpace name
colorstringSpace color swatch
isPrivatebooleanWhether the space is private
userIdsarrayUser IDs to give access to the space

ghl_get_spaces

List all Project spaces in the account.

ghl_get_space

Get a single Project space by ID.

ParameterTypeDescription
spaceId *stringSpace ID

ghl_update_space

Update a Project space's name, color, privacy or member list. Only the fields provided are changed.

ParameterTypeDescription
spaceId *stringSpace ID
colorstringNew space color swatch
isPrivatebooleanWhether the space is private
namestringNew space name
userIdsarrayUser IDs to give access to the space

ghl_delete_space

Permanently delete a Project space.

ParameterTypeDescription
spaceId *stringSpace ID

ghl_get_space_users

List the users who have access to a Project space.

ParameterTypeDescription
spaceId *stringSpace ID
limitnumberMaximum members to return (max 50)
skipnumberNumber of members to skip (pagination)

ghl_revoke_space_member

Remove a user's access to a Project space.

ParameterTypeDescription
spaceId *stringSpace ID
userId *stringUser ID to remove from the space

ghl_get_folders

List the folders in a Project space (paginated).

ParameterTypeDescription
spaceId *stringSpace ID
anchorIdstringFolder ID to anchor pagination on
cursorstringPagination cursor
limitnumberMaximum folders to return (1-100, default 20)

ghl_create_folder

Create a new folder inside a Project space. Folders sit between a space and its lists.

ParameterTypeDescription
name *stringFolder name
spaceId *stringSpace ID to create the folder in
colorstringFolder color swatch
isPrivatebooleanWhether the folder is private
userIdsarrayUser IDs to give access to the folder

ghl_get_folder

Get a single Project folder by ID.

ParameterTypeDescription
folderId *stringFolder ID

ghl_update_folder

Update a Project folder's name, color, privacy or member list. Only the fields provided are changed.

ParameterTypeDescription
folderId *stringFolder ID
colorstringNew folder color swatch
isPrivatebooleanWhether the folder is private
namestringNew folder name
userIdsarrayUser IDs to give access to the folder

ghl_delete_folder

Permanently delete a Project folder.

ParameterTypeDescription
folderId *stringFolder ID

ghl_get_folder_users

List the users who have access to a Project folder.

ParameterTypeDescription
folderId *stringFolder ID
limitnumberMaximum members to return (1-50, default 50)
skipnumberNumber of members to skip (pagination)

ghl_revoke_folder_member

Remove a user's access to a Project folder.

ParameterTypeDescription
folderId *stringFolder ID
userId *stringUser ID to remove from the folder

ghl_get_lists_in_space

List the lists sitting directly in a Project space (paginated).

ParameterTypeDescription
spaceId *stringSpace ID
anchorIdstringList ID to anchor pagination on
cursorstringPagination cursor
limitnumberMaximum lists to return (1-100, default 20)

ghl_create_list_in_space

Create a new list directly inside a Project space.

ParameterTypeDescription
name *stringList name
spaceId *stringSpace ID to create the list in
colorstringList color swatch
isPrivatebooleanWhether the list is private
userIdsarrayUser IDs to give access to the list

ghl_get_lists_in_folder

List the lists inside a Project folder (paginated).

ParameterTypeDescription
folderId *stringFolder ID
anchorIdstringList ID to anchor pagination on
cursorstringPagination cursor
limitnumberMaximum lists to return (1-100, default 20)

ghl_create_list_in_folder

Create a new list inside a Project folder.

ParameterTypeDescription
folderId *stringFolder ID to create the list in
name *stringList name
colorstringList color swatch
isPrivatebooleanWhether the list is private
userIdsarrayUser IDs to give access to the list

ghl_get_list

Get a single Project list by ID.

ParameterTypeDescription
listId *stringList ID

ghl_update_list

Update a Project list's name, color, privacy or member list. Only the fields provided are changed.

ParameterTypeDescription
listId *stringList ID
colorstringNew list color swatch
isPrivatebooleanWhether the list is private
namestringNew list name
userIdsarrayUser IDs to give access to the list

ghl_delete_list

Permanently delete a Project list.

ParameterTypeDescription
listId *stringList ID

ghl_get_list_users

List the users who have access to a Project list (paginated, max 50 per page).

ParameterTypeDescription
listId *stringList ID
limitnumberMaximum members to return (1-50, default 50)
skipnumberNumber of members to skip (pagination, default 0)

ghl_revoke_list_member

Remove a user's access to a Project list.

ParameterTypeDescription
listId *stringList ID
userId *stringUser ID to remove from the list

ghl_get_space_statuses

Get the status groups and statuses configured for a Project space.

ParameterTypeDescription
spaceId *stringSpace ID

ghl_update_space_statuses

Replaces the entire status set for this space — omitted groups or statuses are removed. Pass the complete groups array you want the space to have.

ParameterTypeDescription
groups *arrayComplete array of status groups (with their nested statuses) for the space. Sent verbatim as the full replacement.
spaceId *stringSpace ID

ghl_get_list_statuses

Get the status groups and statuses configured for a Project list.

ParameterTypeDescription
listId *stringList ID

ghl_get_tasks

List the tasks in a Project list (paginated).

ParameterTypeDescription
listId *stringList ID
limitnumberMaximum tasks to return (1-100)
searchAfterstringOpaque pagination cursor from a previous response

ghl_create_task

Create a new task in a Project list.

ParameterTypeDescription
dueDate *stringTask due date (ISO 8601)
listId *stringList ID to create the task in
title *stringTask title
assigneesarrayUser IDs assigned to the task (API limit: max 1 assignee)
bodystringTask description/body
businessIdstringBusiness ID to associate with the task
contactIdstringContact ID to associate with the task
customFieldsobjectCustom field values keyed by field ID
parentTaskIdstringParent task ID, if this is a subtask
prioritynumberTask priority (1-4)
startDatestringTask start date (ISO 8601)
statusstringTask status

ghl_get_task

Get a single Project task by ID.

ParameterTypeDescription
taskId *stringTask ID

ghl_update_task

Update a Project task. Only the fields provided are changed.

ParameterTypeDescription
taskId *stringTask ID
assigneesarrayUser IDs assigned to the task (API limit: max 1 assignee)
bodystringTask description/body
businessIdstringBusiness ID to associate with the task
contactIdstringContact ID to associate with the task
customFieldsobjectCustom field values keyed by field ID
dueDatestringTask due date (ISO 8601)
parentTaskIdstringParent task ID, if this is a subtask
prioritynumberTask priority (1-4)
startDatestringTask start date (ISO 8601)
statusstringTask status
titlestringTask title

ghl_delete_task

Permanently delete a Project task.

ParameterTypeDescription
taskId *stringTask ID

ghl_search_tasks

Search Project tasks across lists with filters, sorting and a free-text query.

ParameterTypeDescription
limit *numberMaximum tasks to return (1-100)
filtersarrayFilter group(s) to apply (nested shape per GHL API)
listIdsarrayRestrict search to these list IDs (max 10)
querystringFree-text search query (max 75 characters)
sortarraySort directive(s) to apply (nested shape per GHL API)
subtaskViewModestringHow subtasks are represented in results

ghl_get_tasks_by_ids

Fetch multiple Project tasks in a single call by their IDs.

ParameterTypeDescription
ids *arrayTask IDs to fetch (1-100 items)

ghl_get_task_lists

List the Project lists a task currently belongs to.

ParameterTypeDescription
taskId *stringTask ID

ghl_add_task_to_list

Add an existing task to an additional Project list.

ParameterTypeDescription
listId *stringList ID to add the task to
taskId *stringTask ID

ghl_remove_task_from_list

Remove a task from a Project list.

ParameterTypeDescription
listId *stringList ID to remove the task from
taskId *stringTask ID

ghl_move_task_home_list

Move a task's home (primary) list to a different Project list.

ParameterTypeDescription
listId *stringList ID to set as the task's new home list
taskId *stringTask ID

ghl_get_task_comments

List the comments on a Project task (paginated). `skip` must be a multiple of `limit`.

ParameterTypeDescription
taskId *stringTask ID
limitnumberMaximum comments to return (1-100, default 50)
skipnumberNumber of comments to skip (default 0). Must be a multiple of limit.

ghl_create_task_comment

Add a comment to a Project task. Optionally reply to a comment or mention users.

ParameterTypeDescription
body *stringComment text (max 32000 characters)
taskId *stringTask ID
mentionedUserIdsarrayUser IDs to mention in the comment
parentCommentIdstringID of the comment this one replies to, if it is a reply

ghl_update_task_comment

Update the text (and mentions) of a comment on a Project task.

ParameterTypeDescription
body *stringComment text (max 32000 characters)
commentId *stringComment ID
taskId *stringTask ID
mentionedUserIdsarrayUser IDs to mention in the comment

ghl_delete_task_comment

Delete a comment from a Project task.

ParameterTypeDescription
commentId *stringComment ID
taskId *stringTask ID

ghl_create_recurring_task

Create a recurring Project task. Tasks are generated on the schedule defined by rruleOptions.

ParameterTypeDescription
rruleOptions *objectRecurrence rule options (RFC 5545 RRULE fields, e.g. freq, interval, byday)
title *stringTitle of the recurring task
contactIdsarrayContact IDs associated with the task
descriptionstringDescription of the recurring task
ignoreTaskCreationbooleanWhen true, the recurrence is saved without generating tasks
ownersarrayUser IDs of the task owners

ghl_get_recurring_task

Get a recurring Project task by ID.

ParameterTypeDescription
id *stringRecurring task ID

ghl_update_recurring_task

Update a recurring Project task. Only the fields you provide are changed.

ParameterTypeDescription
id *stringRecurring task ID
contactIdsarrayContact IDs associated with the task
descriptionstringDescription of the recurring task
ignoreTaskCreationbooleanWhen true, the recurrence is saved without generating tasks
ownersarrayUser IDs of the task owners
rruleOptionsobjectRecurrence rule options (RFC 5545 RRULE fields, e.g. freq, interval, byday)
titlestringTitle of the recurring task

ghl_delete_recurring_task

Delete a recurring Project task by ID.

ParameterTypeDescription
id *stringRecurring task ID