Rizamo Billing API

The plan and what one more account costs. Paying happens in the web app.

GitHub OpenAPI

Operations 1

GET /billing Get plan and usage #

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/rizamo-com:rizamo-com-billing-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

rizamo-com-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rizamo Billing API
  version: '1'
  description: Publish, schedule and measure social posts across connected accounts, answer comments and messages, and receive events.
  contact:
    name: Rizamo
    email: hi@rizamo.com
    url: https://docs.rizamo.com
servers:
- url: https://api.rizamo.com/v1
security:
- apiKey: []
tags:
- name: Billing
  description: The plan and what one more account costs. Paying happens in the web app.
paths:
  /billing:
    get:
      operationId: billing.get
      summary: Get plan and usage
      description: Billed per connected account, the first 2 free. Only keys and people that reach every profile see it, since the plan counts every profile's accounts.
      tags:
      - Billing
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Billing'
              example:
                status: active
                interval: month
                accounts:
                  connected: 4
                  active: 4
                  awaitingPayment: 0
                  paused: 0
                  billed: 4
                  free: 2
                price:
                  perPeriod: 10
                  nextAccount: 5
                  discountPercent: null
                  currency: usd
                periodEnd: '2026-12-01T00:00:00.000Z'
                apiCap:
                  accounts: null
                  added: 0
                action: null
          headers:
            Request-Id:
              $ref: '#/components/headers/RequestId'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  responses:
    TooManyRequests:
      description: '`rate_limited`: Over one of Rizamo''s limits, or a network asked Rizamo to slow down: wait for `Retry-After` seconds, or as long as the message says.'
      headers:
        Request-Id:
          $ref: '#/components/headers/RequestId'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            rate_limited:
              summary: rate_limited
              value:
                error:
                  code: rate_limited
                  message: 'A team makes up to 120 writes a minute (calls that create, change or delete something) to the API and MCP server: try again in a minute.'
                requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
    InternalServerError:
      description: '`internal`: Our side failed: retry, and send the `requestId` if it keeps failing.'
      headers:
        Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            internal:
              summary: internal
              value:
                error:
                  code: internal
                  message: Something went wrong on our side.
                requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
    ServiceUnavailable:
      description: '`timeout`: The request took too long to work out, most often a report: try again in a moment, or ask a report for a shorter period or one profile.'
      headers:
        Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            timeout:
              summary: timeout
              value:
                error:
                  code: timeout
                  message: This took too long to work out. Ask for a shorter period or one profile, or try again in a moment.
                requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
    Unauthorized:
      description: '`unauthorized`: No API key or sign-in, or the key does not work: it was deleted, or it expired.'
      headers:
        Request-Id:
          $ref: '#/components/headers/RequestId'
        WWW-Authenticate:
          $ref: '#/components/headers/WWWAuthenticate'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unauthorized:
              summary: unauthorized
              value:
                error:
                  code: unauthorized
                  message: 'This API key does not work: it was deleted, or it expired.'
                requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
    Forbidden:
      description: '`forbidden`: The caller may not do this: the key or agent lacks the scope (the message names it), or the action needs another role or a fresh sign-in.'
      headers:
        Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            forbidden:
              summary: forbidden
              value:
                error:
                  code: forbidden
                  message: This API key does not have the posts:write scope.
                requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              enum:
              - invalid_request
              - unauthorized
              - forbidden
              - not_found
              - method_not_allowed
              - conflict
              - queue_empty
              - queue_full
              - idempotency_key_in_use
              - payload_too_large
              - unsupported_media_type
              - capability_missing
              - idempotency_key_reused
              - rate_limited
              - internal
              - not_implemented
              - bad_gateway
              - timeout
              type: string
              description: 'What went wrong, for your code to branch on; the Errors page lists each code with its status. Rizamo may add codes within v1: treat one you do not know by its HTTP status.'
            message:
              type: string
              description: 'What went wrong and what to change, for a person: it names the field at fault, and quotes a network that refused. Show it, never parse it: its words can change.'
          required:
          - code
          - message
        requestId:
          type: string
          description: This request's id, also in the `Request-Id` header. Send it to support when something keeps failing.
      required:
      - error
      - requestId
      description: Every error the API answers, whatever its status.
    Billing:
      type: object
      properties:
        status:
          enum:
          - free
          - active
          - past_due
          - unpaid
          - cancelling
          type: string
          description: 'free: up to 2 accounts, no card. active: a paid plan. past_due: a payment failed and Stripe retries it for up to 14 days; everything works. unpaid: still unpaid after 14 days, so accounts beyond 2 are paused until it is paid. cancelling: the plan ends at `periodEnd`, then the team is on the free plan.'
        interval:
          anyOf:
          - enum:
            - month
            - year
            type: string
          - type: 'null'
          description: Monthly or yearly; null on the free plan.
        accounts:
          type: object
          properties:
            connected:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
              description: Every account the team has, in any billing state.
            active:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            awaitingPayment:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            paused:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            billed:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
              description: 'What the plan bills this period: the larger of the accounts connected now and those already paid this period. Removed accounts drop off at renewal. Without a paid plan, the active accounts the free plan covers.'
            free:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
              description: Accounts that never cost anything.
          required:
          - connected
          - active
          - awaitingPayment
          - paused
          - billed
          - free
        price:
          type: object
          properties:
            perPeriod:
              type: number
              description: What the billed accounts cost per period (month or year), in US dollars, before any discount and tax.
            nextAccount:
              type: number
              description: What one more account adds per period, before any discount and tax.
            discountPercent:
              anyOf:
              - type: number
              - type: 'null'
              description: A discount the plan keeps, such as the FOUNDING code's 50%.
            currency:
              const: usd
          required:
          - perPeriod
          - nextAccount
          - discountPercent
          - currency
        periodEnd:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: 'When the period ends: the next renewal, or the end of a plan that is cancelling.'
        apiCap:
          type: object
          properties:
            accounts:
              anyOf:
              - type: integer
                minimum: -9007199254740991
                maximum: 9007199254740991
              - type: 'null'
              description: 'The most accounts connect links (the API and MCP) may add to a paid plan each period. Null, the default, is no limit: none is set until a team owner sets one in the web app.'
            added:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
              description: Accounts connect links added and charged this period. Beyond the cap, more arrive awaiting_payment until an owner pays.
          required:
          - accounts
          - added
          description: What an owner lets connect links add on a paid plan (ADR 0025).
        action:
          anyOf:
          - enum:
            - checkout
            - pay
            - update_card
            - choose_accounts
            type: string
          - type: 'null'
          description: 'What a team owner must do in the web app, if anything. checkout: accounts wait for a paid plan to start, or more accounts are active than the free plan keeps (connected before billing was on), and the newest pause at the daily check (04:00 UTC) unless a plan starts. pay: an added account''s charge needs the card holder (3-D Secure) or failed. update_card: a renewal failed. choose_accounts: the plan ended or went unpaid, and the owner may pick which 2 accounts stay active.'
      required:
      - status
      - interval
      - accounts
      - price
      - periodEnd
      - apiCap
      - action
  headers:
    WWWAuthenticate:
      description: 'How to authenticate: `Bearer realm="Rizamo"`, with `error="invalid_token"` for a key that does not work.'
      schema:
        type: string
    RetryAfter:
      description: Seconds to wait before trying again, when the limit reached is one of Rizamo's own per minute.
      schema:
        type: integer
        example: 60
    RequestId:
      description: 'The request''s id, on every answer: send it to support when something keeps failing.'
      schema:
        type: string
        example: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: An API key from the web app, under Developers. It starts with `rz_live_`.
externalDocs:
  description: Guides, errors, limits and the changelog
  url: https://docs.rizamo.com