# Upload media to the OnlyFans CDN (/api-reference/media/upload-media-to-the-only-fans-cdn)



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

The response can be used **only once** to manually include media in a post or message. This endpoint does not upload media to the Vault. You must provide either `file` or `file_url`.

<APIPage document={"https://app.onlyfansapi.com/scribe-docs/openapi.yaml"} operations={[{"path":"/api/{account}/media/upload","method":"post"}]} />
