Onplana Rate Cards API

User and role rate cards for financial tracking

GitHub OpenAPI

Operations 5

GET /rate-cards List rate cards in the organization #
POST /rate-cards Create a rate card #
PUT /rate-cards/{id} Update a rate card #
DELETE /rate-cards/{id} Delete a rate card #
GET /rate-cards/resolve/{userId} Resolve the effective rate for a user #

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/onplana-com:onplana-com-rate-cards-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

onplana-com-rate-cards-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onplana Rate Cards API
  version: 1.0.0
  description: AI-native Project Management System REST API. All org-scoped routes require the `X-Organization-Id` header. Most routes require a Bearer JWT obtained from `/auth/login`.
servers:
- url: /api
security:
- bearerAuth: []
- patAuth: []
tags:
- name: rate-cards
  description: User and role rate cards for financial tracking
paths:
  /rate-cards:
    get:
      tags:
      - rate-cards
      summary: List rate cards in the organization
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      responses:
        '200':
          description: Array of rate cards (user-specific and role-level)
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
      operationId: getRateCards
      x-operation-id-source: derived
    post:
      tags:
      - rate-cards
      summary: Create a rate card
      description: Either `userId` or `roleKey` scopes the rate; a fallback rate for the organization omits both. Needs org.ratecard.manage (403 PERMISSION_DENIED). A card overlapping the dates of another for the same person or role answers 409 RATE_CARD_OVERLAP with the conflicting card.
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                userId:
                  nullable: true
                  type: string
                  description: The person this rate is for; leave out (with roleKey) for the organization's fallback rate
                roleKey:
                  nullable: true
                  type: string
                  description: The role this rate is for, when it is not one person's
                hourlyRate:
                  type: number
                  minimum: 0
                  exclusiveMinimum: true
                  description: Cost rate per hour
                billableRate:
                  nullable: true
                  type: number
                  minimum: 0
                  exclusiveMinimum: true
                  description: Charge-out rate per hour; overrides markupPct. null falls back to markupPct, then to hourlyRate
                markupPct:
                  nullable: true
                  type: number
                  minimum: 0
                  maximum: 1000
                  description: Percent over hourlyRate for the charge-out rate, used only when billableRate is null (35 means hourlyRate x 1.35)
                currency:
                  default: USD
                  type: string
                  description: ISO 4217 currency code
                effectiveFrom:
                  type: string
                  format: date-time
                  pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  description: When the rate starts. Left out on create, the start of today
                effectiveTo:
                  nullable: true
                  type: string
                  format: date-time
                  pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  description: When the rate ends; null for open-ended
                label:
                  nullable: true
                  type: string
              required:
              - hourlyRate
      responses:
        '201':
          description: Rate card created
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '403':
          description: Forbidden - insufficient role
      operationId: postRateCards
      x-operation-id-source: derived
  /rate-cards/{id}:
    put:
      tags:
      - rate-cards
      summary: Update a rate card
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Rate card UUID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                userId:
                  nullable: true
                  type: string
                  description: The person this rate is for; leave out (with roleKey) for the organization's fallback rate
                roleKey:
                  nullable: true
                  type: string
                  description: The role this rate is for, when it is not one person's
                hourlyRate:
                  type: number
                  minimum: 0
                  exclusiveMinimum: true
                  description: Cost rate per hour
                billableRate:
                  nullable: true
                  type: number
                  minimum: 0
                  exclusiveMinimum: true
                  description: Charge-out rate per hour; overrides markupPct. null falls back to markupPct, then to hourlyRate
                markupPct:
                  nullable: true
                  type: number
                  minimum: 0
                  maximum: 1000
                  description: Percent over hourlyRate for the charge-out rate, used only when billableRate is null (35 means hourlyRate x 1.35)
                currency:
                  type: string
                  description: ISO 4217 currency code
                effectiveFrom:
                  type: string
                  format: date-time
                  pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  description: When the rate starts. Left out on create, the start of today
                effectiveTo:
                  nullable: true
                  type: string
                  format: date-time
                  pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  description: When the rate ends; null for open-ended
                label:
                  nullable: true
                  type: string
              description: Any subset of the fields; a field left out keeps its stored value
      responses:
        '200':
          description: Updated rate card
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '403':
          description: Forbidden - insufficient role
      operationId: putRateCardsById
      x-operation-id-source: derived
    delete:
      tags:
      - rate-cards
      summary: Delete a rate card
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Rate card UUID
      responses:
        '204':
          description: Rate card deleted
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '403':
          description: Forbidden - insufficient role
      operationId: deleteRateCardsById
      x-operation-id-source: derived
  /rate-cards/resolve/{userId}:
    get:
      tags:
      - rate-cards
      summary: Resolve the effective rate for a user
      description: 'Returns the most specific matching rate: user-specific → role-level → global fallback.'
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: userId
        in: path
        required: true
        schema:
          type: string
        description: User UUID
      responses:
        '200':
          description: Resolved rate card
          content:
            application/json:
              schema:
                type: object
                properties:
                  ratePerHour:
                    type: number
                  currency:
                    type: string
                  source:
                    type: string
                    enum:
                    - user
                    - role
                    - global
                    - default
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
      operationId: getRateCardsResolveByUserId
      x-operation-id-source: derived
components:
  parameters:
    OrgHeader:
      name: X-Organization-Id
      in: header
      required: true
      description: UUID of the active organization. Sets org context for all scoped operations.
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    patAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Personal Access Token: `Authorization: Bearer pat_<token>`. Org context is embedded in the token - no `X-Organization-Id` header required.'
    oauthApp:
      type: oauth2
      description: Third-party OAuth app (confidential client). Register the app under Settings > Developer > OAuth apps; the person approving picks the workspace the token acts in. Tokens last 90 days and extend while in use; there is no refresh token, so a dormant connection re-consents.
      flows:
        authorizationCode:
          authorizationUrl: /oauth/authorize
          tokenUrl: /oauth/token
          scopes:
            tasks: Read and write the tasks assigned to the person, read their projects, log their time.
            schedule: Read projects and create or update them (publish a schedule).
            mcp: The MCP tool surface, as a member-capped agent persona.
            webhooks: Create, list, change and delete the app's own webhook subscriptions.