Ledgo CRM Workspace API
Who the key acts as, the team, pipelines and custom fields. Use these ids in the other calls.
Who the key acts as, the team, pipelines and custom fields. Use these ids in the other calls.
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-workspace-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 Workspace 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: Workspace
description: Who the key acts as, the team, pipelines and custom fields. Use these ids in the other calls.
paths:
/me:
get:
operationId: getMe
summary: Who this key acts as
tags:
- Workspace
parameters: []
responses:
'200':
description: The workspace (name, slug, currency, time zone) and the role the key acts with.
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: []
/members:
get:
operationId: getMembers
summary: Team members
tags:
- Workspace
parameters: []
responses:
'200':
description: Active and blocked members with userId, name, email and role. Use userId as ownerId or assigneeId.
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: []
/pipelines:
get:
operationId: getPipelines
summary: Pipelines and their stages
tags:
- Workspace
parameters:
- name: entity
in: query
required: false
description: lead (default) or deal
schema:
type: string
responses:
'200':
description: 'Each pipeline with its ordered stages: id, name, kind (open, won, lost), probability, requireFollowUp, requireAmount.'
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: []
/fields:
get:
operationId: getFields
summary: Custom field definitions
tags:
- Workspace
parameters:
- name: entity
in: query
required: false
description: lead, deal, contact or company; all when omitted
schema:
type: string
responses:
'200':
description: Fields with key, label, type, options and whether required. Send values under custom.<key>.
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: []
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.