projqoDevelopers

Reference

Sprints

A scrum board's sprints: plan, change, start and complete them, and move tasks into them.

List a board's sprints

GET/orgs/{org}/boards/{board}/sprints

Scope: boards:read

The board's sprints: open ones (active, then future in their order) by default; closed (newest first) or all with state. With what the token's person may do: can_manage (create, change, start, complete) and whether several sprints may be active at once.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • boardstring (uuid)Required

    The board's id.

    The id comes from List boards.

Query parameters

  • statestring

    open (active and future, the default), closed or all.

    one of: open, closed, all; default open

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • itemsarray of SprintRequired
    Show 16 fields
    • idstring (uuid)Required
    • boardobjectRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
    • namestringRequired
    • goalstringRequired
    • statestringRequired

      one of: future, active, closed

    • positionstringRequired

      Its place among the board's future sprints (compare as text).

    • durationstringRequired

      1w to 4w, or custom dates.

      one of: 1w, 2w, 3w, 4w, custom

    • startstring (date-time) or nullRequired
    • endstring (date-time) or nullRequired
    • planned_startstring (date-time) or nullRequired

      A started sprint: the start it was planned with.

    • planned_endstring (date-time) or nullRequired
    • auto_startbooleanRequired

      A future sprint starts by itself at its start.

    • auto_completebooleanRequired

      It completes by itself at its end.

    • started_atstring (date-time) or nullRequired
    • completed_atstring (date-time) or nullRequired
    • tasksintegerRequired

      Its tasks the token's person can open (a completed sprint: those it completed with).

  • next_cursorstring or nullRequired

    Pass as cursor to read the next page; null on the last page.

  • totalinteger

    The number of items in the whole list, with count=true.

  • can_managebooleanRequired
  • parallelbooleanRequired

    Several sprints may be active at once.

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/boards/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/sprints" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "items": [
    {
      "id": "5f6a7b8c-9d0e-4f1a-8b2c-4d5e6f7a8b9c",
      "board": {
        "id": "9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
        "name": "WEB board"
      },
      "name": "WEB Sprint 14",
      "goal": "Checkout works on every browser.",
      "state": "active",
      "position": "a3",
      "duration": "2w",
      "start": "2026-12-01T09:00:00.000Z",
      "end": "2026-12-15T09:00:00.000Z",
      "planned_start": "2026-12-01T09:00:00.000Z",
      "planned_end": "2026-12-15T09:00:00.000Z",
      "auto_start": false,
      "auto_complete": false,
      "started_at": "2026-12-01T09:12:00.000Z",
      "completed_at": null,
      "tasks": 9
    }
  ],
  "next_cursor": null,
  "can_manage": true,
  "parallel": false
}

Plan a sprint

POST/orgs/{org}/boards/{board}/sprints

Scope: boards:write

Adds a future sprint at the end of the board's sprints, as the backlog's Create sprint does: without a name, the next by the board's naming (WEB Sprint 8); without dates, after the last sprint with its length. Needs Manage sprints.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • boardstring (uuid)Required

    The board's id.

    The id comes from List boards.

Headers

  • Idempotency-Keystring

    A unique key (such as a uuid): the same key and body within 24 hours gets the first answer again without a second create; another body gets 422.

    1 to 200 characters

Body

  • namestring

    1 to 255 characters.

    at most 1020 characters

  • goalstring

    At most 1000 characters.

    at most 4000 characters

  • durationstring

    1w, 2w, 3w or 4w (the end follows the start), or custom.

    one of: 1w, 2w, 3w, 4w, custom

  • startstring (date-time) or null
  • endstring (date-time) or null

    With duration custom; else worked out.

  • auto_startboolean

    A future sprint starts by itself at its start.

  • auto_completeboolean

Answer

201 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • boardobjectRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • namestringRequired
  • goalstringRequired
  • statestringRequired

    one of: future, active, closed

  • positionstringRequired

    Its place among the board's future sprints (compare as text).

  • durationstringRequired

    1w to 4w, or custom dates.

    one of: 1w, 2w, 3w, 4w, custom

  • startstring (date-time) or nullRequired
  • endstring (date-time) or nullRequired
  • planned_startstring (date-time) or nullRequired

    A started sprint: the start it was planned with.

  • planned_endstring (date-time) or nullRequired
  • auto_startbooleanRequired

    A future sprint starts by itself at its start.

  • auto_completebooleanRequired

    It completes by itself at its end.

  • started_atstring (date-time) or nullRequired
  • completed_atstring (date-time) or nullRequired
  • tasksintegerRequired

    Its tasks the token's person can open (a completed sprint: those it completed with).

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 422 idempotency_key_reused idempotency_key_reused: The same Idempotency-Key was sent within 24 hours with a different body.
    422 answer
    {
      "error": {
        "code": "idempotency_key_reused",
        "message": "The same Idempotency-Key was sent within 24 hours with a different body.",
        "status": 422,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/boards/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/sprints" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "goal": "string",
  "duration": "1w",
  "start": "2026-12-01T09:30:00Z",
  "end": "2026-12-01T09:30:00Z",
  "auto_start": true,
  "auto_complete": true
}'

Sample answer 201

201 Created
{
  "id": "5f6a7b8c-9d0e-4f1a-8b2c-4d5e6f7a8b9c",
  "board": {
    "id": "9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
    "name": "WEB board"
  },
  "name": "WEB Sprint 14",
  "goal": "Checkout works on every browser.",
  "state": "future",
  "position": "a3",
  "duration": "2w",
  "start": "2026-12-01T09:00:00.000Z",
  "end": "2026-12-15T09:00:00.000Z",
  "planned_start": null,
  "planned_end": null,
  "auto_start": false,
  "auto_complete": false,
  "started_at": null,
  "completed_at": null,
  "tasks": 9
}

Get a sprint

GET/orgs/{org}/sprints/{sprint}

Scope: boards:read

One sprint, with the number of its tasks the token's person can open.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • sprintstring (uuid)Required

    The sprint's id.

    The id comes from List a board's sprints.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • boardobjectRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • namestringRequired
  • goalstringRequired
  • statestringRequired

    one of: future, active, closed

  • positionstringRequired

    Its place among the board's future sprints (compare as text).

  • durationstringRequired

    1w to 4w, or custom dates.

    one of: 1w, 2w, 3w, 4w, custom

  • startstring (date-time) or nullRequired
  • endstring (date-time) or nullRequired
  • planned_startstring (date-time) or nullRequired

    A started sprint: the start it was planned with.

  • planned_endstring (date-time) or nullRequired
  • auto_startbooleanRequired

    A future sprint starts by itself at its start.

  • auto_completebooleanRequired

    It completes by itself at its end.

  • started_atstring (date-time) or nullRequired
  • completed_atstring (date-time) or nullRequired
  • tasksintegerRequired

    Its tasks the token's person can open (a completed sprint: those it completed with).

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/sprints/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "id": "5f6a7b8c-9d0e-4f1a-8b2c-4d5e6f7a8b9c",
  "board": {
    "id": "9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
    "name": "WEB board"
  },
  "name": "WEB Sprint 14",
  "goal": "Checkout works on every browser.",
  "state": "active",
  "position": "a3",
  "duration": "2w",
  "start": "2026-12-01T09:00:00.000Z",
  "end": "2026-12-15T09:00:00.000Z",
  "planned_start": "2026-12-01T09:00:00.000Z",
  "planned_end": "2026-12-15T09:00:00.000Z",
  "auto_start": false,
  "auto_complete": false,
  "started_at": "2026-12-01T09:12:00.000Z",
  "completed_at": null,
  "tasks": 9
}

Change a sprint

PATCH/orgs/{org}/sprints/{sprint}

Scope: boards:write

Changes the fields given, as the sprint's Edit dialog does: an active sprint keeps a start and an end; a fixed duration works the end out from the start; a completed sprint can't change (409). Needs Manage sprints.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • sprintstring (uuid)Required

    The sprint's id.

    The id comes from List a board's sprints.

Body

  • namestring

    1 to 255 characters.

    at most 1020 characters

  • goalstring

    At most 1000 characters.

    at most 4000 characters

  • durationstring

    1w, 2w, 3w or 4w (the end follows the start), or custom.

    one of: 1w, 2w, 3w, 4w, custom

  • startstring (date-time) or null
  • endstring (date-time) or null

    With duration custom; else worked out.

  • auto_startboolean

    A future sprint starts by itself at its start.

  • auto_completeboolean

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • boardobjectRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • namestringRequired
  • goalstringRequired
  • statestringRequired

    one of: future, active, closed

  • positionstringRequired

    Its place among the board's future sprints (compare as text).

  • durationstringRequired

    1w to 4w, or custom dates.

    one of: 1w, 2w, 3w, 4w, custom

  • startstring (date-time) or nullRequired
  • endstring (date-time) or nullRequired
  • planned_startstring (date-time) or nullRequired

    A started sprint: the start it was planned with.

  • planned_endstring (date-time) or nullRequired
  • auto_startbooleanRequired

    A future sprint starts by itself at its start.

  • auto_completebooleanRequired

    It completes by itself at its end.

  • started_atstring (date-time) or nullRequired
  • completed_atstring (date-time) or nullRequired
  • tasksintegerRequired

    Its tasks the token's person can open (a completed sprint: those it completed with).

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 conflict conflict: The thing changed since it was read, or the change clashes with its state.
    409 answer
    {
      "error": {
        "code": "conflict",
        "message": "The thing changed since it was read, or the change clashes with its state.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X PATCH "https://projqo.example/api/v1/orgs/{org}/sprints/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "goal": "string",
  "duration": "1w",
  "start": "2026-12-01T09:30:00Z",
  "end": "2026-12-01T09:30:00Z",
  "auto_start": true,
  "auto_complete": true
}'

Sample answer 200

200 OK
{
  "id": "5f6a7b8c-9d0e-4f1a-8b2c-4d5e6f7a8b9c",
  "board": {
    "id": "9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
    "name": "WEB board"
  },
  "name": "WEB Sprint 14",
  "goal": "Checkout works on every browser.",
  "state": "active",
  "position": "a3",
  "duration": "2w",
  "start": "2026-12-01T09:00:00.000Z",
  "end": "2026-12-15T09:00:00.000Z",
  "planned_start": "2026-12-01T09:00:00.000Z",
  "planned_end": "2026-12-15T09:00:00.000Z",
  "auto_start": false,
  "auto_complete": false,
  "started_at": "2026-12-01T09:12:00.000Z",
  "completed_at": null,
  "tasks": 9
}

Start a sprint

POST/orgs/{org}/sprints/{sprint}/start

Scope: boards:write

Starts a future sprint, as the backlog's Start sprint dialog does: with its start (and its end, or a duration), optionally a new name and goal. A sprint needs tasks; an Organisation project's board runs one sprint at a time unless parallel sprints are on (409 conflict with the app's words). Needs Manage sprints.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • sprintstring (uuid)Required

    The sprint's id.

    The id comes from List a board's sprints.

Body

  • startstring (date-time)Required

    When it starts (with Z or an offset).

  • endstring (date-time) or null

    With duration custom.

  • durationstring

    1w, 2w, 3w or 4w (the end follows the start), or custom.

    one of: 1w, 2w, 3w, 4w, custom

  • namestring

    1 to 255 characters.

    at most 1020 characters

  • goalstring

    At most 1000 characters.

    at most 4000 characters

  • auto_completeboolean

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • boardobjectRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • namestringRequired
  • goalstringRequired
  • statestringRequired

    one of: future, active, closed

  • positionstringRequired

    Its place among the board's future sprints (compare as text).

  • durationstringRequired

    1w to 4w, or custom dates.

    one of: 1w, 2w, 3w, 4w, custom

  • startstring (date-time) or nullRequired
  • endstring (date-time) or nullRequired
  • planned_startstring (date-time) or nullRequired

    A started sprint: the start it was planned with.

  • planned_endstring (date-time) or nullRequired
  • auto_startbooleanRequired

    A future sprint starts by itself at its start.

  • auto_completebooleanRequired

    It completes by itself at its end.

  • started_atstring (date-time) or nullRequired
  • completed_atstring (date-time) or nullRequired
  • tasksintegerRequired

    Its tasks the token's person can open (a completed sprint: those it completed with).

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 conflict conflict: The thing changed since it was read, or the change clashes with its state.
    409 answer
    {
      "error": {
        "code": "conflict",
        "message": "The thing changed since it was read, or the change clashes with its state.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/sprints/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/start" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "start": "2026-12-01T09:30:00Z",
  "end": "2026-12-01T09:30:00Z",
  "duration": "1w",
  "name": "string",
  "goal": "string",
  "auto_complete": true
}'

Sample answer 200

200 OK
{
  "id": "5f6a7b8c-9d0e-4f1a-8b2c-4d5e6f7a8b9c",
  "board": {
    "id": "9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
    "name": "WEB board"
  },
  "name": "WEB Sprint 14",
  "goal": "Checkout works on every browser.",
  "state": "active",
  "position": "a3",
  "duration": "2w",
  "start": "2026-12-01T09:00:00.000Z",
  "end": "2026-12-15T09:00:00.000Z",
  "planned_start": "2026-12-01T09:00:00.000Z",
  "planned_end": "2026-12-15T09:00:00.000Z",
  "auto_start": false,
  "auto_complete": false,
  "started_at": "2026-12-01T09:12:00.000Z",
  "completed_at": null,
  "tasks": 9
}

What completing a sprint would do

GET/orgs/{org}/sprints/{sprint}/completion

Scope: boards:read

As the Complete sprint dialog shows it: how many of its tasks are completed (in the board's last column) and open, as the token's person can see them, the future sprints the open tasks can go to, and where they go by default.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • sprintstring (uuid)Required

    The sprint's id.

    The id comes from List a board's sprints.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • completedintegerRequired
  • openintegerRequired
  • destinationsarray of objectRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • defaultobjectRequired
    Show 2 fields
    • tostringRequired

      one of: sprint, new, backlog

    • sprintstring (uuid) or nullRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/sprints/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/completion" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "completed": 7,
  "open": 2,
  "destinations": [
    {
      "id": "6a7b8c9d-0e1f-4a2b-9c3d-5e6f7a8b9c0d",
      "name": "WEB Sprint 15"
    }
  ],
  "default": {
    "to": "sprint",
    "sprint": "6a7b8c9d-0e1f-4a2b-9c3d-5e6f7a8b9c0d"
  }
}

Complete a sprint

POST/orgs/{org}/sprints/{sprint}/complete

Scope: boards:write

Completes an active sprint, as the Complete sprint dialog does. Its open tasks (every one, also those the token's person can't open) go to a future sprint of the board (to sprint, with sprint), a new sprint (to new) or the backlog (to backlog, at its end). Completed tasks are those in the board's last column. Needs Manage sprints.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • sprintstring (uuid)Required

    The sprint's id.

    The id comes from List a board's sprints.

Body

  • tostringRequired

    Where the open tasks go: sprint, new or backlog.

    one of: sprint, new, backlog

  • sprintstring (uuid)

    With to sprint: a future sprint of the same board.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • sprintSprintRequired
    Show 16 fields
    • idstring (uuid)Required
    • boardobjectRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
    • namestringRequired
    • goalstringRequired
    • statestringRequired

      one of: future, active, closed

    • positionstringRequired

      Its place among the board's future sprints (compare as text).

    • durationstringRequired

      1w to 4w, or custom dates.

      one of: 1w, 2w, 3w, 4w, custom

    • startstring (date-time) or nullRequired
    • endstring (date-time) or nullRequired
    • planned_startstring (date-time) or nullRequired

      A started sprint: the start it was planned with.

    • planned_endstring (date-time) or nullRequired
    • auto_startbooleanRequired

      A future sprint starts by itself at its start.

    • auto_completebooleanRequired

      It completes by itself at its end.

    • started_atstring (date-time) or nullRequired
    • completed_atstring (date-time) or nullRequired
    • tasksintegerRequired

      Its tasks the token's person can open (a completed sprint: those it completed with).

  • completedintegerRequired
  • openintegerRequired

    The open tasks moved (that you can see).

  • tostringRequired

    one of: sprint, new, backlog

  • moved_toobject or nullRequired

    The sprint the open tasks went to (null: the backlog).

    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 conflict conflict: The thing changed since it was read, or the change clashes with its state.
    409 answer
    {
      "error": {
        "code": "conflict",
        "message": "The thing changed since it was read, or the change clashes with its state.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/sprints/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/complete" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "sprint",
  "sprint": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10"
}'

Sample answer 200

200 OK
{
  "sprint": {
    "id": "5f6a7b8c-9d0e-4f1a-8b2c-4d5e6f7a8b9c",
    "board": {
      "id": "9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
      "name": "WEB board"
    },
    "name": "WEB Sprint 14",
    "goal": "Checkout works on every browser.",
    "state": "closed",
    "position": "a3",
    "duration": "2w",
    "start": "2026-12-01T09:00:00.000Z",
    "end": "2026-12-15T09:00:00.000Z",
    "planned_start": "2026-12-01T09:00:00.000Z",
    "planned_end": "2026-12-15T09:00:00.000Z",
    "auto_start": false,
    "auto_complete": false,
    "started_at": "2026-12-01T09:12:00.000Z",
    "completed_at": "2026-12-15T09:05:00.000Z",
    "tasks": 9
  },
  "completed": 7,
  "open": 2,
  "to": "sprint",
  "moved_to": {
    "id": "6a7b8c9d-0e1f-4a2b-9c3d-5e6f7a8b9c0d",
    "name": "WEB Sprint 15"
  }
}

Move tasks into a sprint

POST/orgs/{org}/sprints/{sprint}/tasks

Scope: boards:write

Moves tasks into an active or future sprint of the board, as dragging them there on the backlog does, optionally at a place (before or after a task, or the top or bottom of the sprint). Needs Edit tasks on each; a completed sprint takes none (409). A task joining an active sprint after its start is marked so in the sprint's report. Take tasks out with POST /boards/{board}/backlog/tasks.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • sprintstring (uuid)Required

    The sprint's id.

    The id comes from List a board's sprints.

Body

  • tasksarray of stringRequired

    The tasks (ids or keys), in the order they land.

    1 to 500 items

  • beforestring

    Just before this task (id or key).

    1 to 60 characters

  • afterstring

    Just after this task (id or key).

    1 to 60 characters

  • atstring

    The top or the bottom of the column or section.

    one of: top, bottom

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • itemsarray of objectRequired
    Show 4 fields
    • idstring (uuid)Required
    • keystringRequired
    • rankstringRequired
    • sprintobject or nullRequired

      The open sprint it is in now.

      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed. conflict: The thing changed since it was read, or the change clashes with its state.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/sprints/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/tasks" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "tasks": [
    "string"
  ],
  "before": "string",
  "after": "string",
  "at": "top"
}'

Sample answer 200

200 OK
{
  "items": [
    {
      "id": "6f1e2d3c-4b5a-4968-8776-5a4b3c2d1e0f",
      "key": "WEB-12",
      "rank": "0|i0000h:",
      "sprint": {
        "id": "5f6a7b8c-9d0e-4f1a-8b2c-4d5e6f7a8b9c",
        "name": "WEB Sprint 14"
      }
    }
  ]
}