Plaxswap Support API

Support requests without an account, read on a private page.

GitHub OpenAPI

Operations 3

POST /api/v1/support Open a support request #
GET /api/v1/support/{id} A support request and its messages #
POST /api/v1/support/{id}/messages Write again on a support request #

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/plaxswap-com:plaxswap-com-support-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

plaxswap-com-support-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Plaxswap Support API
  version: 1.0.0
  summary: Quote and create crypto swaps that pay out straight to your user's address.
  description: 'JSON over HTTPS. Coin amounts are decimal strings in coin units ("0.015"), never floats. US dollar values are numbers. Times are ISO 8601 in UTC.

    A coin on one network is a method, with an id such as btc, eth-base or usdt-tron: use those ids for from and to.


    Partners: send your API key in x-api-key (or Authorization: Bearer) and the end user''s public IP address in x-user-ip, so the country rules apply to that person. Requests without a key act as a regular visitor with no commission.


    Errors: every error is { "error": { "code", "message", "details"? } } with a matching HTTP status. The message is plain English and safe to show.


    Rate limits are per IP address (the end user''s for partners): each operation lists its limit in x-rate-limit. Going over returns 429 rate_limited.


    Sandbox: a build in sim mode simulates every chain. POST /api/dev/deposit and POST /api/dev/mine move test orders forward there (not part of this API).'
  contact:
    email: support@plaxswap.com
servers:
- url: https://plaxswap.com
  description: This deployment
security: []
tags:
- name: Support
  description: Support requests without an account, read on a private page.
paths:
  /api/v1/support:
    post:
      operationId: createSupportRequest
      summary: Open a support request
      description: 'No account needed, from any country. The answer holds the private token for /support/#t=, shown once: replies appear on that page.'
      tags:
      - Support
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTicketRequest'
            example:
              subject: Refund address
              message: I sent BTC to order d5ky1xybw647gz and need to change the refund address.
      responses:
        '201':
          description: The request and its private token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTicketResponse'
        '400':
          description: invalid_input (details.field names the field).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: 'not_found: unknown orderId.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: 20 tries per 10 minutes, 5 new requests per hour.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
      x-rate-limit: 20 tries per 10 minutes, 5 new requests per hour
  /api/v1/support/{id}:
    get:
      operationId: getSupportRequest
      summary: A support request and its messages
      description: Needs the request's token in x-ticket-token. A wrong or missing token answers 404, like an unknown request.
      tags:
      - Support
      parameters:
      - $ref: '#/components/parameters/TicketId'
      - $ref: '#/components/parameters/TicketToken'
      responses:
        '200':
          description: The conversation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupportTicketView'
        '404':
          description: not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: rate_limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
      x-rate-limit: 60 per minute
  /api/v1/support/{id}/messages:
    post:
      operationId: replySupportRequest
      summary: Write again on a support request
      tags:
      - Support
      parameters:
      - $ref: '#/components/parameters/TicketId'
      - $ref: '#/components/parameters/TicketToken'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TicketReplyRequest'
      responses:
        '200':
          description: The whole conversation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupportTicketView'
        '400':
          description: invalid_input, or the request is closed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'rate_limited: 10 per 10 minutes.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
      x-rate-limit: 10 per 10 minutes
components:
  parameters:
    TicketId:
      name: id
      in: path
      required: true
      description: Support request id.
      schema:
        type: string
        pattern: ^t_[0-9a-z]{16}$
    TicketToken:
      name: x-ticket-token
      in: header
      required: true
      description: The request's private token, shown once when it was opened.
      schema:
        type: string
  schemas:
    CreateTicketRequest:
      type: object
      properties:
        subject:
          type: string
          minLength: 3
          maxLength: 120
        message:
          type: string
          minLength: 10
          maxLength: 5000
        email:
          type: string
          description: Optional. When given, Plaxswap emails a confirmation with the request's private link and a copy of every staff reply.
          format: email
          maxLength: 254
        orderId:
          type: string
          pattern: ^[0-9a-z]{14}$
      required:
      - subject
      - message
    Error:
      type: object
      description: Every error has this shape, with an HTTP status code that matches.
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Stable, machine-readable code, for example "quote_expired".
            message:
              type: string
              description: Plain English, safe to show to the person.
            details:
              description: Extra data for some errors, for example { field } or { min, max }.
          required:
          - code
          - message
      required:
      - error
    CreateTicketResponse:
      type: object
      properties:
        ticket:
          $ref: '#/components/schemas/SupportTicketView'
        token:
          type: string
          description: 'Private token for /support/<id>#t=<token>. Keep it: it is the only way to open the request.'
        email:
          type: string
          description: Whether the confirmation email went out.
          enum:
          - sent
          - failed
          - no_email
      required:
      - ticket
      - token
      - email
    SupportMessageView:
      type: object
      properties:
        id:
          type: integer
        from:
          type: string
          description: '"you" for the visitor, "support" for our staff.'
          enum:
          - you
          - support
        body:
          type: string
        createdAt:
          type: string
          format: date-time
      required:
      - id
      - from
      - body
      - createdAt
    SupportTicketView:
      type: object
      properties:
        id:
          type: string
          pattern: ^t_[0-9a-z]{16}$
        subject:
          type: string
        status:
          type: string
          enum:
          - open
          - answered
          - closed
        orderId:
          type:
          - string
          - 'null'
        hasEmail:
          type: boolean
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        messages:
          type: array
          items:
            $ref: '#/components/schemas/SupportMessageView'
      required:
      - id
      - subject
      - status
      - orderId
      - hasEmail
      - createdAt
      - updatedAt
      - messages
    TicketReplyRequest:
      type: object
      properties:
        message:
          type: string
          minLength: 10
          maxLength: 5000
      required:
      - message
  securitySchemes:
    partnerKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Partner API key, pxk_<prefix>_<secret>. Created in the admin console and shown once. A wrong or switched-off key gets 401 invalid_api_key.
    partnerBearer:
      type: http
      scheme: bearer
      description: 'The same API key as Authorization: Bearer pxk_<prefix>_<secret>.'
    merchantBearer:
      type: http
      scheme: bearer
      description: 'Payment gateway merchant key as Authorization: Bearer pxs_live_<prefix>_<secret> (or pxs_test_... for test mode). Shown once at sign-up.'
    merchantCookie:
      type: apiKey
      in: cookie
      name: px_merchant
      description: 'Merchant owner session after Google or Telegram login. Writes also require x-px-merchant: 1 and the site Origin. API keys cannot manage accounts, credentials or withdrawals.'
    merchantKey:
      type: apiKey
      in: header
      name: x-api-key
      description: The same merchant key in x-api-key.
    accountCookie:
      type: apiKey
      in: cookie
      name: px_acct
      description: The browser's account key (HttpOnly). Set by POST /api/v1/account or /api/v1/account/restore.
externalDocs:
  url: https://plaxswap.com/developers
  description: Guides, flows and the widget