Upload a media-header sample
POST/api/channels/:channel/whatsapp/templates/media
Upload a sample image / video / document via the Resumable Upload API and
return the handle to reference as header_handle when creating or
editing a media-header template. Admin-gated (Channel update).
asset_id sends a media-library file instead of file (doc 60 §7).
Request
Responses
- 201
- 401
- 403
- 404
- 422
The uploaded sample's handle.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.
Resource not found (or not visible to the current tenant).
The request failed validation.