Agile CRM Tasks API

The Tasks API from Agile CRM — 6 operation(s) for tasks.

OpenAPI Specification

agile-crm-tasks-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Agile CRM REST Campaigns Tasks 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: Tasks
paths:
  /api/tasks:
    get:
      tags:
      - Tasks
      summary: List all tasks
      responses:
        '200':
          description: Tasks
      operationId: listTasks
    post:
      tags:
      - Tasks
      summary: Create a task
      responses:
        '200':
          description: Task created
      operationId: createTask
  /api/tasks/based:
    get:
      tags:
      - Tasks
      summary: Retrieve tasks with filters
      responses:
        '200':
          description: Tasks
      operationId: listTasksFiltered
  /api/tasks/email/{email}:
    post:
      tags:
      - Tasks
      summary: Create a task for a contact by email
      parameters:
      - name: email
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Task created
      operationId: createTaskForContactByEmail
  /api/tasks/partial-update:
    put:
      tags:
      - Tasks
      summary: Partially update a task
      responses:
        '200':
          description: Task updated
      operationId: updateTask
  /api/tasks/pending/{num_days}:
    get:
      tags:
      - Tasks
      summary: Get pending tasks by days
      parameters:
      - name: num_days
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Tasks
      operationId: listPendingTasks
  /api/tasks/{id}:
    get:
      tags:
      - Tasks
      summary: Get task by ID
      parameters:
      - $ref: '#/components/parameters/Id'
      responses:
        '200':
          description: Task
      operationId: getTask
    delete:
      tags:
      - Tasks
      summary: Delete a task
      parameters:
      - $ref: '#/components/parameters/Id'
      responses:
        '204':
          description: Task deleted
      operationId: deleteTask
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.