Ledgy Accounts API

The Accounts API from Ledgy — 2 operation(s) for accounts.

GitHub OpenAPI

Operations 5

GET /api/v1/accounts Get api accounts #
POST /api/v1/accounts Create api accounts #
GET /api/v1/accounts/{id} Get api accounts by id #
PUT /api/v1/accounts/{id} Replace api accounts by id #
DELETE /api/v1/accounts/{id} Delete api accounts by id #

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/ledgy-app:ledgy-app-accounts-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

ledgy-app-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Manilo Accounts API
  description: API for Manilo mobile application
  contact:
    name: Manilo Development Team
  version: v1
security:
- {}
tags:
- name: Accounts
paths:
  /api/v1/accounts:
    get:
      tags:
      - Accounts
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AccountListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AccountListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AccountListResponse'
      summary: Get api accounts
      x-summary-source: derived
      operationId: getApiV1Accounts
      x-operation-id-source: derived
    post:
      tags:
      - Accounts
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAccountRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateAccountRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateAccountRequest'
      responses:
        '201':
          description: Created
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AccountDto'
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDto'
            text/json:
              schema:
                $ref: '#/components/schemas/AccountDto'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Create api accounts
      x-summary-source: derived
      operationId: postApiV1Accounts
      x-operation-id-source: derived
  /api/v1/accounts/{id}:
    get:
      tags:
      - Accounts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AccountDto'
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDto'
            text/json:
              schema:
                $ref: '#/components/schemas/AccountDto'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Get api accounts by id
      x-summary-source: derived
      operationId: getApiV1AccountsById
      x-operation-id-source: derived
    put:
      tags:
      - Accounts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AccountDto'
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDto'
            text/json:
              schema:
                $ref: '#/components/schemas/AccountDto'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Replace api accounts by id
      x-summary-source: derived
      operationId: putApiV1AccountsById
      x-operation-id-source: derived
    delete:
      tags:
      - Accounts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: action
        in: query
        schema:
          $ref: '#/components/schemas/AccountDeletionAction'
      - name: move_target_account_id
        in: query
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      summary: Delete api accounts by id
      x-summary-source: derived
      operationId: deleteApiV1AccountsById
      x-operation-id-source: derived
components:
  schemas:
    CreateAccountRequest:
      required:
      - currencyCode
      - name
      type: object
      properties:
        name:
          maxLength: 100
          minLength: 1
          type: string
        icon:
          maxLength: 50
          type:
          - string
          - 'null'
        color:
          maxLength: 20
          type:
          - string
          - 'null'
        currencyCode:
          maxLength: 3
          minLength: 3
          type: string
        initialBalance:
          type: number
          format: double
        iconColor:
          maxLength: 20
          type:
          - string
          - 'null'
        order:
          type: integer
          format: int32
      additionalProperties: false
    AccountDto:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        icon:
          type:
          - string
          - 'null'
        color:
          type:
          - string
          - 'null'
        currencyCode:
          type:
          - string
          - 'null'
        initialBalance:
          type: number
          format: double
        iconColor:
          type:
          - string
          - 'null'
        order:
          type: integer
          format: int32
        shareInviteToken:
          type:
          - string
          - 'null'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
      additionalProperties: {}
    AccountListResponse:
      type: object
      properties:
        items:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/AccountDto'
        totalCount:
          type: integer
          format: int32
      additionalProperties: false
    AccountDeletionAction:
      enum:
      - 0
      - 1
      - 2
      type: integer
      format: int32
    UpdateAccountRequest:
      required:
      - currencyCode
      - name
      type: object
      properties:
        name:
          maxLength: 100
          minLength: 1
          type: string
        icon:
          maxLength: 50
          type:
          - string
          - 'null'
        color:
          maxLength: 20
          type:
          - string
          - 'null'
        currencyCode:
          maxLength: 3
          minLength: 3
          type: string
        initialBalance:
          type: number
          format: double
        iconColor:
          maxLength: 20
          type:
          - string
          - 'null'
        order:
          type: integer
          format: int32
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: 'JWT or Personal Access Token. For JWT: "Bearer {jwt_token}". For PAT: "Bearer lgpat_{token}"'
      name: Authorization
      in: header