Skip to content

Retrieve an attachment

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

Download attachment file. Returns a redirect to the presigned download URL.

Path Parameters

issue_id:requiredstring

Issue id.

pk:requiredstring

Attachment ID

project_id:requiredstring

Project ID

slug:requiredstring

Workspace slug

Scopes

projects.work_items.attachments:read

Retrieve an attachment
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/550e8400-e29b-41d4-a716-446655440000/" \
  -H "X-API-Key: $PLANE_API_KEY"
Response401
json
{
  "detail": "Authentication credentials were not provided or are invalid."
}