Keap Opportunities API

Keap Opportunity API — 26 operations across 13 paths on the Keap REST v2 contract, read from Keap's own published OpenAPI 3.1 document.

GitHub OpenAPI
Business capability
Opportunity & Pipeline Management BC-410.30

Operations 33

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /rest/v1/opportunities List opportunities (v1) · List Opportunities #
Ask an LLM
“How do I list all sales opportunities with the v1 endpoint?”
“Can I search v1 opportunities by a command?”
Tell an agent
List v1 opportunities using search command {searchCommand}.
Find v1 opportunities matching {searchCommand}.
PUT /rest/v1/opportunities Replace an opportunity (v1) · Replace an Opportunity #
Ask an LLM
“How do I overwrite every field of an opportunity with the v1 endpoint?”
“Can I set the projected revenue range on a v1 opportunity?”
Tell an agent
Replace v1 opportunity {id} for contact {contact} in stage {stage} titled {opportunity_title}.
Overwrite v1 opportunity {id} with projected revenue {projected_revenue_low} to {projected_revenue_high}.
POST /rest/v1/opportunities Create an opportunity (v1) · Create an Opportunity #
Ask an LLM
“How do I create a new opportunity with the v1 endpoint?”
“Can I set the next action date when creating a v1 opportunity?”
Tell an agent
Create a v1 opportunity for contact {contact} in stage {stage} titled {opportunity_title}.
Create v1 opportunity {opportunity_title} for {contact} in {stage} with next action {next_action_date}.
GET /rest/v1/opportunities/{opportunityId} Retrieve an opportunity (v1) · Retrieve an Opportunity #
Ask an LLM
“How do I fetch one opportunity by ID with the v1 endpoint?”
“Can I include custom fields when retrieving a v1 opportunity?”
Tell an agent
Retrieve v1 opportunity {opportunityId}.
Get v1 opportunity {opportunityId} with properties {optional_properties}.
PATCH /rest/v1/opportunities/{opportunityId} Update fields on a v1 opportunity · Update an Opportunity #
Ask an LLM
“How do I change just a few fields on an existing v1 opportunity?”
“Can I patch a v1 opportunity and leave its other values as they are?”
Tell an agent
Patch v1 opportunity {opportunityId} with only the fields I provide.
Partially update the v1 opportunity {opportunityId} without replacing the whole record.
GET /rest/v1/opportunity/stage_pipeline List opportunity stage pipelines · List Opportunity Stage Pipeline #
Ask an LLM
“What pipeline details come with each opportunity stage?”
“Can I see the pipeline for every opportunity stage?”
Tell an agent
List opportunity stage pipelines.
Show pipeline details for each opportunity stage.
GET /rest/v1/opportunities/model Get the opportunity object model · Retrieve Opportunity Model #
Ask an LLM
“What custom fields does the opportunity object have?”
“Can I see the opportunity object model before creating opportunities?”
Tell an agent
Retrieve the opportunity object model.
Show the custom fields defined on the opportunity object.
GET /rest/v2/opportunities List opportunities (v2) · List Opportunities #
Ask an LLM
“How do I list opportunities with the v2 endpoint?”
“Can I filter v2 opportunities by stage or contact?”
Tell an agent
List v2 opportunities matching {filter}.
Show v2 opportunities ordered by {order_by}.
POST /rest/v2/opportunities Create an opportunity (v2) · Create an Opportunity #
Ask an LLM
“How do I create an opportunity with the v2 endpoint?”
“Can I set the estimated close time when creating a v2 opportunity?”
Tell an agent
Create a v2 opportunity for contact {contact_id} in stage {stage_id} titled {opportunity_title}.
Create v2 opportunity {opportunity_title} for {contact_id} in {stage_id} with close time {estimated_close_time}.
GET /rest/v2/opportunities/stages List opportunity stages · List of Opportunity Stages #
Ask an LLM
“What stages exist in my opportunity pipeline?”
“Can I list opportunity stages sorted by stage order?”
Tell an agent
List opportunity stages matching {filter}.
Show opportunity stages ordered by {order_by}.
POST /rest/v2/opportunities/stages Create an opportunity stage · Create an Opportunity Stage #
Ask an LLM
“How do I add a new stage to my opportunity pipeline?”
“Can I set the target number of days and probability for a new stage?”
Tell an agent
Create opportunity stage {name} at order {order} with target {target_number_days} days and probability {probability}.
Add stage {name} to the pipeline with checklist {checklist_items}.
POST /rest/v2/opportunities/model/customFields Create an opportunity custom field · Create an Opportunity Custom Field #
Ask an LLM
“How do I add a custom field to opportunities?”
“Can I create a custom field with its own options?”
Tell an agent
Create an opportunity custom field {label} of type {field_type}.
Create opportunity custom field {label} of type {field_type} with options {options}.
GET /rest/v2/opportunities/model/customFields/tabs List opportunity custom field tabs · List Opportunity Custom Field Tabs #
Ask an LLM
“Which tabs hold the custom fields on opportunities?”
“Can I see the custom field tabs for opportunities?”
Tell an agent
List opportunity custom field tabs.
Show the tabs that group opportunity custom fields.
POST /rest/v2/opportunities/model/customFields/tabs Create an opportunity custom field tab · Create an Opportunity Custom Field Tab #
Ask an LLM
“How do I create a new tab for opportunity custom fields?”
“Can I name a custom field tab?”
Tell an agent
Create an opportunity custom field tab named {name}.
Add a new tab for opportunity custom fields called {name}.
GET /rest/v2/opportunities/model/customFields/groups List opportunity custom field groups · List Opportunity Custom Field Groups #
Ask an LLM
“What custom field groups exist for opportunities?”
“Can I list opportunity custom field groups in one tab?”
Tell an agent
List opportunity custom field groups in tab {tab_id}.
Show all opportunity custom field groups.
POST /rest/v2/opportunities/model/customFields/groups Create an opportunity custom field group · Create an Opportunity Custom Field Group #
Ask an LLM
“How do I create a group of custom fields on opportunities?”
“Can I put a custom field group in a specific tab?”
Tell an agent
Create an opportunity custom field group named {name}.
Create opportunity custom field group {name} in tab {tab_id}.
GET /rest/v2/opportunities/{opportunity_id} Retrieve an opportunity (v2) · Retrieve a Opportunity #
Ask an LLM
“How do I fetch one opportunity by ID with the v2 endpoint?”
“Can I include custom fields when retrieving a v2 opportunity?”
Tell an agent
Retrieve v2 opportunity {opportunity_id}.
Get v2 opportunity {opportunity_id} with properties {fields}.
DELETE /rest/v2/opportunities/{opportunity_id} Delete an opportunity (v2) · Delete an Opportunity #
Ask an LLM
“How do I delete an opportunity with the v2 endpoint?”
“Can I remove a v2 opportunity by ID?”
Tell an agent destructive · confirm first
Delete v2 opportunity {opportunity_id}.
Remove v2 opportunity {opportunity_id} from the pipeline.
PATCH /rest/v2/opportunities/{opportunity_id} Update an opportunity (v2) · Update an opportunity #
Ask an LLM
“How do I change just the projected revenue on an opportunity with the v2 endpoint?”
“Can I update a v2 opportunity without resending fields I leave out?”
Tell an agent
Update v2 opportunity {opportunity_id} with only the fields I send.
Patch v2 opportunity {opportunity_id} with projected revenue {projected_revenue_low} to {projected_revenue_high}.
GET /rest/v2/opportunities/stages/{stage_id} Retrieve an opportunity stage · Retrieve an Opportunity Stage #
Ask an LLM
“How do I fetch one opportunity stage by ID?”
“Can I look up a single stage in the pipeline?”
Tell an agent
Retrieve opportunity stage {stage_id}.
Show the details of pipeline stage {stage_id}.
DELETE /rest/v2/opportunities/stages/{stage_id} Delete an opportunity stage · Delete an Opportunity Stage #
Ask an LLM
“How do I remove a stage from the opportunity pipeline?”
“Can I delete an opportunity stage that still has deals in it?”
Tell an agent destructive · confirm first
Delete opportunity stage {stage_id}.
Remove pipeline stage {stage_id} from the opportunity workflow.
PATCH /rest/v2/opportunities/stages/{stage_id} Update an opportunity stage · Update an Opportunity Stage #
Ask an LLM
“How do I change the win probability on an opportunity stage?”
“Can I reorder the stages in the opportunity pipeline?”
Tell an agent
Set the probability of opportunity stage {stage_id} to {probability}.
Move opportunity stage {stage_id} to position {order}.
DELETE /rest/v2/opportunities/model/customFields/{custom_field_id} Delete an opportunity custom field · Delete an Opportunity Custom Field #
Ask an LLM
“How do I delete a custom field from the opportunity record type?”
“Can I remove a custom field from opportunities?”
Tell an agent destructive · confirm first
Delete opportunity custom field {custom_field_id}.
Remove the custom field {custom_field_id} from opportunities.
PATCH /rest/v2/opportunities/model/customFields/{custom_field_id} Update an opportunity custom field · Update a Opportunity's Custom Field #
Ask an LLM
“How do I rename a custom field on opportunities?”
“Can I change the options of an existing opportunity custom field?”
Tell an agent
Rename opportunity custom field {custom_field_id} to {label}.
Set the options of opportunity custom field {custom_field_id} to {options} in group {group_id}.
GET /rest/v2/opportunities/model/customFields/tabs/{tab_id} Get an opportunity custom field tab · Retrieve an Opportunity Custom Field Tab #
Ask an LLM
“How do I see the custom field tabs on the opportunity record type?”
“Which tab contains a particular opportunity custom field?”
Tell an agent
Show opportunity custom field tab {tab_id}.
Get the custom field tab {tab_id} for opportunities.
DELETE /rest/v2/opportunities/model/customFields/tabs/{tab_id} Delete an opportunity custom field tab · Delete an Opportunity Custom Field Tab #
Ask an LLM
“Can I remove a custom field tab from the opportunity record?”
“Why would deleting an opportunity custom field tab fail?”
Tell an agent destructive · confirm first
Delete opportunity custom field tab {tab_id}.
Remove the opportunity tab {tab_id}.
PATCH /rest/v2/opportunities/model/customFields/tabs/{tab_id} Update an opportunity custom field tab · Update an Opportunity Custom Field Tab #
Ask an LLM
“How do I rename or reorder the custom field tabs on opportunities?”
“Can I move a tab to a different position in the opportunity record type?”
Tell an agent
Rename opportunity custom field tab {tab_id} to {name}.
Move opportunity custom field tab {tab_id} to position {order}.
GET /rest/v2/opportunities/model/customFields/groups/{group_id} Get an opportunity custom field group · Retrieve an Opportunity Custom Field Group #
Ask an LLM
“How do I see one custom field group on the opportunity record type?”
“Which tab does a particular opportunity custom field group belong to?”
Tell an agent
Show opportunity custom field group {group_id}.
Get the custom field group {group_id} for opportunities.
DELETE /rest/v2/opportunities/model/customFields/groups/{group_id} Delete an opportunity custom field group · Delete an Opportunity Custom Field Group #
Ask an LLM
“How do I delete a custom field group on an opportunity?”
“Can I delete an opportunity group that still holds fields?”
Tell an agent destructive · confirm first
Delete opportunity custom field group {group_id}.
Remove opportunity group {group_id}.
PATCH /rest/v2/opportunities/model/customFields/groups/{group_id} Update an opportunity custom field group · Update an Opportunity Custom Field Group #
Ask an LLM
“How do I rename or reorder a custom field group on opportunities?”
“Can I move an opportunity custom field group to a different tab?”
Tell an agent
Rename opportunity custom field group {group_id} to {name}.
Set the order of opportunity group {group_id} to {order}.
GET /rest/v2/opportunities/stageMoves List opportunity stage moves · List Opportunity Stage Moves #
Ask an LLM
“Which users moved deals between opportunity stages?”
“Can I see the history of deals being moved between pipeline stages?”
Tell an agent
List opportunity stage moves for opportunity {opportunity_id}.
Show the last {page_size} stage moves.
GET /rest/v2/opportunities/stageMoves/{stage_move_id} Get an opportunity stage move · Retrieve an Opportunity Stage Move #
Ask an LLM
“How do I see who moved a deal from one stage to another?”
“What date did a particular opportunity stage move happen?”
Tell an agent
Show opportunity stage move {stage_move_id}.
Get the record of stage move {stage_move_id}.
GET /rest/v2/opportunities/model Get the opportunity custom field model · Retrieve Opportunity Custom Field Model #
Ask an LLM
“What custom fields exist on the opportunity record type?”
“Which tabs and groups make up the opportunity custom field model?”
Tell an agent
Show the custom field model for opportunities.
List every custom field on the opportunity record type.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/keap:keap-opportunities-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

keap-opportunity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Keap Opportunity API
  contact:
    name: Keap
    url: https://developer.keap.com/get-support
    email: api.keap@thryv.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  termsOfService: https://www.thryv.com/terms-of-use
  version: '1.0'
  description: 'Operations tagged Opportunity across 2 of this provider''s published API definitions: keap-v1-openapi.json, keap-v2-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.infusionsoft.com/crm
security:
- oauth2: []
tags:


# --- truncated at 32 KB (112 KB total) ---
# Full source: https://artifacts.apis.io/keap/openapi/keap-opportunity-api-openapi.yml