Project page attachments overview
A project page attachment is a file that belongs to a page inside a project, such as an image, a PDF, or a spreadsheet. The file bytes never pass through the Plane API. You ask the API for an upload credential, upload the file straight to object storage with it, and then tell the API the upload is done.
This resource serves only project pages. The page in {page_id} must belong to the project in {project_id}. A wiki page id, or the id of a page in another project, returns 404, the same response as a page that doesn't exist or that you can't see. For files on wiki pages, use Workspace page attachments.
Learn more about attachments in pages
The project page attachment object
Attributes
idstring (uuid)Unique identifier for the attachment. The create response also returns it as
asset_id.page_idstring (uuid)The project page the attachment belongs to.
namestringThe file name you sent when you requested the upload.
content_typestringThe MIME type you sent when you requested the upload, for example
image/png.sizenumberThe size in bytes that the upload credential allows. It is the smaller of the
sizeyou sent and your plan's file size limit.attributesobjectThe stored file metadata, with
name,type, andsizekeys. The API readsnameandcontent_typefrom here.asset_urlstringA relative path on the Plane server that contains the project's UUID, even when you call the API with the project identifier. The Plane web app loads the file from this path, and it isn't part of the v2 API. To fetch the file with your API credentials, use Download a project page attachment.
is_uploadedbooleanfalsefrom the moment you request the upload until you confirm it, thentrue.created_atstring (date-time)When the upload was requested.
updated_atstring (date-time)When the attachment was last updated.
created_by_idstring (uuid)The user who requested the upload. Confirming the upload sets it to the user who confirmed it.
updated_by_idstring (uuid) or nullThe user who last updated the attachment.
nulluntil someone updates it.
{
"id": "8f4c2b1e-0d3a-4f7b-9c21-6e5a8b7d4f13",
"page_id": "9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88",
"name": "architecture-diagram.png",
"content_type": "image/png",
"size": 482133.0,
"attributes": {
"name": "architecture-diagram.png",
"type": "image/png",
"size": 482133
},
"asset_url": "/api/assets/v2/workspaces/my-team/projects/4af68566-94a4-4eb3-94aa-50dc9427067b/8f4c2b1e-0d3a-4f7b-9c21-6e5a8b7d4f13/",
"is_uploaded": true,
"created_at": "2026-01-14T09:22:41.478363Z",
"updated_at": "2026-01-14T09:23:05.112907Z",
"created_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
"updated_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430"
}Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v2/workspaces/{slug}/projects/{project_id}/pages/{page_id}/attachments/ | List project page attachments |
GET | /api/v2/workspaces/{slug}/projects/{project_id}/pages/{page_id}/attachments/{pk}/ | Get a project page attachment |
POST | /api/v2/workspaces/{slug}/projects/{project_id}/pages/{page_id}/attachments/ | Create a project page attachment upload |
PATCH | /api/v2/workspaces/{slug}/projects/{project_id}/pages/{page_id}/attachments/{pk}/ | Confirm a project page attachment upload |
DELETE | /api/v2/workspaces/{slug}/projects/{project_id}/pages/{page_id}/attachments/{pk}/ | Delete a project page attachment |
GET | /api/v2/workspaces/{slug}/projects/{project_id}/pages/{page_id}/attachments/{pk}/download/ | Download a project page attachment |
Upload a file in three steps
- Call Create a project page attachment upload with the file's
name,type, andsize. The response carriesupload_data(a storage URL and form fields) andasset_id. - Send a
multipart/form-dataPOSTtoupload_data.url. Include every entry ofupload_data.fieldsas a form field, then the file itself as the last field, namedfile. Storage rejects a file larger than the attachment'ssizeor aContent-Typeother than the one you declared. - Call Confirm a project page attachment upload with the
asset_id. The attachment'sis_uploadedbecomestrue.
Until step 3, List project page attachments leaves the attachment out, and Download returns 400. You can still read it by id, so a client that crashed between steps can find and confirm it.
Creating an attachment doesn't change the page body. The page's description_html stays as it was.
Attachments belong to one project
Each attachment records the project in the path you created it under. A page can belong to more than one project (see project_ids on the project page object), but its attachments don't follow it. When you reach the same page through another project, the list doesn't include attachments created under the first project, and reading one of them by id returns 404.
Locked and archived pages
Reads work on any page you can see. Create, confirm, and delete need edit access to the page, and the page must be active and unlocked:
- A locked page returns
400 invalid_requestwithdetailPage is locked. - An archived page returns
400 invalid_requestwithdetailPage is archived. - A private page that someone shared with you needs Edit access on that share. With view or comment access, the write returns
403 forbidden.
Your project role sets the rest. Project admins and contributors can read and write attachments on any page they can see. Commenters can read them on any page they can see, but can write them only on pages they own. Guests can read and write them only on pages they own. A role without access returns 403 forbidden.
Response shaping
Every read of the attachment object accepts ?fields= for sparse responses. See Sparse fields. Errors follow the shared problem+json contract.
Changed from v1
v1 has no project page attachment routes. Every endpoint in this resource is new in v2.
See Migrating from v1 for the full list.

