OpenProject Attachments API

Attachments are files that were uploaded to OpenProject. Each attachment belongs to a single container (e.g. a work package or a board message). ## Actions | Link | Description | Condition | |:-------------------:|----------------------------------------------------------------------| -------------------------------------------- | | delete | Deletes this attachment | **Permission**: edit on attachment container or being the author for attachments without container | ## Linked Properties | Link | Description | Type | Constraints | Supported operations | |:----------------:| --------------------------------------------------- | ------------- | ----------- | -------------------- | | self | This attachment | Attachment | not null | READ | | container | The object (e.g. WorkPackage) housing the attachment| Anything | not null | READ | | author | The user who uploaded the attachment | User | not null | READ | | downloadLocation | Direct download link to the attachment | - | not null | READ | ## Local Properties | Property | Description | Type | Constraints | Supported operations | |:------------:| ----------------------------------------------- | ----------- | ----------- | -------------------- | | id | Attachment's id | Integer | x > 0 | READ | | title | The name of the file | String | not null | READ | | fileName | The name of the uploaded file | String | not null | READ | | fileSize | The size of the uploaded file in Bytes | Integer | x >= 0 | READ | | description | A user provided description of the file | Formattable | not null | READ | | contentType | The files MIME-Type as determined by the server | String | not null | READ | | digest | A checksum for the files content | Digest | not null | READ | | createdAt | Time of creation | DateTime | not null | READ |

GitHub OpenAPI

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v3/activities/{id}/attachments List attachments on an activity · List attachments by activity #
Ask an LLM
“Which files are attached to a particular activity?”
“Can I see the attachments on an activity by its id?”
Tell an agent
List attachments on activity {id}.
Show the files attached to activity {id}.
POST /api/v3/activities/{id}/attachments Attach a file to an activity · Add attachment to activity #
Ask an LLM
“How do I attach a file to an activity?”
“Can I add an attachment to an activity through the API?”
Tell an agent
Attach {file} to activity {id}.
Add a file to activity {id} with metadata {metadata}.
POST /api/v3/attachments Upload an attachment without a container · Create Attachment #
Ask an LLM
“Can I upload a file attachment before the work package or meeting it belongs to exists?”
“How do I upload an attachment without claiming it for a container right away?”
Tell an agent
Upload a file as an attachment without a container.
Create an unclaimed attachment for later claiming.
DELETE /api/v3/attachments/{id} Delete an attachment · Delete attachment #
Ask an LLM
“How do I permanently remove a file attachment?”
“Can I delete an attachment I no longer need?”
Tell an agent destructive · confirm first
Delete attachment {id}.
Permanently remove the file attachment {id}.
GET /api/v3/attachments/{id} Get an attachment · View attachment #
Ask an LLM
“How do I download a file attachment?”
“Can I fetch an attachment by its id?”
Tell an agent
Get attachment {id}.
Download the file attachment {id}.
GET /api/v3/meetings/{id}/attachments List attachments on a meeting · List attachments by meeting #
Ask an LLM
“Which files are attached to a meeting?”
“Can I see the attachments on a meeting by its id?”
Tell an agent
List attachments on meeting {id}.
Show the files attached to meeting {id}.
POST /api/v3/meetings/{id}/attachments Attach a file to a meeting · Add attachment to meeting #
Ask an LLM
“How do I attach a file to an existing meeting?”
“Can I add a file attachment to a meeting after the meeting exists?”
Tell an agent
Add an attachment to meeting {id}.
Attach this file to the existing meeting {id}.
GET /api/v3/posts/{id}/attachments List attachments on a forum post · List attachments by post #
Ask an LLM
“Which files are attached to a forum post?”
“Can I see the attachments on a post by its id?”
Tell an agent
List attachments on post {id}.
Show the files attached to post {id}.
POST /api/v3/posts/{id}/attachments Attach a file to a forum post · Add attachment to post #
Ask an LLM
“Can I attach a file to a forum post in the discussion?”
“How do I add a file attachment to an existing post?”
Tell an agent
Add an attachment to post {id}.
Attach this file to the discussion post {id}.
GET /api/v3/wiki_pages/{id}/attachments List attachments on a wiki page · List attachments by wiki page #
Ask an LLM
“Which files are attached to a wiki page?”
“Can I see the attachments on a wiki page by its id?”
Tell an agent
List attachments on wiki page {id}.
Show the files attached to wiki page {id}.
POST /api/v3/wiki_pages/{id}/attachments Attach a file to a wiki page · Add attachment to wiki page #
Ask an LLM
“Can I upload an attachment to a wiki page?”
“How do I attach a file to a page in the project wiki?”
Tell an agent
Add an attachment to wiki page {id}.
Attach this file to the wiki page {id}.
GET /api/v3/work_packages/{id}/attachments List attachments on a work package · List attachments by work package #
Ask an LLM
“Which files are attached to a work package?”
“Can I see the attachments on a work package by its id?”
Tell an agent
List attachments on work package {id}.
Show the files attached to work package {id}.
POST /api/v3/work_packages/{id}/attachments Attach a file to a work package · Create work package attachment #
Ask an LLM
“What format is required to attach a file to a work package?”
“Can I upload a file to a work package that already exists in OpenProject?”
Tell an agent
Attach a file to work package {id}.
Upload a new file with a description onto the existing work package {id}.

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/openproject:openproject-attachments-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

openproject-attachments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: You're looking at the current **stable** documentation of the OpenProject APIv3.
  title: OpenProject API V3 (Stable) Attachments API
  version: '3'
servers:
- url: https://qa.openproject-edge.com
  description: Edge QA instance
- url: https://qa.openproject-stage.com
  description: Staging instance
- url: https://community.openproject.org
  description: Community instance
security:
- BasicAuth: []
tags:


# --- truncated at 32 KB (54 KB total) ---
# Full source: https://artifacts.apis.io/openproject/openapi/openproject-attachments-api-openapi.yml