Nutshell Leads API

Sales opportunities: create, read, update, close, reopen, watch, stage and stageset assignment, installments, reports and lead custom fields. 25 operation(s) across 19 path(s).

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Opportunity & Pipeline Management BC-410.30

Operations 25

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 /competitormaps/{id} Get a lead-competitor relationship · Get a lead-competitor relationship #
Ask an LLM
“How do I look up which competitor a lead is mapped to?”
“Can I see one lead-competitor relationship by its ID?”
Tell an agent
Get lead-competitor relationship {id}.
Show the competitor map {id}.
DELETE /competitormaps/{id} Delete a lead-competitor relationship · Delete a lead-competitor relationship #
Ask an LLM
“How do I remove a competitor map from a lead?”
“Can I delete a lead-competitor relationship?”
Tell an agent destructive · confirm first
Delete lead-competitor relationship {id}.
Remove competitor map {id}.
PATCH /competitormaps/{id} Update a lead-competitor relationship · Update a lead-competitor relationship #
Ask an LLM
“Can I change the competitor a lead is mapped to?”
“How do I edit an existing lead-competitor relationship?”
Tell an agent
Update lead-competitor relationship {id}.
Change the competitor map {id}.
GET /competitormaps List lead-competitor relationships · Get a list of lead-competitor relationships #
Ask an LLM
“Which leads are mapped to competitors?”
“What competitor maps exist across all leads?”
Tell an agent
List all lead-competitor relationships.
Show every competitor map on leads.
GET /leads/{id}/customfields Get a lead's custom fields · Get a lead's custom fields #
Ask an LLM
“What custom fields are set on a lead?”
“Can I read a lead's custom field values?”
Tell an agent
Get the custom fields on lead {id}.
Show custom field values for lead {id}.
GET /leads/customfields/attributes List custom fields available for leads · Get applicable custom fields for leads #
Ask an LLM
“Which custom fields can I add to leads?”
“What custom field types are available for leads?”
Tell an agent
List custom fields applicable to leads.
Show the available lead custom field types.
POST /leads/customfield Create a custom field for leads · Create a custom field #
Ask an LLM
“How do I add a new custom field to leads?”
“Can I create a multi-choice custom field for leads?”
Tell an agent
Create a custom field named {name} of type {type}.
Add a custom field {name} with choices {choices}.
GET /leads/{id} Get a lead · Get a lead #
Ask an LLM
“How do I look up one lead by ID?”
“Can I see the details of a single lead?”
Tell an agent
Get lead {id}.
Show the details of lead {id}.
DELETE /leads/{id} Delete a lead · Delete a lead #
Ask an LLM
“How do I delete a lead?”
“Can a deleted lead be restored later?”
Tell an agent destructive · confirm first
Delete lead {id}.
Remove lead {id} from the account.
PATCH /leads/{id} Update a lead · Update a lead #
Ask an LLM
“How do I change a lead's name or description?”
“Can I update a lead's links to contacts or owner?”
Tell an agent
Update lead {id}.
Change the name and description of lead {id}.
GET /leads/list List leads as list items · Get list items for all leads #
Ask an LLM
“Can I get all leads with extra list-item fields for filtering?”
“How do I search leads by keyword and sort the list items?”
Tell an agent
List all leads as list items.
Find leads matching {q} and sort by {sort}.
GET /leads List leads · Get a list of leads #
Ask an LLM
“How do I get every lead in my account?”
“Can I filter and page through all leads?”
Tell an agent
List all leads.
Find leads matching {q} sorted by {sort}.
POST /leads Create a lead · Create a lead #
Ask an LLM
“How do I create a new lead?”
“Can I add a lead in bulk?”
Tell an agent
Create a lead with {leads}.
Add a new lead to the account.
GET /leads/report Run a sales report for leads · Get reports for a lead #
Ask an LLM
“How do I get the total revenue from leads for the last quarter?”
“Can I break a lead report down by rep or by sales stage?”
Tell an agent
Run a {reportType} lead report.
Summarize leads by {groupByField}, {segmentByField}.
GET /leads/{id}/installments Get a lead's installments · Get installments for a lead #
Ask an LLM
“What is the installment schedule for a lead?”
“How do I see when a lead's payments are due?”
Tell an agent
Get the installments for lead {id}.
Show the payment schedule of lead {id}.
POST /leads/{id}/installments Replace a lead's installment schedule · Update installments for a lead #
Ask an LLM
“How do I reset the installment payments for a customer's lead?”
“What do the installments need to include?”
Tell an agent
Update the installments for lead {id}.
Replace the installment schedule of lead {id} with a new one.
GET /leads/{id}/stages Get a lead's stages · Get all stages associated with lead #
Ask an LLM
“How long has a lead spent in each stage?”
“What stages has a lead gone through?”
Tell an agent
Get the stages for lead {id}.
Show how much time lead {id} spent in each stage.
POST /leads/{id}/reopen Reopen a closed lead · Reopen a lead #
Ask an LLM
“How do I reopen a lead that was closed?”
“Can I bring a won or lost lead back into the pipeline?”
Tell an agent
Reopen lead {id}.
Bring closed lead {id} back into the pipeline.
POST /leads/{id}/status Close a lead as won or lost · Update the status of a lead #
Ask an LLM
“How do I close a lead as won or lost?”
“Can I set a lead's outcome and its competitor maps at the same time?”
Tell an agent
Close lead {id} as {outcomeId}.
Set lead {id}'s outcome to {outcomeId} and competitor maps to {competitorMaps}.
POST /leads/{id}/stageset Set a lead's pipeline · Set the pipeline for a lead #
Ask an LLM
“How do I put a lead on a different pipeline?”
“Can I change a lead's stageset?”
Tell an agent
Set the pipeline of lead {id} to {stageset}.
Move lead {id} onto pipeline {stageset}.
POST /leads/{id}/watch Watch a lead for notifications · Watch a lead #
Ask an LLM
“How do I start getting notified about a lead?”
“Can I stop watching a lead?”
Tell an agent
Watch lead {id}.
Start receiving notifications about lead {id}.
POST /leads/{id}/undelete Restore a deleted lead · Undelete a lead #
Ask an LLM
“Can I bring back a lead I deleted?”
“How do I undelete a lead?”
Tell an agent
Undelete lead {id}.
Restore deleted lead {id}.
GET /leads/list/fields List fields available on leads · Get the fields for a lead #
Ask an LLM
“Which fields can I filter or sort leads by?”
“What lead fields exist?”
Tell an agent
List the fields for leads.
Show which lead fields support filtering and sorting.
GET /outcomes/{id} Get a lead outcome · Get a lead outcome by ID #
Ask an LLM
“What happened with a specific lead outcome?”
“Can I look up one outcome by its ID?”
Tell an agent
Get lead outcome {id}.
Show the result of outcome {id}.
GET /outcomes List lead outcomes · Get a list of lead outcomes #
Ask an LLM
“What outcomes have been recorded on leads?”
“Can I see all lead outcomes?”
Tell an agent
List lead outcomes.
Show every outcome recorded on leads.

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/nutshell:nutshell-leads-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

nutshell-leads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nutshell Leads API
  description: The most powerful API in the world
  version: 2.0.0
servers:
- url: app.nutshell.com/rest
tags:


# --- truncated at 32 KB (46 KB total) ---
# Full source: https://artifacts.apis.io/nutshell/openapi/nutshell-leads-api-openapi.yml