> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/crm-sales/keap.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Keap

Keap is a CRM and marketing automation platform. Manage contacts, companies, tags, opportunities, orders, products and subscriptions.

![Keap logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-f8944281b2ddb6d8db702be74a52b8e46eea7995%2Fkeap.png?alt=media)

|                    |                                                                        |
| ------------------ | ---------------------------------------------------------------------- |
| **Category**       | [CRM and sales](https://docs.fastn.ai/connectors/catalog/crm-sales.md) |
| **Website**        | [keap.com](https://keap.com)                                           |
| **Authentication** | API key                                                                |
| **Slug**           | `keap`                                                                 |
| **On fastn.ai**    | [Embed Keap in your product](https://fastn.ai/integrations/keap)       |

## Setup guide

This guide shows how to get a Keap API key and use it to connect Keap to Fastn.

For Keap's own setup steps, see [Getting started](https://developer.keap.com/docs/getting-started) in the Keap documentation.

### Before you start

* You need the Owner, Admin or Developer role in Fastn.
* You need a Keap user account. Any Keap user can create a Personal Access Token (PAT), which acts with that user's permissions.
* To create a Service Account Key (SAK), you must be a Keap admin. A SAK gives admin access to all the data in the Keap account.

### Get your Keap credentials

Fastn asks for one value, **apiKey**: a Keap Personal Access Token or Service Account Key.

1. Sign in to Keap and open the **Settings** menu. In Keap Classic, open the **Profile** menu instead.
2. Select **API Settings**. This page lists your existing keys and lets you create a new one.
3. Create a new Personal Access Token or Service Account Key and give it a unique name.
4. Copy the full key right away. Keap shows it in full only once.

If you used Keap's Legacy API Key in the past, it no longer works. Create a Service Account Key instead.

### Connect in Fastn

Your customers connect Keap from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Keap**.
2. Select **Connect** on the Keap card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from the setup steps above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Keap's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Achieve an Automation Goal</td><td><code>achieveAutomationGoal</code></td><td>Achieve an automation goal for a contact. Use integration+call_name OR automation_id+goal_id.</td></tr><tr><td>Add Contacts to Automation Sequence</td><td><code>addContactsToAutomationSequence</code></td><td>Add contacts to an automation sequence</td></tr><tr><td>Add Contacts to Campaign Sequence</td><td><code>addContactsToCampaignSequence</code></td><td>Add contacts to a campaign sequence</td></tr><tr><td>Add Tag to Company</td><td><code>addTagToCompany</code></td><td>Add a tag to a company</td></tr><tr><td>Adjust Product Inventory</td><td><code>adjustProductInventory</code></td><td>Increase/decrease a product's inventory</td></tr><tr><td>Apply Tag to Contacts</td><td><code>applyTagToContacts</code></td><td>Apply a tag to contacts (v2)</td></tr><tr><td>Apply Tags to a Contact</td><td><code>applyTagsToContact</code></td><td>Apply one or more tags to a contact (v1)</td></tr><tr><td>Batch Add Email Records</td><td><code>batchAddEmails</code></td><td>Create a set of email records (max 1000)</td></tr><tr><td>Batch Remove Email Records</td><td><code>batchRemoveEmails</code></td><td>Delete a set of email records</td></tr><tr><td>Cancel a Subscription</td><td><code>cancelSubscription</code></td><td>Deactivate/cancel a subscription</td></tr></tbody></table>

<details>

<summary>View 196 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Create a Company</td><td><code>createCompany</code></td><td>Create a Company (company_name required)</td></tr><tr><td>Create a Contact</td><td><code>createContact</code></td><td>Create a Contact. Provide duplicate_option (Email/EmailAndName/EmailAndNameAndCompany) to upsert on a match; at minimum supply an email address or given_name/family_name.</td></tr><tr><td>Create a Contact Credit Card</td><td><code>createContactCreditCard</code></td><td>Add a credit card to a contact (v1)</td></tr><tr><td>Create a Contact Custom Field</td><td><code>createContactCustomField</code></td><td>Create a Contact custom field</td></tr><tr><td>Create a Contact Custom Field Group</td><td><code>createContactCustomFieldGroup</code></td><td>Create a Contact custom field group</td></tr><tr><td>Create a Contact Email Record</td><td><code>createContactEmail</code></td><td>Record a sent/received email for a contact (v1)</td></tr><tr><td>Create a Contact Link type</td><td><code>createContactLinkType</code></td><td>Create a Contact Link type</td></tr><tr><td>Create a Contact Note</td><td><code>createContactNote</code></td><td>Create a note for a contact. Provide title or type, and user_id.</td></tr><tr><td>Create a File</td><td><code>createFile</code></td><td>Create a file. Provide file_name, file_data (Base64), is_public, and optionally contact_id.</td></tr><tr><td>Create a Hook Subscription</td><td><code>createHook</code></td><td>Create a REST Hook (webhook) subscription for an event key + target URL</td></tr><tr><td>Create a Lead Source</td><td><code>createLeadSource</code></td><td>Create a lead source (name required)</td></tr><tr><td>Create a Product</td><td><code>createProduct</code></td><td>Create a product (name, price, short_description required). price in smallest currency unit (cents).</td></tr><tr><td>Create a Product Category</td><td><code>createProductCategory</code></td><td>Create a product category (name required)</td></tr><tr><td>Create a Referral</td><td><code>createReferral</code></td><td>Create a referral (contact_id required)</td></tr><tr><td>Create a Subscription</td><td><code>createSubscription</code></td><td>Create a subscription (contact_id, subscription_plan_id required)</td></tr><tr><td>Create a Task</td><td><code>createTask</code></td><td>Create a Task (assigned_to_user_id required)</td></tr><tr><td>Create a User</td><td><code>createUser</code></td><td>Create/invite a user (v1). email + given_name required.</td></tr><tr><td>Create an Affiliate</td><td><code>createAffiliate</code></td><td>Create an affiliate (code + contact_id required)</td></tr><tr><td>Create an Affiliate Link</td><td><code>createAffiliateRedirect</code></td><td>Create an affiliate redirect link (code, name, website_address required)</td></tr><tr><td>Create an Appointment</td><td><code>createAppointment</code></td><td>Create an appointment (v1). title, start_date, end_date required.</td></tr><tr><td>Create an Appointment Custom Field</td><td><code>createAppointmentCustomField</code></td><td>Create an appointment custom field (v1)</td></tr><tr><td>Create an Email Record</td><td><code>createEmailRecord</code></td><td>Create an email record (sent_to_address required)</td></tr><tr><td>Create an Opportunity</td><td><code>createOpportunity</code></td><td>Create an Opportunity (opportunity_title required; stage_id + contact_id recommended)</td></tr><tr><td>Create an Opportunity Stage</td><td><code>createOpportunityStage</code></td><td>Create an opportunity stage</td></tr><tr><td>Create an Order</td><td><code>createOrder</code></td><td>Create an order (contact_id, order_time, order_title, order_type required; include order_items)</td></tr><tr><td>Create an Order Item</td><td><code>createOrderItem</code></td><td>Add an item to an order (order_id, quantity required)</td></tr><tr><td>Create an Order Payment</td><td><code>createOrderPayment</code></td><td>Record/charge a payment on an order (order_id, payment_amount, apply_to_commissions required)</td></tr><tr><td>Create Automation Category</td><td><code>createAutomationCategory</code></td><td>Create an automation category</td></tr><tr><td>Create Product Subscription Plan</td><td><code>createProductSubscriptionPlan</code></td><td>Create a subscription plan on a product (product_id, cycle_type, plan_price required)</td></tr><tr><td>Create Tag</td><td><code>createTag</code></td><td>Create a tag (category.id required)</td></tr><tr><td>Create Tag Category</td><td><code>createTagCategory</code></td><td>Create a tag category (unique name)</td></tr><tr><td>Delete a Company</td><td><code>deleteCompany</code></td><td>Delete a Company</td></tr><tr><td>Delete a Contact</td><td><code>deleteContact</code></td><td>Delete a Contact</td></tr><tr><td>Delete a Contact Custom Field</td><td><code>deleteContactCustomField</code></td><td>Delete a Contact custom field</td></tr><tr><td>Delete a Contact Link type</td><td><code>deleteContactLinkType</code></td><td>Delete a Contact Link type</td></tr><tr><td>Delete a File</td><td><code>deleteFile</code></td><td>Delete a file</td></tr><tr><td>Delete a Hook Subscription</td><td><code>deleteHook</code></td><td>Delete a REST Hook subscription</td></tr><tr><td>Delete a Lead Source</td><td><code>deleteLeadSource</code></td><td>Delete a lead source</td></tr><tr><td>Delete a Note</td><td><code>deleteContactNote</code></td><td>Delete a Note</td></tr><tr><td>Delete a Product</td><td><code>deleteProduct</code></td><td>Delete a product</td></tr><tr><td>Delete a Product Category</td><td><code>deleteProductCategory</code></td><td>Delete a product category</td></tr><tr><td>Delete a Task</td><td><code>deleteTask</code></td><td>Delete a Task</td></tr><tr><td>Delete an Affiliate</td><td><code>deleteAffiliate</code></td><td>Delete an affiliate</td></tr><tr><td>Delete an Affiliate Link</td><td><code>deleteAffiliateRedirect</code></td><td>Delete an affiliate redirect link</td></tr><tr><td>Delete an Appointment</td><td><code>deleteAppointment</code></td><td>Delete an appointment (v1)</td></tr><tr><td>Delete an Email Record</td><td><code>deleteEmail</code></td><td>Delete an email record</td></tr><tr><td>Delete an Opportunity</td><td><code>deleteOpportunity</code></td><td>Delete an Opportunity</td></tr><tr><td>Delete an Opportunity Stage</td><td><code>deleteOpportunityStage</code></td><td>Delete an opportunity stage</td></tr><tr><td>Delete an Order</td><td><code>deleteOrder</code></td><td>Delete an order</td></tr><tr><td>Delete an Order Item</td><td><code>deleteOrderItem</code></td><td>Delete an order item</td></tr><tr><td>Delete Automation Categories</td><td><code>deleteAutomationCategories</code></td><td>Delete automation categories by ids</td></tr><tr><td>Delete Tag</td><td><code>deleteTag</code></td><td>Delete a tag</td></tr><tr><td>Delete Tag Category</td><td><code>deleteTagCategory</code></td><td>Delete a tag category</td></tr><tr><td>Get Application Configuration</td><td><code>getApplicationConfiguration</code></td><td>Get Application Configuration</td></tr><tr><td>Get Application Status</td><td><code>isApplicationEnabled</code></td><td>Get Application Status</td></tr><tr><td>Get Contact Option types</td><td><code>getContactOptionTypes</code></td><td>Get Contact Option types</td></tr><tr><td>Get Country</td><td><code>getCountry</code></td><td>Get Country</td></tr><tr><td>Get User Email Signature</td><td><code>getUserSignature</code></td><td>Get a user's email signature</td></tr><tr><td>Insert UTMs for a Contact</td><td><code>insertContactUtm</code></td><td>Insert UTM parameters for a contact (v1)</td></tr><tr><td>Invoice a Subscription</td><td><code>invoiceSubscription</code></td><td>Generate an invoice for a subscription</td></tr><tr><td>Link Contacts</td><td><code>linkContacts</code></td><td>Link two Contacts by a link type</td></tr><tr><td>List a Country's Provinces</td><td><code>listProvinces</code></td><td>List a Country's Provinces</td></tr><tr><td>List Affiliate Links</td><td><code>listAffiliateRedirects</code></td><td>List affiliate redirect links</td></tr><tr><td>List Affiliate Payments</td><td><code>listAffiliatePayments</code></td><td>List an affiliate's payments</td></tr><tr><td>List Affiliate Summaries</td><td><code>listAffiliateSummaries</code></td><td>List affiliate summaries</td></tr><tr><td>List Affiliates</td><td><code>listAffiliates</code></td><td>List affiliates</td></tr><tr><td>List All Notes</td><td><code>listNotes</code></td><td>List all notes across contacts</td></tr><tr><td>List Applied Tags</td><td><code>listContactTags</code></td><td>List tags applied to a contact</td></tr><tr><td>List Applied Tags (v1)</td><td><code>listContactAppliedTags</code></td><td>List tags applied to a contact (v1)</td></tr><tr><td>List Appointments</td><td><code>listAppointments</code></td><td>List appointments (v1). Provide since/until date-times.</td></tr><tr><td>List Automation Categories</td><td><code>listAutomationCategories</code></td><td>List automation categories</td></tr><tr><td>List Automation Ids</td><td><code>listAutomationIds</code></td><td>List automation IDs</td></tr><tr><td>List Automations</td><td><code>listAutomations</code></td><td>List automations</td></tr><tr><td>List Campaign Goals</td><td><code>getCampaignGoals</code></td><td>List goals for a campaign</td></tr><tr><td>List Campaign Sequences</td><td><code>getCampaignSequences</code></td><td>List sequences for a campaign</td></tr><tr><td>List Campaigns</td><td><code>listCampaigns</code></td><td>List campaigns</td></tr><tr><td>List Companies</td><td><code>listCompanies</code></td><td>List Companies</td></tr><tr><td>List Company Applied Tags</td><td><code>listCompanyTags</code></td><td>List tags applied to a company</td></tr><tr><td>List Contact Custom Field Groups</td><td><code>listContactCustomFieldGroups</code></td><td>List Contact custom field groups</td></tr><tr><td>List Contact Email Records</td><td><code>listContactEmails</code></td><td>List email records for a contact (v1)</td></tr><tr><td>List Contact Link types</td><td><code>listContactLinkTypes</code></td><td>List Contact Link types</td></tr><tr><td>List Contact Notes</td><td><code>listContactNotes</code></td><td>List notes for a contact</td></tr><tr><td>List Contacts</td><td><code>listContacts</code></td><td>List Contacts</td></tr><tr><td>List Countries</td><td><code>listCountries</code></td><td>List Countries</td></tr><tr><td>List Email Address Statuses</td><td><code>listEmailAddresses</code></td><td>List email address opt-in statuses</td></tr><tr><td>List Emails</td><td><code>listEmails</code></td><td>List email records</td></tr><tr><td>List Files</td><td><code>listFiles</code></td><td>List files</td></tr><tr><td>List Hook Event Types</td><td><code>listHookEventTypes</code></td><td>List available REST Hook event keys</td></tr><tr><td>List Hook Subscriptions</td><td><code>listHooks</code></td><td>List stored REST Hook subscriptions</td></tr><tr><td>List Lead Sources</td><td><code>listLeadSources</code></td><td>List lead sources</td></tr><tr><td>List Linked Contacts</td><td><code>listContactLinks</code></td><td>List a contact's links</td></tr><tr><td>List Merchant accounts</td><td><code>listMerchants</code></td><td>List Merchant accounts</td></tr><tr><td>List Opportunities</td><td><code>listOpportunities</code></td><td>List Opportunities</td></tr><tr><td>List Opportunity Stage Moves</td><td><code>listOpportunityStageMoves</code></td><td>List opportunity stage moves</td></tr><tr><td>List Opportunity Stages</td><td><code>listOpportunityStages</code></td><td>List opportunity stages (pipeline)</td></tr><tr><td>List Order Payments</td><td><code>listOrderPayments</code></td><td>List payments on an order</td></tr><tr><td>List Orders</td><td><code>listOrders</code></td><td>List orders</td></tr><tr><td>List Payment Methods</td><td><code>listPaymentMethods</code></td><td>List payment methods</td></tr><tr><td>List Product Categories</td><td><code>listProductCategories</code></td><td>List product categories</td></tr><tr><td>List Product Subscription Plans</td><td><code>listProductSubscriptionPlans</code></td><td>List a product's subscription plans</td></tr><tr><td>List Products</td><td><code>listProducts</code></td><td>List products</td></tr><tr><td>List Referrals</td><td><code>listReferrals</code></td><td>List referrals</td></tr><tr><td>List Sales Payments</td><td><code>listSalesPayments</code></td><td>List sales payments</td></tr><tr><td>List Shipping methods</td><td><code>listShippingMethods</code></td><td>List Shipping methods</td></tr><tr><td>List Subscriptions</td><td><code>listSubscriptions</code></td><td>List subscriptions</td></tr><tr><td>List Tag Categories</td><td><code>listTagCategories</code></td><td>List tag categories</td></tr><tr><td>List Tagged Companies</td><td><code>listTagCompanies</code></td><td>List companies with a tag</td></tr><tr><td>List Tagged Contacts</td><td><code>listTagContacts</code></td><td>List contacts with a tag</td></tr><tr><td>List Tags</td><td><code>listTags</code></td><td>Retrieves a list of tags defined in the Keap application. Returns the tags and a next_page_token for paging.</td></tr><tr><td>List Tasks</td><td><code>listTasks</code></td><td>List Tasks</td></tr><tr><td>List Transactions</td><td><code>listTransactions</code></td><td>List sales transactions</td></tr><tr><td>List User Groups</td><td><code>listUserGroups</code></td><td>List user groups</td></tr><tr><td>List Users</td><td><code>listUsers</code></td><td>List users</td></tr><tr><td>List Webforms with filter</td><td><code>listWebforms</code></td><td>List Webforms with filter</td></tr><tr><td>Merge two Contacts</td><td><code>mergeContacts</code></td><td>Merge two Contacts</td></tr><tr><td>Remove Contacts from Campaign Sequence</td><td><code>removeContactsFromCampaignSequence</code></td><td>Remove contacts from a campaign sequence</td></tr><tr><td>Remove Tag from Company</td><td><code>removeTagFromCompany</code></td><td>Remove a tag from a company</td></tr><tr><td>Remove Tag from Contacts</td><td><code>removeTagFromContacts</code></td><td>Remove a tag from contacts (v2)</td></tr><tr><td>Remove Tags from a Contact</td><td><code>removeTagsFromContact</code></td><td>Remove applied tags from a contact (v1)</td></tr><tr><td>Replace an Appointment</td><td><code>updateAppointment</code></td><td>Replace an appointment (v1 PUT). title/start_date/end_date required.</td></tr><tr><td>Retrieve a Campaign</td><td><code>getCampaign</code></td><td>Retrieve a campaign</td></tr><tr><td>Retrieve a Company</td><td><code>getCompany</code></td><td>Retrieve a Company</td></tr><tr><td>Retrieve a Contact</td><td><code>getContact</code></td><td>Retrieve a Contact</td></tr><tr><td>Retrieve a Contact Custom Field Group</td><td><code>getContactCustomFieldGroup</code></td><td>Retrieve a Contact custom field group</td></tr><tr><td>Retrieve a File</td><td><code>getFile</code></td><td>Retrieve a file's metadata</td></tr><tr><td>Retrieve a File's Data</td><td><code>getFileData</code></td><td>Retrieve a file's binary data</td></tr><tr><td>Retrieve a Hook Subscription</td><td><code>getHook</code></td><td>Retrieve a REST Hook subscription</td></tr><tr><td>Retrieve a Lead Source</td><td><code>getLeadSource</code></td><td>Retrieve a lead source</td></tr><tr><td>Retrieve a Note</td><td><code>getContactNote</code></td><td>Retrieve a Note</td></tr><tr><td>Retrieve a Product</td><td><code>getProduct</code></td><td>Retrieve a product</td></tr><tr><td>Retrieve a Product Category</td><td><code>getProductCategory</code></td><td>Retrieve a product category</td></tr><tr><td>Retrieve a Subscription</td><td><code>getSubscription</code></td><td>Retrieve a subscription</td></tr><tr><td>Retrieve a Tag</td><td><code>getTag</code></td><td>Retrieve a tag</td></tr><tr><td>Retrieve a Tag Category</td><td><code>getTagCategory</code></td><td>Retrieve a tag category</td></tr><tr><td>Retrieve a Task</td><td><code>getTask</code></td><td>Retrieve a Task. NOTE: Keap's</td></tr><tr><td>Retrieve a Task by Id</td><td><code>getTaskById</code></td><td>Retrieve a single Task by id. Keap's</td></tr><tr><td>Retrieve a User</td><td><code>getUser</code></td><td>Retrieve a user</td></tr><tr><td>Retrieve a User Group</td><td><code>getUserGroup</code></td><td>Retrieve a user group</td></tr><tr><td>Retrieve account profile</td><td><code>getAccountProfile</code></td><td>Retrieve account profile</td></tr><tr><td>Retrieve Affiliate Commission Total</td><td><code>getAffiliateCommissionTotal</code></td><td>Retrieve affiliate commission earned and ledger URL</td></tr><tr><td>Retrieve Affiliate Commissions</td><td><code>getAffiliateCommissions</code></td><td>Retrieve an affiliate's commissions</td></tr><tr><td>Retrieve Affiliate Model</td><td><code>getAffiliateModel</code></td><td>Retrieve affiliate custom-field model</td></tr><tr><td>Retrieve Affiliate Referrals</td><td><code>listAffiliateReferrals</code></td><td>List an affiliate's referrals</td></tr><tr><td>Retrieve an Affiliate</td><td><code>getAffiliate</code></td><td>Retrieve an affiliate</td></tr><tr><td>Retrieve an Affiliate Link</td><td><code>getAffiliateRedirect</code></td><td>Retrieve an affiliate redirect link</td></tr><tr><td>Retrieve an Appointment</td><td><code>getAppointment</code></td><td>Retrieve an appointment (v1)</td></tr><tr><td>Retrieve an Automation</td><td><code>getAutomation</code></td><td>Retrieve an automation</td></tr><tr><td>Retrieve an Email</td><td><code>getEmail</code></td><td>Retrieve an email record</td></tr><tr><td>Retrieve an Email Address status</td><td><code>getEmailAddressStatus</code></td><td>Retrieve opt-in status of an email address</td></tr><tr><td>Retrieve an Email Template</td><td><code>getEmailTemplate</code></td><td>Retrieve an email template</td></tr><tr><td>Retrieve an Opportunity</td><td><code>getOpportunity</code></td><td>Retrieve an Opportunity</td></tr><tr><td>Retrieve an Opportunity Stage</td><td><code>getOpportunityStage</code></td><td>Retrieve an opportunity stage</td></tr><tr><td>Retrieve an Opportunity Stage Move</td><td><code>getOpportunityStageMove</code></td><td>Retrieve an opportunity stage move</td></tr><tr><td>Retrieve an Order</td><td><code>getOrder</code></td><td>Retrieve an order</td></tr><tr><td>Retrieve an Order Item</td><td><code>getOrderItem</code></td><td>Retrieve an order item</td></tr><tr><td>Retrieve Appointment Model</td><td><code>getAppointmentModel</code></td><td>Retrieve appointment custom-field model (v1)</td></tr><tr><td>Retrieve Business Profile</td><td><code>getBusinessProfile</code></td><td>Retrieve Business Profile</td></tr><tr><td>Retrieve Company Model</td><td><code>getCompanyModel</code></td><td>Retrieve company custom-field model</td></tr><tr><td>Retrieve Contact Credit Cards</td><td><code>listContactCreditCards</code></td><td>List a contact's stored credit cards (v1)</td></tr><tr><td>Retrieve Contact Model</td><td><code>getContactModel</code></td><td>Retrieve Contact Model (custom fields definition)</td></tr><tr><td>Retrieve Lead Score of a Contact</td><td><code>getContactLeadScore</code></td><td>Retrieve lead score of a contact</td></tr><tr><td>Retrieve Note Model</td><td><code>getNoteModel</code></td><td>Retrieve note custom-field model</td></tr><tr><td>Retrieve Note Templates</td><td><code>listNoteTemplates</code></td><td>Retrieve note templates</td></tr><tr><td>Retrieve Task Model</td><td><code>getTaskModel</code></td><td>Retrieve task custom-field model</td></tr><tr><td>Retrieve User Info</td><td><code>getUserInfo</code></td><td>Retrieve the authenticated user's info</td></tr><tr><td>Send an Email</td><td><code>sendEmail</code></td><td>Send an email to contacts (contacts, subject, user_id required)</td></tr><tr><td>Send Email from Template</td><td><code>sendEmailTemplate</code></td><td>Send an email based on a template (contact_ids, template_id, user_id required)</td></tr><tr><td>Unlink Contacts</td><td><code>unlinkContacts</code></td><td>Delete a link between two Contacts</td></tr><tr><td>Unpublish an Automation</td><td><code>unpublishAutomation</code></td><td>Unpublish an automation</td></tr><tr><td>Update a Company</td><td><code>updateCompany</code></td><td>Update a Company</td></tr><tr><td>Update a Contact</td><td><code>updateContact</code></td><td>Update a Contact</td></tr><tr><td>Update a Contact Link type</td><td><code>updateContactLinkType</code></td><td>Update a Contact Link type</td></tr><tr><td>Update a File</td><td><code>updateFile</code></td><td>Update a file's metadata/content</td></tr><tr><td>Update a Hook Subscription</td><td><code>updateHook</code></td><td>Update a REST Hook subscription</td></tr><tr><td>Update a Lead Source</td><td><code>updateLeadSource</code></td><td>Update a lead source</td></tr><tr><td>Update a Note</td><td><code>updateContactNote</code></td><td>Update a Note</td></tr><tr><td>Update a Product</td><td><code>updateProduct</code></td><td>Update a product</td></tr><tr><td>Update a Product Category</td><td><code>updateProductCategory</code></td><td>Update a product category</td></tr><tr><td>Update a Subscription</td><td><code>updateSubscription</code></td><td>Update a subscription</td></tr><tr><td>Update a Tag</td><td><code>updateTag</code></td><td>Update a tag</td></tr><tr><td>Update a Tag Category</td><td><code>updateTagCategory</code></td><td>Update a tag category</td></tr><tr><td>Update a Task</td><td><code>updateTask</code></td><td>Update a Task</td></tr><tr><td>Update a User</td><td><code>updateUser</code></td><td>Update a user</td></tr><tr><td>Update an Affiliate</td><td><code>updateAffiliate</code></td><td>Update an affiliate</td></tr><tr><td>Update an Affiliate Link</td><td><code>updateAffiliateRedirect</code></td><td>Update an affiliate redirect link</td></tr><tr><td>Update an Appointment</td><td><code>patchAppointment</code></td><td>Partially update an appointment (v1 PATCH)</td></tr><tr><td>Update an Email Address opt-in status</td><td><code>updateEmailAddressStatus</code></td><td>Update opt-in status of an email address</td></tr><tr><td>Update an Opportunity</td><td><code>updateOpportunity</code></td><td>Update an Opportunity</td></tr><tr><td>Update an Opportunity Stage</td><td><code>updateOpportunityStage</code></td><td>Update an opportunity stage</td></tr><tr><td>Update an Order</td><td><code>updateOrder</code></td><td>Update an order</td></tr><tr><td>Update an Order Item</td><td><code>updateOrderItem</code></td><td>Update an order item</td></tr><tr><td>Update Automation Category</td><td><code>updateAutomationCategory</code></td><td>Update an automation category</td></tr><tr><td>Update Business Profile</td><td><code>updateBusinessProfile</code></td><td>Update Business Profile</td></tr><tr><td>Updates an account profile</td><td><code>updateAccountProfile</code></td><td>Updates an account profile</td></tr><tr><td>Verify a Hook Subscription</td><td><code>verifyHook</code></td><td>Verify a REST Hook subscription (immediate)</td></tr><tr><td>Verify a Hook Subscription (Delayed)</td><td><code>verifyHookDelayed</code></td><td>Verify a REST Hook subscription using the delayed X-Hook-Secret handshake</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/crm-sales/keap.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
