MARTHA TRADE PTE. LTD. (Martha trade) Accounts API

The Accounts API from MARTHA TRADE PTE. LTD. (Martha trade) — 15 operation(s) for accounts.

GitHub OpenAPI

Operations 16

POST /api/accounts/register Register #
POST /api/accounts/login Login #
GET /api/accounts/session Session #
DELETE /api/accounts/session Logout #
POST /api/accounts/logout-all Logout All #
POST /api/accounts/recover Recover #
POST /api/accounts/password Change Password #
POST /api/accounts/google/start Start #
GET /api/accounts/google/callback Callback #
GET /api/accounts/connections Connections #
POST /api/accounts/connections/{grant_id}/checkpoint Import Checkpoint #
POST /api/accounts/connections/{grant_id}/retention-gap Accept Gap #
PUT /api/accounts/connections/{grant_id}/mailboxes Set Connection Mailboxes #
DELETE /api/accounts/connections/{grant_id} Disconnect #
DELETE /api/accounts/account Delete Account #
PUT /api/accounts/connections/{grant_id}/send-confirmation Client Confirmation #

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/inboxmcp-ai:inboxmcp-ai-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

inboxmcp-ai-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Inboxmcp Ai Accounts API
  version: 0.2.0
  description: 'Operations tagged Accounts across 2 of this provider''s published API definitions: openapi.json, inboxmcp-ai-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Accounts
paths:
  /api/accounts/register:
    post:
      summary: Register
      operationId: register_api_accounts_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Registration'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
  /api/accounts/login:
    post:
      summary: Login
      operationId: login_api_accounts_login_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Credentials'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
  /api/accounts/session:
    get:
      summary: Session
      operationId: session_api_accounts_session_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Accounts
    delete:
      summary: Logout
      operationId: logout_api_accounts_session_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Accounts
  /api/accounts/logout-all:
    post:
      summary: Logout All
      operationId: logout_all_api_accounts_logout_all_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Accounts
  /api/accounts/recover:
    post:
      summary: Recover
      operationId: recover_api_accounts_recover_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Recovery'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
  /api/accounts/password:
    post:
      summary: Change Password
      operationId: change_password_api_accounts_password_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangePassword'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
  /api/accounts/google/start:
    post:
      summary: Start
      operationId: start_api_accounts_google_start_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleStart'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
  /api/accounts/google/callback:
    get:
      summary: Callback
      operationId: callback_api_accounts_google_callback_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Accounts
  /api/accounts/connections:
    get:
      summary: Connections
      operationId: connections_api_accounts_connections_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Accounts
  /api/accounts/connections/{grant_id}/checkpoint:
    post:
      summary: Import Checkpoint
      operationId: import_checkpoint_api_accounts_connections__grant_id__checkpoint_post
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          title: Grant Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckpointImportInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
  /api/accounts/connections/{grant_id}/retention-gap:
    post:
      summary: Accept Gap
      operationId: accept_gap_api_accounts_connections__grant_id__retention_gap_post
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          title: Grant Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GapAcknowledgementInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
  /api/accounts/connections/{grant_id}/mailboxes:
    put:
      summary: Set Connection Mailboxes
      operationId: set_connection_mailboxes_api_accounts_connections__grant_id__mailboxes_put
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          title: Grant Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectionMailboxesInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
  /api/accounts/connections/{grant_id}:
    delete:
      summary: Disconnect
      operationId: disconnect_api_accounts_connections__grant_id__delete
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          title: Grant Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
  /api/accounts/account:
    delete:
      summary: Delete Account
      operationId: delete_account_api_accounts_account_delete
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteAccount'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
  /api/accounts/connections/{grant_id}/send-confirmation:
    put:
      summary: Client Confirmation
      operationId: client_confirmation_api_accounts_connections__grant_id__send_confirmation_put
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          title: Grant Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientConfirmationInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Accounts
components:
  schemas:
    GoogleStart:
      properties:
        mode:
          type: string
          enum:
          - login
          - link
          - reauth
          title: Mode
          default: login
        oauth_request:
          anyOf:
          - type: string
            maxLength: 43
            minLength: 43
          - type: 'null'
          title: Oauth Request
        setup_mailbox:
          type: boolean
          title: Setup Mailbox
          default: false
        attribution:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Attribution
      additionalProperties: false
      type: object
      title: GoogleStart
    Registration:
      properties:
        username:
          type: string
          maxLength: 64
          minLength: 3
          title: Username
        password:
          type: string
          maxLength: 1024
          minLength: 1
          title: Password
        attribution:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Attribution
      additionalProperties: false
      type: object
      required:
      - username
      - password
      title: Registration
    ClientConfirmationInput:
      properties:
        enabled:
          type: boolean
          title: Enabled
      additionalProperties: false
      type: object
      required:
      - enabled
      title: ClientConfirmationInput
    CheckpointImportInput:
      properties:
        cursor:
          type: integer
          minimum: 0.0
          title: Cursor
        confirmed:
          type: boolean
          title: Confirmed
      additionalProperties: false
      type: object
      required:
      - cursor
      - confirmed
      title: CheckpointImportInput
    DeleteAccount:
      properties:
        current_password:
          anyOf:
          - type: string
            maxLength: 1024
            minLength: 1
          - type: 'null'
          title: Current Password
        confirmation:
          type: string
          maxLength: 64
          minLength: 1
          title: Confirmation
      additionalProperties: false
      type: object
      required:
      - confirmation
      title: DeleteAccount
    ChangePassword:
      properties:
        current_password:
          type: string
          maxLength: 1024
          minLength: 1
          title: Current Password
        new_password:
          type: string
          maxLength: 1024
          minLength: 12
          title: New Password
      additionalProperties: false
      type: object
      required:
      - current_password
      - new_password
      title: ChangePassword
    ConnectionMailboxesInput:
      properties:
        mailbox_ids:
          items:
            type: string
          type: array
          maxItems: 100
          minItems: 1
          title: Mailbox Ids
        confirmed:
          type: boolean
          title: Confirmed
      additionalProperties: false
      type: object
      required:
      - mailbox_ids
      - confirmed
      title: ConnectionMailboxesInput
    Recovery:
      properties:
        username:
          type: string
          maxLength: 64
          minLength: 3
          title: Username
        recovery_code:
          type: string
          maxLength: 100
          minLength: 1
          title: Recovery Code
        new_password:
          type: string
          maxLength: 1024
          minLength: 12
          title: New Password
      additionalProperties: false
      type: object
      required:
      - username
      - recovery_code
      - new_password
      title: Recovery
    Credentials:
      properties:
        username:
          type: string
          maxLength: 64
          minLength: 3
          title: Username
        password:
          type: string
          maxLength: 1024
          minLength: 1
          title: Password
      additionalProperties: false
      type: object
      required:
      - username
      - password
      title: Credentials
    GapAcknowledgementInput:
      properties:
        confirmed:
          type: boolean
          title: Confirmed
      additionalProperties: false
      type: object
      required:
      - confirmed
      title: GapAcknowledgementInput
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
x-refined-from:
- openapi.json
- inboxmcp-ai-openapi.json
x-provenance:
  method: harvested
  publisher: MARTHA TRADE PTE. LTD. (Martha trade)
  source: https://app.inboxmcp.ai/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)