---
title: "Upload a video file to YouTube"
method: POST
path: "/api/v1/posts/youtube"
tags: ["Posts"]
---

# Upload a video file to YouTube

`POST /api/v1/posts/youtube`

## Request

- Base URL: `https://app.tryadeli.com`
- URL: `https://app.tryadeli.com/api/v1/posts/youtube`
- Auth: HTTP bearer

Multipart upload of a video file. To publish from a URL or base64 instead, use `POST /api/v1/posts`.

## Response `202`

Success

- object

## Other responses

- `400`: Invalid request, or no profile named
- `401`: Missing or invalid API key
- `403`: The connection is healthy but lacks a permission or provider-confirmed resource this feature requires. Restart OAuth using the structured guidance.
- `404`: Profile, account, or object not found
- `422`: The connected account cannot do this because credentials expired or the platform is unsupported
- `502`: The platform's API failed

---

[API](https://skmtc.dev/tryadeli/apis/adeli-api.md) · [All operations](https://skmtc.dev/tryadeli/apis/adeli-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tryadeli/apis/adeli-api/revisions/7b8012dc8477?raw)
