Ledgo CRM Conversations API

The shared inbox: WhatsApp, chat and other channels. Reply as the key's owner.

GitHub OpenAPI

Operations 3

GET /conversations List conversations #
GET /conversations/{id} One conversation with its messages #
POST /conversations/{id}/messages Reply, or add an internal note #

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/ledgo-io:ledgo-io-conversations-api"
All apis
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.

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. 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 Specification

ledgo-io-conversations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ledgo Conversations 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: Conversations
  description: 'The shared inbox: WhatsApp, chat and other channels. Reply as the key''s owner.'
paths:
  /conversations:
    get:
      operationId: getConversations
      summary: List conversations
      tags:
      - Conversations
      parameters:
      - name: status
        in: query
        required: false
        description: open (default), pending or closed
        schema:
          type: string
      - name: view
        in: query
        required: false
        description: all (default), mine or unassigned
        schema:
          type: string
      - name: channelId
        in: query
        required: false
        description: One channel
        schema:
          type: string
      - name: q
        in: query
        required: false
        description: Search name, phone, email or last message
        schema:
          type: string
      responses:
        '200':
          description: Up to 100 conversations, newest message first, with counts by status.
          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: []
  /conversations/{id}:
    get:
      operationId: getConversationsById
      summary: One conversation with its messages
      tags:
      - Conversations
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: The conversation, its channel, the contact and every message with direction (in, out, note), status and attachments.
          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: []
  /conversations/{id}/messages:
    post:
      operationId: postConversationsByIdMessages
      summary: Reply, or add an internal note
      description: The reply goes out through the conversation's channel as the key's owner. If the channel cannot send it, the answer says why (status not_sent or failed with an error).
      tags:
      - Conversations
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: '{ messageId, status, error }'
          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:
                body:
                  type: string
                  maxLength: 4000
                internal:
                  description: 'true: an internal note for the team, not sent to the customer'
                  type: boolean
              required:
              - body
            example:
              body: Thanks, the quote is on its way.
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.