---
title: "Returns the content of the file with the specified id as pdf.
type or conversion not possible."
method: GET
path: "/tasks/{taskId}/files/{fileId}/pdf"
tags: ["taskFiles"]
---

# Returns the content of the file with the specified id as pdf.
type or conversion not possible.

`GET /tasks/{taskId}/files/{fileId}/pdf`

Returns the content of the task file. Uses the latest file version.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Path parameters

- `taskId` string, uuid, required
- `fileId` string, uuid, required

## Query parameters

- `inline` boolean

## Headers

- `Authorization` string, required

## Response `200`

OK

- string, binary

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
