uploaded_media

When object storage is available this API allows upload of media which can be used, for example, in text cards on dashboards.

Uploaded media must be less than 4MB and decode as a PNG, JPEG, GIF, WebP, AVIF or BMP image — the formats
the download route will serve inline. Pass `purpose` to also add the image to a library, making it visible
to `GET ?purpose=...`.
post/api/projects/{project_id}/uploaded_media/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/uploaded_media/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.