Onplana Sprints API

Scrum sprint lifecycle and burndown (PRO+)

GitHub OpenAPI

Operations 8

GET /sprints List sprints for a project #
POST /sprints Create a sprint (PRO+) #
PUT /sprints/{id} Update a sprint (PRO+) #
DELETE /sprints/{id} Delete a sprint (PRO+) #
POST /sprints/{id}/start Activate a sprint (transitions PLANNING → ACTIVE) #
POST /sprints/{id}/complete Complete the active sprint #
GET /sprints/{id}/burndown Get burndown chart data for a sprint #
GET /epics List a project's epics #

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-sprints-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-sprints-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onplana Sprints 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: sprints
  description: Scrum sprint lifecycle and burndown (PRO+)
paths:
  /sprints:
    get:
      tags:
      - sprints
      summary: List sprints for a project
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: projectId
        in: query
        required: true
        schema:
          type: string
        description: Project UUID
      responses:
        '200':
          description: Array of sprints
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
      operationId: getSprints
      x-operation-id-source: derived
    post:
      tags:
      - sprints
      summary: Create a sprint (PRO+)
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                projectId:
                  type: string
                  minLength: 1
                name:
                  type: string
                  minLength: 1
                  maxLength: 200
                goal:
                  type: string
                  maxLength: 10000
                startDate:
                  type: string
                  description: A date the server can store (year 1900 to 9999), YYYY-MM-DD or an ISO 8601 timestamp
                endDate:
                  type: string
                  description: A date the server can store (year 1900 to 9999), YYYY-MM-DD or an ISO 8601 timestamp. On or after startDate
              required:
              - projectId
              - name
              - startDate
              - endDate
      responses:
        '201':
          description: Sprint 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: postSprints
      x-operation-id-source: derived
  /sprints/{id}:
    put:
      tags:
      - sprints
      summary: Update a sprint (PRO+)
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Sprint UUID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 200
                goal:
                  nullable: true
                  type: string
                  maxLength: 10000
                  description: null clears
                startDate:
                  type: string
                  description: A date the server can store (year 1900 to 9999), YYYY-MM-DD or an ISO 8601 timestamp
                endDate:
                  type: string
                  description: A date the server can store (year 1900 to 9999), YYYY-MM-DD or an ISO 8601 timestamp. On or after startDate when both are sent
      responses:
        '200':
          description: Updated sprint
        '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: putSprintsById
      x-operation-id-source: derived
    delete:
      tags:
      - sprints
      summary: Delete a sprint (PRO+)
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Sprint UUID
      responses:
        '204':
          description: Sprint 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
      operationId: deleteSprintsById
      x-operation-id-source: derived
  /sprints/{id}/start:
    post:
      tags:
      - sprints
      summary: Activate a sprint (transitions PLANNING → ACTIVE)
      description: Only one sprint per project may be ACTIVE at a time. Returns 400 if another sprint is already active.
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Sprint UUID
      responses:
        '200':
          description: Activated sprint
        '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: postSprintsByIdStart
      x-operation-id-source: derived
  /sprints/{id}/complete:
    post:
      tags:
      - sprints
      summary: Complete the active sprint
      description: Transitions ACTIVE → COMPLETED. Every task in the sprint that is not DONE moves to the backlog, or to another open sprint of the same project when moveToSprintId names one. 400 SPRINT_NOT_ACTIVE, SPRINT_TARGET_SELF or SPRINT_TARGET_CLOSED; 404 SPRINT_TARGET_NOT_FOUND.
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Sprint UUID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                moveToSprintId:
                  type: string
                  description: Move incomplete tasks to this sprint, which must still be open. Omit to move them to the backlog.
      responses:
        '200':
          description: Completed sprint with task move summary
          content:
            application/json:
              schema:
                type: object
                description: The sprint, plus where its open tasks went.
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                    - COMPLETED
                  carriedTaskCount:
                    type: integer
                    description: Tasks that were not done and moved out of the sprint
                  carriedToSprintId:
                    type: string
                    nullable: true
                    description: The sprint they moved to; null for the backlog
        '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: postSprintsByIdComplete
      x-operation-id-source: derived
  /sprints/{id}/burndown:
    get:
      tags:
      - sprints
      summary: Get burndown chart data for a sprint
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Sprint UUID
      responses:
        '200':
          description: Burndown series - ideal and actual remaining work by date
          content:
            application/json:
              schema:
                type: object
                properties:
                  dates:
                    type: array
                    items:
                      type: string
                      format: date
                  ideal:
                    type: array
                    items:
                      type: number
                  actual:
                    type: array
                    items:
                      type: number
                  totalTasks:
                    type: integer
                    description: The sprint's own task count. Present while the sprint loop switch is on.
                  doneTasks:
                    type: integer
                    description: The sprint's tasks that are DONE now. Present while the sprint loop switch is on.
                  startDate:
                    type: string
                    format: date
                    description: The sprint's first day. Present while the sprint loop switch is on.
                  endDate:
                    type: string
                    format: date
                    description: The sprint's last day. Present while the sprint loop switch is on.
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
      operationId: getSprintsByIdBurndown
      x-operation-id-source: derived
  /epics:
    get:
      tags:
      - sprints
      summary: List a project's epics
      description: Needs the PROJECTS_READ scope on a token. Needs sprints on the plan (402 otherwise). projectId is required (400 without it), and the caller must be able to read that project (404 otherwise). In the project's own order; each epic carries _count.tasks.
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: projectId
        in: query
        required: true
        schema:
          type: string
        description: The project
      responses:
        '200':
          description: Array of epics
        '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: projectId is not a project the caller may read
      operationId: getEpics
      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.