Templates
Upload template media
POST
Upload a header image, video or document as multipart/form-data (field file).
HTTPBearerheader
AuthorizationBearer <token>phone_number*stringYour WhatsApp number, digits only, e.g. 393401234567.
multipart/form-data- body
file*stringThe image, video or document.
file_type?|MIME type, e.g. image/png. Only needed if the upload carries none.
Created
application/json- response
WhatsApp's response, passed through unchanged.
[key: string]?anycurl -X POST 'https://api.wapiu.ai/v1/numbers/393401234567/templates/media' \ -F 'file=string'Example Response
{}