Upload media

Upload an image or document as multipart/form-data. Use the returned url as media_url.

POST/v1/whatsapp/media
  • Rate limit 120 / min
  • Returns 200 OK
  • Needs the WhatsApp permission · free

Body parameters

  • filebinaryrequired

    The file to upload.

Response fields

  • id

    File ID

  • url

    Use as media_url

  • content_type · size_bytes

    File details

Errors

Tap one to see its response above.

Was this page helpful?
Powered by StdioX Labs