---
title: "Upload Media"
method: POST
path: "/{version}/{phone_number_id}/media"
tags: ["Media Management"]
---

# Upload Media

`POST /{version}/{phone_number_id}/media`

Upload media (images, documents, etc.) to the WhatsApp Cloud API. The response will provide a `media_id` that you can use in messages or templates.

## Path parameters

- `version` string, required
- `phone_number_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Media Uploaded Successfully

- object
  - `id` string — The Media ID (use this ID to send the media in messages).

---

[API](https://skmtc.dev/fast2sms/apis/dlt-sms-api.md) · [All operations](https://skmtc.dev/fast2sms/apis/dlt-sms-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fast2sms/dlt-sms-api/revisions/1fd5abcff71a/schema)
