Skip to content

List all attachments

GET/api/v1/workspaces/{slug}/projects/{project_id}/work-items/{issue_id}/attachments/

Retrieve all attachments for a work item.

Path Parameters

issue_id:requiredstring

Issue ID

project_id:requiredstring

Project ID

slug:requiredstring

Workspace slug

Scopes

projects.work_items.attachments:read

List all attachments
bash
curl -X GET \
  "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-items/550e8400-e29b-41d4-a716-446655440001/attachments/" \
  -H "X-API-Key: $PLANE_API_KEY" \
  # Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
Response200
json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Example Name",
  "size": 1024000,
  "asset_url": "https://example.com/resource",
  "attributes": {
    "name": "Example Name",
    "type": "image/png",
    "size": 1024000
  },
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}