Skip to content

Media

Endpoints in the Media group. All paths are relative to https://rmhstudios.com.

POST/api/v1/imageswrite:media

Upload one image (multipart/form-data, field `image`, max 5 MB) and receive an opaque `media_id` to attach to a post via `media_ids`. Unattached media expires ~24h after upload.

Body

  • image (file, required)png/jpg/webp/gif, max 5 MB.

Example response (201)

{
  "id": "media_abc",
  "type": "image",
  "expires_at": "2026-07-01T10:00:00.000Z"
}