TempoRevenue Proposals API

Create contract drafts and read their status. The endpoint names keep the word proposals for compatibility.

GitHub OpenAPI

Operations 2

POST /proposals Create a contract draft #
GET /proposals/{id} Get a contract's status #

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-proposals-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-proposals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TempoRevenue Proposals 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: Proposals
  description: Create contract drafts and read their status. The endpoint names keep the word proposals for compatibility.
paths:
  /proposals:
    post:
      operationId: createProposal
      tags:
      - Proposals
      summary: Create a contract draft
      description: Turns a client conversation or a deal description into a contract draft in your account. If the input states a single price in your currency, it is used as the total; otherwise the price is calculated in code from your saved hourly rate and the estimated hours. Takes 30 to 60 seconds (up to 90). Every account uses generation limits; drafting does not consume publication credits. Counts against the rate limit of 10 requests per minute.
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: '1 to 255 printable ASCII characters. Repeating a completed key with the same body returns the same contract (with the current credits_remaining) and the response header Idempotent-Replay: true, without a new generation or charge. Results are kept for 30 days.'
        schema:
          type: string
          minLength: 1
          maxLength: 255
          pattern: ^[\x21-\x7e]{1,255}$
        example: 6f1c2a9e-bloom-store-v1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProposalRequest'
            example:
              input: Sarah at Bloom & Co needs a new online store in 3 weeks, budget $1,200.
              client_name: Sarah
              language: en
      responses:
        '201':
          description: Draft created.
          headers:
            Idempotent-Replay:
              description: Present with the value true when this response repeats an earlier request with the same Idempotency-Key.
              schema:
                type: string
                enum:
                - 'true'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Proposal'
              example:
                id: 5c0e6f3a-0b53-4a0e-9d57-6a4f6f6f2c11
                title: Online store for Bloom & Co
                editor_url: https://app.temporevenue.com/proposals/5c0e6f3a-0b53-4a0e-9d57-6a4f6f6f2c11
                status: draft
                public_url: https://app.temporevenue.com/p/8Kf2vQ9mT1xLw0aZbN4cRg
                credits_remaining: 12
        '400':
          description: The body is not a JSON object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: invalid_json
                  message: Request body must be a JSON object.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          description: No proposals or credits left.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: payment_required
                  message: No proposals or credits left. Buy credits or upgrade to continue.
                  purchase_url: https://app.temporevenue.com/usage
        '404':
          description: Account profile not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: not_found
                  message: Account profile not found.
        '409':
          description: A request with this Idempotency-Key is still being processed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: idempotency_in_progress
                  message: A request with this Idempotency-Key is still being processed. Retry in a few seconds.
        '422':
          description: Invalid request (invalid_request, profile_incomplete, content_blocked, idempotency_key_reuse, idempotency_key_expired).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalid_request:
                  value:
                    error:
                      code: invalid_request
                      message: '''input'' is required: the client conversation or deal description, as text.'
                      field: input
                profile_incomplete:
                  value:
                    error:
                      code: profile_incomplete
                      message: Set your hourly rate in your TempoRevenue profile before generating proposals.
                      profile_url: https://app.temporevenue.com/profile
        '429':
          $ref: '#/components/responses/RateLimited'
        '502':
          description: Generation failed. Nothing was charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: generation_failed
                  message: Proposal generation failed. Nothing was charged; try again.
  /proposals/{id}:
    get:
      operationId: getProposalStatus
      tags:
      - Proposals
      summary: Get a contract's status
      description: Returns the status of a contract draft in your account, when the client first opened it and when they signed it. A document that is not in your account returns 404, the same as one that does not exist.
      parameters:
      - name: id
        in: path
        required: true
        description: Document id returned by Create a contract draft.
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Document status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProposalStatus'
              example:
                id: 5c0e6f3a-0b53-4a0e-9d57-6a4f6f6f2c11
                status: viewed
                viewed_at: '2026-10-01T14:22:09Z'
                accepted_at: null
                public_url: https://app.temporevenue.com/p/8Kf2vQ9mT1xLw0aZbN4cRg
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Proposal not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: not_found
                  message: Proposal not found.
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    ProposalStatus:
      type: object
      required:
      - id
      - status
      - viewed_at
      - accepted_at
      - public_url
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - draft
          - viewed
          - accepted
          description: 'draft: not opened yet. viewed: the client opened it. accepted: the client signed it (signed does not mean paid).'
        viewed_at:
          type:
          - string
          - 'null'
          format: date-time
          description: When the client first opened the document.
        accepted_at:
          type:
          - string
          - 'null'
          format: date-time
        public_url:
          type: string
          format: uri
    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.'
    CreateProposalRequest:
      type: object
      required:
      - input
      properties:
        input:
          type: string
          minLength: 1
          maxLength: 20000
          description: The client conversation or a description of the deal and the work requested, as plain text.
        client_name:
          type: string
          maxLength: 200
          description: The client's name, if known.
        language:
          type: string
          enum:
          - en
          - pt
          - es
          - de
          description: Language of the document. If omitted, it follows the language of the input.
    Proposal:
      type: object
      required:
      - id
      - title
      - editor_url
      - status
      - public_url
      - credits_remaining
      properties:
        id:
          type: string
          format: uuid
        title:
          type:
          - string
          - 'null'
        editor_url:
          type: string
          format: uri
          description: Open the draft in the TempoRevenue editor to review, edit and share it.
        status:
          type: string
          enum:
          - draft
        public_url:
          type: string
          format: uri
          description: The link where your client reads and signs, once you publish it for signature.
        credits_remaining:
          type:
          - integer
          - 'null'
          description: Contracts you can still create. null only if the balance could not be read after the contract was already saved.
  responses:
    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
    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_...''.'
  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/