Heffl Tasks API
The Tasks API from Heffl — 2 operation(s) for tasks.
The Tasks API from Heffl — 2 operation(s) for tasks.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/heffl-com:heffl-com-tasks-api"
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.
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: 3.2.0
info:
title: Heffl Public API (Legacy v1) Tasks API
version: 1.0.0
description: Legacy Heffl REST API v1. Maintained for existing integrations. For new projects, use API v2 at https://docs.heffl.com/api-v2/introduction.
contact:
name: Heffl Support
url: https://heffl.com/support
email: support@heffl.com
servers:
- url: https://api.heffl.com/api/v1
description: Production API Server
security:
- ApiKeyAuth: []
tags:
- name: Tasks
paths:
/tasks:
post:
operationId: tasks.create
summary: Create a new task
description: Creates a new task. The task will be assigned to the user associated with your API key.
tags:
- Tasks
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
minLength: 1
description: Task title
description:
type: string
description: Task description
type:
enum:
- call
- todo
- meeting
default: todo
description: Task type
status:
enum:
- OPEN
- IN_PROGRESS
- ON_HOLD
- COMPLETED
- CANCELLED
default: OPEN
description: Task status
dueDate:
type: string
format: date-time
x-native-type: date
description: Due date for the task
startDate:
type: string
format: date-time
x-native-type: date
description: Start date for the task
priority:
enum:
- LOW
- MEDIUM
- HIGH
description: Task priority
entity:
enum:
- leads
- deals
- clients
description: Entity type to associate the task with
entityId:
type: string
description: Public ID of the entity to associate the task with
required:
- title
additionalProperties: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
id:
type: string
description: Task public ID
number:
type: string
description: Auto-generated task number
title:
type: string
description: Task title
description:
anyOf:
- type: string
- type: 'null'
description: Task description
status:
type: string
description: Task status
type:
type: string
description: Task type
priority:
anyOf:
- type: string
- type: 'null'
description: Task priority
dueDate:
anyOf:
- type: string
format: date-time
x-native-type: date
- type: 'null'
description: Due date
startDate:
anyOf:
- type: string
format: date-time
x-native-type: date
- type: 'null'
description: Start date
createdAt:
type: string
format: date-time
x-native-type: date
description: When the task was created
required:
- id
- number
- title
- status
- type
- createdAt
get:
operationId: tasks.list
summary: List tasks
description: Returns a paginated list of tasks. Supports search and filtering.
tags:
- Tasks
parameters:
- name: cursor
in: query
schema:
type: string
description: Cursor for pagination. Pass the previous response nextCursor value to fetch the next page.
allowEmptyValue: true
allowReserved: true
- name: limit
in: query
schema:
type: number
minimum: 1
maximum: 100
default: 20
description: Number of items to return (max 100)
allowEmptyValue: true
allowReserved: true
- name: search
in: query
schema:
type: string
default: ''
description: Search by task title
allowEmptyValue: true
allowReserved: true
- name: status
in: query
schema:
enum:
- OPEN
- IN_PROGRESS
- ON_HOLD
- COMPLETED
- CANCELLED
description: Filter by status
style: deepObject
explode: true
allowEmptyValue: true
allowReserved: true
- name: type
in: query
schema:
enum:
- call
- todo
- meeting
description: Filter by task type
style: deepObject
explode: true
allowEmptyValue: true
allowReserved: true
- name: priority
in: query
schema:
enum:
- LOW
- MEDIUM
- HIGH
description: Filter by priority
style: deepObject
explode: true
allowEmptyValue: true
allowReserved: true
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
id:
type: string
description: Task public ID
number:
type: string
description: Auto-generated task number
title:
type: string
description: Task title
description:
anyOf:
- type: string
- type: 'null'
description: Task description
status:
type: string
description: Task status
type:
type: string
description: Task type
priority:
anyOf:
- type: string
- type: 'null'
description: Task priority
dueDate:
anyOf:
- type: string
format: date-time
x-native-type: date
- type: 'null'
description: Due date
startDate:
anyOf:
- type: string
format: date-time
x-native-type: date
- type: 'null'
description: Start date
createdAt:
type: string
format: date-time
x-native-type: date
description: When the task was created
required:
- id
- number
- title
- status
- type
- createdAt
nextCursor:
anyOf:
- type: string
- type: 'null'
description: Cursor to fetch the next page. Null if there are no more results.
hasMore:
type: boolean
description: Whether additional results are available
required:
- items
- hasMore
/tasks/{id}:
get:
operationId: tasks.get
summary: Get a task
description: Returns a single task by its public ID.
tags:
- Tasks
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Task public ID
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
id:
type: string
description: Task public ID
number:
type: string
description: Auto-generated task number
title:
type: string
description: Task title
description:
anyOf:
- type: string
- type: 'null'
description: Task description
status:
type: string
description: Task status
type:
type: string
description: Task type
priority:
anyOf:
- type: string
- type: 'null'
description: Task priority
dueDate:
anyOf:
- type: string
format: date-time
x-native-type: date
- type: 'null'
description: Due date
startDate:
anyOf:
- type: string
format: date-time
x-native-type: date
- type: 'null'
description: Start date
createdAt:
type: string
format: date-time
x-native-type: date
description: When the task was created
required:
- id
- number
- title
- status
- type
- createdAt
patch:
operationId: tasks.update
summary: Update a task
description: Updates an existing task. Only provided fields will be updated.
tags:
- Tasks
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Task public ID
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
title:
type: string
description: Task title
description:
type: string
description: Task description
status:
enum:
- OPEN
- IN_PROGRESS
- ON_HOLD
- COMPLETED
- CANCELLED
description: Task status
priority:
enum:
- LOW
- MEDIUM
- HIGH
description: Task priority
dueDate:
type: string
format: date-time
x-native-type: date
description: Due date
startDate:
type: string
format: date-time
x-native-type: date
description: Start date
required: []
additionalProperties: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
id:
type: string
description: Task public ID
number:
type: string
description: Auto-generated task number
title:
type: string
description: Task title
description:
anyOf:
- type: string
- type: 'null'
description: Task description
status:
type: string
description: Task status
type:
type: string
description: Task type
priority:
anyOf:
- type: string
- type: 'null'
description: Task priority
dueDate:
anyOf:
- type: string
format: date-time
x-native-type: date
- type: 'null'
description: Due date
startDate:
anyOf:
- type: string
format: date-time
x-native-type: date
- type: 'null'
description: Start date
createdAt:
type: string
format: date-time
x-native-type: date
description: When the task was created
required:
- id
- number
- title
- status
- type
- createdAt
delete:
operationId: tasks.delete
summary: Delete a task
description: Permanently deletes a task.
tags:
- Tasks
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Task public ID
requestBody:
required: false
content:
application/json:
schema:
type: object
properties: {}
required: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
required:
- success
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: API key for authentication. Get yours at app.heffl.com/settings/developers