TempoRevenue Credits API

Read publication credits.

GitHub OpenAPI

Operations 1

GET /credits Get your credit balance #

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/temporevenue-com:temporevenue-com-credits-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

temporevenue-com-credits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TempoRevenue Credits API
  version: 1.0.0
  summary: Create contract drafts from client conversations and read their status.
  description: 'Create contract drafts (service agreements, statements of work, proposals) in your TempoRevenue account from a client conversation, check whether the client opened or signed them, and read your credit balance.


    Typical uses: quote a freelance project from a client message, estimate the hours and price of a website, app or integration, draft a statement of work (SOW) with scope, exclusions and timeline (payment milestones are set in the editor), and follow up on contracts the client has opened but not signed. The price is calculated in code: a price stated in the request, or the user''s hourly rate times the estimated hours.


    Documents are always created as drafts. Nothing in this API sends anything to a client. New-account drafts use generation limits, not publication credits; publishing a document for signature in the app uses 1 credit. Legacy accounts keep their existing generation allowance.


    Authenticate with an API key from Integrations in the app (Authorization: Bearer tr_live_...). The same key works for the TempoRevenue MCP server at https://app.temporevenue.com/api/mcp. Guides, limits and examples: https://temporevenue.com/developers/'
  termsOfService: https://app.temporevenue.com/en/termos
  contact:
    name: TempoRevenue support
    email: contact@temporevenue.com
    url: https://temporevenue.com/developers/
servers:
- url: https://app.temporevenue.com/api/v1
  description: Production
security:
- ApiKey: []
tags:
- name: Credits
  description: Read publication credits.
paths:
  /credits:
    get:
      operationId: getCredits
      tags:
      - Credits
      summary: Get your credit balance
      description: Returns publication credits and the account model. This balance does not measure AI generation limits or Pro access.
      responses:
        '200':
          description: Credit balance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Credits'
              example:
                credits_remaining: 12
                plan: pro
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Credits:
      type: object
      required:
      - credits_remaining
      - plan
      properties:
        credits_remaining:
          type: integer
          description: 'Older accounts: included quota remaining plus purchased credits. Newer accounts: publication credits remaining (drafts do not use credits).'
        plan:
          type: string
          enum:
          - free
          - trial
          - pro
          - credits
          description: 'Accounts created before the credit-pack offer: free, trial or pro. Newer accounts: credits (no monthly publication quota; optional Pro tools are separate; credits_remaining counts publication credits).'
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          additionalProperties: true
          properties:
            code:
              type: string
              enum:
              - invalid_json
              - invalid_api_key
              - payment_required
              - no_proposals_left
              - not_found
              - method_not_allowed
              - idempotency_in_progress
              - invalid_request
              - profile_incomplete
              - content_blocked
              - idempotency_key_reuse
              - idempotency_key_expired
              - rate_limited
              - draft_limit_reached
              - generation_failed
            message:
              type: string
            field:
              type: string
              description: 'invalid_request: the field that failed.'
            detail:
              type: string
              description: 'profile_incomplete (missing_hourly_rate), content_blocked: a machine-readable reason.'
            purchase_url:
              type: string
              format: uri
              description: 'payment_required: where to buy credits or upgrade.'
            profile_url:
              type: string
              format: uri
              description: 'profile_incomplete: where to set your hourly rate.'
            retry_after_seconds:
              type: integer
              description: 'rate_limited: seconds to wait.'
  responses:
    Unauthorized:
      description: Missing, malformed or revoked API key.
      headers:
        WWW-Authenticate:
          description: Bearer realm="TempoRevenue"
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: invalid_api_key
              message: 'Missing or invalid API key. Send ''Authorization: Bearer tr_live_...''.'
    RateLimited:
      description: 'Rate limit exceeded: 10 requests per minute per account.'
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
            minimum: 1
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: rate_limited
              message: 'Rate limit exceeded: 10 requests per minute per account.'
              retry_after_seconds: 23
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: tr_live_...
      description: 'API key created in Integrations in the TempoRevenue app. Send it as Authorization: Bearer tr_live_... Keys are shown once and can be revoked anytime. Up to 5 active keys per account.'
externalDocs:
  description: Developer documentation, TempoRevenue MCP server and rate limits
  url: https://temporevenue.com/developers/