Onplana Issues API
The Issue Log: problems on a project or across the organization (all plans)
The Issue Log: problems on a project or across the organization (all plans)
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-issues-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 Issues 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: Issues
description: 'The Issue Log: problems on a project or across the organization (all plans)'
paths:
/issues:
post:
tags:
- Issues
summary: File an issue on a project, or an organization-level issue
description: Every plan. With projectId the caller needs to be able to add content to that project (403 otherwise); without it the issue is organization-level, which a Guest or a project-scoped token cannot file (403). Linked ids must name a risk, task, client or change request in the organization (400 otherwise).
parameters:
- $ref: '#/components/parameters/OrgHeader'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
projectId:
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
description: The project the issue is on; leave out for an organization-level issue
title:
type: string
minLength: 1
maxLength: 500
description:
type: string
maxLength: 10000
type:
type: string
enum:
- OPERATIONAL
- TECHNICAL
- SCHEDULE
- RESOURCE
- BUDGET
- SCOPE
- QUALITY
- EXTERNAL
- OTHER
severity:
type: string
enum:
- LOW
- MEDIUM
- HIGH
- CRITICAL
status:
type: string
enum:
- OPEN
- INVESTIGATING
- BLOCKED
- RESOLVED
- CLOSED
- DEFERRED
- WONT_FIX
ownerId:
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
description: User id of the person who owns the issue
targetResolutionAt:
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 it should be resolved, an ISO 8601 timestamp
linkedRiskId:
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
linkedTaskId:
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
companyId:
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
linkedCrId:
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
required:
- title
- type
- severity
responses:
'201':
description: The issue
content:
application/json:
schema:
$ref: '#/components/schemas/Issue'
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'403':
description: Forbidden - insufficient role
operationId: postIssues
x-operation-id-source: derived
get:
tags:
- Issues
summary: List issues on one project, or across everything the caller may read
description: 'Every plan. With projectId: that project''s issues (404 when the caller may not read the project). Without it: issues on every project the caller may read, plus organization-level issues unless the caller is a Guest or uses a project-scoped token. Highest severity first, then newest reported. Without limit the answer is a plain array of full issues (at most 500 when no projectId is sent). With limit it is { issues, total }: slimmer rows, and total counts every match.'
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: projectId
in: query
required: false
schema:
type: string
description: One project's issues
- name: status
in: query
required: false
schema:
type: string
description: One of OPEN, INVESTIGATING, BLOCKED, RESOLVED, CLOSED, DEFERRED, WONT_FIX, or several separated by commas; an unknown value matches nothing
- name: severity
in: query
required: false
schema:
type: string
description: One of LOW, MEDIUM, HIGH, CRITICAL, or several separated by commas
- name: type
in: query
required: false
schema:
type: string
description: An issue type, or several separated by commas
- name: ownerId
in: query
required: false
schema:
type: string
description: Issues owned by this user
- name: search
in: query
required: false
schema:
type: string
description: Case-insensitive title-contains filter
- name: limit
in: query
required: false
schema:
type: integer
description: Switches the answer to { issues, total }. Rows to return, at most 1000; a value that is not a positive number gives 25
responses:
'200':
description: An array of issues, or { issues, total } when limit is sent
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'404':
description: projectId is not a project the caller may read
operationId: getIssues
x-operation-id-source: derived
/issues/{id}:
get:
tags:
- Issues
summary: Read one issue
description: Every plan. A project issue is readable by whoever may read the project; an organization-level issue by any member who is not a Guest and not on a project-scoped token.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Issue id
responses:
'200':
description: The issue, with its reporter, owner, links and project
content:
application/json:
schema:
$ref: '#/components/schemas/Issue'
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'404':
description: No such issue the caller may read
operationId: getIssuesById
x-operation-id-source: derived
put:
tags:
- Issues
summary: Edit an issue
description: Every plan. A project issue can be edited by whoever may add content to the project; an organization-level issue by its reporter, its owner, or an Owner, Admin or Manager (403 otherwise). Only the fields sent change. A status the issue cannot move to from where it is answers 400 INVALID_STATUS_TRANSITION with from, to and allowed. Send expectedUpdateRevision to refuse the edit when someone else changed the issue first (409 UPDATE_REVISION_MISMATCH with currentRevision). Linked ids must name a risk, task, client or change request in the organization (400 otherwise).
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Issue id
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
minLength: 1
maxLength: 500
description:
nullable: true
type: string
maxLength: 10000
type:
type: string
enum:
- OPERATIONAL
- TECHNICAL
- SCHEDULE
- RESOURCE
- BUDGET
- SCOPE
- QUALITY
- EXTERNAL
- OTHER
severity:
type: string
enum:
- LOW
- MEDIUM
- HIGH
- CRITICAL
status:
type: string
enum:
- OPEN
- INVESTIGATING
- BLOCKED
- RESOLVED
- CLOSED
- DEFERRED
- WONT_FIX
ownerId:
nullable: true
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
description: User id of the person who owns the issue; null clears
targetResolutionAt:
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 it should be resolved, an ISO 8601 timestamp; null clears
resolution:
nullable: true
type: string
maxLength: 10000
linkedRiskId:
nullable: true
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
linkedTaskId:
nullable: true
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
companyId:
nullable: true
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
description: A client of the organization
linkedCrId:
nullable: true
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
description: A change request
expectedUpdateRevision:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: The updateRevision the caller last read
responses:
'200':
description: The updated issue
content:
application/json:
schema:
$ref: '#/components/schemas/Issue'
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'403':
description: Forbidden - insufficient role
'404':
description: No such issue in the organization
'409':
description: 'UPDATE_REVISION_MISMATCH: { error, message, currentRevision }'
operationId: putIssuesById
x-operation-id-source: derived
/issues/{id}/resolve:
post:
tags:
- Issues
summary: Close out an issue with a resolution note
description: Every plan. Who may do it is as for an edit (403 otherwise). Sets the status, the resolution text and the resolved time in one step. A status the issue cannot move to from where it is answers 400 INVALID_STATUS_TRANSITION with from, to and allowed.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Issue id
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
resolution:
type: string
minLength: 1
maxLength: 10000
description: What was done, or why nothing will be
status:
default: RESOLVED
type: string
enum:
- RESOLVED
- WONT_FIX
- DEFERRED
required:
- resolution
responses:
'200':
description: The updated issue
content:
application/json:
schema:
$ref: '#/components/schemas/Issue'
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'403':
description: Forbidden - insufficient role
'404':
description: No such issue in the organization
operationId: postIssuesByIdResolve
x-operation-id-source: derived
/issues/{id}/move:
post:
tags:
- Issues
summary: Move an organization-level issue onto a project
description: Every plan. Only an issue that has no project can be moved (400 ISSUE_ALREADY_HOMED otherwise). The caller must be able to edit the issue and to add content to the target project (403 otherwise). The move is written to the issue's history and to the project's activity.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Issue id
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
projectId:
type: string
format: cuid
pattern: ^[cC][0-9a-z]{6,}$
description: The project to move the issue onto
required:
- projectId
responses:
'200':
description: The issue, now on the project
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'403':
description: Forbidden - insufficient role
'404':
description: No such issue the caller may read, or no such project in the organization
operationId: postIssuesByIdMove
x-operation-id-source: derived
/issues/{id}/attachments:
get:
tags:
- Issues
summary: List an issue's attachments
description: Every plan. Readable by whoever may read the issue. Newest first.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Issue id
responses:
'200':
description: 'Array of attachments: id, fileName, mimeType, size, createdAt, uploadedBy'
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'404':
description: No such issue the caller may read
operationId: getIssuesByIdAttachments
x-operation-id-source: derived
post:
tags:
- Issues
summary: Attach a file to an issue
description: Every plan. Who may do it is as for an edit (403 otherwise). One file in the multipart field `file`, at most 100 MB; the storage quota and a content check apply.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Issue id
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- file
properties:
file:
type: string
format: binary
responses:
'201':
description: The attachment
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'403':
description: Forbidden - insufficient role
'404':
description: No such issue the caller may read
'413':
description: The file is over 100 MB, or the organization's storage is full
'415':
description: The file content is not a type that may be attached
operationId: postIssuesByIdAttachments
x-operation-id-source: derived
/issues/{id}/attachments/{attachmentId}/download:
get:
tags:
- Issues
summary: Download an issue attachment
description: Every plan. Readable by whoever may read the issue.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Issue id
- name: attachmentId
in: path
required: true
schema:
type: string
description: Attachment id
responses:
'200':
description: The file
content:
application/octet-stream:
schema:
type: string
format: binary
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'404':
description: No such issue or attachment the caller may read, or the file is missing
'423':
description: The malware scan quarantined the file
operationId: getIssuesByIdAttachmentsByAttachmentIdDownload
x-operation-id-source: derived
/issues/{id}/attachments/{attachmentId}:
delete:
tags:
- Issues
summary: Move an issue attachment to the recycle bin
description: Every plan. Who may do it is as for an edit (403 otherwise).
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Issue id
- name: attachmentId
in: path
required: true
schema:
type: string
description: Attachment id
responses:
'200':
description: '`{ message }`'
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'403':
description: Forbidden - insufficient role
'404':
description: No such issue the caller may read, or no such attachment on it
operationId: deleteIssuesByIdAttachmentsByAttachmentId
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:
Issue:
type: object
properties:
id:
type: string
title:
type: string
description:
type: string
nullable: true
type:
type: string
enum:
- OPERATIONAL
- TECHNICAL
- SCHEDULE
- RESOURCE
- BUDGET
- SCOPE
- QUALITY
- EXTERNAL
- OTHER
severity:
type: string
enum:
- LOW
- MEDIUM
- HIGH
- CRITICAL
status:
type: string
enum:
- OPEN
- INVESTIGATING
- BLOCKED
- RESOLVED
- CLOSED
- DEFERRED
- WONT_FIX
projectId:
type: string
nullable: true
description: Null for an organization-level issue.
reportedById:
type: string
ownerId:
type: string
nullable: true
reportedAt:
type: string
format: date-time
targetResolutionAt:
type: string
format: date-time
nullable: true
resolvedAt:
type: string
format: date-time
nullable: true
resolution:
type: string
nullable: true
linkedTaskId:
type: string
nullable: true
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
required:
- id
- title
- type
- severity
- status
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.