Agile CRM Deals API

The Deals API from Agile CRM — 11 operation(s) for deals.

Operations 13

GET /api/contacts/{id}/deals Get deals linked to a contact #
GET /api/opportunity List all deals #
POST /api/opportunity Create a deal #
GET /api/opportunity/based Get deals from a track #
POST /api/opportunity/bulk Bulk delete deals #
GET /api/opportunity/byMilestone Get deals grouped by milestone #
GET /api/opportunity/byPipeline/based Retrieve deals by pipeline #
POST /api/opportunity/email/{email} Create a deal for a contact by email #
GET /api/opportunity/my/deals Retrieve the calling user's deals #
PUT /api/opportunity/partial-update Partially update a deal #
PUT /api/opportunity/partial-update/delete-contact Remove contacts from a deal #
GET /api/opportunity/{id} Get deal by ID #
DELETE /api/opportunity/{id} Delete a deal #

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/agile-crm-deals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

agile-crm-deals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agile CRM REST Campaigns Deals API
  version: 1.0.0
  description: HTTPS-only REST API for managing contacts, companies, deals (opportunities), campaigns, tasks, events, notes, tracks, tickets, and documents in Agile CRM. Authentication is HTTP Basic with account email as username and REST client API key as password.
  contact:
    name: Agile CRM
    url: https://www.agilecrm.com/api
servers:
- url: https://{domain}.agilecrm.com/dev
  description: Tenant-scoped base URL
  variables:
    domain:
      default: mydomain
      description: Your Agile CRM tenant subdomain
security:
- BasicAuth: []
tags:
- name: Deals
paths:
  /api/contacts/{id}/deals:
    get:
      tags:
      - Deals
      summary: Get deals linked to a contact
      parameters:
      - $ref: '#/components/parameters/Id'
      responses:
        '200':
          description: Deals
      operationId: listContactDeals
  /api/opportunity:
    get:
      tags:
      - Deals
      summary: List all deals
      responses:
        '200':
          description: Deals
      operationId: listDeals
    post:
      tags:
      - Deals
      summary: Create a deal
      responses:
        '200':
          description: Deal created
      operationId: createDeal
  /api/opportunity/based:
    get:
      tags:
      - Deals
      summary: Get deals from a track
      responses:
        '200':
          description: Deals
      operationId: listDealsByTrack
  /api/opportunity/bulk:
    post:
      tags:
      - Deals
      summary: Bulk delete deals
      responses:
        '200':
          description: Deals deleted
      operationId: bulkDeleteDeals
  /api/opportunity/byMilestone:
    get:
      tags:
      - Deals
      summary: Get deals grouped by milestone
      responses:
        '200':
          description: Deals by milestone
      operationId: listDealsByMilestone
  /api/opportunity/byPipeline/based:
    get:
      tags:
      - Deals
      summary: Retrieve deals by pipeline
      responses:
        '200':
          description: Deals
      operationId: listDealsByPipeline
  /api/opportunity/email/{email}:
    post:
      tags:
      - Deals
      summary: Create a deal for a contact by email
      parameters:
      - name: email
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Deal created
      operationId: createDealForContactByEmail
  /api/opportunity/my/deals:
    get:
      tags:
      - Deals
      summary: Retrieve the calling user's deals
      responses:
        '200':
          description: Deals
      operationId: listMyDeals
  /api/opportunity/partial-update:
    put:
      tags:
      - Deals
      summary: Partially update a deal
      responses:
        '200':
          description: Deal updated
      operationId: updateDeal
  /api/opportunity/partial-update/delete-contact:
    put:
      tags:
      - Deals
      summary: Remove contacts from a deal
      responses:
        '200':
          description: Updated
      operationId: removeDealContacts
  /api/opportunity/{id}:
    get:
      tags:
      - Deals
      summary: Get deal by ID
      parameters:
      - $ref: '#/components/parameters/Id'
      responses:
        '200':
          description: Deal
      operationId: getDeal
    delete:
      tags:
      - Deals
      summary: Delete a deal
      parameters:
      - $ref: '#/components/parameters/Id'
      responses:
        '204':
          description: Deleted
      operationId: deleteDeal
components:
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
      description: HTTP Basic auth - username is account email, password is REST client API key.