Confluence Attachment API

Manage file attachments on content

Operations 8

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 /attachments/{id} Get an attachment by id · Get Attachment by Id #
Ask an LLM
“What details can I get about a single Confluence attachment?”
“Can I look up an attachment's metadata if I only have its id?”
Tell an agent
Show the details of attachment {id}.
Fetch the metadata for attachment {id}.
DELETE /attachments/{id} Delete an attachment · Delete Attachment #
Ask an LLM
“How do I delete a file attachment from Confluence?”
“Can I remove an attachment using only its id?”
Tell an agent destructive · confirm first
Delete attachment {id}.
Remove the uploaded file with attachment id {id}.
GET /pages/{id}/attachments List attachments on a page · Get Attachments for Page #
Ask an LLM
“Which files are attached to a specific page?”
“Can I page through a page's attachments with a cursor?”
Tell an agent
List the attachments on page {id}.
Show the first {limit} files attached to page {id}.
GET /attachments List all attachments across the site · Get attachments #
Ask an LLM
“How do I list every attachment on my Confluence site?”
“Can I filter site-wide attachments by media type or filename?”
Tell an agent
List all attachments on the site.
Find attachments anywhere on the site named {filename}.
GET /blogposts/{id}/attachments List attachments on a blog post · Get attachments for blog post #
Ask an LLM
“What files are attached to a particular blog post?”
“Can I filter a blog post's attachments by file type?”
Tell an agent
List the attachments on blog post {id}.
Find files named {filename} attached to blog post {id}.
GET /custom-content/{id}/attachments List attachments on custom content · Get attachments for custom content #
Ask an LLM
“Which attachments belong to a custom content item?”
“Can I narrow custom content attachments by media type?”
Tell an agent
List the attachments on custom content {id}.
Show {mediaType} attachments on custom content item {id}.
GET /labels/{id}/attachments List attachments carrying a label · Get attachments for label #
Ask an LLM
“Which attachments have been tagged with a given label?”
“Can I sort the attachments that share a label?”
Tell an agent
List attachments tagged with label {id}.
Show all files that carry label id {id}.
GET /attachments/{id}/thumbnail/download Download an attachment's thumbnail image · Download attachment thumbnail by id #
Ask an LLM
“How do I get a preview thumbnail for an attachment?”
“Can I request an attachment thumbnail at a specific width and height?”
Tell an agent
Download the thumbnail for attachment {id}.
Get a {width} by {height} thumbnail of attachment {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/confluence:confluence-attachment-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

confluence-attachment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Confluence Attachment API
  version: 2.0.0
  x-refined-note:
  - x-logo differs across the merged source definitions and was not carried
  description: 'Operations tagged Attachment across 2 of this provider''s published API definitions: confluence-cloud-v2.yml, confluence-rest-v2-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{domain}.atlassian.net/wiki/api/v2
  description: Confluence Cloud
  variables:
    domain:
      default: your-domain
      description: Your Atlassian Cloud site domain
- url: https://{your-domain}/wiki/api/v2
  variables:
    your-domain:
      default: no-default
      description: Specific domain of the Confluence site being used. Must be provided.
tags:


# --- truncated at 32 KB (41 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/confluence/refs/heads/main/openapi/confluence-attachment-api-openapi.yml