> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# create_pdf_upload

> Creates a one-time upload link (15 minutes) for a PDF up to 100 MB and 300 pages on a post.

{/* Generated by apps/docs/scripts/generate.ts. Do not edit by hand. */}

**Get a PDF upload link** · Images, carousels and video

Creates a one-time upload link (15 minutes) for a PDF up to 100 MB and 300 pages on a post. PUT the file, then call attach\_pdf\_to\_post with the uploadId.

* **Credits:** Free
* **Needs confirmation:** no
* **In the ChatGPT app:** no

## Input

**postId** `string` *required*

Post id (from import\_post, generate\_post or get\_post). Format: `uuid`.

**filename** `string` *required*

Length 1–255.

**byteSize** `integer` *required*

Range −∞–104857600.

**documentTitle** `string`

The title LinkedIn shows on the document (default the file name). Length 1–100.

**workspace** `string`

Workspace id or exact name. Required when this connection can use more than one workspace (see list\_workspaces). Length 1–200.

## Example call

```json Tool call
{
  "name": "create_pdf_upload",
  "arguments": {
    "postId": "7d2c3f4e-9a0b-4c5d-8e6f-1a2b3c4d5e6f",
    "filename": "<filename>",
    "byteSize": 1
  }
}
```

## Related

* [All MCP tools](/mcp/tools.md)
* [Connect an assistant](/mcp/quickstart.md)
* [Limits and errors](/mcp/limits-and-errors.md)
