Manage email marketing, customer contacts, and CRM workflows with ActiveCampaign. Create and update contacts, organize lists and tags, build automations, manage deals and sales pipelines, and analyze email campaign performance and engagement.
The fastmcp library is a Python client for MCP servers. Use it to call MewCP tools from your own scripts and services.
This guide connects ActiveCampaign MCP to Python through MewCP, so Python can use ActiveCampaign MCP's 450 tools, like cancel_automation_run, cancel_campaign_run and confirm_campaign_schedule, without your ActiveCampaign MCP credentials ever reaching the app.
ActiveCampaign MCP signs in through managed OAuth. MewCP stores the token encrypted, refreshes it before it expires and injects it only at call time. Your agent never holds it, so it can never leak it.
More apps
TinyFish MCP for running AI-driven browser automation tasks, deep web research, persistent browser login profiles, remote CDP browser sessions, and agentic wallet payments.
Manage your Google Business Profile, business information and customer engagement. Update listings, publish content, monitor reviews and maintain your local presence across Google services.
Full Google Search Console control for search analytics, sitemaps, sites, and URL inspection, directly from your AI workflows. This MCP server exposes the Google Search Console API for querying search traffic data, managing sitemaps and site properties, and inspecting the indexing status of any URL. It is built for SEO teams monitoring search performance, developers automating sitemap and property management, and analysts pulling search traffic data into reporting pipelines.
Connect to external APIs, webhooks and internet services through standard HTTP requests. Build integrations with virtually any platform that exposes a web-based interface.
Other clients
ActiveCampaign MCP works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact ActiveCampaign MCP tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
SDK clients sign in with an API key. Create one in your dashboard and replace API_KEY in the code below.
SDK clients run without a browser, so they sign in with your API key.
Stop an automation run that is still in progress, by its request_id. A run that already finished keeps its outcome and is reported as it stands. A request_id this account has no run for reads as queued, with a message saying nothing was cancelled: never report it cancelled — call list_automation_runs to find the user's run. Otherwise call poll_automation_generation_status afterwards to see where it stopped.
Stop a campaign-generation run. Pass the request_id returned by generate_campaign, edit_campaign, copy_campaign, or import_campaign_design. Generation stops unless the campaign is already saved: a saved campaign is kept and billed, and poll_campaign_generation_status then reports its campaign_id. Safe to call on a run that has already finished — it reports the run as it ended. A request_id this account has no run for — mistyped, or expired and no longer kept — is not an error: it reads as queued, with a message saying nothing was cancelled. NEVER report a run cancelled when cancel answers queued — call list_campaign_runs to find the user's run first. Call this whenever the user asks to cancel a run, whatever its last known status.
Schedule a campaign that prepare_campaign_schedule prepared, after the user explicitly agreed to the summary it returned. Pass the same campaign_id and its confirmation_token. The token works once and only for a short time. If the campaign changed since the prepare, nothing is scheduled and outcome is changed; send_time_passed means send_at is no longer ahead. Prepare again in either case. unconfirmed means the answer was lost: NEVER retry it; check its status with get_campaign. Use unschedule_campaign to take a schedule back.
Send a campaign now that prepare_campaign_send prepared, after the user explicitly agreed to the summary it returned. Pass the same campaign_id and its confirmation_token. The token works once and only for a short time. The campaign is re-read first: if its lists or segment, content, subject, preheader, sender, reply-to, sending address, campaign type or status changed since the prepare, nothing is sent and outcome is changed; prepare again and show the user the new summary. A recipient count that only moved as contacts joined or left still sends. expired means the token was already used or ran out. submitted_for_approval means the account's approver must approve it before it sends; refused carries the campaign service's reason. unconfirmed means the send was requested but its answer was lost: it may be sending. NEVER retry after unconfirmed; check its status with get_campaign.
Report an automation run started by generate_automation or edit_automation, by its request_id. While phase is queued or running, call again. When phase is complete, outcome says how it ended and automation describes what was built or changed; email_progress reports the progress of any emails the build is still writing. retryable is true only when starting the request again can succeed. A request_id this account never started reads as queued.
Fetch compact background account context — recent campaigns and/or contact-list audiences — while preparing a generate_campaign or edit_campaign prompt (for example, matching an existing campaign's tone, or checking which audiences exist). Renders no UI component: use this instead of list_campaigns or list_lists whenever the goal is background context, not letting the user browse or pick from a list. Request only the categories you need via include. A failed category is reported in unavailable and never blocks the other requested category. To make a campaign send to one of these audiences, call set_campaign_audience.
Report a campaign-generation run's progress, or its finished outcome. Call repeatedly with the request_id returned by generate_campaign, edit_campaign, copy_campaign, or import_campaign_design, until phase is complete or cancelled. Every non-success outcome — needs_input, busy, nothing_changed, nothing_saved, not_editable, not_supported, partial_success, unconfirmed, failed, not_enabled, unrecognized, unavailable — is reported here, never raised. **Campaign persisted invariant.** Read campaign_persisted before deciding what to do next: when it is true, a campaign already exists for this run — never call generate_campaign, copy_campaign, or import_campaign_design again for it, whatever outcome says; that bills the account a second time. For any further change to this same campaign (a different image, tone, or setting), call edit_campaign with its campaign_id instead — that is the correct next call, not a repeat of the one that produced it. retryable says whether re-sending the same request is worth it, and is never true while campaign_persisted is true. **How long to keep polling.** These runs are slow: a generate takes roughly 15-30 seconds and an import 35-90. Keep polling until phase is complete or cancelled (outcome is set once phase is complete; a cancelled run carries none). A long run is not a failed one, and neither a silent phase nor a repeated identical snapshot means the run died — never report failure, or start a replacement run, on the strength of elapsed time alone. elapsed_seconds tells you how long this run has been going; read it with sections_completed, which stays null through an import because that operation spends almost all of its time inside one model call that reports nothing. If you must stop early, say the run is still in progress and give the request_id back, so it can be polled again later. Answer a needs_input outcome with an ordinary follow-up generate_campaign or edit_campaign call using the clarified request; there is no separate resume tool.
Report what has changed on a campaign, in the words recorded at the time. Answers immediately — there is no run to poll and nothing is charged. Call this before restore_campaign_version when the user names a version ("go back to 2"): the numbers in the listing are what restore_campaign_version accepts. Pass both from_version and to_version to compare two versions instead of listing all of them.
List this account's recent automation runs, newest first. Use it to find a request_id that was lost, then call poll_automation_generation_status with it for the outcome. Runs age out after a few hours, so this is recent activity, not a full history.
List this account's recent generate/edit/copy/import runs, newest first. Use to recover a request_id lost from an earlier turn, or to tell which run a handle refers to before polling it. Reports what was started, not the outcome — call poll_campaign_generation_status with a listed request_id for that. Answers immediately: nothing is charged.
Search or list the account's saved campaign templates. Returns template objects keyed by id. Pass a returned integer id to generate_campaign as template_id to build a campaign based on that template — this call is optional, not a prerequisite. Call with an empty query to list the most recently modified templates, or a partial name to filter by name.
Rename, delete, or duplicate a template already in the account's template library. Answers immediately and is not charged. A template's content cannot be changed here — call generate_campaign with the template to produce a campaign from its design instead. **Delete is irreversible.** It requires the template's id or its exact name and never resolves a near-miss or a reference like "that one" — ask the user which template they mean rather than guessing. new_name is required to rename and ignored otherwise. Brand-kit "Made for you" templates are read-only and are refused with their own explanation.
Check that a one-time or A/B campaign can be scheduled for send_at, and freeze exactly what it would send. Never schedules anything. send_at is an ISO 8601 time with its UTC offset, in the future; convert the user's local time yourself. Runs the same checks as prepare_campaign_send. outcome ready returns a summary and a confirmation_token; not_ready lists what must change in problems. Set lists, the segment or a missing sending address with set_campaign_audience, and the subject, from name, from address or reply-to with update_campaign_message, then prepare again; an unverified sender domain or a missing A/B version can only be fixed in ActiveCampaign. **Show the summary message to the user and wait for their explicit yes** before calling confirm_campaign_schedule with that token. Set predictive_send only when the user asks for it. To send immediately, use prepare_campaign_send instead.
Check that a one-time or A/B campaign can be sent now, and freeze exactly what it would send. Never sends anything. Runs the checks ActiveCampaign runs before a send: at least one list, a sending address, content, a subject, a from name and address, a reply-to address, verified sender domains, the account's contact limits and the A/B test's settings. outcome ready returns a summary (audience, recipient count, subject, preheader, sender) and a confirmation_token, and its message says when the campaign needs approval before it sends; not_ready lists what must change in problems. **Fixing problems.** Set lists, the segment or a missing sending address with set_campaign_audience, and the subject, from name, from address or reply-to with update_campaign_message, then prepare again. No tool here can verify a sender domain, add an A/B test's second version, change its winner wait or split, or lift a contact limit: tell the user to fix those in ActiveCampaign. **Show the summary message to the user and wait for their explicit yes** before calling confirm_campaign_send with that token. Never confirm in the same response as the prepare. RSS, recurring, date-based and automation campaigns are refused as not_supported, and so is a paused one. A scheduled campaign can be sent now: its send date is cleared first. To send at a later time, use prepare_campaign_schedule instead.
Bring an undone campaign change forward one version, or to a specific version from its history. Answers immediately and is NOT charged — a version move travels through work already paid for. This is the tool for every redo and "bring that back" — never edit_campaign for this: an edit rebuilds the campaign and bills for it, and produces different markup than the change that was undone. Omit version to step forward one change; pass a number only if it came from get_campaign_history's output.
Undo a change to a campaign, or put it back to a version from its history. Answers immediately and is NOT charged — a version move travels through work already paid for. This is the tool for every undo, revert, or "go back to version N" — never edit_campaign for this: an edit rebuilds the campaign and bills for it. Omit version to step back one change; pass a number only if it came from get_campaign_history's output.
Save an existing campaign into the account's template library for reuse. Answers immediately and never changes the campaign it was made from. Omit template_name to keep the campaign's own name. Charged per request, and only when a template is actually saved — do NOT retry a call whose outcome you did not read. To build a new campaign from the saved template, pass its id as template_id to generate_campaign, or its name as template_name.
Set the lists, and optionally the segment, that a campaign sends to. Answers at once and needs no confirmation token; it never sends. list_ids is the complete set: it replaces every list the campaign holds now, so include any list the user wants to keep. segment_id narrows those lists; leave it null to clear any segment. Every id is checked against the account first: an unknown list reports list_not_found, an unknown segment segment_not_found, and a segment on none of the lists segment_not_on_lists, with nothing changed. A campaign with no sending address also gets one: its lists' address, or the account's default. success is reported only once the new lists read back; unconfirmed means the change went out but could not be confirmed yet, so check the campaign's lists with get_campaign before setting them again. Requires permission to edit campaigns. Prepare the send or schedule again afterwards so the user reviews the campaign as it now stands.
Start changing an existing automation, named by automation_id, from the user's plain-language description of the change, and return a request_id at once. Call poll_automation_generation_status with the request_id until phase is complete or cancelled, then tell the user the outcome. Put the change in prompt, in the user's words. Find the automation_id first if the user named the automation only by name. An automation that cannot be changed reports not_editable, which rewording the request will not change.
Start building a new automation from the user's plain-language description, and return a request_id at once. A build takes minutes, so this call never waits for it: call poll_automation_generation_status with the request_id until phase is complete or cancelled, then tell the user the outcome. Put the whole request in prompt, in the user's words: what starts the automation, what it does next, and any emails it sends. Do not split one request into several calls. The same call repeated with the same arguments returns the same run rather than building a second automation. A finished build is saved to the account.
Duplicate an existing campaign as a new draft, optionally applying changes in the same call. Returns a request_id immediately; campaign_id is null until the copy finishes — call poll_campaign_generation_status with request_id and wait for a real campaign_id before treating the copy as done. Eligibility (editor version, automation attachment, sendable state) is decided behind this call; an ineligible source campaign is reported as a not_supported outcome, not raised. **Renaming vs. content changes.** Pass copy_changes to apply an edit to the copy in this same call, instead of a separate edit_campaign call afterward. copy_changes only affects the copy's email content/design — to rename the copy itself (its campaign record's own name, not its subject line), call update_campaign with the new campaign_id separately.
Apply an AI-driven edit to an existing campaign. The scope of the edit is derived from prompt itself. Returns a request_id immediately; campaign_id is the same campaign passed in (an edit never changes which campaign it acts on) — call poll_campaign_generation_status with request_id until phase is complete. **Metadata flags.** Set update_subject or update_preheader only when the user explicitly asks to change that specific piece of metadata (e.g. "shorten the subject line" sets update_subject; "change the CTA color" sets neither — that's content, described in prompt). **A page or call-to-action link goes straight into urls, in this same call.** This tool reads and classifies that page itself — handing it the link IS the read. Do NOT fetch the page or scrape its content as a separate step first. image_references only ever takes a content-manager image's name — never a URL, content-manager-hosted or external. For any URL the user gives, search the account's Content Manager images for a matching or substitute image instead of passing that URL through, and tell the user afterward which content-manager image was used in its place. Whether this campaign can be edited is decided behind this call; a campaign the engine can't edit is reported as a non-success outcome (for example not_editable), not raised. NOT for undoing a change — use restore_campaign_version instead; an edit rebuilds the campaign and is charged, a restore is not. **Backward compatibility.** subject_change, preheader_change, images, content_change, cta_button_url_change, cta_button_text_change, and brand_kit_id are all accepted for compatibility — see each field's own description for its replacement or effect. Passing any of them non-default surfaces in disclosures.
Create a new AI-generated email campaign from a text prompt. **bundle_url is not supported yet** (see its own param description for what counts as one) — decide immediately: decline outright, or call now with bundle_url set and relay that outcome verbatim. Never ask the user for more information first, and never route it into check 3's urls parameter below — skip the image decision too. **html imports a finished email as it stands.** When the user hands over a complete HTML email document to turn into a campaign, pass the whole document in html and their request in prompt, skip checks 2 and 3 below, and set none of the fields html's own description names: the call is refused with any of them. A fragment or plain copy is not a document; leave it in prompt. **Three checks happen before every call, in this order:** 1. Already generated — if poll_campaign_generation_status already reported campaign_persisted true earlier in this conversation, STOP — never call generate_campaign again for that campaign, not even with the exact same arguments as before, and not "to be safe" or to double-check the result stuck. This holds even when the latest message reads like a change (naming an image now, turning images on/off, changing tone), a repeat of an earlier answer, or a fresh-sounding request for the same topic: call edit_campaign with that campaign_id for an actual change, or make no call at all when nothing needs to change. There is no version of calling again that this campaign's existence doesn't already make pointless. Example: campaign_persisted came back true for campaign_id 42, then the user names an image — call edit_campaign(campaign_id=42, ...) with that image; calling generate_campaign again is always wrong here, even to "add" the image this run didn't have yet. 2. Image — exactly one of these is always true: - No image has been named, attached, or declined yet — search the account's Content Manager images for one to use, then PAUSE: end that response asking which result to use, or whether to skip the image, WITHOUT calling generate_campaign. Only call generate_campaign after the user's next message answers that question — never in the same response as the search, even when the results include an obvious best match. No exceptions, even for a short or simple-sounding request like "announce our new pricing". - The user named, attached, or linked an image. Treat any filename, description, or URL the user gives — including a link to an image hosted anywhere else — as already resolvable in the content manager: search the account's Content Manager images to find the matching or best-substitute image, silently. Never ask the user whether it's internal or external, and never surface that distinction to them at all — resolving it is this tool's job, not theirs. - The user explicitly wants no image. - The user explicitly said to pick for them ("you decide", "whatever fits", "surprise me") — see image_search_terms under Parameter behavior below. 3. Page link — unlike the image check above, never needs a lookup call at all: - A url the user gives — to read for content, to link the campaign to, or because the request is phrased as "write from that page" or "based on its content" — goes straight into this same call's urls parameter. This tool classifies and reads the page itself; handing over the link IS the read. Do NOT fetch the page or scrape it first — there is no scenario where reading it yourself first is the right move. Exception: a design-tool link is bundle_url, not this — see the note above. Once all three checks are done — check 2 did not end in a PAUSE — call immediately with the prompt as given, even when it names only a source (a template, a past campaign, a url) and no topic at all. Do not ask for a campaign name, exact offer copy, tone, or any other missing detail beyond check 2's image question — nothing else needs confirming; the engine fills in anything the prompt doesn't specify. Brand, language, and image placement are resolved automatically from the account; there is no brand kit or image-position parameter, and no need to list the account's brand kits before this. A short prompt naming a topic or pointing at a source — a url, a template, a past campaign — is already a complete brief once the image decision is settled: the engine writes the subject, offer, and copy, so call rather than asking the user to draft that content first. **Parameter behavior:** - image_references only ever takes a content-manager image's name (the `name` field from the Content Manager) — never a URL, content-manager-hosted or external. For any URL the user gives, search the account's Content Manager images for a matching or substitute image instead of passing that URL through, and tell the user afterward which content-manager image was used in its place. - urls takes the page or call-to-action link itself, verbatim — never a summary of it, and never text fetched or scraped from it. One call does both: no separate fetch first. - image_search_terms lets the engine search for and choose an image on its own, with no further reply needed — use it only after the user explicitly hands the choice over ("you decide", "whatever fits", "surprise me"). Never use it in place of the image decision above just because no image was named; silence about the image is not the same as handing off the choice. - Use template_id (from list_campaign_templates), template_name when no id is known, or stock_template_name to build into a named template; omit all three for a from-scratch design. - Use source_campaign_date to disambiguate source_campaign_id when the user names rather than numbers the source campaign and more than one shares that name. - Pass the user's exact words as prompt — never rephrase, rewrite, or expand them. **Lifecycle.** Returns a request_id immediately — call poll_campaign_generation_status with it until phase is complete, then present the result. NEVER call again immediately on error; surface the failure to the user instead. Once campaign_persisted comes back true, see the already-generated check above — repeating the same arguments changes nothing but still costs a round-trip, and repeating with different ones starts an unwanted second campaign, so neither is ever worth doing. NOT for copying or editing an existing campaign — use copy_campaign to duplicate one outright, or edit_campaign to change one. **Backward compatibility.** label_id, images, cta_url, brand_kit_id, summarization_uuid, tone, series_id, and is_asset_draft are all accepted for compatibility — see each field's own description for its replacement or effect. Passing any of them non-default surfaces in disclosures. user_prompt is separate: ignored outright, never disclosed.
Bring an email the user already has into ActiveCampaign as a new draft campaign, keeping what it says. Takes the email's complete HTML in source_html. Returns a request_id immediately; campaign_id is null until the import finishes — call poll_campaign_generation_status with request_id until phase is complete, then read outcome: success carries the new campaign_id, while a failed or needs_input import finishes with campaign_id still null. Expect that to take 35-90 seconds and to report no progress for most of it; keep polling rather than concluding it failed. **This is not generate_campaign.** generate_campaign given the same markup reuses its shape and writes NEW copy into it, which is a rewrite of the email rather than the email. Use this route whenever the user wants the email they already have — migrating off another editor, a design produced elsewhere, a template they were sent. The imported design lands as a draft that opens in the campaign designer. Pass the whole document in source_html, styles included. Nothing is fetched on the caller's behalf: an email that lives at a URL has to be read and supplied as HTML here. This route reproduces a design, it does not research one. A marketing page or article the user wants an email written ABOUT goes to generate_campaign's urls parameter, which reads and classifies the page.
Cancel a campaign's scheduled send and return it to a draft with no send date, so it will not send. Answers at once and needs no confirmation token. A campaign that is not scheduled reports not_scheduled and nothing changes; one already sending or sent reports not_modifiable. Requires permission to edit campaigns.
Return the ActiveCampaign profile represented by this request's authenticated credentials. The opaque id is unique within this app and remains unchanged across token refresh, reconnection, and display-metadata changes. This identifies the connected account only; it returns no contact, deal, campaign or list data, so never call it to answer a question about those.
Add a contact to an automation. This will start the automation for the specified contact. The contact will begin at the first step of the automation sequence. Parameters ---------- - params: ContactAutomationCreateParams object containing: - contact: The ID of the contact to add to the automation - automation: The ID of the automation to add the contact to
Use ONLY for 1–9 contacts. For 10+ use bulk_import_contacts. Subscribe, unsubscribe a contact to or form a list, or update their subscription status. This tool allows you to add a contact to a list with a specific status, enabling contact list management and subscription control. Use this to subscribe contacts to lists for email campaigns and marketing automation. Setting status from unsubscribed (2) to active (1) may require additional confirmation. Use status 1 for normal subscription workflows. Status 0 is used for double opt-in processes. The contact and list must already exist in ActiveCampaign.
Use ONLY for 1–9 contacts. For 10+ use bulk_import_contacts. Use this tool only for adding a single tag to a single contact. Add a tag to a contact. Parameters ---------- - params: ContactTagParams object containing: - contact: Required. The ID of the contact. - tag: Required. The ID of the tag to add to the contact.
Use ONLY for 10+ contacts. For 1–9 contacts, use single-contact tools. Bulk create, update, tag, set fields, add to lists, or any combination for multiple contacts in a single request. Existing contacts are matched by email (or phone when phone-only is enabled); you can mix new and existing contacts in one call. Do NOT add any additional contact fields beyond what the user specified. If any contact has no email, you MUST check whether phone-only contact setting is enabled before calling this tool. If unknown, call is_phone_only_contact_enabled first, then set phone_only_contacts_enabled accordingly. If phone-only is not enabled, you CANNOT import a contact without an email. Ask the user for an email instead. Supported per-contact fields: email, first_name, last_name, phone, customer_acct_name, tags (list of strings, applied/created as needed), custom field values (id + value pairs), subscribe (list of {listid} objects for lists to subscribe the contact to), and unsubscribe (list of {listid} objects for lists to unsubscribe the contact from). An optional callback can be provided to receive async results via webhook. The callback includes a url, requestType (e.g. "POST"), optional detailed_results flag, and optional params/headers key-value pairs to include in the webhook request. Set exclude_automations to True to skip running automations triggered by the import. By default, automations should run on imported contacts.
Retrieve the status of bulk contact import batches, showing outstanding and recently completed imports. Returns two groups of import batches: - outstanding: imports that are still being processed - recentlyCompleted: imports that have finished processing recently Each entry includes the date the batch was submitted (forDate), the number of batches, and the total number of contacts in those batches.
Create a contact custom field. Always create field options after creating fields of type "dropdown", "listbox", "radio", or "checkbox". Parameters ---------- - params: ContactCustomFieldCreateParams object containing: - field_title: Required. The custom field label (sent to the API as title). - type: Required. The type of field. Valid values: "text", "textarea", "date", "datetime", "dropdown", "listbox", "radio", "checkbox", "hidden". - descript: Optional description of the field. - perstag: Optional personalization tag name. - defval: Optional default value. - visible: Optional. Whether this field is visible in forms (0 or 1). - ordernum: Optional. The order of this field relative to others.
Associate a contact custom field with a contact list Parameters ---------- - params: ContactFieldRelCreateParams object containing: - relid: Required. The ID of the contact list. - field: Required. The ID of the custom field.
Create a contact custom field value. Contact field values can also be set in bulk in the payload to create or update a contact. Parameters ---------- - params: ContactFieldValueCreateOrUpdateParams object containing: - contact: Required. The ID of the contact. - field: Required. The ID of the custom field. - value: Required. The value to store in the field. Format depends on field type: - text/textarea/hidden: Simple string value - dropdown/radio: Exact option value - date: "YYYY-MM-DD" format - datetime: ISO format "YYYY-MM-DDThh:mm:ssZ" - checkbox (multiple): "||Option 1||Option 3||" format - checkbox (single): "||Option 2||" format - useDefaults: Optional. If true, populates missing required fields on the contact record with default values. Defaults to false.
Create a new contact tag Parameters ---------- - params: TagCreateParams object containing: - tag: Required. The name of the tag. - tagType: Optional. The type of tag. Defaults to "contact". Valid values: "contact", "template". - description: Optional. Description of the tag. Defaults to empty string.
Create a new deal in ActiveCampaign. A deal represents a sales opportunity that can be tracked through a pipeline. You must associate the deal with either a contact or an account. **Important — owner vs contact:** The ``owner`` and ``contact`` fields refer to completely different entities: - **owner** — an ActiveCampaign *user* (team member / sales rep) responsible for working the deal. This is **not** the customer. Obtain valid user IDs from the ``list_users`` tool or the ``GET /api/3/users`` endpoint. - **contact** — the *customer or lead* the deal is associated with. Obtain valid contact IDs from ``list_contacts`` or ``get_contact``. Do **not** pass a contact ID as the owner; the API will reject it with ``"The provided owner id does not exist."`` **Important:** To create a deal, the user requires permission to manage deals and permission to manage the pipeline the new deal belongs to.
Create a new note for a deal in ActiveCampaign. A deal note represents text that can be added to a deal to note important information. **Important:** To create a deal note, the user requires permission to manage deals and permission to manage the pipeline the deal belongs to.
Create a new deal pipeline (dealGroup) in ActiveCampaign. A pipeline represents a customizable sales process with stages that deals move through. Pipelines allow you to organize and track sales opportunities, automate deal assignment, and manage which users and groups have access to deals. ## Use Cases - Create separate pipelines for different sales processes (e.g., "New Business", "Renewals", "Upsells") - Organize deals by product line, region, or business unit - Set up automated deal assignment with Round Robin or value-based distribution - Control pipeline access by assigning specific user groups ## Pipeline Configuration **Auto-assignment options:** - 0: Disabled - No automatic assignment - 1: Round Robin - Distributes deals evenly among users - 2: Deal values - Assigns based on deal value thresholds **Group management:** - allgroups=1: All user groups can manage this pipeline - allgroups=0: Only specified groups (in dealGroup.groups) can manage **User assignment:** - allusers=1: Auto-assign new deals to all users - allusers=0: Auto-assign only to specified users (in dealGroup.users) ## Important Notes To create a pipeline, the user requires permission to manage deals and permission to create new pipelines in ActiveCampaign.
Create a new deal stage within a pipeline in ActiveCampaign. A deal stage represents a step in a pipeline that deals can move through. Call list_deal_pipelines first to find the pipeline (group) ID to assign the stage to.
Create options for a dropdown, listbox, radio, or checkbox contact custom field Parameters ---------- - params: FieldOptionBulkCreateParams object containing a list of: - field: Required. The ID of the custom field these options belong to. - value: Required. The value of the option. - label: Required. The label to display for the option. - orderid: Required. The order in which to display the option. - isdefault: Optional. Whether this option is selected by default. Defaults to false.
Create a new list in ActiveCampaign. This tool creates a new list for organizing contacts and managing email campaigns. Use this tool to create new lists for organizing contacts. Consider using list_groups() to see available groups if you want to associate the new list with a group for better organization using create_list_group_permission(). Note: For a list to be visible in the ActiveCampaign user interface for non-administrators, it may need to be associated with a user group. The AC API also requires a `stringid` (URL-safe list name), but this is generated automatically from the name if not provided.
Associate a list with a user group for enhanced organization and visibility. This tool creates a list group permission, which associates a specific list with a user group in ActiveCampaign. This association enables group-based permissions and makes lists visible in the appropriate sections of the ActiveCampaign interface. This is typically used after creating a list to ensure it appears in the correct sections of the ActiveCampaign interface for the appropriate user groups.
Use ONLY for 1–9 contacts. For 10+ use bulk_import_contacts. Use this tool only for a single create or single update. **IMPORTANT — phone-only contacts:** If the contact has no email but has a phone number, first check context if phone-only contact setting is enabled. If unknown, call is_phone_only_contact_enabled first. If it's not enabled, you CANNOT create a contact with only a phone number. Ask the user for an email. Create or update a contact, using the email or phone (if phone-only contact setting is enabled) as the unique identifier (upsert). fieldValues fieldIds can be found or created by using the list_contact_custom_fields and create_contact_custom_field tools. Always try to find a similar field name or perstag to the one you want to create, even if it isn't exactly the same. Stop and prompt the user if you can't find it to ask if they want to create a new field.
Update the owners of multiple deals in a single request. This function allows you to reassign multiple deals to new owners. You can assign different owners to different deals in the same batch. **Required permissions:** User must have permission to manage deals, permission to manage the pipeline each deal belongs to, and permission to reassign deals.
Retrieve a single campaign by ID.
Retrieve uncompiled editor HTML and CSS for a campaign message. For MCP Apps campaign preview: returns the Stripo editor markup (``html`` + ``css``) so the UI can compose a browser preview that preserves ``@media`` rules. Prefer this over the compiled message body for preview.
Report which email clients a campaign's recipients used. Each entry pairs a client name with the number of unique contacts counted under it. ``source="open"`` is the narrower set: for the same campaign its counts never exceed those of ``source="all"``. Neither is a count of everyone the campaign was sent to — a campaign sent to 958 contacts with 4 recorded opens reports 5 contacts here. ## When to use - User asks which email clients, apps, or devices opened a campaign - User wants an email-client or device breakdown for one campaign - User asks how many contacts read a campaign in a named client ## When NOT to use - Campaign performance metrics (sends, opens, clicks, bounces, and their rates) — use run_campaign_performance_report - Geography, clicked links, or per-subscriber engagement — use run_campaign_performance_report - Email clients across several campaigns at once — this reports ONE campaign; call it per campaign rather than expecting an account-wide total - Campaign records without metrics (name, status, schedule) — use list_campaigns ## Examples - "which email clients opened campaign 21?" → params={"campaign_id": 21, "source": "open"} - "email client breakdown for campaign 86211" → params={"campaign_id": 86211} - "include everything recorded for campaign 21, not just opens" → params={"campaign_id": 21, "source": "all"} - "what email apps did people use for my July Newsletter?" → resolve the campaign id with list_campaigns first, then params={"campaign_id": <id>, "source": "open"} ## Constraints - ``campaign_id`` is required and numeric. If the user names a campaign instead, resolve the id with list_campaigns first — do not guess it. - ``source`` accepts only "all" or "open". It defaults to "all"; prefer "open" when the user's question is specifically about opens. - Returns the campaign's full set of clients. There is no pagination and no way to filter, sort, or limit the result — do not offer those. - Entries arrive ordered by ``uniqueContacts`` descending, so the first is the most used client. - Client names come from recipient user agents and are free-form: some carry a version, some name a browser or HTTP library rather than a mail client, and opens that could not be attributed are reported under an empty name. Report them as given rather than reinterpreting, renaming, or dropping them — the unattributed group is frequently the largest. - An empty ``emailClients`` list means the campaign has no email-client data for that source. That is a valid answer, not an error, and not a reason to retry or to switch source. - Counts here do not reconcile with the send or open totals on the campaign record; do not present one as a check on the other, and never describe these counts as a share of the campaign's recipients.
Retrieve links associated with a campaign from ActiveCampaign. Parameters ---------- - campaign_id: The ID of the campaign to retrieve links for
Retrieve messages for a campaign. Returns each message's ``subject``, ``preheader_text``, ``fromname``, and ``fromemail``. Pass ``include_body=True`` or ``include_text=True`` to also fetch the HTML or plain text content when you need to read or edit it. Use to inspect current message content or to obtain ``message_id`` before calling ``update_campaign_message``.
Retrieve a single contact by ID.
Retrieve a specific contact automation record by ID. This provides detailed information about a specific automation run for a contact, including status, progress, completion details, and timing information. Parameters ---------- - contact_automation_id: The ID of the contact automation record to retrieve
Get a contact custom field by ID Parameters ---------- - field_id: The ID of the custom field to retrieve
Get a contact custom field value by ID Parameters ---------- - field_value_id: The ID of the field value to retrieve
Get all custom field values for a specific contact.
Get all list memberships for a specific contact.
Retrieve all score values for a specific contact id. Returns a list of scoreValue objects representing each scoring rule applied to the contact and the resulting numeric score value.
Get all tags assigned to a specific contact by ID or email (not both). By email: returns full tag objects (name, description, subscriber count) alongside contactTag records. By contact_id: returns contactTag records with tag ID only.
Retrieve a single deal by ID. Note: if the user lacks pipeline permission, returns id/title/isDisabled=true only.
Retrieve a deal pipeline (dealGroup) by ID from ActiveCampaign. Returns the full pipeline configuration including title, currency, stages, auto-assignment settings, and associated users and groups.
Retrieve a single deal stage by ID from ActiveCampaign.
Retrieve a single list by ID from ActiveCampaign. This tool fetches detailed information about a specific list, including all configuration settings, tracking options, and metadata.
Get a tag by ID Parameters ---------- - tag_id: The ID of the tag to retrieve
Retrieve top contacts by legacy cumulative activity. Use this tool for "top contacts" or "most active contacts." The API supplies a legacy cumulative activity ordering; it is neither recency nor configured contact score. Filtering and date bounds are unsupported. Do not use this tool for "most engaged," date-bounded engagement, or campaign engagement requests. Reject those requests without calling this tool.
Check if the phone only contact setting is enabled for this ActiveCampaign account. Remember this in current context. Do NOT offer the user to turn it on.
List automations from ActiveCampaign with filtering and pagination. Automation records include basic metadata. With enhance=true, records also include block definitions, goals, linked campaigns, contact counts, and labels. Filtering and sorting BY completion rate or active-contact count is NOT supported. ## When to use - User asks to browse, view, or list automations - User needs automations filtered by name, status, tag, trigger type, or label - User wants automations sorted by entry count (contacts who entered) Tip: to see which contacts are active in ONE specific automation, call list_contact_automations with filters.seriesid=<id> and filters.status=1. ## When NOT to use - User asks for completion rate, active-contact percentage, or asks to SORT/RANK automations by those metrics (e.g., "automation with highest completion rate") — REJECT without calling this tool. Suggest: "I can show automations sorted by total entries [entered] or filtered by name — want that?" - User asks to filter by completion rate, active-contact count, or any property not in Supported filters — REJECT. State: filters support filters.name, filters.status, filters.ids, filters.tag, filters.triggers, filters.actions, filters.label_name, label (folder ID), search, active, has_message. - User asks to sort by a field not in Supported sort fields — REJECT. State: sort supports name, status, entered, cdate, mdate, revisions. - You already called this tool this turn — REJECT a second call. State the limitation. Do NOT retry with different params to explore. ## Supported filters (exhaustive) - filters.name: partial match on automation name - filters.status: 1=active, 2=inactive - filters.ids: comma-separated automation IDs - filters.tag: tag ID - filters.triggers: comma-separated trigger types - filters.actions: comma-separated action block types - filters.label_name: by label name - label: folder/label ID (integer) - search: partial name match - active: true=active only, false=inactive only - has_message: boolean flag ## Supported sort fields name, status, entered (contacts-entered count), cdate, mdate, revisions ## Examples — SUPPORTED - "Active automations" → active=true - "Automations named 'welcome'" → filters.name="welcome" - "Most-entered automations" → orders={"entered": "DESC"} - "Automations with tag 42" → filters.tag=42 - "Automations sorted by creation date" → orders={"cdate": "DESC"} - "Automation details with counts and blocks" → enhance=true ## Examples — UNSUPPORTED (REJECT) - "Automations with completion rate above 50%" — completion rate is not a filter - "Automations with more than 100 active contacts" — active-contact count is not a filter
List campaigns from ActiveCampaign with filtering and pagination. Campaign records include performance data per campaign (opens, uniqueopens, linkclicks, uniquelinkclicks, hardbounces, softbounces, unsubscribes). Filtering and sorting BY those values is NOT supported. ## When to use - User asks to browse, view, or list email/SMS campaigns - User needs campaigns filtered by status, type, name, list, or automation flag - User wants performance data for a set of campaigns (returned per record) ## When NOT to use - User asks for the BEST/WORST campaign or asks to SORT/FILTER by open rate, click rate, or any performance metric — REJECT without calling this tool. Performance data is in records but cannot be used to filter or sort. Suggest: "I can show your completed campaigns sorted by send date — want that?" - User asks to FILTER by open rate, click rate, revenue, or any performance threshold — REJECT. State: filters support status, type, name, list_id, seriesid, label_name, has_message, has_message_content, has_form, excludeTypes. No performance-metric filter. - User asks to SORT by open rate, click rate, or any field not in Supported sort fields — REJECT. State: sort supports sdate, mdate, ldate, status. - You already called this tool this turn — REJECT a second call. State the limitation. Do NOT retry with different params to explore. ## Supported filters (exhaustive) - status: "drafts"/"scheduled"/"currently-sending"/"paused"/"stopped"/"complete"/ "disabled"/"pending-review"/"determining-winner" - filters.type: "single"/"recurring"/"split"/"responder"/"reminder"/"special"/ "activerss"/"text" - filters.name: partial match on campaign name - filters.list_id: by list ID - filters.seriesid: by automation/series ID - filters.label_name: by label - filters.automation: boolean flag - has_message, has_message_content, has_form: boolean flags - excludeTypes: comma-separated campaign types to exclude ## Supported sort fields sdate (scheduled date), mdate (modified date), ldate (last-sent date), status ## Examples — SUPPORTED - "Scheduled campaigns" → status="scheduled" - "Completed email campaigns" → status="complete", filters.type="single" - "Campaigns named 'summer'" → filters.name="summer" - "Most recently sent campaigns" → orders={"ldate": "DESC"} ## Examples — UNSUPPORTED (REJECT) - "Best-performing campaign" — no sort field for opens, clicks, or any metric - "Campaigns with open rate above 30%" — open rate threshold is not a filter
List activities for a specific contact. Returns a chronological log of actions and events associated with a contact, such as email interactions, list subscriptions, automation steps, deal tasks, SMS messages, link clicks, and eCommerce order events. A contact ID is required. This endpoint does not support multiple contact IDs in a single call.
List automation run records — which contacts entered which automations. Use to answer: "which automations did contact X go through?" or "which contacts went through automation Y?". Filter by seriesid (automation ID) or subscriberid (contact ID) to scope results. ## Supported filters (exhaustive) filters.seriesid (automation ID), filters.subscriberid (contact ID), filters.adddate (date, with eq/gt/gte/lt/lte operators), filters.status (1=in progress/2=completed), filters.lastblock (step ID), q (text search), min_time/max_time (seconds in automation), tags (tag IDs), lists (list IDs), g_id (goal ID), g_status (0=incomplete/1=complete) ## Supported sort fields seriesid, adddate, status, lastblock, subscriberid, name, first_name, last_name, email, cdate, score, goal_completion
List all contact custom field definitions (schema lookup, not per-contact values). Use to look up custom field names, IDs, and types. To get values for a specific contact, use get_contact_field_values instead.
List all contact custom field values Parameters ---------- - params: ContactFieldValueListParams object containing: - filters: Optional dictionary to filter by fieldid conditions (e.g., {"fieldid": 123}) - limit: Number of results to return - offset: Offset for pagination
List contacts from ActiveCampaign with filtering and pagination. Reads one page of the account's contact records, each carrying its id, email, phone, first and last name, status, score and created/updated dates — the stored fields of a contact, never aggregate or activity metrics. Combine the filters and sort fields listed below; anything absent from those two lists is absent from this tool. Returns 20 records per page unless ``limit`` says otherwise, with ``meta.total`` for the full match count and ``offset`` to page on, so a count alone costs one call at ``limit=1``. ## When to use - User asks to browse, view, or list contacts - User needs contacts filtered by email, phone, tag, list, segment, status, or date - User wants contacts sorted by ID, created date, email, first/last name, or score ## Supported filters (exhaustive) - email_like: email contains this string - phone: phone starts with this value - search: partial match across name, email, phone - listid: subscribed to this list ID (use list_lists to look up IDs) - tagid: has this tag ID assigned - segmentid, formid, seriesid, waitid: by segment / form / automation / wait ID - status: ACTIVE=1, UNCONFIRMED=0, UNSUBSCRIBED=2, BOUNCED=3, ANY=-1 - filters.created_before / created_after / updated_before / updated_after: ISO 8601 ## Supported sort fields id, cdate (created date), email, first_name, last_name, name, score ## When NOT to use - User asks for a COUNT, AGGREGATE, or wants to SORT by an unsupported property (e.g., "how many contacts have more than 5 tags?", "contacts sorted by number of tags", "contacts in California") — REJECT without calling this tool. Tag count and location are not filterable or sortable. Suggest: "I can list contacts filtered by tag ID or sorted by score — want that?" - User asks to filter by city, birthdate, organization, custom field value, email open rate, or any property not listed in Supported filters above — REJECT. State: filters support email_like, phone, search, listid, tagid, segmentid, formid, seriesid, waitid, status, and date ranges (created/updated before/after). - User asks for "most active" contacts — use ``get_top_contacts`` instead. - User asks to sort by "most tagged", "most recently updated", or any field not listed in Supported sort fields above — REJECT. State: sort supports id, cdate, email, first_name, last_name, name, score. - You already called this tool this turn — REJECT a second call. State the limitation. Do NOT retry with different params to explore. ## Examples — SUPPORTED - "Contacts on list 5" → listid=5 - "Phone starts with 555" → phone="555" - "Highest-scoring contacts" → orders={"score": "DESC"} - "Most recently created contacts" → orders={"cdate": "DESC"} - "Active contacts sorted by email" → status=ACTIVE, orders={"email": "ASC"} - "Contacts created last month" → filters={"created_after": "2024-04-01", "created_before": "2024-05-01"} - "Total contact count" → limit=1, read meta.total ## Examples — UNSUPPORTED (REJECT) - "Contacts with the most tags" — tag count is not a sort or filter field - "Contacts subscribed to most lists" — subscription count is not a sort field; REJECT without calling any tool - "Contacts who opened the last campaign" — email open activity is not a filter - "Contacts in California" — location/city is not a filter - "Most engaged contacts" — engagement score is not a sort field
List all deal activities from ActiveCampaign with filtering and pagination options.
List deal pipelines from ActiveCampaign with filtering and pagination. Returns basic pipeline info only: ID, title, currency, stage IDs. Only one filter (title) and one sort field (title) are supported. ## When to use - User asks to browse, view, or list sales pipelines - User needs pipeline IDs to pass to list_deals (filters.group) - User needs to find a pipeline by name ## When NOT to use - User asks for pipeline performance (win rate, avg deal value, deal count) or asks to SORT/RANK pipelines by those metrics (e.g., "pipeline with the most deals") — REJECT without calling this tool. Records contain ID/title/currency/stage IDs only. Suggest: "I can list pipelines; then you can query deals filtered by pipeline ID — want that?" - User asks to filter by anything other than title — REJECT. State: only filters.title (partial match) is supported. - User asks to sort by anything other than title — REJECT. State: only title sort (ASC/DESC) is supported. - You already called this tool this turn — REJECT a second call. State the limitation. Do NOT retry with different params to explore. ## Supported filters (exhaustive) - filters.title: partial match on pipeline title (only filter available) ## Supported sort fields title (ASC or DESC only) ## Examples — SUPPORTED - "All pipelines" → no filters needed - "Pipeline named 'Enterprise'" → filters.title="Enterprise" - "Pipelines sorted A-Z" → orders={"title": "ASC"} ## Examples — UNSUPPORTED (REJECT) - "Pipeline with the most deals" — deal count is not returned or sortable - "Best-performing pipeline" — no performance metrics in records
List deal stages — use to resolve a stage name to its ID before updating a deal. When the user refers to a stage by name (e.g. "Enquiry", "Nurture"), call this ONCE to look up the ID, then pass that ID to update_deal. Filter by d_groupid to scope results to a specific pipeline.
List deals from ActiveCampaign with filtering and pagination. Deal values are in cents (minimum_value=500000 = $5,000). Returns raw deal records only — no aggregate metrics (total value, average size, win rate) computed across records. ## When to use - User asks to browse, view, or list deals/sales opportunities - User needs deals filtered by status, pipeline, stage, owner, value range, score, tag, organization, or date ## When NOT to use - User asks for total deal value, average deal size, win rate, or any aggregate metric — REJECT without calling this tool. Suggest a specific supported slice instead, e.g. "I cannot compute totals, but I can show your open deals sorted by value — want that?" - User asks to sort by a field not in Supported sort fields — REJECT. State: sort supports title, value, cdate, contact_name, organization_name, next_action. - You already called this tool this turn — REJECT a second call. State the limitation. Do NOT retry with different params to explore. Note: deals in pipelines the user lacks permission on return id/title/isDisabled=true only. ## Supported filters (exhaustive) - filters.status: 0=Open, 1=Won, 2=Lost - filters.group: pipeline ID (use list_deal_pipelines to look up) - filters.stage: stage ID (use list_deal_stages to look up) - filters.owner: user ID - filters.tag: tag ID (-1=any tag, -2=no tag) - filters.organization: organization ID - filters.minimum_value / filters.maximum_value: deal value range (in cents) - filters.score / filters.score_greater_than / filters.score_less_than: deal score - filters.created_before/created_after/updated_before/updated_after: ISO 8601 - filters.nextdate_range: "upcoming"/"scheduled"/"overdue"/"no-task" (task due dates) - filters.tasktype: task type ID (1=Call, 2=Email, 3=Meeting) - filters.search + filters.search_field: text in "all"/"title"/"contact"/"org" - filters.title: title match ## Supported sort fields title, value, cdate (created date), contact_name, organization_name, next_action ## Examples — SUPPORTED - "Open deals" → filters.status=0 - "Won deals this month" → filters.status=1, filters.created_after="2024-05-01" - "Deals in pipeline 3 sorted by value" → filters.group=3, orders={"value": "DESC"} - "Most valuable deals" → orders={"value": "DESC"} - "Deals worth over $5,000" → filters.minimum_value=500000 - "Deals with overdue tasks" → filters.nextdate_range="overdue" - "My deals" → filters.owner=<user_id> ## Examples — UNSUPPORTED (REJECT) - "Total value of all open deals" — aggregate; REJECT, suggest "I can show open deals sorted by value — want that?" - "Win rate by pipeline" — aggregate; REJECT, suggest "I can show won deals in that pipeline sorted by value — want that?"
List email activities from ActiveCampaign. For best results, only single records should be requested rather than running the call unfiltered. Parameters ---------- - params: EmailActivityListParams object containing: - limit: Optional number of results to return - offset: Optional offset for pagination - orders: Optional dictionary for ordering results by specific fields. Valid fields are: "subscriberid", "fieldid", "tstamp", "id" - subscriberid is a contact id Example: {"tstamp": "DESC"} to sort by timestamp descending - filters: Optional dictionary for filtering by specific fields. Valid filters are: "subscriberid", "fieldid" Example: {"subscriberid": 1641} or {"subscriberid": "1641"} to filter by subscriber ID
List all user groups from ActiveCampaign. This tool is essential for list management workflows as it provides the available groups that can be associated with lists. When creating a new list, you must assign it to a group for it to be visible in the ActiveCampaign user interface.
List contact lists (audiences) from ActiveCampaign with filtering and pagination. Records include active_subscribers count per list. Sorting by active_subscribers IS supported. Engagement metrics are NOT included and cannot be filtered or sorted by, as counts or as rates: no list record carries opens, clicks, bounces or unsubscribes, and no other tool reports them per list. ## When to use - User asks to browse, view, or list email or SMS contact lists - User needs list IDs to pass to list_contacts (listid param) - User wants lists sorted by name, creation date, or subscriber count ## When NOT to use - User asks for engagement metrics (opens, clicks, bounces, unsubscribes, or their rates) or asks to RANK or SORT lists by those — as a count ("which list has the most unsubscribes", "list with most clicks") or as a rate ("lists sorted by unsubscribe rate") — REJECT without calling this tool. Records include active_subscribers only, so calling this tool cannot confirm or deny the metric. Suggest: "I can show lists sorted by active subscriber count — want that?" - User asks to filter by anything not in Supported filters — REJECT. State: filters support name, id, channel, userid, created_timestamp, active_subscribers. - You already called this tool this turn — REJECT a second call. State the limitation. Do NOT retry with different params to explore. ## Supported filters (exhaustive) - filters.name: partial match on list name - filters.id: exact list ID - filters.channel: "email" / "sms" / "all" - filters.userid / filters.userid[]: filter by creator user ID - filters.created_timestamp: filter by creation date - filters.active_subscribers: filter by exact active subscriber count ## Supported sort fields name (ASC/DESC/weight), id, channel, userid, created_timestamp, active_subscribers ## Examples — SUPPORTED - "All email lists" → filters.channel="email" - "List named 'newsletter'" → filters.name="newsletter" - "Lists sorted by subscriber count" → orders={"active_subscribers": "DESC"} - "Lists created after 2024-01-01" → filters.created_timestamp="2024-01-01" - "Largest lists first" → orders={"active_subscribers": "DESC"} ## Examples — UNSUPPORTED (REJECT) - "Lists with open rate above 25%" — open rate is not in records; REJECT - "Lists sorted by unsubscribe rate" — unsubscribe rate is not a sort field; REJECT - "Which of my lists has the most unsubscribes?" — unsubscribe counts are not in records and run_campaign_performance_report reports per campaign, not per list; REJECT without calling this tool
List, search, and filter tags Parameters ---------- - params: TagListParams object containing: - search_filters: Dictionary of operators and values to filter tags by name Valid operators: "eq", "neq", "lt", "lte", "gt", "gte", "contains", "starts_with" Example: {"contains": "lead"} to find tags containing "lead" - order_method: How to order results - "weight", "asc", or "desc" - weight: Exact matches first, then matches starting with search term, then others - asc/desc: Ascending or descending alphabetical order - limit: Number of results to return (default 100) - offset: Offset for pagination
Move all deals from one stage to another stage in ActiveCampaign. Bulk-moves every deal currently in the source stage to the destination stage. Both stages must belong to the same pipeline. Call list_deal_stages first to resolve stage names to IDs.
Remove a contact from an automation. This will stop the automation for the contact and remove them from the automation sequence. The contact will no longer receive any further communications from this automation. Parameters ---------- - contact_automation_id: The ID of the contact automation record to remove/delete
Run a campaign/contact performance reporting query. ## When to use - User asks for campaign performance metrics: sends, opens, clicks, bounces, unsubscribes, open rate, click rate, click-to-open rate - User wants to rank or compare campaigns by a performance metric - User asks for geo breakdowns, clicked links, or per-subscriber engagement for a campaign ## When NOT to use - Campaign records WITHOUT metrics (name, status, schedule) — use list_campaigns - Browsing contacts by tag/list/status — use list_contacts - Automation performance — automation metrics are not an available dataset; REJECT and state the limitation ## Datasets (module → explore) - contacts → clicked_contacts (contacts who clicked) - campaigns → all_campaigns_performance (per-campaign totals and rates), campaign_geo (geography), engagement_slice (engagement), individual_campaign, link_clicks (clicked links), subscriber_page (per-subscriber), split_campaign_messages - These are the ONLY explores the API accepts — do not guess other names - Email clients for a campaign are NOT an explore here — use get_campaign_email_clients instead - Request only the columns you need; the engine's fixed column requirements are satisfied automatically and result rows contain only the requested columns ## Examples — SUPPORTED - "How did my campaigns perform in June?" → explore=all_campaigns_performance, columns=[campaign_name, total_sends, open_rate, click_rate], params={"view_distinct_campaigns_event_date_start": "2025-06-01", "view_distinct_campaigns_event_date_end": "2025-06-30"} (dates are inclusive; the end date covers events through its end of day) - "5 worst campaigns by bounce rate" → columns=[campaign_name, bounce_rate], sorts=[{"column": "bounce_rate", "order": "DESC"}], limit=5 - "Campaigns named 'welcome', most sends first" → filter={"filterModel": {"column": "campaign_name", "operator": "CONTAINS", "value": "welcome"}}, sorts=[{"column": "total_sends", "order": "DESC"}] ## Filter and sort columns Each explore filters and sorts only by its own columns; any other column is refused before the call. On all_campaigns_performance, metrics (sends, opens, rates, bounces, unsubscribes) cannot be filtered: sort by them and set limit instead. - all_campaigns_performance — filter: campaign_name (CONTAINS), campaign_type (EQ), folder_id, list_ids (CONTAINS); dates go in params. Sort: last_sent_date, campaign_name, total_sends, unique_total_opens, open_rate, unique_subscriber_clicks, click_rate, click_to_open_rate, total_bounces, bounce_rate, total_unsubscribes, unsubscribe_rate - subscriber_page — filter: campaign_id (EQ, always set it), recipients_search (CONTAINS, name or email); opens, clicks, forwarded, replied, spam_complained, unsubscribed, hard_bounced, soft_bounced, delivered (GT "0"; delivered EQ "0" for undelivered); unsubreason (ISIN); last_open_email_client (SW); region, city (IEQ). Sort: full_name, email, opens, clicks, last_open, delivered, hard_bounced, soft_bounced, forwarded, replied, spam_complained, unsubscribed - link_clicks — filter: campaign_id (EQ), link_url (CONTAINS). Sort: unique_subscriber_clicks, total_link_clicks, link_url - clicked_contacts, link totals (columns link_url, unique_link_clicks, …) — filter: campaign_id, link_id (EQ). No sorts - clicked_contacts, contacts who clicked (columns full_name, email, last_clicked, …) — filter: link_id_contacts, campaign_id (EQ), full_name (CONTAINS). Sort: full_name, email, last_clicked, total_clicks_by_contact - split_campaign_messages — filter: campaign_id (EQ). Sort: percentage - engagement_slice — filter: campaign_id (EQ); dates go in params (view_hourly_campaign_event_date_start / _end). Sort: event_hour - individual_campaign, campaign_geo — filter: campaign_id (EQ). No sorts
Rename an existing campaign. Updates the campaign's internal display name — for example, after ``copy_campaign`` creates a draft named after the original. Email content, subject line and preheader are not campaign fields; use ``update_campaign_message`` for the subject or preheader and ``edit_campaign`` for body copy or tone. A rename is never a substitute for a content change: renaming a copy to match a new topic leaves the email advertising the old one.
Update subject, preheader, HTML body, sender name, sender email, or reply-to address for a campaign message. MUST call get_campaign_messages first to obtain message_id (messages[0].id). If updating body: MUST call get_campaign_messages with include_body=True first -- body replaces the ENTIRE existing HTML. Only provided fields are updated; omit any field to leave it unchanged. Correct for changes scoped to these fields, e.g. a new subject line, preheader or reply-to address. NOT for changing the campaign as a whole or its body copy ("make it more urgent", "rewrite for autumn", "make the tone friendlier") -- those go to edit_campaign, with the change described in its prompt, which rewrites the body too. Rewriting the subject and preheader here does not satisfy a request to change the campaign's tone.
Use ONLY for 1–9 contacts. For 10+ use bulk_import_contacts. Use this tool only to update one existing contact. This tool allows you to modify contact information for an existing contact record. You can update basic contact details and custom field values. All fields in the params are optional - only provided fields will be updated.
Update a contact custom field value Parameters ---------- - field_value_id: Required. The ID of the field value to update. - params: ContactFieldValueCreateOrUpdateParams object containing: - contact: Required. The ID of the contact. - field: Required. The ID of the custom field. - value: Required. The new value for the field. Format depends on field type: - text/textarea/hidden: Simple string value - dropdown/radio: Exact option value - date: "YYYY-MM-DD" format - datetime: ISO format "YYYY-MM-DDThh:mm:ssZ" - checkbox (multiple): "||Option 1||Option 3||" format - checkbox (single): "||Option 2||" format - useDefaults: Optional. If true, populates missing required fields on the contact record with default values. Defaults to false.
Update an existing deal in ActiveCampaign. All fields are optional — only provided fields will be updated. **Important — owner vs contact:** The ``owner`` and ``contact`` fields refer to completely different entities: - **owner** — an ActiveCampaign *user* (team member / sales rep) responsible for working the deal. This is **not** the customer. Obtain valid user IDs from the ``list_users`` tool or the ``GET /api/3/users`` endpoint. - **contact** — the *customer or lead* the deal is associated with. Obtain valid contact IDs from ``list_contacts`` or ``get_contact``. Do **not** pass a contact ID as the owner; the API will reject it with ``"The provided owner id does not exist."``
Update a note for a deal in ActiveCampaign. **Important:** To update a deal note, the user requires permission to manage deals and permission to manage the pipeline the deal belongs to.
Update an existing deal pipeline (dealGroup) configuration in ActiveCampaign. ## Important Notes To update a pipeline, the user requires permission to manage deals and permission to manage the specific pipeline being updated.
Update an existing deal stage in ActiveCampaign. All fields are optional — only the fields provided will be updated.
Update an existing list in ActiveCampaign. Fields that are not provided will be automatically preserved from the existing list so callers can perform partial updates without triggering API validation errors.
Add a tracked domain by name Whitelist a domain by name so visits to pages on it are recorded. The feature must be switched on first via `PUT /api/3/siteTracking` - adding a domain while it is off returns `403`. A name may begin with `*` to cover subdomains (for example `*.example.com`). - Operation: `add-a-tracked-domain` - Endpoint: `POST /api/3/siteTrackingDomains`
Add Custom Field to Field Group - Operation: `add-custom-field-to-field-group` - Endpoint: `POST /api/3/groupMembers`
Add domain to whitelist Add a domain to the site tracking whitelist - Operation: `add-domain-to-whitelist` - Endpoint: `POST /api/3/prism/urlWhitelistings`
Apply tags to a contact Applies up to 100 tags to one contact in a single request, by tag name, tag id, or both. Tag names that do not exist yet are created automatically unless createMissing is false; tag ids must refer to existing tags. This replaces the per-tag sequence of GET /tags, POST /tags, and POST /contactTags with one call. Returns 201 with every requested association, including ones that already existed, so the request is safe to repeat. Send at least one entry in tags or tagIds. Tag names are matched case-insensitively, and are trimmed and stripped of HTML markup before matching and creation. Returns 404 if the contact does not exist. Fails with 400 for an unknown tag id, an unknown name when createMissing is false, a name held by a deleted tag, a name containing commas, line breaks, emoji, or other 4-byte characters, or a request addressing more than 100 tags. createMissing is true by default: a name in tags that matches no existing tag creates a new tag definition for the whole account, the same as POST /tags does, and then applies it. Creating a tag needs the tag management permission (`pg_tag_manage`), the same permission POST /tags requires; users in the main user group always have it. A user who may edit contacts but not manage tags gets 403 when a request would create a tag, and nothing is created or applied. Applying tags that already exist needs only the contact edit permission. An integration that should only apply tags, never create them, sends tagIds, or sends tags with… - Operation: `apply-tags-to-a-contact` - Endpoint: `POST /api/3/contacts/{contactId}/tags`
Build a business goal from a schema Creates a business goal (and its associated segment/conversion tracking) from a structured schema, typically LLM-generated. The internal shape of the schema parameter is not fully reverse-engineered -- known: schema.businessGoal.name must be present. - Operation: `build-a-business-goal` - Endpoint: `POST /api/3/initiatives/buildbusinessgoal`
Save an automation from a drafted schema Persists the automation described by the schema JSON string from a prior draft call. A repeated sessionId returns the existing series. A missing sessionId, or a session with no prior build, still creates one. Answers 403 when the API user may not manage automations or when entitlements block triggers or actions in the proposal, and 500 when the builder or model fails. Tags: AI - Operation: `build-an-automation` - Endpoint: `POST /api/3/ai/automations/build`
**Before running this, show the account exactly this notice:** You are responsible for ensuring that your URL retrieval and site access requests comply with applicable laws and third-party rights. By making such requests, you represent and warrant that you have all rights and consents required to use the collected content, including any data and materials collected from third-party sites. Create a brand kit Create a new brand kit, from a website URL or from manually supplied data. Tags: AI - Operation: `create-a-brand-kit` - Endpoint: `POST /api/3/ai/brand`
Create a business goal Creates a business goal and links the conversion given in conversionId to it, with the goalType and goalValue target when they are given. Answers 201 with the goal. If the goal is created but the conversion cannot be linked, the goal is kept and the answer is 207 with the goal and a conversionError message. A name that already belongs to a goal or folder (a label in the API) is answered with 500 and an error message, not 409. Tags: Business Goals - Operation: `create-a-business-goal` - Endpoint: `POST /api/3/initiatives`
Create a calendar feed - Operation: `create-a-calendar-feed` - Endpoint: `POST /api/3/calendars`
Create a campaign message Associate a message with a campaign, which is the association a split (A/B) campaign uses to send more than one message. `campaignid` is required; a request without it is a `400`. Only `campaignid`, `messageid` and `percentage` may be written. Every other field of a campaign message is a counter maintained by the sending code, and is ignored when it is submitted. The request needs the campaigns feature to be enabled for the account, and the caller has to have access to the campaign, otherwise the request is a `403`. A body without a `campaignMessage` object is a `400`. - Operation: `create-a-campaign-message` - Endpoint: `POST /api/3/campaignMessages`
Create a child schema - Operation: `create-a-child-schema` - Endpoint: `POST /api/3/customObjects/schemas/{id}/child`
Create a contact custom field Creates a custom field definition for contacts. For dropdown, listbox, radio, and checkbox fields, create the options in the same request by adding an options array inside the field payload; list relationships can likewise be added as a relations array (relid 0 relates the field to every list). Each array is capped at 25 entries and the field plus its children are created in one transaction. Options can also be added later with POST /fieldOptions or POST /fieldOption/bulk. Fails with 400 when options are sideposted on a field type that cannot have options, and 422 when the title is already used by another field. Only title is required: type defaults to hidden when omitted, and ordernum is ignored on create because the new field is placed last. Without options or relations in the request, the response echoes the properties that were sent plus id, perstag, ordernum, cdate, udate, created_by and updated_by; with them, the complete field is read back with its options and relations and the fieldOptions and fieldRels side-loaded. The field is also added to the account's default field group unless group is sent. A lookup field (type lookup) is created with field.lookup naming the field of another CRM object it shows; it cannot be required and cannot have options of its own. Only for an account the crm-lookup-fields feature is on for; otherwise any request naming the lookup type or carrying field.lookup fails with 400. Tags: contact, contacts, field definition, custom field - Operation: `create-a-contact-custom-field` - Endpoint: `POST /api/3/fields`
Create a note on a contact Adds a note to the contact named in the path. The path says which contact owns the note, so the body does not name one: owner and ownerType are dropped, and reltype and relid are replaced with the contact from the path. The author is the authenticated API user. Unless the note is a draft, the contact note webhook fires. Returns 404 when the contact does not exist, 422 when the body has no note object or its note text is missing or blank, 400 when listId is not a whole number of 0 or more, and 403 when the API user may not edit contacts. - Operation: `create-a-contact-note` - Endpoint: `POST /api/3/contacts/{contactId}/notes`
Create a conversion - Operation: `create-a-conversion` - Endpoint: `POST /api/3/conversions`
Create a conversion label - Operation: `create-a-conversion-label` - Endpoint: `POST /api/3/conversions/labels`
Create a Custom Field Group Create a Custom Field Group - Operation: `create-a-custom-field-group` - Endpoint: `POST /api/3/groupDefinitions`
Create a custom field relationship to list(s) Relates a custom field to a list so the field applies to contacts on that list. relid 0 relates the field to every list. If the relationship already exists, the existing record is returned with 200 instead of 201, in a reduced shape without links and with cdate formatted as a plain SQL datetime rather than ISO 8601. To remove a relationship use DELETE /fieldRels/{fieldRelId}; to replace a field's whole set of list relationships in one call use POST /fieldRel/sync or POST /fieldRel/syncExcept. - Operation: `create-a-custom-field-relationship-to-lists` - Endpoint: `POST /api/3/fieldRels`
Set an account custom field value Tags: account, accounts, company, field value - Operation: `create-a-custom-field-value` - Endpoint: `POST /api/3/accountCustomFieldData`
Create an account custom field Add a new custom field to company accounts. Creates the field itself on every account: its label, type and options. Tags: account, accounts, company, field definition, custom field - Operation: `create-a-customfieldmeta` - Endpoint: `POST /api/3/accountCustomFieldMeta`
Create a deal Create a new deal - Operation: `create-a-deal-new` - Endpoint: `POST /api/3/deals`
Create a deal note Create a new note for a deal - Operation: `create-a-deal-note` - Endpoint: `POST /api/3/deals/{id}/notes`
Create a deal role - Operation: `create-a-deal-role` - Endpoint: `POST /api/3/dealRoles`
Create a stage Create a new stage for a pipeline - Operation: `create-a-deal-stage` - Endpoint: `POST /api/3/dealStages`
Create a task type Create a new task type - Operation: `create-a-deal-task-type` - Endpoint: `POST /api/3/dealTasktypes`
Create a field option Adds one option to an existing dropdown, listbox, radio, or checkbox custom field. If the field already has an option with the same value, no new option is created and the existing option is returned with status 200 instead of 201. label defaults to value. The field id in the payload is not checked against existing fields, so a wrong id silently creates an option that never appears on any field; confirm it with GET /fields/{id} first. The 201 response echoes the property types as sent; subsequent reads return every property as a string. To create several options in one call use POST /fieldOption/bulk. - Operation: `create-a-field-option` - Endpoint: `POST /api/3/fieldOptions`
Create a list group permission - Operation: `create-a-list-group-permission` - Endpoint: `POST /api/3/listGroups`
Create a contact Create a brand-new contact. This endpoint fails with a 422 duplicate-email error when a contact with the same email address already exists; it never updates an existing contact. To add or import contacts that may already exist, use POST /contact/sync for one contact or POST /import/bulk_import for many (up to 250 per request) instead: both create or update by email, and the import can also set list subscriptions and tags per contact. The same request can also save custom field values (contact.fieldValues), add tags (contact.tags) and subscribe the contact to lists (contact.lists or contact.form). The user needs the add contacts permission. - Operation: `create-a-new-contact` - Endpoint: `POST /api/3/contacts`
Create a new event (name only) Create a new event tracking event (name only) - Operation: `create-a-new-event-name-only` - Endpoint: `POST /api/3/eventTrackingEvents`
Create a group - Operation: `create-a-new-group` - Endpoint: `POST /api/3/groups`
Create a message - Operation: `create-a-new-message` - Endpoint: `POST /api/3/messages`
Create a tag Creates a tag definition. This does not apply the tag to any contact; to do that, pass the new tag id to POST /contactTags, or use POST /contacts/{id}/tags to create and apply by name in one call. Always send tagType (contact or template): a tag created without it does not appear in GET /tags listings. If a non-deleted tag with the same name and type already exists, the request returns 200 with the existing tag instead of creating a duplicate. If the name is held by a deleted tag that has not been purged, the request fails with 422 and a {message, error} body rather than an errors array. Tag names must be 1 to 250 characters and cannot contain commas, line breaks, or HTML markup; such requests fail with 422 (see the 422 response for the two body shapes). Emoji and other 4-byte characters are not supported in tag names. Names are compared case-insensitively: creating a name that differs from an existing tag only in letter case returns the existing tag. Names are stored exactly as sent; leading and trailing spaces are not trimmed. Requires the tag management permission. - Operation: `create-a-new-tag` - Endpoint: `POST /api/3/tags`
Create a note on a contact, deal, task, activity, or account Create a note on one record. reltype names the record type and relid its id: reltype Subscriber with the contact id in relid adds a note to a contact. The record is named in the body; POST /notes takes no path parameter. The author is always the authenticated API user. Fails with 422 when reltype is not one of the five allowed values, when no record with relid exists for that type, or when note is empty, and with 403 when the API user may not edit notes on that record type. - Operation: `create-a-note` - Endpoint: `POST /api/3/notes`
Create a pipeline Create a new pipeline - Operation: `create-a-pipeline` - Endpoint: `POST /api/3/dealGroups`
Create a public schema - Operation: `create-a-public-schema` - Endpoint: `POST /api/3/customObjects/schemas/public`
Create a schema - Operation: `create-a-schema` - Endpoint: `POST /api/3/customObjects/schemas`
Create a secondary contact Add a contact to a deal as a secondary contact, with an optional role. contact and deal must name existing records, and the contact must not already be on the deal. When the deal has no primary contact and no other linked contact yet, the contact added becomes its primary contact. The addition is recorded as a deal activity. Needs the deals permission. - Operation: `create-a-secondary-contact` - Endpoint: `POST /api/3/contactDeals`
Create a task outcome Create a new task outcome - Operation: `create-a-task-outcome` - Endpoint: `POST /api/3/taskOutcomes`
Assign a task outcome to a task type Links a task outcome that already exists to a task type that already exists, so that outcome appears in the dropdown when someone completes a task of that type. Creates neither end: use POST /taskOutcomes for the outcome and POST /dealTasktypes for the task type. A task type must keep at least one outcome and may hold at most 20, and one outcome can be assigned to several task types. Read the links back with GET /tasktypeOutcomeRels, or one of them with GET /tasktypeOutcomeRels/{id}. - Operation: `create-a-task-outcome-1` - Endpoint: `POST /api/3/tasktypeOutcomeRels`
Create a task reminder Create a reminder for a deal task, sent to the task's assignee ahead of its due date. The request body must be wrapped in a `taskNotification` object; both `dealTask` and `interval` are required. - Operation: `create-a-task-reminder` - Endpoint: `POST /api/3/taskNotifications`
Create a template Create an email template. This is the v3 equivalent of the v1 `message_template_add` action. Requires the `CreateEmailTemplates` permission. The new template is made available to the lists the authenticated user can access; users in the admin group create account-wide templates. - Operation: `create-a-template` - Endpoint: `POST /api/3/templates`
Create the AI instruction of the account Saves the instruction the AI agent follows for every user on the account. An account has at most one, so this is 409 when one already exists; use the update operation to change it. Only admin users of the account can create it. Tags: AI - Operation: `create-ai-account-instruction` - Endpoint: `POST /api/3/ai/customization/account-instructions`
Create an association Links a contact to an account, optionally with the contact's job title there. A contact can be linked to only one account; to move it, change or delete its existing link. Saving a link also sets the contact's account (`orgid` and `orgname` on the contact) and can start automations that run when a contact's account changes. Needs permission to edit contacts. - Operation: `create-an-account-1` - Endpoint: `POST /api/3/accountContacts`
Create an account Create a new account - Operation: `create-an-account-new` - Endpoint: `POST /api/3/accounts`
Create an account note Create a new note for an account - Operation: `create-an-account-note` - Endpoint: `POST /api/3/accounts/{id}/notes`
Create a company mailing address for email footers Add a physical sender address to the account for use in email footers and forms. Send the fields inside an address object; company_name, address_1 and country are required, and country takes a two-character code. - Operation: `create-an-address` - Endpoint: `POST /api/3/addresses`
Create an addressGroup Associates an address with a group. Creating an association that already exists returns the existing record with 200 instead of a duplicate. Creating a new association also clears `allgroup` (available to every user group) on this address and on every other address that has it set, so those addresses become available only to the groups they are explicitly associated with. The 201 response side-loads the saved address under `addresses`. - Operation: `create-an-addressgroup` - Endpoint: `POST /api/3/addressGroups`
Create an addressList Associates an address with a list. Creating an association that already exists returns the existing record with 200 instead of a duplicate. - Operation: `create-an-addresslist` - Endpoint: `POST /api/3/addressLists`
Create Campaign - Operation: `create-campaign` - Endpoint: `POST /api/3/campaign`
Create a connection Create a new connection resource. - Operation: `create-connection` - Endpoint: `POST /api/3/connections`
Add a tag to contact Applies one existing tag to one contact. contact is a contact id and tag is a tag id; they are different id spaces, so the tag id must come from GET /tags or POST /tags, never from a contact record. The response's contactTag id is the association id used by DELETE /contactTags/{id}. A new association returns 201. The contact is included under contacts; the tag definition is included under tags when activity logging is enabled for the account, so do not rely on it and fetch the tag from GET /tags/{id} if needed. In the 201 body, contact and tag inside contactTag are numbers as sent, while every other response returns them as strings. If the tag is already applied, the request returns 200 with the existing association only, so it is safe to repeat. A tag name in the tag field fails with 400 ("No tag id provided"); to apply tags by name, or several tags at once, use POST /contacts/{id}/tags instead. Returns 404 if the contact does not exist or the tag does not exist or was deleted. Requires the contact edit permission; users outside the main user group can only tag contacts they have access to. - Operation: `create-contact-tag` - Endpoint: `POST /api/3/contactTags`
Create a deal custom field Define a new custom field on deals: the deal field itself, with its type and label. Tags: deal, deals, field definition, custom field - Operation: `create-custom-deal-field-meta` - Endpoint: `POST /api/3/dealCustomFieldMeta`
Set a deal custom field value Tags: deal, deals, field value - Operation: `create-custom-deal-field-value` - Endpoint: `POST /api/3/dealCustomFieldData`
Create a customer Create a new e-commerce customer resource. - Operation: `create-customer` - Endpoint: `POST /api/3/ecomCustomers`
Add a contact to an automation Add a contact to an automation, or to several at once, so it enters the workflow and starts moving through its actions. An add through the API counts as added manually, so the automation's setting for how often a contact may enter does not apply: adding the same contact again starts another run instead of failing, up to 100 adds per contact per automation in 24 hours, after which the call answers 403. Only an active automation (status 1) is guaranteed to accept contacts. A draft (0) or inactive (2) automation answers 422 "The automation you have selected is inactive." for every contact, and so does a paused (3) one unless the account's automations accept entries while paused, so check the status in GET /automations first. Name the contact with contact, its id, or with contact_email, its email address; when no contact has that address one is created first, which needs permission to add contacts and room under the account's contact limit, and the new contact stays even if the add then fails. Name the automation with automation, one id, or with automations, up to 25 ids. Every automation named must be active: one that is not refuses the whole call with 422 before any contact is created or added. An automation or contact id that does not exist answers 422, not 404. With automation the response contactAutomation is the contact's run in the automation, with its id and status: 1 while in progress, 2 once ended. With automations each automation is added on its own and the response… Tags: enter automation, start automation, trigger automation, put into automation, added manually, enrol, enroll - Operation: `create-new-contactautomation` - Endpoint: `POST /api/3/contactAutomations`
Create a list - Operation: `create-new-list` - Endpoint: `POST /api/3/lists`
Create an order Create a new e-commerce order resource. - Operation: `create-order` - Endpoint: `POST /api/3/ecomOrders`
Create a task Create a new task - Operation: `create-task` - Endpoint: `POST /api/3/dealTasks`
Create a user Create a new user with full account access, gated by their group (role). All of `username`, `email`, `firstName`, `lastName`, `group` and `password` are required — there is no partial or invited-user creation. `password` must be at least 8 characters; `username` may contain only lower-case letters and/or numbers, no spaces. - Operation: `create-user` - Endpoint: `POST /api/3/users`
Create a Variable Create a personalization variable - Operation: `create-variable` - Endpoint: `POST /api/3/personalizations`
Create a webhook Create a new webhook - Operation: `create-webhook` - Endpoint: `POST /api/3/webhooks`
Create broadcast with AI Generates a new SMS broadcast message using AI from a prompt and desired tone Tags: Broadcasts - Operation: `createAIBroadcast` - Endpoint: `POST /api/3/sms/broadcasts/ai`
Create a new broadcast message Creates a new SMS broadcast message Tags: Broadcasts - Operation: `createBroadcast` - Endpoint: `POST /api/3/sms/broadcasts`
Create a Match All Request for a new Segment Find all Contact Id's that match the given Segment. The provided segment will be saved with a 24 hour TTL. A new match-all request will be initiated. If results are not ready within 4 seconds, a response that lacks a result-set will be returned. Use the returned segmentId and runId to poll and check back later to see if the result-set is ready. Tags: Match All - Operation: `create_match_all_request` - Endpoint: `POST /api/3/segmentMatchAll`
Create a Match All Request A new match-all request will be initiated. If results are not ready within 4 seconds, a response that lacks a result-set will be returned and the response's `is_ready` attribute will be equal to `false`. Use the returned segmentId and runId to poll and check back later to see if the result-set is ready Tags: Match All - Operation: `create_match_all_request_with_segment_id` - Endpoint: `GET /api/3/segmentMatchAll/{segmentId}`
Duplicate Campaign - Operation: `duplicate-campaign` - Endpoint: `POST /api/3/campaigns/{id}/copy`
Export broadcast metrics Export broadcast performance metrics as CSV Tags: Metrics, Exports, Broadcasts - Operation: `exportBroadcastMetrics` - Endpoint: `POST /api/3/sms/broadcasts/export`
Export broadcast recipients Export recipient data as CSV including full contact records Tags: Recipients, Exports, Broadcasts, Metrics - Operation: `exportBroadcastRecipients` - Endpoint: `POST /api/3/sms/broadcasts/{broadcastId}/recipients/export`
Create a Match Some Request Tags: Match All - Operation: `find_contact_id_by_ac_playload` - Endpoint: `POST /api/3/segmentMatchSome/{segmentId}`
Draft an automation from a prompt Runs the automation schema builder on a natural-language prompt and returns a workflow proposal. Nothing is saved; persisting the automation requires a separate build call. Answers 403 when the API user may not manage automations, 422 when the model returns more than one workflow in one call, and 500 when the builder or model fails. Tags: AI - Operation: `generate-an-automation-schema` - Endpoint: `POST /api/3/ai/automations/schema`
Get all broadcast metrics Returns metrics for specified broadcast IDs Tags: Metrics, Broadcasts - Operation: `getBroadcastMetrics` - Endpoint: `POST /api/3/sms/broadcasts/metrics`
Get broadcast snapshot Returns snapshot for specified broadcast IDs Tags: Metrics, Snapshots, Broadcasts - Operation: `getBroadcastSnapshotByIds` - Endpoint: `POST /api/3/sms/broadcasts/metrics/snapshot`
Return Match All result-set If the result-set is not ready yet, the response's `is_ready` attribute will be equal to `false`. The match-all request has errored out if the `is_ready` attribute is false and the `run_id_end` attribute contains a valid timestamp`; when this occurs please try your request again or alert the support team. If either the RunId or the SegmentId have expired or otherwise do not exist, a 404 with error details will be returned. result-sets are cached and returned in the same `sort` order that's requested. If the `sort` param is not provided it defaults to `id`. You can specify a different `sort` order than the original request, however this will break the result's cache for this `runId` and re-kick-off a new search for results using the same `runId` Tags: Match All - Operation: `get_result_set_by_id` - Endpoint: `GET /api/3/segmentMatchAll/{segmentId}/{runId}`
Create a form's opt-in confirmation email Creates the opt-in confirmation email for a form — the double opt-in message sent to contacts who submit a form that subscribes them to an email marketing list, and which they must click through before the list counts them as Active. It is a transactional email: it carries no unsubscribe link, its default footer cannot be removed, and it must keep the %CONFIRMLINK% personalization link or it cannot be sent. Upstream documents no request body, no response and no summary for this operation, and that it writes the record the form's `options.optin_id` points at is read off that field rather than from a documented contract — so confirm the result with `GET /forms/{id}` (`options.optin_id`, `optin_created`, `sendoptin`) instead of relying on what this returns, and prefer the form builder's own "Subscribes to list" action settings when the form already exists. Reached only on a form whose action subscribes to a list; with double opt-in off, no confirmation email is sent whatever this creates. Tags: opt-in confirmation, double opt-in, forms - Operation: `post_formoptin` - Endpoint: `POST /api/3/form/optin`
Create a form Creates a form in Website > Forms — the embeddable form that collects contact information from site visitors and, with the "Subscribes to a list" form action, adds them to an email marketing list. Form types are inline, preference center, floating bar, floating box and modal; only inline is available on Starter, the rest need Plus or above. Send the form inside a `form` object, in the shape `GET /forms/{id}` returns it; keys it does not save are ignored. Requires the permission to edit forms. Side effect worth knowing before calling: a form whose action subscribes to a list has double opt-in on by default, so every submitter is sent an opt-in confirmation email and is not Active on the list until they click its link. Tags: forms, signup form, subscribe form - Operation: `post_forms` - Endpoint: `POST /api/3/forms`
Preview a campaign message Render a campaign message for one address and return it parsed into headers and bodies, without sending anything. This is the v3 equivalent of the `preview` action of the v1 `campaign_send` action. Rendering personalizes the message for `toEmail`. Unlike [Send a test of a campaign](/reference/send-a-campaign-test), no email is delivered and no test-send limit applies. - Operation: `preview-a-campaign-message` - Endpoint: `POST /api/3/campaigns/test-preview`
Create a saved response - Operation: `saved-responses` - Endpoint: `POST /api/3/savedResponses`
Send a WhatsApp Template Send a single WhatsApp message: select a template to use and call our endpoint with the recipient phone number and the variables the template needs. That's it! Tags: Templates - Operation: `send-a-whatsapp-template-message` - Endpoint: `POST /api/3/channel/whatsapp/channels/whatsapp/template/{id}/send`
List all brandings List the account's branding and white-label settings: site name, logo, favicon, header and footer content, admin template. This is the read for any rebranding or white-labelling question. - Operation: `brandings` - Endpoint: `GET /api/3/brandings`
Bulk import status info Check the status of one API bulk import using the batchId returned by POST /import/bulk_import. Imports run in the background, so call this after submitting one to confirm it completed: an import is only finished when status is completed, and a successful response to the import request alone does not mean the contacts were created. If the import has not finished yet, wait and poll again rather than resubmitting the same contacts. success lists the ids of the contacts that were created or updated; failure lists the email of each row that was not imported, with no reason. To get failure reasons, register a callback with detailed_results when submitting the import. This endpoint knows nothing about imports started from the app or by integrations; use GET /import/history for those. Requires the contact import permission. - Operation: `bulk-import-status-info` - Endpoint: `GET /api/3/import/info`
Summarize recent API bulk imports by day Summarize this account's API bulk imports from the last 7 days: for each day, how many batches and contacts are still outstanding and how many completed. Only imports submitted through POST /import/bulk_import are counted; imports started from the app's import tool or by integrations never appear here (use GET /import/history for those). There is no per-batch or per-contact detail and no error information, so this cannot explain why an import failed; for one batch use GET /import/info with its batchId. Both arrays are empty when nothing was imported through the API in the last 7 days. A batch that stalled and has a failed chunk is left out of outstanding. - Operation: `bulk-import-status-list` - Endpoint: `GET /api/3/import/bulk_import`
Check whether an automation can be edited Says whether one automation can be edited. Does not change the automation. Answers 200 with allow, reason, and a link to the automation. Allow is false when the automation is turned on (ACTIVE), missing (OTHER), still being updated (IN_PROGRESS), or an import still needs mapping (NEEDS_MAPPING). Answers 403 when the API user may not manage automations. sessionId, source, and currentSeriesId are accepted and logged. They do not change allow. Tags: AI - Operation: `check-an-automation-can-be-edited` - Endpoint: `GET /api/3/ai/automations/{id}/can-edit`
Check whether a contact matches a segment Evaluates one contact against one saved segment and answers whether the contact currently matches. Ids: segment by UUID, contact by numeric id. Tags: Match One - Operation: `check-segment-match` - Endpoint: `GET /api/3/segmentMatch/{segmentId}/{contactId}`
Check a segment match by external id The segment match check with an additional external id, for callers that track contacts by an external identifier. Tags: Match One - Operation: `check-segment-match-external` - Endpoint: `GET /api/3/segmentMatch/{segmentId}/{contactId}/{externalId}`
Retrieve exclusions list The account's exclusion list: suppression rules that stop sends to matching addresses or numbers even when a contact is active on a list. Each rule has a matchPhrase, a matchType that says how the phrase is matched (exact, begin or end), and a channel: all when the rule applies to every list on both channels, allEmail or allSms when it applies to every list on that one channel, or several when it is limited to the lists named in lists. This is not the set of unsubscribed or bounced contacts, and meta.total counts rules, not contacts. To count unsubscribed or bounced contacts, use GET /contacts with status and meta=only. - Operation: `exclusions-retrieve-a-list` - Endpoint: `GET /api/3/lists/exclusions`
Retrieve an exclusion Retrieve one exclusion rule by id. See GET /lists/exclusions for what a rule is and how matchType and channel are read. - Operation: `exclusions-retrieve-an-exclusion` - Endpoint: `GET /api/3/lists/exclusions/{id}`
List all forms List the account's forms with their settings, fields and actions. Each form's `public_url` is its public link and `embed_code` is the snippet to place it on a website. `url` is the builder's preview website, not the public link. - Operation: `forms-1` - Endpoint: `GET /api/3/forms`
List the webhook event types available for subscription Returns the event types a webhook can subscribe to, not events that have occurred. For events that happened, read a contact's tracking logs instead. - Operation: `get-a-list-of-webhook-events` - Endpoint: `GET /api/3/webhook/events`
List all webhooks List all existing webhooks - Operation: `get-a-list-of-webhooks` - Endpoint: `GET /api/3/webhooks`
Retrieve a saved response - Operation: `get-a-savedresponse` - Endpoint: `GET /api/3/savedResponses/{id}`
Get a record by id - Operation: `get-a-single-record` - Endpoint: `GET /api/3/customObjects/records/{schemaId}/{recordId}`
Get a record by external id - Operation: `get-a-single-record-using-external-id` - Endpoint: `GET /api/3/customObjects/records/{schemaId}/external/{externalId}`
Get All Custom Field Groups - Operation: `get-all-custom-field-groups` - Endpoint: `GET /api/3/groupMembers`
Retrieve a branding Retrieve one branding record by id: site name, logo, favicon, header and footer content, admin template — the account's white-label settings. - Operation: `get-branding` - Endpoint: `GET /api/3/brandings/{id}`
Retrieve a connection Retrieve an existing connection resource. - Operation: `get-connection` - Endpoint: `GET /api/3/connections/{id}`
Retrieve a contact Retrieve an existing contact. The response embeds, as top-level arrays beside contact, the contact's contactLists (each with its channel), contactData, fieldValues, geoIps with their geoAddresses, deals (with exclude[]=deals the contact's deals are not loaded and deals comes back as an empty array), accountContacts with their accounts when the Accounts feature is enabled, and contactAutomations only when automations=true. The embedded arrays are fixed. For other relationships use the sub-resource reads, for example GET /contacts/{id}/contactTags. - Operation: `get-contact` - Endpoint: `GET /api/3/contacts/{id}`
Look up which contact produced a tracking log entry Returns the contact that a tracking-log entry belongs to. eventId must be the id of a tracking log entry, as returned by GET /contacts/{id}/trackingLogs or GET /trackingLogs. It is not a contact id and not an event-tracking event name. Passing a contact id returns 404 (No Result found for TrackingLog) when no entry has that id, or the contact of an unrelated entry when one does, so a 200 does not mean the id spaces are interchangeable. To fetch a contact by contact id, use GET /contacts/{id} (get-contact) instead. To list the tracking events of a known contact, use GET /contacts/{id}/trackingLogs. - Operation: `get-contact-by-event-id` - Endpoint: `GET /api/3/trackingLogs/{eventId}/contact`
Retrieve a contact restore The progress of one contact restore, running or finished. The restore is finished when finished_at is set; contacts_restored, contacts_failed and contacts_to_be_skipped then add up to contacts_matching. Only API users in the Admin group may call this; any other user gets 404. An id that does not exist, or that belongs to another account, returns 500, not 404. - Operation: `get-contact-restore-request` - Endpoint: `GET /api/3/contactArchives/restoreRequest/{id}`
Get Custom Field Group by ID - Operation: `get-custom-field-to-field-group` - Endpoint: `GET /api/3/groupMembers/{groupId}`
Retrieve a customer Retrieve an existing e-commerce customer resource. - Operation: `get-customer` - Endpoint: `GET /api/3/ecomCustomers/{id}`
Get Editor Markup The HTML and CSS the campaign designer (Stripo) stores for one campaign message: the editable design, not the compiled email. Unlike GET /content/messageMarkup/{messageId}, the strings are returned as stored, apart from three conditional-content comment markers (`<!-- %IF`, `% -->` and `<!-- %/IF% -->`) that are restored when they were saved HTML-escaped. A message with no stored designer markup, including an ID that names no message, answers 404. - Operation: `get-editor-markup` - Endpoint: `GET /api/3/content/editorMarkup/{messageId}`
Get Flow Execution Get Flow Execution by Id. Tags: Flows - Operation: `get-flow-execution` - Endpoint: `GET /api/3/channel/whatsapp/flow-execution/{id}`
Get Flow Execution Contact by Id Get Flow Execution Contact by Id. Tags: Flows - Operation: `get-flow-execution-contact` - Endpoint: `GET /api/3/channel/whatsapp/flow-execution-contact/{id}`
Retrieve an order Retrieve an existing e-commerce order resource. - Operation: `get-order` - Endpoint: `GET /api/3/ecomOrders/{ecomOrderId}`
Retrieve SMS credit balance The account's SMS sending credits for the current period: how many are included, used and still available, and when the balance next refills. No parameters. Tags: Credits - Operation: `get-sms-credits` - Endpoint: `GET /api/3/sms/credits`
Retrieve a task Retrieve an existing task - Operation: `get-task` - Endpoint: `GET /api/3/dealTasks/{id}`
Retrieve a user Retrieve an existing user - Operation: `get-user` - Endpoint: `GET /api/3/users/{id}`
Retrieve a user by email Retrieve an existing user by looking up their email address - Operation: `get-user-email` - Endpoint: `GET /api/3/users/email/{email}`
Retrieve logged-in user Retrieve the logged-in user - Operation: `get-user-loggedin` - Endpoint: `GET /api/3/users/me`
Retrieve a user by username Retrieve an existing user by looking up their username - Operation: `get-user-username` - Endpoint: `GET /api/3/users/username/{username}`
Retrieve a webhook Retrieve an existing webhook - Operation: `get-webhook` - Endpoint: `GET /api/3/webhooks/{id}`
Get WhatsApp Template Gets a WhatsApp Template by Id. Tags: Templates - Operation: `get-whatsapp-template` - Endpoint: `GET /api/3/channel/whatsapp/channels/whatsapp/template/{id}`
Get AI broadcast request status Retrieves the current execution status of an AI broadcast generation or update request Tags: Broadcasts - Operation: `getAIBroadcastStatus` - Endpoint: `GET /api/3/sms/broadcasts/ai/{Id}`
Get broadcast message Retrieves the full details for one broadcast message Tags: Broadcasts - Operation: `getBroadcast` - Endpoint: `GET /api/3/sms/broadcasts/{id}`
Get the account's saved or suggested 10DLC area code The area code chosen for the phone number of the account's 10DLC registration. When the account has saved one, during the registration wizard, the saved area code and its state are returned. When it has not, one is suggested from the address on the account's brand form: the first available area code for its state and postal code, then for its state alone, then for its country. A brand form whose country is anything other than exactly `US` or `CA`, including none, gets an Illinois area code instead: 312, then 773, then any Illinois area code. Takes no parameters. Requires the SMS registration permission. Tags: Areacodes - Operation: `getSms10dlcAreacode` - Endpoint: `GET /api/3/sms/10dlc/areacode`
Return a Match Some result-set If the result-set is not ready yet, the response's `is_ready` attribute will be equal to `false`. The match-all request has errored out if the `is_ready` attribute is false and the `run_id_end` attribute contains a valid timestamp`; when this occurs please try your request again or alert the support team. If either the RunId or the SegmentId have expired or otherwise do not exist, a 404 with error details will be returned. Sorting is not supported for this endpoint. This endpoint can be used to pull results from a Match All or a Match Some request. The original sort value will be preserved and there is no risk kicking off a new request Tags: Match All - Operation: `get_result_set_by_run_id` - Endpoint: `GET /api/3/segmentMatchSome/{segmentId}/{runId}`
Explain whether a Contact matches a Segment Shows which of the segment's groups and conditions the contact matches, and describes each condition in plain language. A match is evaluated as the requesting user, so a contact that user cannot see is reported as not found. A field whose value could not be determined is left out: `translation` when the segment could not be translated, `contact_matches_group` when a condition whose result is unknown would decide the group. Tags: Match Detail - Operation: `get_segment_match_detail` - Endpoint: `GET /api/3/segmentMatchDetail/{segmentId}/{contactId}`
Explain whether a Contact matches a Segment, using the given externalId Shows which of the segment's groups and conditions the contact matches, and describes each condition in plain language. A match is evaluated as the requesting user, so a contact that user cannot see is reported as not found. A field whose value could not be determined is left out: `translation` when the segment could not be translated, `contact_matches_group` when a condition whose result is unknown would decide the group. Tags: Match Detail - Operation: `get_segment_match_detail_by_external_id` - Endpoint: `GET /api/3/segmentMatchDetail/{segmentId}/{contactId}/{externalId}`
List the AI instructions of the account Returns the instruction the account has given the AI agent, which the agent follows for every user on the account. The instructions array is empty when the account has not set one. Any user of the account can read it. Tags: AI - Operation: `list-ai-instructions` - Endpoint: `GET /api/3/ai/customization/instructions`
List all accounts Retrieve all existing account - Operation: `list-all-accounts` - Endpoint: `GET /api/3/accounts`
List all activity recipients Lists the activity recipient records in the account. Each record links one entry of a contact's activity feed (see GET /activities) to the contact it is about. A record is written for each new activity entry, always with reltype Subscriber and the contact id in relid. The activity entry's own subscriberid holds the same contact. Saving a change to an entry writes another record, so one entry can have several records. A merge moves the merged contact's records to the surviving contact. The list has no filters or sort options, and records come in no guaranteed order. It does not check the linked activity, so it can return records that GET /activityRecipients/{id} answers with 403. Page with limit and offset, or fetch specific records with ids. - Operation: `list-all-activity-recipients` - Endpoint: `GET /api/3/activityRecipients`
List which user groups each mailing address belongs to One item per address-to-group association, carrying the address and the user group it is assigned to. Account-wide index, not scoped to an address or a group: read it whole and match the pairs yourself. It answers which group holds an address before that association is deleted. Page with limit and offset. - Operation: `list-all-address-groups` - Endpoint: `GET /api/3/addressGroups`
List which lists each mailing address belongs to One item per address-to-list association, carrying the address and the list it is assigned to. Account-wide index, not scoped to an address or a list: read it whole and match the pairs yourself. It answers which lists use an address before that association is deleted. Page with limit and offset. - Operation: `list-all-address-lists` - Endpoint: `GET /api/3/addressLists`
List all addresses - Operation: `list-all-addresses` - Endpoint: `GET /api/3/addresses`
List all associations Lists links between contacts and accounts. Filter by contact to find a contact's account, or by account to list its contacts. Each link also carries the date and type of the newest of these activities with the contact: a one-to-one email, a campaign sent to them, an automation they started or finished, a forward or reply, a text sent or received, an automation goal they reached, or a deal task. Results come in no guaranteed order. For some accounts, users outside the Admin group see only links for contacts on lists they can access, or on no list. - Operation: `list-all-associations-1` - Endpoint: `GET /api/3/accountContacts`
List all saved audience segments Every audience segment saved from the segment builder, with each segment's id (a UUID), name and summary. This is the inventory of segments the account has built so far. A 404 whose body is a data envelope ({"data": []}) means the account has none — the segment service answers an empty store that way; it is an empty result, not a failed call. Tags: Saved Segment Summaries - Operation: `list-all-audiences` - Endpoint: `GET /api/3/audiences`
List automations on the account Account-wide automation roster: name, status, and id. The entered and exited fields on each row are all-time run totals unless an entry date window is applied. For which automations had run entries in a calendar window, call with entryDateStart and entryDateEnd (YYYY-MM-DD, both required). The response then lists only automations with at least one entry in that window; each row carries entriesInWindow. Read meta.entryWindowApplied: when true, an automation absent from the list had zero entries in the window; when false or absent, the window was not applied (the windowed count timed out, or the API ignored the dates) and entered and exited are all-time, so say so in the answer. Page with limit up to 100 while more rows remain and disclose when the reply stops before meta.total. Do not answer an account-wide entry window by calling the contact run list once per automation. The search query parameter matches automation name text; it does not look up a numeric id. When the user already named an automation id, use retrieve-an-automation, or ids or filters[ids] on this list, instead of search. To answer what is inside one automation the user named by title, call this with search set to that name, pick the matching automation id from the results, then call retrieve-automation-blocks for that id. Do not treat the first row of an unpaged list as the automation they named when several could match. To check whether one contact is in one automation, use list-all-contactautomations-for-automation with filters[subscriberid], not this list and not list-all-contactautomations-for-contact. filters[cdate] and filters[mdate] filter when the automation was created or modified, not entry dates. Without enhance, this list does not include triggers, actions, or contact run history. - Operation: `list-all-automations` - Endpoint: `GET /api/3/automations`
List all bounce logs Every bounce log entry on the account, one per bounced message with its timestamp, bounce code, contact and campaign. Filter to one contact with filters[subscriberid]. filters[tstamp] matches one exact timestamp, not a range, so there is no way to count bounces for a date range in one request; to bound by time, sort with orders[tstamp] and page until the entries pass the boundary. meta.total is the number of matching entries. Unknown filter keys are ignored rather than rejected, so the response can look filtered when it is not, and an operator on a known key such as filters[tstamp][gt] is applied as an exact match with that value, not as a range. 20 entries per request by default and at most 100; page with offset. - Operation: `list-all-bounce-logs` - Endpoint: `GET /api/3/bounceLogs`
List all brand kits List every brand kit on the account. Each item has the same shape as Retrieve a brand kit; the primary kit carries brandkit.isPrimary=true. Tags: AI - Operation: `list-all-brand-kits` - Endpoint: `GET /api/3/ai/brand`
List all business goals Returns the account's business goals, active by default or archived with `isArchived=1`, newest first unless `orders` says otherwise. Results are paginated with `limit` and `page`. `meta` carries the account's total number of active goals and of archived goals. Optional flags add each goal's association counts and linked conversions. Query parameter names are accepted in camelCase or snake_case (`isArchived` or `is_archived`). Tags: Business Goals - Operation: `list-all-business-goals` - Endpoint: `GET /api/3/initiatives`
List all calendar feeds - Operation: `list-all-calendar-feeds` - Endpoint: `GET /api/3/calendars`
Retrieve a calendar feed - Operation: `list-all-calendar-feeds-1` - Endpoint: `GET /api/3/calendars/{id}`
List all campaigns - Operation: `list-all-campaigns` - Endpoint: `GET /api/3/campaigns`
List all connections List all existing connection resources. - Operation: `list-all-connections` - Endpoint: `GET /api/3/connections`
List all contact automation history entries Lists the history entries kept for contacts' runs through automations, across the whole account. For most runs this is not the full step history: only some kinds of steps, such as waits, goals and sends, keep an entry here. For the full step history of one run, use GET /automations/{seriesId}/contactAutomations/{contactAutomationId}/steps. To read one run's entries, use GET /contactAutomations/{id}/automationLogs. The list has no filters or sort options, and entries come in no guaranteed order. Page with limit and offset, or fetch specific entries with ids. - Operation: `list-all-contact-automation-logs` - Endpoint: `GET /api/3/contactAutomationLogs`
List all automations a contact is in Lists contacts' runs through automations, one entry per time a contact entered an automation, 20 per page by default and at most 100 per page (limit). Without a filter it covers every run in the account; users outside the Admin group only see runs of contacts on a list their group may access, or on no list. Each entry carries the run's status and progress. Runs that have ended may also be described in subscriberSeriesEnds. For one contact's runs, use GET /contacts/{id}/contactAutomations. This call does not refuse unknown filters or orderings; it ignores them. - Operation: `list-all-contact-automations` - Endpoint: `GET /api/3/contactAutomations`
List all contact conversion points A contact conversion point is one touchpoint: something a contact did or received before converting, such as an email open, a link click, a delivered SMS or a site visit. Revenue from the conversion is attributed to these touchpoints. The app writes them when a contact converts, from the contact's recent activity. Filter by contact or type. Without an order, points come in no guaranteed order. Page with limit and offset, or fetch specific points with ids. Returns 403 when the account does not have Attribution. - Operation: `list-all-contact-conversion-points` - Endpoint: `GET /api/3/contactConversionPoints`
List all contact conversions A contact conversion records one time a contact reached a conversion. It is added when one of the conversion's triggers fires for the contact, for example a tracked event, a visited URL, an automation step or an e-commerce order. It keeps the amount and currency booked at that moment. The list shows only entries whose conversion is visible. It leaves out hidden conversions, such as the built-in e-commerce reporting conversion. Entries with no order are left out when the account lacks deals, e-commerce data or site messages, or the API user's group lacks the deals permission. Entries made by an order are left out when the account lacks e-commerce data. Filter by contact or by date. Without an order, entries come in no guaranteed order. Page with limit and offset, or fetch specific entries with ids. Returns 403 if the account does not have attribution. - Operation: `list-all-contact-conversions` - Endpoint: `GET /api/3/contactConversions`
List contact emails Lists the one-to-one emails that users sent to contacts, for example from a contact or deal page in ActiveCampaign, or logged by the ActiveCampaign Chrome extension for Gmail. Each record links the email's message, the contact, the user who sent it, and the deal and CRM account it was filed against. The subject and body are on the linked message, not in the record. If the API user's group does not have the deals permission, emails filed against a deal are left out of the list and of meta.total. There are no filters and no sort options, and the order of the records is not guaranteed. Page with limit and offset, or use ids to fetch specific records. - Operation: `list-all-contact-emails` - Endpoint: `GET /api/3/contactEmails`
List all contact goal list entries A contact goal list entry records one list the contact was on when it reached an automation goal. Each reached goal gets one entry for every list the contact belonged to at that moment, whatever the subscription status. Filter by list or by reached goal. Without an order, entries come in no guaranteed order. Page with limit and offset, or fetch specific entries with ids. - Operation: `list-all-contact-goal-lists` - Endpoint: `GET /api/3/contactGoalLists`
List all contact goal tag entries A contact goal tag entry records one tag the contact had when it reached an automation goal. Each reached goal gets one entry for every tag the contact had at that moment. The entries are a snapshot: they do not change when the contact's tags change later. Filter by tag or by reached goal. Without an order, entries come in no guaranteed order. Page with limit and offset, or fetch specific entries with ids. - Operation: `list-all-contact-goal-tags` - Endpoint: `GET /api/3/contactGoalTags`
List goal completions Lists goal completions. Each record says that a contact reached a goal in an automation. A contact normally has one record for each goal in each run through an automation. The filters are exact matches, and filters on different fields must all match. Several orders parameters sort in the order given. Without one, the order of the records is not guaranteed. Page with limit and offset, or use ids to fetch specific records. - Operation: `list-all-contact-goals` - Endpoint: `GET /api/3/contactGoals`
List contact subscriptions to lists One row per contact-to-list subscription, carrying the contact id, the list id, the subscription status and its dates. Filter with contact to see every list one contact is on, with status to see the subscriptions in one state, or with sourceIds to see the subscriptions created through given sources, for example imports. There is no filter by list: a listid parameter is ignored and the unfiltered rows come back. There is no filter by date. Order parameters are ignored too: rows come back in table order whatever orders[...] is sent. meta.total is the number of subscription rows that match, as a string, not a number of contacts. To list or count the contacts on a list, use GET /contacts with listid, adding status for one membership status and meta=only for a count without records. 20 rows per request by default and at most 100; page with offset. - Operation: `list-all-contact-list-subscriptions` - Endpoint: `GET /api/3/contactLists`
List all contact log entries Lists the contact log entries in the account. merge is the only action written today: each merge of two contacts records one entry on the surviving contact. To read one contact's entries, use GET /contacts/{id}/contactLogs instead. The list has no filters or sort options, and entries come in no guaranteed order. Page with limit and offset, or fetch specific entries with ids. - Operation: `list-all-contact-logs` - Endpoint: `GET /api/3/contactLogs`
List all contact-tag associations Account-wide index of which tags are applied to which contacts, one item per association carrying its contact id and tag id. Account-wide index, not scoped to a contact or a tag: read it whole and match the pairs yourself. For one contact's tags, read GET /contacts/{id}/contactTags instead — this collection answers that only by paging the whole account. Page with limit and offset. - Operation: `list-all-contact-tags` - Endpoint: `GET /api/3/contactTags`
Check whether a contact is in one automation List the contacts currently in, or that have run through, a single automation. This is a paginated equivalent of filtering `/api/3/contactAutomations` by `filters[seriesid]`. To answer whether one contact is in this automation, set filters[subscriberid] to that contact id (for example filters[subscriberid]=33828). An empty list means the contact has no enrollment row in this automation. Do not use list-all-contactautomations-for-contact for that yes-or-no question; that read returns every automation the contact has entered and cannot filter to one automation. - Operation: `list-all-contactautomations-for-automation` - Endpoint: `GET /api/3/automations/{seriesId}/contactAutomations`
List enrollment history for one contact across automations Every automation run this contact has entered, one row per entry. status 1 means the contact is still moving through the automation; 2 means the run has ended. adddate is when the contact entered and remdate when the run ended. By default every run comes back in one response. Pass limit to page; offset then applies and defaults to 0. Without limit, offset is ignored. orders[lastdate]=ASC or DESC sorts by the last activity in the run; any other direction is rejected with 422. Returns 404 if the contact does not exist. This read cannot filter to one automation. To answer whether this contact is in one specific automation, use list-all-contactautomations-for-automation with filters[subscriberid]. To list runs across contacts, use GET /contactAutomations. - Operation: `list-all-contactautomations-for-contact` - Endpoint: `GET /api/3/contacts/{id}/contactAutomations`
List, search, and filter contacts The read behind the Contacts page. It finds contacts by list (listid), tag (tagid, or filters[tagName] for a tag name), list status (status), text (search matches name, email, phone and account name), segment (segmentid), form (formid), automation (seriesid), or created and updated date (filters[created_after], filters[created_before], filters[updated_after], filters[updated_before]). Filters combine, except that while segmentid is set only status and search still apply and the other filters are ignored, and tagid and filters[tagName] cannot be sent together. GET /contactTags and GET /contactLists return association rows, not contacts. Use only the query parameters documented here: unsupported filter and order fields are silently ignored, so the response looks filtered but is not. The API spellings firstName, lastName and owner are accepted as filter keys, but order keys take only the column spellings: orders[lastName] is ignored, orders[last_name] works. Results are paginated: limit defaults to 20 and is capped at 100; page with offset, or walk a large set with id_greater. Results come back sorted by email ascending unless an orders[...] key says otherwise. To fetch one contact by id, use GET /contacts/{id}. To count the contacts a query matches without fetching records, send meta=only and read meta.total. There is no filter on when a contact's list status changed: filters[updated_after] and filters[updated_before] use the contact record's last-modified date (udate). That… - Operation: `list-all-contacts` - Endpoint: `GET /api/3/contacts`
List all Content Manager folders Every custom folder in the account's Content Manager, with its ID and name. Deleting a folder leaves its files in the Content Manager. Tags: content manager, folders - Operation: `list-all-content-manager-folders` - Endpoint: `GET /api/3/content-proxy/folders`
List all custom field relationships to lists Lists which custom fields are available on which lists. A relationship with `relid` 0 makes the field available on every list. 20 per page by default, at most 100; ids overrides the limit, and 0 or a negative limit returns every relationship. filters[...] and orders[...] are ignored, and the order is not defined. No user permission is checked beyond API access: every relationship in the account is listed. - Operation: `list-all-custom-field-relationships` - Endpoint: `GET /api/3/fieldRels`
List contact custom field values Lists stored custom field values across contacts, one entry per contact-and-field pair, 20 per page by default. Each entry's contact property is the contact id, field is the custom field definition id, and value holds the stored text. Use filters[fieldid] to scope to one field, contacts[] to scope to contacts, or GET /contacts/{id}/fieldValues for a single contact's values. Values whose contact row no longer exists are excluded. Use only the query parameters documented here: unsupported filter and order fields are silently ignored, so the response looks filtered but is not; filters match exactly. Date and datetime values are returned in ISO 8601 in the API user's timezone. meta.total is the number of matching values, returned as a string. For a user outside the Admin group calling the API directly, only values of fields available on one of the user's lists (or on all lists) are returned. Without orders, the order is not defined. Tags: contact, contacts, field value - Operation: `list-all-custom-field-values` - Endpoint: `GET /api/3/fieldValues`
List account custom field values The values CRM company accounts hold in their company account custom fields, one item per account per field. Tags: account, accounts, company, field value - Operation: `list-all-custom-field-values-2` - Endpoint: `GET /api/3/accountCustomFieldData`
List deal custom field values The values deals hold in their deal custom fields, one item per deal per field. Tags: deal, deals, field value - Operation: `list-all-custom-fielddata-field-values` - Endpoint: `GET /api/3/dealCustomFieldData`
List account custom fields Every custom field defined on CRM company accounts: the company account fields, each with its type and label. Tags: account, accounts, company, field definition, custom field - Operation: `list-all-custom-fields-meta` - Endpoint: `GET /api/3/accountCustomFieldMeta`
List all customers List all e-commerce customer resources. - Operation: `list-all-customers` - Endpoint: `GET /api/3/ecomCustomers`
List all deal activities View a recent activity for Deals. A specific deal's activity can also be viewed using /api/3/deals/[dealID]/dealActivities. - Operation: `list-all-deal-activities` - Endpoint: `GET /api/3/dealActivities`
List all deal roles - Operation: `list-all-deal-roles` - Endpoint: `GET /api/3/dealRoles`
List all stages Retrieve all existing stages - Operation: `list-all-deal-stages` - Endpoint: `GET /api/3/dealStages`
List all task types Retrieve all existing task types - Operation: `list-all-deal-task-types` - Endpoint: `GET /api/3/dealTasktypes`
List all deals Retrieve all existing deals - Operation: `list-all-deals` - Endpoint: `GET /api/3/deals`
List all email activities Returns the email history the platform keeps for a contact or a deal: one-to-one emails sent from the platform, emails from a connected mailbox (synced in, or sent through it), and campaign emails sent to the contact. reltype says which kind each entry is. Send filters[subscriberid] or filters[dealId]; without either, the read covers every email on the account. With filters[subscriberid], the request first adds any of the contact's emails sent since the last read, then returns the entries. With filters[dealId], it does the same for the deal and its contacts, and returns the emails of the deal's contacts that are tied to this deal or to no deal; users without deal access then see only the emails tied to no deal. Each email appears once. Emails from a connected mailbox that are marked private are returned only to the user they belong to. Subjects have personalization tags filled in, and message bodies have the mailbox service's open-tracking pixel removed, so showing them does not count as an open. Results are paged: limit defaults to 20 and is capped at 100, page with offset, and meta.total is the number of matching emails. This endpoint is read-only. - Operation: `list-all-email-activities` - Endpoint: `GET /api/3/emailActivities`
List all events (names only) List the names of tracked events - Operation: `list-all-event-types` - Endpoint: `GET /api/3/eventTrackingEvents`
List all field options Lists the options of the account's dropdown, listbox, radio, and checkbox custom contact fields, 20 per page by default. Use field to list one custom field's options; that and ids are the only supported filters on this endpoint. filters[...] and orders[...] parameters are not supported here and are silently ignored, so the response looks filtered but is not. Each entry's id is a field option id: it is valid only on the fieldOptions endpoints and must never be passed to /fields/{id}, which addresses whole custom field definitions in a separate id space. Each entry's field property holds the id of the field definition it belongs to. meta.total is the number of matching options, returned as a string; it is null whenever field is set. - Operation: `list-all-field-options` - Endpoint: `GET /api/3/fieldOptions`
List all geo addresses Lists the locations that contact IP addresses have resolved to across the account. Normally one location is stored per pair of coordinates and is shared by every address and contact that resolves there. There are no filters and no sort options; locations come in no guaranteed order. Use limit and offset to page, or ids to fetch specific locations. - Operation: `list-all-geo-addresses` - Endpoint: `GET /api/3/geoAddresses`
List all geo IP entries Lists the IP addresses recorded for contacts across the account. An entry is recorded when a contact does something from an IPv4 address that resolves to a location, for example when the contact opens or clicks a campaign, submits a form, or is added through the v1 API with an IP address. The same contact, campaign and location is recorded once. The entries' locations are included in a top-level `geoAddresses` array. There are no filters and no sort options; entries come in no guaranteed order. Use limit and offset to page, or ids to fetch specific entries. - Operation: `list-all-geo-ips` - Endpoint: `GET /api/3/geoIps`
List all goals Automation goals. Read-only resource: POST, PUT and DELETE are not routed. - Operation: `list-all-goals` - Endpoint: `GET /api/3/goals`
List All Group Limits - Operation: `list-all-group-limits` - Endpoint: `GET /api/3/groupLimits`
List all groups - Operation: `list-all-groups` - Endpoint: `GET /api/3/groups`
List which user groups can access each list Each record grants one user group access to one list. Tags: permissions, access, user group - Operation: `list-all-list-group-permissions` - Endpoint: `GET /api/3/listGroups`
List all messages - Operation: `list-all-messages` - Endpoint: `GET /api/3/messages`
List all orders List all existing e-commerce order resources. - Operation: `list-all-orders` - Endpoint: `GET /api/3/ecomOrders`
List all personalization tags Returns every personalization tag the account can use in campaign and automation content: the built-in tags for contacts, lists, campaigns, deals, accounts, ecommerce and custom objects, plus one tag per custom field. Categories the account is not entitled to (deals, accounts, ecommerce, custom objects) are omitted. `categories` maps each category code to its display label, returned as a translation key. The catalog is not paginated: `limit` and `offset` are ignored and the response has no `meta`. Ecommerce and custom object tags are read from the account's custom object schemas. If that read fails, any request that includes `ECOMMERCE` or `CUSTOM_OBJECT` (the unfiltered request does) returns 500 and no tags at all. To keep the rest of the catalog when this happens, request those two categories separately. If an account's contact, deal or account custom fields cannot be read, the catalog still returns 200 and includes one placeholder tag for that category with `type` `error` and `perstag` `%ERROR%`. - Operation: `list-all-personalization-tags` - Endpoint: `GET /api/3/persTags`
List all pipelines Retrieve all existing pipelines - Operation: `list-all-pipelines` - Endpoint: `GET /api/3/dealGroups`
List contact social profile records Lists the social profile and enrichment records of contacts, 20 per page by default and at most 100 per page (limit). Send contact to get one contact's record, or use GET /contacts/{id}/plusAppend. Other filters and orders are ignored, and the order of the records is not guaranteed. No permission beyond API access is checked. A normal contact delete keeps the record, so the list can include records of contacts that no longer exist. - Operation: `list-all-plus-appends` - Endpoint: `GET /api/3/plusAppends`
List all saved responses - Operation: `list-all-saved-responses` - Endpoint: `GET /api/3/savedResponses`
List all schemas Retrieve all schemas available within an account. Users are encouraged to leverage the `?showFields=all` query parameter when programmatically creating new schema fields, to ensure field id uniqueness. Fields that have been deleted will contain a `status: marked_for_deletion` attribute. - Operation: `list-all-schemas` - Endpoint: `GET /api/3/customObjects/schemas`
List all scores - Operation: `list-all-scores` - Endpoint: `GET /api/3/scores`
List all secondary contacts Lists links between contacts and deals, 20 per page by default and up to 100 per page (limit). By default only secondary contacts are listed: a link for the deal's primary contact, and a link whose deal no longer exists, are left out. Send include_primary_contact=1 to also list primary contacts, with each deal's primary contact first. Narrow the list with filters[deal] and filters[contact], which match exactly. The order of the other links is not guaranteed. lastContactDate and lastContactType are added when the contact has had a qualifying activity. Only one link per contact on the page carries them; the contact's other links leave them out. Needs the deals permission. For one contact's links use GET /contacts/{id}/contactDeals; for one deal's links use GET /deals/{id}/contactDeals. - Operation: `list-all-secondary-contacts` - Endpoint: `GET /api/3/contactDeals`
List SMS broadcast lists What an SMS broadcast can send to, with each one's subscriber count. Filter by name; page with limit and offset. Ids and subscriber counts arrive as JSON strings, not numbers. Tags: Broadcasts - Operation: `list-all-sms-lists` - Endpoint: `GET /api/3/sms/lists`
List deal task notification settings One item per deal-task notification rule, carrying the task it belongs to and the notification configured for it. Account-wide: it cannot be filtered to one task or one user, so it answers what is configured overall rather than for a particular record. Page with limit and offset. Tags: notifications, alerts, reminders - Operation: `list-all-task-notifications` - Endpoint: `GET /api/3/taskNotifications`
List all task outcomes Retrieve all existing task outcomes - Operation: `list-all-task-outcomes` - Endpoint: `GET /api/3/taskOutcomes`
List all task type - outcome relations Retrieve all existing task type - outcome relations - Operation: `list-all-task-type-outcome-relations` - Endpoint: `GET /api/3/tasktypeOutcomeRels`
List all tasks Retrieve a list of existing tasks - Operation: `list-all-tasks` - Endpoint: `GET /api/3/dealTasks`
List all templates Retrieve the email templates in the account. Results are paginated and can be filtered; `meta.total` holds the total number of templates matching the request. Responses include each template's full HTML by default and are large as a result; pass `exclude=content,preview_content` whenever the body is not needed. - Operation: `list-all-templates` - Endpoint: `GET /api/3/templates`
List all tracked domains List every whitelisted domain. Each entry is identified by its name; whitelisted domains have no id in this representation. The collection is empty when the feature is switched off rather than an error, so check `GET /api/3/siteTracking` before treating an empty list as no domains configured. - Operation: `list-all-tracked-domains` - Endpoint: `GET /api/3/siteTrackingDomains`
List the tracked events that have fired, with their contacts Lists site-tracking and event-tracking log entries across all contacts, 20 per page by default. Each entry's id is the eventId that GET /trackingLogs/{eventId}/contact accepts. Use filters[subscriberid] to scope the list to one contact. Use only the query parameters documented here: unsupported filter and order fields are silently ignored, so the response looks filtered but is not. An entry's type is __pagevisit for a site-tracking page visit (value holds the page URL), __redir for a tracked link redirect (value holds the destination URL), or the name of an event-tracking event (value holds the event data). Entries are copied in when a contact's activity feed is refreshed, so events recorded moments ago may not appear yet. Tags: tracked events, tracking logs - Operation: `list-all-tracked-events` - Endpoint: `GET /api/3/trackingLogs`
List all users List all existing users - Operation: `list-all-users` - Endpoint: `GET /api/3/users`
List all whitelisted domains List of all whitelisted site tracking domains - Operation: `list-all-whitelisted-domains` - Endpoint: `GET /api/3/prism/urlWhitelistings`
List archived contacts The archived contacts of the account: contacts that were deleted and are kept for 360 days before they are purged. GET /contacts never returns them, whatever its status value; they are read here, or one at a time with GET /contactArchives/{id}. Only contacts archived within the last 360 days are listed, and only to API users in the Admin group: any other user gets 404. Each row is the contact as it was when archived, with the contact's fields plus deleted_at, when it was archived, and is_restorable, true when the contact is old enough to restore (archived at least 30 days ago by default; support can change an account's threshold) and not yet past the 360-day window. To restore archived contacts, use POST /contactArchives/restoreRequest (by id) or POST /contactArchives/restoreAll (by date range or search). Search with search: a full email address matches exactly; any other single word is matched anywhere in email, first name, last name or phone; words separated by spaces are matched together against the full name, or as a whole against the phone. Known defect: when search is a single word that is not an email address, start, end and the 360-day limit are not applied to the rows it matches by email or name, so such a search can return contacts archived more than 360 days ago and ignores the date window; combine dates with filters[...] or an exact email instead. Narrow the archive date with start and end, both Unix timestamps in milliseconds (a value in seconds is read as a… Tags: deleted contacts, archived contacts, recover a deleted contact, restore a deleted contact - Operation: `list-archived-contacts` - Endpoint: `GET /api/3/contactArchives`
Is tag removed buildable for automation AI build Returns this account's automation start triggers and action steps, each marked buildable or not with a reason. Answers whether a named start such as tag removed is buildable on this account. Does not list contact tag associations. Does not include configuration, runs, or params from the schema generator. Does not call a model or save an automation. Answers 403 when the API user may not manage automations. Tags: AI, buildable, start trigger, automation build, tag removed, removed tag - Operation: `list-automation-build-list` - Endpoint: `GET /api/3/ai/automations/build-list`
List recent automation entries Up to 25 contacts who most recently entered the automation, contacts with an avatar first. - Operation: `list-automation-stats-activity-items` - Endpoint: `GET /api/3/statsActivityItem/get_series`
List business goals (agent-oriented read) A read-optimized listing of business goals, separate from GET /initiatives/{initiativeId}. Returned directly from InitiativeAgentDataService::getInitiatives(). Conversions are always included inline for every business goal; conversion trigger detail (conversionEvents) is only populated on the single-goal endpoint, never here. Assets (automations, campaigns, forms, sms) are included inline only when includeAssets=true -- otherwise every assets list comes back empty. - Operation: `list-business-goals` - Endpoint: `GET /api/3/businessGoals/data`
List a contact's activity history: recent events such as campaign emails sent, link clicks, list and automation changes, notes The activity feed of one contact: its history of what the contact has done recently and which campaigns and emails were sent to it, as events recorded over time. Email opens are not activities: this feed shows sends (Log) and clicks (LinkData) but cannot say whether the contact opened an email. Send contact with the contact id. The request first refreshes that contact's feed from the underlying tables, so recent events appear, then returns the entries. A request without contact reads activities across the whole account; on a large account that scans millions of rows and can run for many minutes, so always scope the read to one contact. Each entry says what happened through reference_type and reference_action, and names the underlying record with reference_id and reference (its API type and id). What the types mean: Log, a campaign email was sent to the contact (include reference.log.campaign to see which campaign); LinkData, the contact clicked a tracked link in a campaign email (include reference.link for the link); MppLinkData, a campaign link was fetched by a mail privacy proxy rather than by the contact; Forward, the contact forwarded a campaign; Reply, the contact replied to a campaign; Update, the contact updated their details through a campaign's update link; SubscriberEmail, a one-to-one email was sent to the contact from the platform; SubscriberList with reference_action subscribe or unsubscribe, the contact joined or left a list; SubscriberSeries with start or… - Operation: `list-contact-activities` - Endpoint: `GET /api/3/activities`
List the activities of a contact conversion Returns the contact activity entries made for one entry. There is usually one, or none for a hidden conversion. The id is the id of the entry. The list is not paged, and the order is not guaranteed. Returns 404 if no entry has the id, or if the entry is left out, as for GET /contactConversions/{id}. - Operation: `list-contact-conversion-activities` - Endpoint: `GET /api/3/contactConversions/{id}/activities`
List the attributions of a contact conversion Returns how one entry's amount was credited to campaigns and other touchpoints the contact engaged with before converting. The id is the id of the entry. Usually only entries made by an order have attributions. The list is not paged, and the order is not guaranteed. Returns 404 if no entry has the id, or if the entry is left out, as for GET /contactConversions/{id}. - Operation: `list-contact-conversion-attributions` - Endpoint: `GET /api/3/contactConversions/{id}/attributions`
List the attributions of a contact conversion point Returns the attributions that credit one point. An attribution gives part of a conversion's revenue to the campaign or message behind the touchpoint. The id is the id of the point. The response is not paged, and the attributions come in no guaranteed order. attributions is an empty array when there are none. Returns 404 if no point has the id, and 403 when the account does not have Attribution. - Operation: `list-contact-conversion-point-attributions` - Endpoint: `GET /api/3/contactConversionPoints/{id}/attributions`
List contact data records Lists the contact data records in the account: one per contact that has one, holding extra information about the contact, mostly where the contact appears to be located. To read one contact's record by contact ID, use GET /contacts/{id}/contactData instead. The location fields (geoIp4, geoCountry2, geo_country, geoState, geoCity, geoZip, geoLat, geoLon, geoTz, geoTzOffset, geoTstamp) are filled by a MaxMind GeoIP lookup of an IP address recorded for the contact, for example when the contact subscribes, opens or clicks a tracked email, or is added through the v1 API with an ip4 value; contact enrichment can also fill the city, state, country, country code and zip when they are blank, and sets geoTstamp when it does. The ga_campaign_*, ga_first_visit, ga_times_visited, fb_id, fb_name and tw_id fields are legacy columns that the application no longer writes. Values come back as strings; tstamp, geoTstamp and ga_first_visit are ISO 8601 dates or null. The list has no filters or sort options: filters and orders are ignored, and the order of the records is not guaranteed. Page with limit and offset. No permission beyond API access is checked: any API user can list the records of every contact in the account. A normal contact delete keeps the record, so the list can include records of contacts that no longer exist. Merging contacts removes the record of the contact that was merged away. - Operation: `list-contact-data` - Endpoint: `GET /api/3/contactData`
List the lists of a goal completion Returns the lists the contact was on when they reached the goal, under contactGoalLists. Each entry names one list. The entries are saved when the completion is recorded, so they do not follow later list changes. The list is not paged. The order is not guaranteed. Returns 404 if no goal completion has the id. For a list itself, use GET /lists/{id} with the entry's listid. - Operation: `list-contact-goal-contact-goal-lists` - Endpoint: `GET /api/3/contactGoals/{id}/contactGoalLists`
List the tags of a goal completion Returns the tags the contact had when they reached the goal, under contactGoalTags. Each entry names one tag. The entries are saved when the completion is recorded, so they do not follow later tag changes. The list is not paged. The order is not guaranteed. Returns 404 if no goal completion has the id. For a tag itself, use GET /tags/{id} with the entry's tagid. - Operation: `list-contact-goal-contact-goal-tags` - Endpoint: `GET /api/3/contactGoals/{id}/contactGoalTags`
List contact import log rows Each row is one line of the log that imports write as they run: one row for each row processed, imported or not. When a contact was imported but list subscriptions were skipped, there is one row per skipped subscription instead (res 2). Imports started from the app's import tool, imports submitted through POST /import/bulk_import, older sync imports and integrations' automatic syncs all write rows here. This endpoint returns every row in the account, with no way to narrow it to one import: filters and orders are ignored, and rows have no defined order. To see how one import went, use the endpoint for its kind: for an import started from the app or by an integration, GET /import/history to find it (for an app import, its processid matches the processid on these rows) and GET /import/history/{importId}/{type} for its failed or partly imported rows and their reasons; for an import submitted through POST /import/bulk_import, GET /import/info with its batchId. Use this endpoint only to fetch specific rows by ids. Paginated with limit (default 20, at most 100) and offset. No permission beyond API access is checked: any API user can read every row in the account, including emails from other groups' imports, unlike GET /import/history. - Operation: `list-contact-import-log-rows` - Endpoint: `GET /api/3/contactImports`
List running contact restores The account's contact restores that are still running: requests that have not finished, matched at least one contact, and were made in the last 30 days. A finished restore is not listed; read it with GET /contactArchives/restoreRequest/{id}. Only API users in the Admin group may call this; any other user gets 404. meta.total is the number of requests listed. While this list is not empty, POST /contactArchives/restoreRequest and POST /contactArchives/restoreAll return 409. - Operation: `list-contact-restore-requests` - Endpoint: `GET /api/3/contactArchives/restoreRequest`
List the history of a contact automation Returns the history entries kept for this run, under contactAutomationLogs. For most runs this is not the full step history: only some kinds of steps, such as waits, goals and sends, keep an entry here. For the full step history, use GET /automations/{seriesId}/contactAutomations/{contactAutomationId}/steps. The list is not paged. The order is not guaranteed. Returns 404 if the run does not exist. - Operation: `list-contactautomation-automation-logs` - Endpoint: `GET /api/3/contactAutomations/{id}/automationLogs`
List the goals reached in a contact automation Returns the automation goals the contact reached in this run, under contactGoals. The list is not paged. The order is not guaranteed. Returns 404 if the run does not exist. - Operation: `list-contactautomation-contact-goals` - Endpoint: `GET /api/3/contactAutomations/{id}/contactGoals`
Show which folders a Content Manager file is in Which custom folders of the Content Manager hold one file, given the file's ID. Tags: content manager, files, folders - Operation: `list-content-manager-file-folders` - Endpoint: `GET /api/3/content-proxy/files/{id}/folders`
List the keywords on a Content Manager file The keywords added to one file in the Content Manager. These are the words the search matches on besides the file's title. Tags: content manager, files, keyword - Operation: `list-content-manager-file-keywords` - Endpoint: `GET /api/3/content-proxy/files/{id}/tags`
List the files in a Content Manager folder The files in one custom folder of the account's Content Manager. The API does not page this list and limit and offset do nothing here: the catalog cuts the response at 100 files and its truncation note gives the full count. For a larger folder use the file search with folderId and page. Each file carries its storage key, and its address is built from baseUrl and that key together. Tags: content manager, folders, files - Operation: `list-content-manager-folder-files` - Endpoint: `GET /api/3/content-proxy/folders/{id}/files`
List the files with a keyword The files in the account's Content Manager that have one keyword. Find a keyword's ID from a file's keywords. The API does not page this list and limit and offset do nothing here: the catalog cuts the response at 100 files and its truncation note gives the full count. For a keyword with more files use the file search with name set to the keyword and page. Each file carries its storage key, and its address is built from baseUrl and that key together. Tags: content manager, files, keyword - Operation: `list-content-manager-keyword-files` - Endpoint: `GET /api/3/content-proxy/tags/{id}/files`
List Conversations Lists Conversations. Tags: Conversations - Operation: `list-conversations` - Endpoint: `GET /api/3/channel/whatsapp/inbox/conversation`
List conversion labels A 'conversion label' (ConversionFolder) is the association row between a conversion and a label/folder -- not the label itself. - Operation: `list-conversion-labels` - Endpoint: `GET /api/3/conversions/labels`
List conversion metrics Agent-oriented read: event count, unique contacts, and total value per conversion. Backed by ConversionAgentService::getConversionMetrics(). - Operation: `list-conversion-metrics` - Endpoint: `GET /api/3/conversions/metrics`
List conversions - Operation: `list-conversions` - Endpoint: `GET /api/3/conversions`
List conversion statistics Read-optimized conversion stats (counts, values, graph series), separate from GET /conversions. Backed by ConversionsService::fetchConversionData(). - Operation: `list-conversions-data` - Endpoint: `GET /api/3/conversions/data`
List EcomOrderProducts - Operation: `list-ecomorderproducts` - Endpoint: `GET /api/3/ecomOrderProducts`
List the required and default-value settings of standard fields Lists the account's settings for its standard fields: the built-in fields of contacts, deals and accounts, such as a contact's email or a deal's description. Each setting says whether the field must have a value and what value is used when it has none. Custom fields are not listed here: contact custom fields use GET/PUT /fields, and deal and account custom fields use /dealCustomFieldMeta and /accountCustomFieldMeta. Only fields that have a setting are listed. Accounts are created with settings for contact.email (required), contact.first_name, contact.last_name, contact.phone, contact.userid, deal.description, account.account_url, account.account_owner and account.userid. The list is not paginated. Any query parameter other than type returns 400. - Operation: `list-field-details` - Endpoint: `GET /api/3/fieldDetails`
List Flow Executions Lists Flow Executions. Tags: Flows - Operation: `list-flow-execution` - Endpoint: `GET /api/3/channel/whatsapp/flow-execution`
List Flow Execution Contacts Lists Flow Execution Contacts. Tags: Flows - Operation: `list-flow-execution-contact` - Endpoint: `GET /api/3/channel/whatsapp/flow-execution-contact`
List the rows of an app or integration import that failed or were only partly imported, with reasons For one import from GET /import/history, list the rows that did not import (type failure) or that imported but had a list subscription skipped (type partial), each with its email and the reason. This is the endpoint to use when a user asks why their import had errors. It covers imports started from the app or by an integration only; imports submitted through POST /import/bulk_import are not in the history and their reasons are only available through the import callback. Returns at most 500 rows, oldest first, and there is no paging beyond that. For partial rows the reason starts with "Imported under ID: <contact id>", followed by the skipped reason in parentheses. Integration imports have no per-row log and return an empty list. An import id that does not exist, or that the caller is not allowed to see, is a 404. Requires the contact import permission. - Operation: `list-import-failed-rows` - Endpoint: `GET /api/3/import/history/{importId}/{type}`
List contact imports made from the app or by integrations List this account's contact imports that were started from the app's import tool (CSV or file uploads) or by an integration, newest first, with how many rows imported, partly imported, or failed. Use it to answer questions about an import a user ran in the app, then use GET /import/history/{importId}/{type} to get the rows that failed and why. Imports submitted through POST /import/bulk_import do not appear here; check those with GET /import/info. Users outside the main user group only see imports from their own group. Paginated with limit (1 to 100, default 20) and offset; meta.total is the number of imports visible to the caller. Requires the contact import permission. - Operation: `list-import-history` - Endpoint: `GET /api/3/import/history`
List EcomOrderProducts for a Specific EcomOrder - Operation: `list-products-for-order` - Endpoint: `GET /api/3/ecomOrders/{id}/orderProducts`
List records by schema List the records of one custom object. A user who is not an Account Admin must filter to the contact, deal or account the records are associated with: filters[relationships.primary-contact][eq], filters[relationships.deal][eq] or filters[relationships.account][eq]. Without one of those filters the request answers 403. - Operation: `list-records-created-from-a-schema` - Endpoint: `GET /api/3/customObjects/records/{schemaId}`
List SMS broadcast delivery failures Delivery failures for one SMS broadcast, grouped by error code and source (ac or twilio) with a count per group. Optional start_date and end_date bounds. Tags: Failures, Broadcasts, Metrics - Operation: `list-sms-broadcast-failures` - Endpoint: `GET /api/3/sms/broadcasts/metrics/{broadcastId}/failures`
List SMS broadcast recipients Recipients of one SMS broadcast with per-recipient delivery and engagement, filterable by deliverability (deliveries, failures) and engagement (clicks, replies, optOuts), searchable, ordered, and paged with limit and offset. Tags: Recipients, Broadcasts - Operation: `list-sms-broadcast-recipients` - Endpoint: `GET /api/3/sms/broadcasts/{broadcastId}/recipients`
List recent activity items Up to 25 recent contact activities of the requested types, one per contact, contacts with an avatar first, then newest first. - Operation: `list-stats-activity-items` - Endpoint: `GET /api/3/statsActivityItem/get`
List Variables Retrieve a list of personalization variables - Operation: `list-variables` - Endpoint: `GET /api/3/personalizations`
List WhatsApp Templates Lists WhatsApp Templates. You can search with the `name` and `status` fields using the `?search=my-template-name` query parameter. Tags: Templates - Operation: `list-whatsapp-templates` - Endpoint: `GET /api/3/channel/whatsapp/channels/whatsapp/template`
Get all broadcast messages Gets a paged list of all of a customer's broadcast messages with optional filtering Tags: Broadcasts - Operation: `listBroadcasts` - Endpoint: `GET /api/3/sms/broadcasts`
List available 10DLC area codes The area codes that have local phone numbers available to buy for the account's 10DLC registration, narrowed by the optional `region`, `areacode` and `zipcode` filters. The query string is applied to the search unchanged and the list is returned as `{"areacodes": [...]}`. Requires the SMS registration permission. Tags: Areacodes - Operation: `listSms10dlcAreacodes` - Endpoint: `GET /api/3/sms/10dlc/areacodes`
Retrieve a brand kit Get a single brand kit by UUID. Tags: AI - Operation: `retrieve-a-brand-kit` - Endpoint: `GET /api/3/ai/brand/{uuid}`
Retrieve a business goal Retrieves a business goal (internally an Initiative / Folder row). - Operation: `retrieve-a-business-goal` - Endpoint: `GET /api/3/initiatives/{initiativeId}`
Retrieve a campaign - Operation: `retrieve-a-campaign` - Endpoint: `GET /api/3/campaigns/{id}`
Retrieve the source of a campaign message Render a campaign message and return the generated email. This is the v3 equivalent of the `source` and `structured` actions of the v1 `campaign_send` action. With `structured=0` (the default) the rendered message is returned as one raw MIME string in `result`. With `structured=1` the message is parsed and its headers, parts and attachments are returned as separate members alongside the raw source. Rendering personalizes the message for `email`; the default address `_t.e.s.t_@example.com` renders the message without a contact. No email is delivered by this endpoint. The account must have the Campaigns module enabled, otherwise the request answers `403`. - Operation: `retrieve-a-campaign-message-source` - Endpoint: `GET /api/3/message/source`
Retrieve one activity entry Returns one entry of a contact's activity feed by its id. Use it to re-read an entry found through GET /activities. The fields are the same as in the list, except notes and recipients, which appear only in the list. The response carries the entry only: the underlying record is not attached, so read it from the endpoint for its type, using reference.type and reference.id. Unlike GET /activities, this read does not refresh the contact's feed first. - Operation: `retrieve-a-contact-activity` - Endpoint: `GET /api/3/activities/{id}`
Retrieve a contact automation history entry Returns one history entry by its ID. Each entry records one step of a contact's run through an automation. For most runs only some kinds of steps, such as waits, goals and sends, keep an entry here. Returns 404 if no entry has the id. - Operation: `retrieve-a-contact-automation-log` - Endpoint: `GET /api/3/contactAutomationLogs/{id}`
Retrieve a contact conversion A contact conversion records one time a contact reached a conversion. It is added when one of the conversion's triggers fires for the contact, for example a tracked event, a visited URL, an automation step or an e-commerce order. It keeps the amount and currency booked at that moment. Returns one entry by its id, even when its conversion is hidden. Entries with no order are left out when the account lacks deals, e-commerce data or site messages, or the API user's group lacks the deals permission. Entries made by an order are left out when the account lacks e-commerce data. Returns 404 if no entry has the id, or if the entry is left out this way. - Operation: `retrieve-a-contact-conversion` - Endpoint: `GET /api/3/contactConversions/{id}`
Retrieve a contact conversion point A contact conversion point is one touchpoint: something a contact did or received before converting, such as an email open, a link click, a delivered SMS or a site visit. Revenue from the conversion is attributed to these touchpoints. The app writes them when a contact converts, from the contact's recent activity. Returns one point by its id. Returns 404 if no point has the id, and 403 when the account does not have Attribution. - Operation: `retrieve-a-contact-conversion-point` - Endpoint: `GET /api/3/contactConversionPoints/{id}`
Retrieve a contact email Returns a single one-to-one email record that a user sent to a contact. The subject and body are on the linked message, not in the record. Returns 404 if no email record has the id. - Operation: `retrieve-a-contact-email` - Endpoint: `GET /api/3/contactEmails/{id}`
Retrieve a goal completion Returns one goal completion by its ID. The record says that a contact reached a goal in an automation. Returns 404 if no goal completion has the id. - Operation: `retrieve-a-contact-goal` - Endpoint: `GET /api/3/contactGoals/{id}`
Retrieve a contact goal list entry A contact goal list entry records one list the contact was on when it reached an automation goal. Returns one entry by its id. Returns 404 if no entry has the id. - Operation: `retrieve-a-contact-goal-list` - Endpoint: `GET /api/3/contactGoalLists/{id}`
Retrieve a contact goal tag entry A contact goal tag entry records one tag the contact had when it reached an automation goal. Returns one entry by its id. Returns 404 if no entry has the id. - Operation: `retrieve-a-contact-goal-tag` - Endpoint: `GET /api/3/contactGoalTags/{id}`
Retrieve a contact import log row One row of the contact import log, by its ID. Each row is one line of the log that imports write as they run: one row for each row processed, imported or not. When a contact was imported but list subscriptions were skipped, there is one row per skipped subscription instead (res 2). Imports started from the app's import tool, imports submitted through POST /import/bulk_import, older sync imports and integrations' automatic syncs all write rows here. To see how one import went, use the endpoint for its kind: for an import started from the app or by an integration, GET /import/history to find it (for an app import, its processid matches the processid on these rows) and GET /import/history/{importId}/{type} for its failed or partly imported rows and their reasons; for an import submitted through POST /import/bulk_import, GET /import/info with its batchId. Returns 404 if no row has that ID. No permission beyond API access is checked: any API user can read every row in the account, including emails from other groups' imports, unlike GET /import/history. - Operation: `retrieve-a-contact-import-log-row` - Endpoint: `GET /api/3/contactImports/{id}`
Retrieve a contact list subscription Returns one contact-to-list membership by its own ID. To find the ID, list subscriptions with `GET /contactLists?contact=` or follow `links.contactLists` on a contact. - Operation: `retrieve-a-contact-list-subscription` - Endpoint: `GET /api/3/contactLists/{id}`
Retrieve a contact log entry Returns one contact log entry by its ID. merge is the only action written today: each merge of two contacts records one entry on the surviving contact. Returns 404 if no log entry has the id. - Operation: `retrieve-a-contact-log` - Endpoint: `GET /api/3/contactLogs/{id}`
Retrieve a contact tag Returns a single contact-to-tag association by its id. The contact and tag fields are ids; fetch the tag definition itself from GET /tags/{id}. Returns 404 if the association does not exist. No permission beyond API access is checked. - Operation: `retrieve-a-contact-tag` - Endpoint: `GET /api/3/contactTags/{id}`
Retrieve an automation a contact is in Returns one run of a contact through an automation, with its status and progress. If the run has ended, subscriberSeriesEnds may say how. Users outside the Admin group can only read runs of contacts on a list their group may access, or on no list. - Operation: `retrieve-a-contactautomation` - Endpoint: `GET /api/3/contactAutomations/{id}`
Retrieve the location of a geo IP entry Returns the location that one geo IP entry resolved to. The id is the id of the geo IP entry, not of a contact or a location. Returns an empty object `{}` when the entry has no location, for example when the location record was removed. Returns 404 if no geo IP entry has the id. - Operation: `retrieve-a-contacts-geo-ip-address` - Endpoint: `GET /api/3/geoIps/{id}/geoAddress`
Retrieve a contact's score value The contact's current point totals: one row per contact score, plus one row per deal for each deal score (deal is then that deal's id). score is the id of the score definition (see GET /scores), scoreValue is the points the contact holds for it, and deal is null for contact scores. Rows for scores that have since been deleted are left out. Every row comes back in one response and no order is guaranteed: limit, offset, filters and orders are ignored on this path. Returns 404 if the contact does not exist. - Operation: `retrieve-a-contacts-score-value` - Endpoint: `GET /api/3/contacts/{id}/scoreValues`
Retrieve a Content Manager file One file from the account's Content Manager by its ID: its title, alt text, type, size, dimensions, keywords and storage keys, and who last changed it and when. Answers 404 when the account has no such file. Unlike the search and the lists, retrieving by ID can still return a file that was deleted. Tags: content manager, files, keyword - Operation: `retrieve-a-content-manager-file` - Endpoint: `GET /api/3/content-proxy/files/{id}`
Retrieve a Content Manager folder One custom folder from the account's Content Manager by its ID. Tags: content manager, folders - Operation: `retrieve-a-content-manager-folder` - Endpoint: `GET /api/3/content-proxy/folders/{id}`
Retrieve a conversion - Operation: `retrieve-a-conversion` - Endpoint: `GET /api/3/conversions/{id}`
Retrieve a conversion label - Operation: `retrieve-a-conversion-label` - Endpoint: `GET /api/3/conversions/labels/{id}`
Retrieve a conversion's statistics Same shape as GET /conversions/data, scoped to a single conversion. Still returns the 'conversions' wrapper with a single-element array. - Operation: `retrieve-a-conversions-data` - Endpoint: `GET /api/3/conversions/{id}/data`
Retrieve a conversion's metrics - Operation: `retrieve-a-conversions-metrics` - Endpoint: `GET /api/3/conversions/{id}/metrics`
Retrieve a conversion's daily trend data Daily time series of event count, unique contacts, and total value. Backed by ConversionAgentService::getConversionTrends(). - Operation: `retrieve-a-conversions-trends` - Endpoint: `GET /api/3/conversions/{id}/trends`
Retrieve a deal custom field Tags: deal, deals, field definition, custom field - Operation: `retrieve-a-custom-deal-field-meta` - Endpoint: `GET /api/3/dealCustomFieldMeta/{id}`
Retrieve a deal custom field value Tags: deal, deals, field value - Operation: `retrieve-a-custom-deal-field-value` - Endpoint: `GET /api/3/dealCustomFieldData/{id}`
Get a custom field by ID Returns one custom field definition by its field id, with its options side-loaded in a fieldOptions array and its list relationships in a fieldRels array. Ids inside fieldOptions are field option ids, not field ids; they are only valid on the fieldOptions endpoints. 404 if no field has this id. - Operation: `retrieve-a-custom-field-contact` - Endpoint: `GET /api/3/fields/{id}`
Retrieve an account custom field Tags: account, accounts, company, field definition, custom field - Operation: `retrieve-a-custom-field-meta` - Endpoint: `GET /api/3/accountCustomFieldMeta/{id}`
Retrieve a custom field relationship to lists Returns one field-to-list relationship by its id. relid 0 means the field is available on every list. No user permission is checked beyond API access. 404 if no field relationship has this id. - Operation: `retrieve-a-custom-field-relationship` - Endpoint: `GET /api/3/fieldRels/{fieldRelId}`
Retrieve an account custom field value Tags: account, accounts, company, field value - Operation: `retrieve-a-custom-field-value` - Endpoint: `GET /api/3/accountCustomFieldData/{id}`
Retrieve a deal One deal by its id: its title, value and currency, the pipeline (group) and stage it is in, its owner, its primary contact and account, and its status (0 open, 1 won, 2 lost). A user who is not allowed to see all deals can read only the deals they own and gets 403 for any other. A deal in a pipeline the user cannot see comes back with isDisabled true and only its id, title and status. Returns 404 if the deal does not exist, or if it has neither a primary contact nor an account. To list the deals on which one contact is the primary contact, use GET /contacts/{id}/deals; to find deals by status, stage, pipeline or owner, use GET /deals. - Operation: `retrieve-a-deal` - Endpoint: `GET /api/3/deals/{id}`
Retrieve a stage Retrieve an existing stage - Operation: `retrieve-a-deal-stage` - Endpoint: `GET /api/3/dealStages/{id}`
Retrieve a task type Retrieve an existing task type - Operation: `retrieve-a-deal-task-type` - Endpoint: `GET /api/3/dealTasktypes/{id}`
Retrieve a field option Returns one field option by its field option id. The option's field property holds the id of the custom field definition it belongs to; use that id, never the option id, on the /fields/{id} endpoints. 404 if no option has this id. - Operation: `retrieve-a-field-option` - Endpoint: `GET /api/3/fieldOptions/{id}`
Retrieve a contact custom field value Returns one stored custom field value by its fieldValue id. The entry's contact property is the contact id and field is the custom field definition id. 404 if no fieldValue has this id. Unlike the list, this read does not check whether the field is on one of the caller's lists. Like the list, the preferred language field returns the language name instead of its code. Tags: contact, contacts, field value - Operation: `retrieve-a-fieldvalues` - Endpoint: `GET /api/3/fieldValues/{id}`
Retrieve a geo address Returns one location. Returns 404 if no location has the id. - Operation: `retrieve-a-geo-address` - Endpoint: `GET /api/3/geoAddresses/{id}`
Retrieve a geo IP entry Returns one geo IP entry with its location in a top-level `geoAddresses` array. The array is absent when the entry has no location. Returns 404 if no geo IP entry has the id. - Operation: `retrieve-a-geo-ip` - Endpoint: `GET /api/3/geoIps/{id}`
Retrieve a goal Returns one automation goal by ID. Read-only resource: PUT and DELETE are not routed. - Operation: `retrieve-a-goal` - Endpoint: `GET /api/3/goals/{id}`
Retrieve a group - Operation: `retrieve-a-group` - Endpoint: `GET /api/3/groups/{id}`
Retrieve a list Retrieve one contact list by id. The single-list response carries the list's channel, description and timestamps but not the active_subscribers and non_deleted_subscribers counters; read those from GET /lists. Tags: contact list - Operation: `retrieve-a-list` - Endpoint: `GET /api/3/lists/{id}`
Retrieve a list group permission - Operation: `retrieve-a-list-group-permission` - Endpoint: `GET /api/3/listGroups/{id}`
Retrieve a message - Operation: `retrieve-a-message` - Endpoint: `GET /api/3/messages/{id}`
Retrieve a note Returns one note by its id, drafts included. As with GET /notes, only notes the caller is allowed to see can be read: notes on activity entries are always shown. Notes on contacts need permission to edit contacts (pg_subscriber_edit), notes on deals need deal access (pg_deal) and an account with Deals, notes on deal tasks need permission to see all deals (pg_deal_list_all), and notes on accounts need permission to edit accounts (pg_account_edit). Any other note returns 404, the same as an unknown id. - Operation: `retrieve-a-note` - Endpoint: `GET /api/3/notes/{id}`
Retrieve a pipeline Retrieve an existing pipeline - Operation: `retrieve-a-pipeline` - Endpoint: `GET /api/3/dealGroups/{id}`
Retrieve a contact social profile record Returns one social profile and enrichment record by its ID. No permission beyond API access is checked. - Operation: `retrieve-a-plus-append` - Endpoint: `GET /api/3/plusAppends/{id}`
Retrieve a schema Retrieve a specific schema by id. Users are encouraged to leverage the `?showFields=all` query parameter when programmatically creating new schema fields, to ensure field id uniqueness. Fields that have been deleted will contain a `status: marked_for_deletion` attribute. - Operation: `retrieve-a-schema` - Endpoint: `GET /api/3/customObjects/schemas/{id}`
Retrieve a score - Operation: `retrieve-a-score` - Endpoint: `GET /api/3/scores/{id}`
Retrieve a secondary contact Returns one link between a contact and a deal by the link's id. It can be a primary-contact link as well as a secondary one. lastContactDate and lastContactType are not included here. Needs the deals permission; 404 when no link has this id. - Operation: `retrieve-a-secondary-contact` - Endpoint: `GET /api/3/contactDeals/{id}`
Retrieve a segment definition (V2) The full V2 segment definition — the condition JSON the segment builder saved — for one segment UUID. Definitions, not membership: to test whether a contact matches, use the segment match operations. A 404 whose body is a data envelope ({"data": []}) means the account has none — the segment service answers an empty store that way; it is an empty result, not a failed call. Tags: Segments - Operation: `retrieve-a-segment-v2` - Endpoint: `GET /api/3/segmentsV2/{segmentId}`
Retrieve a historic segment definition (V2) The V2 segment definition as it existed at a given timestamp — the stored historic version of a segment the builder later changed. A 404 whose body is a data envelope ({"data": []}) means the account has none — the segment service answers an empty store that way; it is an empty result, not a failed call. Tags: Segments - Operation: `retrieve-a-segment-v2-version` - Endpoint: `GET /api/3/segmentsV2/{segmentId}/createdDate/{timestamp}`
Retrieve a tag Returns a single tag definition, including subscriber_count, the number of contacts the tag is applied to. Use GET /tags with filters[tag] to find a tag by name when the id is not known. Unlike GET /tags, it also returns soft-deleted tags, with deleted set to 1, and template tags. Returns 404 only when no tag with this id exists. Query parameters, including include, are ignored. - Operation: `retrieve-a-tag` - Endpoint: `GET /api/3/tags/{id}`
Retrieve a task outcome Retrieve an existing task outcome - Operation: `retrieve-a-task-outcome` - Endpoint: `GET /api/3/taskOutcomes/{id}`
Retrieve a task type - outcome relation Retrieve an existing task type - outcome relation - Operation: `retrieve-a-task-type-outcome-relation` - Endpoint: `GET /api/3/tasktypeOutcomeRels/{id}`
Retrieve a template - Operation: `retrieve-a-template` - Endpoint: `GET /api/3/templates/{id}`
Retrieve a tracking log entry Returns a single tracking log entry by its id. The same id is the eventId that GET /trackingLogs/{eventId}/contact accepts. Entry ids are returned by GET /trackingLogs and GET /contacts/{id}/trackingLogs; they are not contact ids. Returns 404 if no entry has the given id. - Operation: `retrieve-a-tracking-log` - Endpoint: `GET /api/3/trackingLogs/{id}`
Retrieve account information Retrieve the hosted account and plan information for the account that owns the API key. This is the v3 replacement for the v1 `account_view` action. Authenticate with your account's API key in the `Api-Token` request header. Only users in the **Admin** group may call this endpoint; requests authenticated as any other user return `403`, as do requests with a missing or invalid `Api-Token`. > ❗️ Not the same as `/accounts` > > This endpoint returns information about **your ActiveCampaign hosted account** (billing plan, contact limits, trial and credit status). It is unrelated to the [`/accounts`](https://developers.activecampaign.com/reference/list-all-accounts) endpoints, which manage CRM accounts (the organizations your contacts belong to). ## Migrating from v1 `account_view` | v1 (`account_view`) | v3 (`GET /settings/account`) | Notes | | :--- | :--- | :--- | | `account` | `account` | Unchanged. | | `email` | `email` | Unchanged. | | `fname` | `first_name` | Renamed. | | `lname` | `last_name` | Renamed. | | `cname` | `cname` | Unchanged. An empty string when no CNAME is applied. | | `status` | `status` | Unchanged. | | `subscriber_limit` | `subscriber_limit` | Now an integer instead of a string. | | — | `subscriber_total` | New. The current number of contacts in the account. | | `trial` | `trial` | Always present in v3 as a boolean. In v1 the key was omitted entirely for non-trial accounts. | | `credits` | `credits` | Always present in v3. It is an integer for… - Operation: `retrieve-account-information` - Endpoint: `GET /api/3/settings/account`
Retrieve the activity of an activity recipient Returns the activity entry this record links to, under activity, in the same shape as GET /activities/{id}. The body is an empty object {} in the cases where GET /activityRecipients/{id} returns 403: when the activity entry no longer exists, or it is filtered out for this caller: a deal activity when the caller has no deal access, a mailbox email in another user's private mailbox, an entry for a deal the caller does not own (without permission to see all deals), or a list subscription that was removed. Returns 404 if no record has the id. - Operation: `retrieve-activity-recipient-activity` - Endpoint: `GET /api/3/activityRecipients/{id}/activity`
Retrieve the recipient of an activity recipient Returns the record that relid points to. The record type comes from reltype and sets the response key. Records are written with reltype Subscriber, so the response is the contact, under contact. The body is an empty object {} when the contact no longer exists or relid is 0. Users outside the Admin group also get {} when the contact is only on lists their group may not access. This read does not check the linked activity entry. Returns 404 if no record has the id. - Operation: `retrieve-activity-recipient-recipient` - Endpoint: `GET /api/3/activityRecipients/{id}/recipient`
List deal custom fields Every custom field defined on deals: the deal fields, each with its type and label. Tags: deal, deals, field definition, custom field - Operation: `retrieve-all-custom-deal-field-meta` - Endpoint: `GET /api/3/dealCustomFieldMeta`
Retrieve all lists Retrieve the account's contact lists, 20 per request by default and at most 100; page with offset. Each list in this collection carries two counters: active_subscribers, the contacts with an active subscription to the list, and non_deleted_subscribers, every contact still on the list in any status. The difference between them is the contacts on the list who are unconfirmed, unsubscribed or bounced; the list object does not break that remainder down by status. To count the contacts on one list in one status, use GET /contacts with listid, status and meta=only. Filter by name with filters[name]. Only email lists are returned unless filters[channel] is sms or all. The exclusion list is not a contact list; see GET /lists/exclusions. - Operation: `retrieve-all-lists` - Endpoint: `GET /api/3/lists`
List all tags Returns tag definitions, each with subscriber_count, the number of contacts the tag is applied to. Contact tags are returned by default; pass type=template for template tags. To find a tag by exact name, use filters[tag] or filters[search][eq]; both match the whole name, ignoring case. For a partial-name search, use search: it is a case-insensitive substring match, so it returns every similarly named tag alongside the one asked for. Identify the tag you want by comparing the tag field of each result, never by its position in the list. To apply a tag to a contact, pass the returned id to POST /contactTags. Unrecognized filter and order parameters are silently ignored. When that happens the response contains the unfiltered set with the unfiltered total, so a request with a misspelled filter looks successful while returning every tag. Soft-deleted tags are never listed. Results are sorted by id ascending unless order, selected_tag_id or orders[search]=weight applies; orders[tag], orders[type] and orders[id] have no effect. meta.total is the number of tags that matched, returned as a string; when counting is slow it can come from a cache of up to five minutes. The list is read from a replica, so a tag created a moment ago can be missing briefly. - Operation: `retrieve-all-tags` - Endpoint: `GET /api/3/tags`
Retrieve an account Retrieve an existing account - Operation: `retrieve-an-account` - Endpoint: `GET /api/3/accounts/{id}`
Retrieve an activity recipient Returns one activity recipient record by its ID, under activityRecipient. The linked activity entry comes beside it, under activities. Returns 404 if no record has the id. Returns 403 when the linked activity entry cannot be read. That happens when the activity entry no longer exists, or it is filtered out for this caller: a deal activity when the caller has no deal access, a mailbox email in another user's private mailbox, an entry for a deal the caller does not own (without permission to see all deals), or a list subscription that was removed. - Operation: `retrieve-an-activity-recipient` - Endpoint: `GET /api/3/activityRecipients/{id}`
Retrieve an address - Operation: `retrieve-an-address` - Endpoint: `GET /api/3/addresses/{id}`
Retrieve an addressGroup - Operation: `retrieve-an-addressgroup` - Endpoint: `GET /api/3/addressGroups/{id}`
Retrieve an addressList - Operation: `retrieve-an-addresslist` - Endpoint: `GET /api/3/addressLists/{id}`
Retrieve an association Returns one link between a contact and an account. No list permissions are applied. - Operation: `retrieve-an-association` - Endpoint: `GET /api/3/accountContacts/{id}`
Retrieve a saved audience segment One saved audience segment by its UUID: name, summary and definition metadata. A 404 whose body is a data envelope ({"data": []}) means the account has none — the segment service answers an empty store that way; it is an empty result, not a failed call. Tags: Saved Segment Summaries - Operation: `retrieve-an-audience` - Endpoint: `GET /api/3/audiences/{segmentId}`
Retrieve an automation Returns one automation's metadata (name, status, id). It does not include triggers, actions, or conditions. Use GET /automations with the search query parameter to find an automation by name when the id is not known, then call GET /automations/{id}/blocks for its contents. A row from GET /automations is not that automation unless its id matches the id you asked for. - Operation: `retrieve-an-automation` - Endpoint: `GET /api/3/automations/{id}`
Retrieve an EcomOrderProduct - Operation: `retrieve-an-ecomorderproduct` - Endpoint: `GET /api/3/ecomOrderProducts/{id}`
Retrieve an archived contact One archived contact by the id it had before it was archived. The row is the contact as it was when archived, with deleted_at saying when. Unlike the list, this read is not limited to Admin users, has no 360-day limit, and carries no is_restorable flag. Returns 404 if no archived contact has that id, including when the contact is still active or has been permanently deleted. - Operation: `retrieve-archived-contact` - Endpoint: `GET /api/3/contactArchives/{id}`
Retrieve an automation's blocks Returns the trigger, actions, waits, conditions, and goals that make up one automation: each block's id, seriesid, parentid, ordernum, type, and params. This is the read for what is inside a single automation. It is not an account-wide list and not contact run history. - Operation: `retrieve-automation-blocks` - Endpoint: `GET /api/3/automations/{id}/blocks`
Retrieve how contacts enter an automation (its start triggers) Returns the start records for one automation in `automationTriggers`: each record's id, type, and params (for example a tag-added start has type `tagadd` and the tag name in `params.tag`). Use this with retrieve-automation-blocks when the start block only lists trigger ids and the goal needs how a contact enters. This is not GET /automations/triggers (the account-wide trigger-type catalog) and not contact run history. Tags: start trigger, enter automation, entry condition, contact enters - Operation: `retrieve-automation-triggers` - Endpoint: `GET /api/3/automations/{id}/triggers`
Retrieve a brand kit's competitors Get the competitors of any brand kit, not only the primary one. Competitors are stored apart from the brand kit record, so Retrieve a brand kit and List all brand kits do not return them. An empty list means the kit has no competitors only when status is complete; when status is not_started, pending or failed the competitors are not available yet. Tags: AI - Operation: `retrieve-brand-kit-competitors` - Endpoint: `GET /api/3/ai/brand/{uuid}/competitors`
Retrieve a brand kit's website history Get the latest stored snapshot of the brand's homepage as markdown and every recorded change to it, for any brand kit. When nothing has been stored yet the homepage is scraped first, so the first call takes longer. Set includeSitePages to also get the stored important pages of the website with their recent changes. Tags: AI - Operation: `retrieve-brand-kit-history` - Endpoint: `GET /api/3/ai/brand/{uuid}/brand-history`
Retrieve a brand kit's tone Get the brand voice and tone of any brand kit, not only the primary one. Tone is stored apart from the brand kit record, so Retrieve a brand kit and List all brand kits do not return it. An empty tone means the kit has none only when status is complete; when status is not_started, pending or failed the tone is not available yet. Tags: AI - Operation: `retrieve-brand-kit-tone` - Endpoint: `GET /api/3/ai/brand/{uuid}/tone`
Retrieve a business goal (agent-oriented read) A read-optimized, single-record view of one business goal, separate from GET /initiatives/{initiativeId}. Returned directly from InitiativeAgentDataService::getInitiative(). Unlike the list endpoint, assets are always populated here (no includeAssets flag), and each conversion's conversionEvents (trigger detail) is always included when present. - Operation: `retrieve-business-goal-data` - Endpoint: `GET /api/3/businessGoals/data/{initiativeId}`
Retrieve campaign messages associated to campaign Retrieve the per-message reporting totals for a campaign. Each element of `campaignMessages` corresponds to one message the campaign sent: a single element for a regular campaign, and one element per variation for a split (A/B) campaign, which is the only way to break a split campaign's results down by variation. The counters are lifetime totals for the message and cannot be constrained to a date range. This collection is not paginated: every message of the campaign is returned, and `limit`, `offset` and `meta.total` do not apply. The endpoint is read only; `POST`, `PUT` and `DELETE` return `403`. - Operation: `retrieve-campaign-messages-associated-campaign` - Endpoint: `GET /api/3/campaigns/{id}/campaignMessages`
Retrieve a contacts account contacts The link between this contact and its account (company): the account id, the contact's job title there, and when the link was created and last changed. A contact can be on one account at a time, so the list normally holds at most one row and is empty when the contact has no account. Everything comes back in one response: limit, offset, filters and orders are ignored on this path. To find links across contacts, use GET /accountContacts with filters[contact] or filters[account]. Returns 404 if the contact does not exist. - Operation: `retrieve-contact-account-contacts` - Endpoint: `GET /api/3/contacts/{id}/accountContacts`
Retrieve a contacts automation entry counts For each automation this contact has entered, the number of times they entered it. Hidden automations (the ones the app creates to add form submitters to a list) are left out. Rows are ordered by automation id. Everything comes back in one response with no links or meta: limit and offset are ignored. Only GET is allowed. Returns 404 if the contact does not exist. - Operation: `retrieve-contact-automation-entry-counts` - Endpoint: `GET /api/3/contacts/{id}/automationEntryCounts`
Retrieve one contact's recorded steps (including the Webhook action) and skip reason in an automation Recorded steps for one contact's enrollment in one automation, earliest first, including the Webhook action (send a webhook in an automation) when that contact reached it. When a step was skipped, skipped.reason and skipped.extra are the skip saved for that contact. skipped.extra is additional context for the skip reason; this read does not return a success HTTP status or response body from the URL to post. This is not an account-wide total: blockEventsAggregate and skipReasonContext do not answer why this contact was skipped. Use the contact automation id from list-all-contact-automations, list-all-contactautomations-for-contact, or list-all-contactautomations-for-automation. Returns 404 when that enrollment is not in the automation. An empty steps list means nothing was logged yet; it does not explain why a contact never entered. Tags: skipped, contact skipped, skip reason, HTTP status, endpoint return - Operation: `retrieve-contact-automation-steps` - Endpoint: `GET /api/3/automations/{seriesId}/contactAutomations/{contactAutomationId}/steps`
Retrieve a contact's bounce logs The bounce log entries recorded for this contact, one per bounced message with its timestamp, bounce code and campaign. For every bounce log on the account, use GET /bounceLogs. Neither endpoint filters by a date range, so a bounce count for a period is not available in one request. Every entry comes back in one response: limit and offset are ignored on this path. - Operation: `retrieve-contact-bounce-logs` - Endpoint: `GET /api/3/contacts/{id}/bounceLogs`
Retrieve the contact of a contact conversion Returns the contact who converted. The id is the id of the entry. Returns an empty object {} when the contact no longer exists. Users outside the Admin group also get {} when the contact is only on lists their group may not access. Returns 404 if no entry has the id, or if the entry is left out, as for GET /contactConversions/{id}. - Operation: `retrieve-contact-conversion-contact` - Endpoint: `GET /api/3/contactConversions/{id}/contact`
Retrieve the conversion of a contact conversion Returns the conversion that one entry belongs to, hidden or not. The id is the id of the entry. Returns an empty object {} when the conversion no longer exists. Returns 404 if no entry has the id, or if the entry is left out, as for GET /contactConversions/{id}. - Operation: `retrieve-contact-conversion-conversion` - Endpoint: `GET /api/3/contactConversions/{id}/conversion`
Retrieve the trigger of a contact conversion Returns the trigger that fired for one entry. The id is the id of the entry. The trigger comes back under conversionTrigger. Returns an empty object {} when the trigger no longer exists. Returns 404 if no entry has the id, or if the entry is left out, as for GET /contactConversions/{id}. - Operation: `retrieve-contact-conversion-conversion-trigger` - Endpoint: `GET /api/3/contactConversions/{id}/conversiontrigger`
Retrieve the contact of a contact conversion point Returns the contact that one point belongs to. The id is the id of the point, not of the contact. Returns an empty object {} when the contact no longer exists or the point has none. Returns 404 if no point has the id, and 403 when the account does not have Attribution. - Operation: `retrieve-contact-conversion-point-contact` - Endpoint: `GET /api/3/contactConversionPoints/{id}/contact`
Retrieve a contact's data The contact's data record: one row of extra information the application keeps about the contact, mostly where the contact appears to be located. The location fields (geoIp4, geoCountry2, geo_country, geoState, geoCity, geoZip, geoLat, geoLon, geoTz, geoTzOffset, geoTstamp) are filled by a MaxMind GeoIP lookup of an IP address recorded for the contact, for example when the contact subscribes, opens or clicks a tracked email, or is added through the v1 API with an ip4 value; contact enrichment can also fill the city, state, country, country code and zip when they are blank, and sets geoTstamp when it does. The ga_campaign_*, ga_first_visit, ga_times_visited, fb_id, fb_name and tw_id fields are legacy columns that the application no longer writes. A contact has at most one data record, so the response is a single contactDatum object, not a list: limit, offset, filters and orders are ignored on this path. The record is created on demand (for example the first time a location is stored, or when the contact is personalized for a send), so a contact that has none yet returns an empty object ({}) with status 200. Values come back as strings; tstamp, geoTstamp and ga_first_visit are ISO 8601 dates or null. Returns 404 if the contact does not exist. - Operation: `retrieve-contact-data` - Endpoint: `GET /api/3/contacts/{id}/contactData`
Retrieve a contact data record Returns one contact data record by its own ID (not the contact ID). To read a contact's record by contact ID, use GET /contacts/{id}/contactData. The location fields (geoIp4, geoCountry2, geo_country, geoState, geoCity, geoZip, geoLat, geoLon, geoTz, geoTzOffset, geoTstamp) are filled by a MaxMind GeoIP lookup of an IP address recorded for the contact, for example when the contact subscribes, opens or clicks a tracked email, or is added through the v1 API with an ip4 value; contact enrichment can also fill the city, state, country, country code and zip when they are blank, and sets geoTstamp when it does. The ga_campaign_*, ga_first_visit, ga_times_visited, fb_id, fb_name and tw_id fields are legacy columns that the application no longer writes. Values come back as strings; tstamp, geoTstamp and ga_first_visit are ISO 8601 dates or null. No permission beyond API access is checked. Returns 404 if no record has this ID. - Operation: `retrieve-contact-data-record` - Endpoint: `GET /api/3/contactData/{id}`
Retrieve a contact's deals The deals on which this contact is the primary contact. Deals where the contact is only a secondary contact are not included; GET /contacts/{id}/contactDeals lists the contact's secondary-contact links. At most 100 deals come back and no order is guaranteed: limit, offset, filters and orders are ignored on this path, so a contact with more than 100 deals cannot be paged here. A user who is not allowed to see all deals gets only the deals they own. A deal in a pipeline the user cannot see comes back with isDisabled true and only its id, title and status. To find deals across contacts, use GET /deals, which supports filters such as filters[status], filters[stage], filters[group] and filters[owner] and orders such as orders[cdate] and orders[value]. Returns 404 if the contact does not exist. - Operation: `retrieve-contact-deals` - Endpoint: `GET /api/3/contacts/{id}/deals`
Retrieve a list of contact's deals The deals this contact is on as a secondary contact, as contact-to-deal links. Each link carries the deal id (deal), the contact id (contact), the contact's role on the deal (role, null when none) and when the link was made (cdate). Deals where this contact is the primary contact are not listed here; GET /contacts/{id}/deals returns those. Every link comes back in one response: limit and offset are ignored on this path, and no order is guaranteed. The linked deals are sideloaded in deals and their primary contacts in contacts. A user without the permission to list all deals sees only links to deals they own. Returns 404 if the contact does not exist. For deal links across contacts, or to page through them, use GET /contactDeals with filters[deal] and filters[contact]. - Operation: `retrieve-contact-deals-list` - Endpoint: `GET /api/3/contacts/{id}/contactDeals`
Retrieve a contact's field values Returns every stored custom field value of one contact. The whole set is always returned: limit and offset are ignored on this endpoint. Each entry's field property is the custom field definition id; entries exist only for fields the contact has a stored value for. 404 if the contact does not exist. - Operation: `retrieve-contact-field-values` - Endpoint: `GET /api/3/contacts/{id}/fieldValues`
Retrieve a contacts list of geo-ips The IP addresses recorded for this contact, with the campaign and message they were seen on. Each entry carries the address as a number in text form (ip4) and the id of the location it resolved to (geoAddress); links.geoAddress leads to that location. At most 100 entries are returned, in no guaranteed order; limit and offset are ignored on this path. Returns 404 if the contact does not exist. - Operation: `retrieve-contact-geo-ips` - Endpoint: `GET /api/3/contacts/{id}/geoIps`
Retrieve the automation of a goal completion Returns the automation that holds the goal, under automation. The id is the id of the goal completion, not of the automation. Returns an empty object {} when the automation no longer exists or seriesid is "0". Returns 404 if no goal completion has the id. The automation is also returned by GET /automations/{id}. - Operation: `retrieve-contact-goal-automation` - Endpoint: `GET /api/3/contactGoals/{id}/automation`
Retrieve the contact of a goal completion Returns the contact who reached the goal, under contact. The id is the id of the goal completion, not of the contact. Returns an empty object {} when the contact no longer exists or subscriberid is "0". Users outside the Admin group also get {} when the contact is only on lists their group may not access. Returns 404 if no goal completion has the id. For the full contact record, see GET /contacts/{id}. - Operation: `retrieve-contact-goal-contact` - Endpoint: `GET /api/3/contactGoals/{id}/contact`
Retrieve the contact automation of a goal completion Returns the contact's run through the automation in which they reached the goal, under contactAutomation. The id is the id of the goal completion, not of the run. Returns an empty object {} when the run no longer exists or subscriberseriesid is "0". Returns 404 if no goal completion has the id. For the full run record, see GET /contactAutomations/{id}. - Operation: `retrieve-contact-goal-contact-automation` - Endpoint: `GET /api/3/contactGoals/{id}/contactAutomation`
Retrieve the goal of a goal completion Returns the goal the contact reached, under goal. The id is the id of the goal completion, not of the goal. Returns an empty object {} when the goal no longer exists or goalid is "0". Returns 404 if no goal completion has the id. The goal is also returned by GET /goals/{id}. - Operation: `retrieve-contact-goal-goal` - Endpoint: `GET /api/3/contactGoals/{id}/goal`
Retrieve the reached goal of a contact goal list entry Returns the reached goal that one entry belongs to: the contact, the automation, the goal and when it was reached. The id is the id of the entry, not of the goal. Returns an empty object {} when the reached goal no longer exists or the entry has none. Returns 404 if no entry has the id. - Operation: `retrieve-contact-goal-list-contact-goal` - Endpoint: `GET /api/3/contactGoalLists/{id}/contactGoal`
Retrieve the list of a contact goal list entry Returns the stored list record that one entry points to. The id is the id of the entry, not of the list. The list comes back under result, not list, with its stored columns as text. Returns an empty object {} when the list no longer exists or the entry has no list. Returns 404 if no entry has the id. For the list in its usual shape, use GET /lists/{id} with the entry's list id. - Operation: `retrieve-contact-goal-list-list` - Endpoint: `GET /api/3/contactGoalLists/{id}/list`
Retrieve the reached goal of a contact goal tag entry Returns the reached goal that one entry belongs to: the contact, the automation, the goal and when it was reached. The id is the id of the entry, not of the goal. Returns an empty object {} when the reached goal no longer exists or the entry has none. Returns 404 if no entry has the id. - Operation: `retrieve-contact-goal-tag-contact-goal` - Endpoint: `GET /api/3/contactGoalTags/{id}/contactGoal`
Retrieve the tag of a contact goal tag entry Returns the tag that one entry points to, in the same shape as GET /tags/{id}. The id is the id of the entry, not of the tag. The tag is read as it is now, not as it was when the goal was reached, so its name may have changed since. Returns an empty object {} when the tag no longer exists or the entry's tagid is 0. Returns 404 if no entry has the id. - Operation: `retrieve-contact-goal-tag-tag` - Endpoint: `GET /api/3/contactGoalTags/{id}/tag`
Retrieve a contact's goals The automation goals this contact has reached, one entry per goal reached in one automation run. goal is the goal id, automation the automation id, and contactAutomation the id of the run (an entry of GET /contacts/{id}/contactAutomations). Every entry comes back in one response: limit and offset are ignored on this path. Returns 404 if the contact does not exist. - Operation: `retrieve-contact-goals` - Endpoint: `GET /api/3/contacts/{id}/contactGoals`
Retrieve a contact's list memberships The lists this contact is on, one row per subscription with its status and dates. To answer how and when a contact left a list: status 2 is unsubscribed and 3 is bounced; udate is when the membership was unsubscribed or bounced and is null while it is active (a resubscribe clears it and resets sdate); unsubreason is the reason recorded with an unsubscribe, empty when none was given; sourceid says how the subscription was created (0 unknown, 1 import, 2 sync, 3 account user, 4 API, 5 form, 6 form opt-in, 7 trigger, 8 SMS, 9 automation, 10 bulk edit, 11 email, 12 Gmail). Every membership comes back in one response: limit and offset are ignored on this path. - Operation: `retrieve-contact-list-memberships` - Endpoint: `GET /api/3/contacts/{id}/contactLists`
Retrieve a contact's logs Log entries recorded against this contact. merge is the only action written today, recorded on the surviving contact, so most contacts have an empty list. Every entry comes back in one response: limit, offset, filters and orders are ignored on this path. Returns 404 if the contact does not exist. - Operation: `retrieve-contact-logs` - Endpoint: `GET /api/3/contacts/{id}/contactLogs`
Retrieve a contact's notes The notes attached to one contact. Each note carries its text, the account user who wrote it (userid), and when it was created and last changed (cdate, mdate). Every note comes back in one response, drafts included (is_draft): limit, offset, filters and orders are ignored on this path, and no order is guaranteed, so sort on cdate yourself if order matters. To add a note to a contact, use POST /contacts/{contactId}/notes (create-a-contact-note). Returns 404 if the contact does not exist. - Operation: `retrieve-contact-notes` - Endpoint: `GET /api/3/contacts/{contactId}/notes`
Retrieve a contacts organization The account (company) this contact belongs to, in the older organization shape: name, owner and dates. The account is found from the account id stored on the contact or, when that is not set, from the contact's account link. The response is an empty object {} when the contact has no account. This read is kept for compatibility; prefer GET /contacts/{id}/accountContacts and then GET /accounts/{id}, which also returns the account's website. Returns 404 if the contact does not exist. - Operation: `retrieve-contact-organization` - Endpoint: `GET /api/3/contacts/{id}/organization`
Retrieve a contact's social data Social profile details that contact enrichment has attached to this contact: a photo URL and Facebook, Twitter and LinkedIn profile URLs. This path serves a reduced copy of the record, so only those fields come back here; the last_updated dates and the other enrichment columns are not included. A contact has at most one such record, so limit and offset do not apply. The response is an empty object {} when the contact has none. Returns 404 if the contact does not exist. Tags: social data, ERJA - Operation: `retrieve-contact-plus-append` - Endpoint: `GET /api/3/contacts/{id}/plusAppend`
List the tags applied to a contact List the tags applied to one contact, as contact-to-tag associations. Each item's tag is the tag id (fetch the name with GET /tags/{id}, or several at once with GET /tags?ids=1,2), and its id is the association id to pass to DELETE /contactTags/{id}. Returns every association the contact has: limit and offset are ignored. Associations whose tag has since been deleted are not shown. Returns 404 if the contact does not exist. GET /contactTags?filters[subscriberid]={id} returns the same associations with paging, plus any whose tag has been deleted. To apply tags use POST /contacts/{id}/tags; to remove one use DELETE /contacts/{id}/tags/{tagId}. - Operation: `retrieve-contact-tags` - Endpoint: `GET /api/3/contacts/{id}/contactTags`
Retrieve a contacts tracking logs Returns every site-tracking and event-tracking log entry recorded for a contact. Each entry's id is the eventId that GET /trackingLogs/{eventId}/contact accepts; entry ids come from their own account-wide sequence and are unrelated to contact ids. The full list is returned in one response; limit and offset are ignored on this route (use GET /trackingLogs with filters[subscriberid] for a paginated listing). An entry's type is __pagevisit for a site-tracking page visit (value holds the page URL), __redir for a tracked link redirect (value holds the destination URL), or the name of an event-tracking event (value holds the event data). Entries are copied into this log when the contact's activity feed is refreshed, so events recorded moments ago may not appear yet. Returns 404 if the contact does not exist. - Operation: `retrieve-contact-tracking-logs` - Endpoint: `GET /api/3/contacts/{id}/trackingLogs`
Retrieve the automation of a contact automation Returns the automation this run is in, under automation. The body is an empty object {} when that automation no longer exists. Returns 404 if the run does not exist. - Operation: `retrieve-contactautomation-automation` - Endpoint: `GET /api/3/contactAutomations/{id}/automation`
Retrieve the contact of a contact automation Returns the contact on this run, under contact. The body is an empty object {} when the contact no longer exists. Users outside the Admin group also get {} when the contact is only on lists their group may not access. Returns 404 if the run does not exist. - Operation: `retrieve-contactautomation-contact` - Endpoint: `GET /api/3/contactAutomations/{id}/contact`
Retrieve how a contact automation ended Returns the record of how this run ended, under subscriberSeriesEnd. The body is an empty object {} when the run has no end record, for example while it is in progress. When a run has more than one end record, one of them is returned. Returns 404 if the run does not exist. - Operation: `retrieve-contactautomation-end` - Endpoint: `GET /api/3/contactAutomations/{id}/subscriberSeriesEnd`
Retrieve an ecommerce customer behavior summary Customers with completed or recovered orders in a date window, split per connection (store) into new (one order in the window), repeat (more than one order in the window) and inactive (latest order in the window is more than 90 days before the end of the window). Inactivity is measured from endDate, not from today, and only orders inside the window are looked at, so a window of 90 days or less, including the default 30-day window, never has inactive customers. The three groups do not overlap, so they add up to that connection total_customers. Because a customer who shops at two stores is counted once for each, the grand total_customers is not a count of distinct people. Pass behaviorType to add figures for one group. Tags: Ecommerce - Operation: `retrieve-ecom-customer-behavior-summary` - Endpoint: `GET /api/3/ai/ecom/customerBehaviorSummary`
Retrieve an ecommerce order status summary How many ecommerce orders are in each state in a date window, with completion and abandonment rates. Unlike the revenue summary this counts every state, abandoned and pending carts included, so its total_orders is not comparable with the revenue summary order_count. completion_rate and abandonment_rate exclude open carts from the denominator; the two _effective_percent rates include them. Rates are percentages returned as strings with two decimals. Tags: Ecommerce - Operation: `retrieve-ecom-order-status-summary` - Endpoint: `GET /api/3/ai/ecom/orderStatusSummary`
Retrieve ranked ecommerce products Products ranked by revenue, units sold or order frequency over a date window, counting only completed and recovered orders (abandoned and pending carts are excluded), aggregated across orders by the product external id within each connection, so the same product sold through two connections is two entries. Page through the ranking with limit and offset; total_products_found is the size of the whole ranking, not of the page. Tags: Ecommerce - Operation: `retrieve-ecom-product-rankings` - Endpoint: `GET /api/3/ai/ecom/productRankings`
Retrieve an ecommerce revenue summary Revenue for completed and recovered ecommerce orders in a date window: the order count and the number of distinct customers who placed them, broken down by currency and, when no connectionId is given, by connection (store). Already-formatted money strings are returned beside the raw amounts. Orders in any other state, such as abandoned or pending carts, are not counted; use the order status summary for those. A window of orders is chosen by the date the order was created in the store, not the date it reached ActiveCampaign. Counts and raw amounts are returned as numeric strings, exactly as the database reports them. Tags: Ecommerce - Operation: `retrieve-ecom-revenue-summary` - Endpoint: `GET /api/3/ai/ecom/revenueSummary`
Retrieve Event Tracking Status Get event tracking status (enabled or disabled) - Operation: `retrieve-event-tracking-status` - Endpoint: `GET /api/3/eventTracking`
List contact custom fields Lists custom field definitions for contacts, 20 per page by default, ordered by ordernum then id unless an orders parameter is given. The response side-loads a fieldOptions array with the options of every returned field; ids inside it are field option ids, not field ids, and are only valid on the fieldOptions endpoints, never on /fields/{id}. A fieldRels array side-loads the fields' list relationships. Each field's own options property lists the ids of its options in the side-loaded array. Use only the query parameters documented here: unsupported filter and order fields are silently ignored, so the response looks filtered but is not. filters match exactly; use search for a partial title match. Passing any orders parameter, including an unsupported one, replaces the default ordernum ordering: when no supported orders field is given, the results come back in no guaranteed order. meta.total is the number of matching fields, returned as a string. This endpoint covers contact fields only; deal fields live under dealCustomFieldMeta and account fields under accountCustomFieldMeta. Tags: contact, contacts, field definition, custom field - Operation: `retrieve-fields` - Endpoint: `GET /api/3/fields`
Retrieve a form Retrieve a form's settings, fields and actions. `public_url` is the form's public link and `embed_code` is the snippet to place the form on a website. `url` is the builder's preview website, not the public link. - Operation: `retrieve-forms` - Endpoint: `GET /api/3/forms/{id}`
Retrieve goal showcase How many contacts entered the goal's automation, plus the top ten tags, top ten lists and time-to-goal buckets among contacts who reached the goal. Legacy endpoint with no method guard: any HTTP method is answered the same way; GET is the documented verb and the one the app uses. - Operation: `retrieve-goal-showcase` - Endpoint: `GET /api/3/goal/showcase`
Retrieve goal stats Completion statistics for one automation goal, ranked against the other goals in the same automation. Legacy endpoint with no method guard: any HTTP method is answered the same way; GET is the documented verb and the one the app uses. - Operation: `retrieve-goal-stats` - Endpoint: `GET /api/3/goal/goalStats`
Retrieve inaccessible pipelines by user Retrieve pipelines that given user doesn't have access to - Operation: `retrieve-inaccessible-pipelines-by-user` - Endpoint: `GET /api/3/dealGroup/get_inaccessible_deal_groups`
Retrieve links associated to campaign - Operation: `retrieve-links-associated-campaign` - Endpoint: `GET /api/3/campaigns/{id}/links`
Retrieve contact trends for a list Daily contact and unsubscribe totals for a date window, the same numbers as the Contact Trends report. Pass list_id for one list. Omit it, or send 0, for every list the caller can access. A caller who is not a main-group admin only receives lists they are allowed to see. unsubscribe_total is the count of memberships still unsubscribed whose unsubscribe date falls in the window. The series is built from the current membership row, so a contact who left and later resubscribed is counted from the latest subscribe date only, and a deleted contact is absent. - Operation: `retrieve-list-contact-trends` - Endpoint: `GET /api/3/ai/report_trends_activity`
Retrieve list of all notes Lists notes. A note belongs to one record: a contact, a deal, a deal task, a contact activity entry or an account, named by reltype and relid. Only notes the caller is allowed to see are returned. Notes on activity entries are always shown. Notes on contacts need permission to edit contacts (pg_subscriber_edit), notes on deals need deal access (pg_deal) and an account with Deals, notes on deal tasks need permission to see all deals (pg_deal_list_all), and notes on accounts need permission to edit accounts (pg_account_edit). Drafts are left out unless filters[is_draft] asks for them. Without orders, the order of the notes is not defined. There is no error response of its own: unknown filters are ignored. GET /contacts/{id}/notes lists the notes of one contact. - Operation: `retrieve-list-of-all-notes` - Endpoint: `GET /api/3/notes`
Retrieve the default (primary) brand kit Get the account's default brand kit, also called its primary brand kit: which kit is the default now, falling back to the most recently created one if none is marked primary. Use it to confirm the current default, including after Set the default (primary) brand kit. Tags: AI, brand kit, default, primary - Operation: `retrieve-primary-brand-kit` - Endpoint: `GET /api/3/ai/brand/primary`
Retrieve segment metadata Metadata for one saved segment by its UUID — the record about the segment rather than its condition definition. A 404 whose body is a data envelope means the segment does not exist; it is an empty result, not a failed call. - Operation: `retrieve-segment-metadata` - Endpoint: `GET /api/3/segmentsV2/metadata/{segmentId}`
Retrieve whether site tracking is enabled Get site tracking status (enabled or disabled) - Operation: `retrieve-site-tracking-status` - Endpoint: `GET /api/3/siteTracking`
Retrieve SMS broadcast metrics snapshot Account-wide totals for SMS broadcasts — campaigns, sends, deliveries, clicks, replies, failures and opt-outs — optionally bounded by start_date and end_date (YYYY-MM-DD). Tags: Metrics, Snapshots, Broadcasts - Operation: `retrieve-sms-metrics-snapshot` - Endpoint: `GET /api/3/sms/broadcasts/metrics/snapshot`
Retrieve a Variable Retrieve an individual personalization variable - Operation: `retrieve-variable` - Endpoint: `GET /api/3/personalizations/{variableId}`
Search the Content Manager for files Files stored in the account's Content Manager, found by title, keyword or alt text, one page at a time: 20 files by default and 40 at most, with fileCount giving how many match in all. Results are not only images: filter with mimeType or mimeTypes to keep one kind of file, or check each file's mimeType. Pass folderId to search one folder. Use sort=added,desc for newest first. Each file carries its storage key, and its address is built from baseUrl and that key together. Tags: content manager, files, images, pdf, keyword - Operation: `search-content-manager-files` - Endpoint: `GET /api/3/content-proxy/files`
Translate a segment into human-readable text Converts a segment's conditions into natural language text Tags: Segments - Operation: `translateSegment` - Endpoint: `GET /api/3/segmentsV2/{segmentId}/translate`