Onplana Proposals API
Governance-pipeline proposals: submit, review, advance through stages, convert to projects (ENTERPRISE+)
Governance-pipeline proposals: submit, review, advance through stages, convert to projects (ENTERPRISE+)
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/onplana-com:onplana-com-proposals-api"
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.
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: 3.2.0
info:
title: Onplana Proposals 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: proposals
description: 'Governance-pipeline proposals: submit, review, advance through stages, convert to projects (ENTERPRISE+)'
paths:
/proposals:
get:
tags:
- proposals
summary: List proposals
description: Returns proposals visible to the caller. Non-reviewers only see proposals they submitted.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: stage
in: query
required: false
schema:
type: string
description: Filter by stage (e.g. SUBMITTED, PROPOSAL_REVIEW, APPROVED)
- name: priority
in: query
required: false
schema:
type: string
- name: riskLevel
in: query
required: false
schema:
type: string
- name: search
in: query
required: false
schema:
type: string
description: Free-text match against title + description
responses:
'200':
description: Array of Proposal
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
operationId: getProposals
x-operation-id-source: derived
post:
tags:
- proposals
summary: Create a proposal
parameters:
- $ref: '#/components/parameters/OrgHeader'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
minLength: 1
maxLength: 255
description:
type: string
maxLength: 10000
priority:
type: string
enum:
- LOW
- MEDIUM
- HIGH
- CRITICAL
strategicAlignment:
type: string
maxLength: 5000
estimatedBudget:
type: number
minimum: 0
exclusiveMinimum: true
currency:
type: string
minLength: 3
maxLength: 3
description: Three-letter ISO 4217 code for estimatedBudget
estimatedDuration:
type: integer
minimum: 0
exclusiveMinimum: true
maximum: 9007199254740991
description: Weeks
expectedBenefits:
type: string
maxLength: 5000
businessJustification:
type: string
maxLength: 5000
riskLevel:
type: string
enum:
- LOW
- MEDIUM
- HIGH
department:
type: string
maxLength: 255
sponsorId:
type: string
description: The sponsor, an active member of the organization
proposedProjectOwnerId:
type: string
description: Owner of the project created when the proposal is approved; left out, the submitter
required:
- title
responses:
'201':
description: Proposal created
content:
application/json:
schema:
$ref: '#/components/schemas/Proposal'
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
operationId: postProposals
x-operation-id-source: derived
/proposals/{id}:
get:
tags:
- proposals
summary: Get a proposal
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Proposal with reviews + linked project
content:
application/json:
schema:
$ref: '#/components/schemas/Proposal'
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
'404':
description: Not found
operationId: getProposalsById
x-operation-id-source: derived
put:
tags:
- proposals
summary: Update a proposal
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
minLength: 1
maxLength: 255
description:
nullable: true
type: string
maxLength: 10000
priority:
type: string
enum:
- LOW
- MEDIUM
- HIGH
- CRITICAL
strategicAlignment:
nullable: true
type: string
maxLength: 5000
estimatedBudget:
nullable: true
type: number
minimum: 0
exclusiveMinimum: true
currency:
type: string
minLength: 3
maxLength: 3
description: Three-letter ISO 4217 code for estimatedBudget
estimatedDuration:
nullable: true
type: integer
minimum: 0
exclusiveMinimum: true
maximum: 9007199254740991
description: Weeks
expectedBenefits:
nullable: true
type: string
maxLength: 5000
businessJustification:
nullable: true
type: string
maxLength: 5000
riskLevel:
type: string
enum:
- LOW
- MEDIUM
- HIGH
department:
nullable: true
type: string
maxLength: 255
sponsorId:
nullable: true
type: string
description: The sponsor, an active member of the organization
proposedProjectOwnerId:
nullable: true
type: string
description: Owner of the project created when the proposal is approved; left out, the submitter
description: Any subset of the fields. null clears description, strategicAlignment, estimatedBudget, estimatedDuration, expectedBenefits, businessJustification, department, sponsorId and proposedProjectOwnerId; null on any other field is ignored. Stage transitions go through PUT /proposals/{id}/stage.
responses:
'200':
description: Updated Proposal
content:
application/json:
schema:
$ref: '#/components/schemas/Proposal'
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
'404':
description: Not found
operationId: putProposalsById
x-operation-id-source: derived
delete:
tags:
- proposals
summary: Delete a proposal
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Deleted
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
'404':
description: Not found
operationId: deleteProposalsById
x-operation-id-source: derived
/proposals/{id}/stage:
put:
tags:
- proposals
summary: Advance, hold, or unhold a proposal
description: 'State machine transition. `action: hold` stores previousStage; `action: unhold` restores it.'
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
action:
type: string
enum:
- submit
- start_review
- hold
- unhold
- reject
- archive
required:
- action
responses:
'200':
description: Updated Proposal
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
'409':
description: Stage transition not allowed
operationId: putProposalsByIdStage
x-operation-id-source: derived
/proposals/{id}/reviews:
post:
tags:
- proposals
summary: Submit a gate review for a proposal
description: Records a ProposalReview row and updates Project.governanceScore via the avg-of-scores rollup. Multi-reviewer gates use quorum logic; see CLAUDE.md for the rules.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
decision:
type: string
enum:
- APPROVED
- REJECTED
- NEEDS_MORE_INFO
score:
type: integer
minimum: 0
maximum: 100
description: Weighted gate-review score
comments:
type: string
criteriaScores:
maxItems: 200
type: array
items:
type: object
properties:
criteriaId:
type: string
score:
type: integer
minimum: 0
maximum: 9007199254740991
comment:
type: string
required:
- criteriaId
- score
description: Per-criterion sub-scores
required:
- decision
responses:
'200':
description: Review submitted; response includes quorumPending flag
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
'404':
description: Proposal or gate-approval row not found
operationId: postProposalsByIdReviews
x-operation-id-source: derived
/proposals/{id}/link-project:
put:
tags:
- proposals
summary: Link an existing project to this proposal
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
projectId:
type: string
description: A project in this organization; the proposal must be APPROVED
required:
- projectId
responses:
'200':
description: Linked
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
operationId: putProposalsByIdLinkProject
x-operation-id-source: derived
/proposals/{id}/convert:
post:
tags:
- proposals
summary: Convert an approved proposal into a new project
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
description: The new project's name
description:
type: string
startDate:
type: string
endDate:
type: string
budget:
type: number
required:
- name
- startDate
- endDate
responses:
'200':
description: Returns the new Project
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
'409':
description: Already converted
operationId: postProposalsByIdConvert
x-operation-id-source: derived
/proposals/criteria:
get:
tags:
- proposals
summary: List evaluation criteria
description: Returns org-scoped criteria for a gate, falling back to global defaults when no org-specific criteria exist.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: gate
in: query
required: false
schema:
type: string
description: PROPOSAL_REVIEW | BUSINESS_CASE_REVIEW | PLAN_REVIEW
responses:
'200':
description: Array of evaluation criteria
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
operationId: getProposalsCriteria
x-operation-id-source: derived
post:
tags:
- proposals
summary: Create an org-scoped evaluation criterion
parameters:
- $ref: '#/components/parameters/OrgHeader'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 100
description:
type: string
gate:
type: string
enum:
- PROPOSAL_REVIEW
- BUSINESS_CASE_REVIEW
- PLAN_REVIEW
description: The review gate the criterion scores
fieldType:
type: string
enum:
- SCORE
- RATING
- YES_NO
- SCALE
- DROPDOWN
- TEXT
options:
maxItems: 1000
type: array
items:
type: string
description: The choices of a DROPDOWN criterion
maxScore:
type: integer
minimum: 1
maximum: 100
description: The top of the score scale
weight:
type: number
minimum: 0
description: The criterion's weight in the gate's weighted score
order:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Position in the gate's list. Left out on create, after the last one
required:
- name
- gate
responses:
'201':
description: Criterion created
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
operationId: postProposalsCriteria
x-operation-id-source: derived
/proposals/criteria/{id}:
put:
tags:
- proposals
summary: Update an org-scoped evaluation criterion
description: 'Needs org.governance.manage. Partial update: any field of the create body.'
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 100
description:
type: string
gate:
type: string
enum:
- PROPOSAL_REVIEW
- BUSINESS_CASE_REVIEW
- PLAN_REVIEW
description: The review gate the criterion scores
fieldType:
type: string
enum:
- SCORE
- RATING
- YES_NO
- SCALE
- DROPDOWN
- TEXT
options:
maxItems: 1000
type: array
items:
type: string
description: The choices of a DROPDOWN criterion
maxScore:
type: integer
minimum: 1
maximum: 100
description: The top of the score scale
weight:
type: number
minimum: 0
description: The criterion's weight in the gate's weighted score
order:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Position in the gate's list. Left out on create, after the last one
responses:
'200':
description: The updated criterion
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
'403':
description: Forbidden - insufficient role
'404':
description: Criteria not found
operationId: putProposalsCriteriaById
x-operation-id-source: derived
/proposals/stats:
get:
tags:
- proposals
summary: Pipeline summary
description: Returns `{ stageCounts, pendingApprovals, totalInPipeline, avgScore }`.
parameters:
- $ref: '#/components/parameters/OrgHeader'
responses:
'200':
description: Pipeline stats
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
operationId: getProposalsStats
x-operation-id-source: derived
/proposals/gate-approvals/inbox:
get:
tags:
- proposals
summary: Pending gate approvals for the current user
description: Lists every PENDING ProposalGateApproval row where the caller is the designated reviewer.
parameters:
- $ref: '#/components/parameters/OrgHeader'
responses:
'200':
description: Array of pending approvals
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
operationId: getProposalsGateApprovalsInbox
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
schemas:
Proposal:
type: object
properties:
id:
type: string
format: uuid
title:
type: string
description:
type: string
nullable: true
stage:
type: string
enum:
- DRAFT
- SUBMITTED
- PROPOSAL_REVIEW
- BUSINESS_CASE
- BUSINESS_CASE_REVIEW
- PLANNING
- PLAN_REVIEW
- APPROVED
- ACTIVE
- ON_HOLD
- COMPLETED
- REJECTED
priority:
type: string
enum:
- LOW
- MEDIUM
- HIGH
- CRITICAL
riskLevel:
type: string
enum:
- LOW
- MEDIUM
- HIGH
strategicAlignment:
type: string
nullable: true
estimatedBudget:
type: number
nullable: true
estimatedDuration:
type: integer
nullable: true
description: Weeks
expectedBenefits:
type: string
nullable: true
businessJustification:
type: string
nullable: true
department:
type: string
nullable: true
sponsorId:
type: string
format: uuid
nullable: true
proposedProjectOwnerId:
type: string
format: uuid
nullable: true
projectId:
type: string
format: uuid
nullable: true
description: Set when the proposal has been linked or converted to a project.
organizationId:
type: string
format: uuid
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
required:
- id
- title
- stage
- priority
- riskLevel
- organizationId
- createdAt
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.