Ledgo CRM Tasks API
To-dos with a due time and an assignee, linked to records.
To-dos with a due time and an assignee, linked to records.
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/ledgo-io:ledgo-io-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. 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: 3.2.0
info:
title: Ledgo Tasks API
version: '1'
description: 'Create and read contacts, companies, leads, deals, tasks, quotes, invoices and conversations in a Ledgo workspace. Authenticate with an API key from Settings → Integrations (Authorization: Bearer agk_…). The key acts with the permissions of the person who created it; every change shows in History as that key. Up to 120 requests a minute per workspace. Responses are { "data": … } or { "error": { "code", "message", "fields" } }.'
servers:
- url: https://ledgo.io/api/v1
tags:
- name: Tasks
description: To-dos with a due time and an assignee, linked to records.
paths:
/tasks:
get:
operationId: getTasks
summary: List tasks
tags:
- Tasks
parameters:
- name: scope
in: query
required: false
description: mine (default) or team; team needs permission to see everyone's tasks
schema:
type: string
- name: assigneeId
in: query
required: false
description: 'With scope=team: one person''s tasks'
schema:
type: string
responses:
'200':
description: 'Open tasks and those completed in the last 7 days, grouped: overdue, today, upcoming, someday, done.'
content:
application/json:
schema:
type: object
properties:
data: {}
required:
- data
'401':
description: No key, a wrong key or a revoked key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key's owner may not do this (their role or record scope).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such record, or the key's owner cannot see it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: The change clashes with the record's state, for example a possible duplicate contact or a closed record.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: A field is missing or wrong; fields names each problem. Stage rules also answer here with details.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: More than 120 requests in a minute from one workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
post:
operationId: postTasks
summary: Create a task
tags:
- Tasks
parameters: []
responses:
'200':
description: '{ id }'
content:
application/json:
schema:
type: object
properties:
data: {}
required:
- data
'401':
description: No key, a wrong key or a revoked key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key's owner may not do this (their role or record scope).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such record, or the key's owner cannot see it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: The change clashes with the record's state, for example a possible duplicate contact or a closed record.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: A field is missing or wrong; fields names each problem. Stage rules also answer here with details.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: More than 120 requests in a minute from one workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
title:
type: string
maxLength: 200
notes:
type: string
maxLength: 4000
dueAt:
type: string
description: ISO 8601 date-time, for example 2026-11-03T09:00:00+04:00
priority:
type: string
enum:
- low
- normal
- high
assigneeId:
description: Defaults to the key's owner
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
contactId:
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
companyId:
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
leadId:
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
dealId:
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
required:
- title
example:
title: Send the revised quote
dueAt: '2026-10-28T11:00:00+04:00'
leadId: <lead id>
priority: high
/tasks/{id}:
patch:
operationId: patchTasksById
summary: Update or complete a task
tags:
- Tasks
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: The updated task.
content:
application/json:
schema:
type: object
properties:
data: {}
required:
- data
'401':
description: No key, a wrong key or a revoked key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key's owner may not do this (their role or record scope).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such record, or the key's owner cannot see it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: The change clashes with the record's state, for example a possible duplicate contact or a closed record.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: A field is missing or wrong; fields names each problem. Stage rules also answer here with details.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: More than 120 requests in a minute from one workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
title:
type: string
maxLength: 200
notes:
anyOf:
- type: string
maxLength: 4000
- type: 'null'
dueAt:
anyOf:
- type: string
description: ISO 8601 date-time, for example 2026-11-03T09:00:00+04:00
- type: 'null'
priority:
type: string
enum:
- low
- normal
- high
assigneeId:
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
done:
type: boolean
description: true marks the task done, false reopens it
example:
done: true
components:
schemas:
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
enum:
- unauthorized
- forbidden
- not_found
- conflict
- invalid
- rate_limited
- server_error
message:
type: string
fields:
type: object
additionalProperties:
type: string
details:
type: object
required:
- code
- message
required:
- error
securitySchemes:
apiKey:
type: http
scheme: bearer
description: An API key (agk_…) created in Settings → Integrations → REST API.