---
title: "Get attachments"
method: GET
path: "/projects/{project_id}/tasks/{task_id}/attachments"
tags: ["task"]
---

# Get attachments

`GET /projects/{project_id}/tasks/{task_id}/attachments`

## Request

- Base URL: `https://api.ora.pm`
- URL: `https://api.ora.pm/projects/{project_id}/tasks/{task_id}/attachments`
- Auth: OAuth 2
  - Authorization code: `https://app.ora.pm/authorize`
  - Token URL: `https://api.ora.pm/oauth/token` scopes: `read`, `write`

## Response `200`

Success

- TaskAttachment
  - `upload_date` string, date-time: The picture of the project.
  - `data_path` string: Path of the uploaded data.
  - `external_url` string: Path of the uploaded data if the attachment is not uploaded from Ora but from external service.
  - `file_title` string: Title of the file that is uploaded.
  - `file_size` string: Size of the file uploaded.
  - `file_type` string: Type of the file uploaded.
  - `picture_width` integer: Width of the attachment if it is a picture.
  - `picture_height` integer: Height of the attachment if it is a picture.
  - `activity_id` integer: Description about the project.

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

[API](https://skmtc.dev/ora/apis/ora-api.md) - [All operations](https://skmtc.dev/ora/apis/ora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ora/apis/ora-api/revisions/983b9e0b0dda?raw)
