WhatsApp Templates
Create Media Handler
Use this endpoint to upload a media file and generate a handler ID for use in WhatsApp templates.
The media file must be provided (e.g., image, video or PDF) and its format specified.
After successful upload you receive a handler ID and URL for inclusion in the template header or body.
post/v3/metainfo/template/create_media_handler
Request
- Base URLhttps://cpaaswa.netcorecloud.net/api
- URLhttps://cpaaswa.netcorecloud.net/api/v3/metainfo/template/create_media_handler
- AuthHTTP bearer
Request body multipart/form-data
Example request
{
"format": "image"
}Response
Media handler created successfully.
Example response
{
"request_id": "1760597071246044275-8060edd01cee09dc",
"status": "success",
"data": {
"sample_id": "4::aW1hZ2UvanBlZw==:ARZ8UMUw5EtEthwrZVgIQKjA1hHlDNQXOnKvf5pNsmCyCwfuFdrcFoFE2EyYHVA8ZVZFmyqpt0A9WIC-bmbTVuMxReGbF7TB3NyELP0RXqCjpA:e:1760942672:878254782770621:100057778901584:ARaPLZmw78G7J9IKRFs",
"url": "https://cpaas-media-us.s3.us-east-1.amazonaws.com/whatsapp-media-stage/Web%201920%20%E2%80%93%203_20251016064431_1760597071249.jpeg"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.