Files and media

Upload a photo or video - {name, data_b64, folder}, up to 25 MB

Publish it from a group with {"op":"publish","package":...,"text":"post","media_id":<id>,"caption":...}.

post/media

Request

  • Base URL: https://api.clousd.com/v1
  • URL: https://api.clousd.com/v1/media
  • Auth: HTTP bearer

Request body

namestring required
data_b64string required
folderinteger

Example request

{
  "name": "beach.jpg"
}

Response

OK

object required

Changes

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