Create a template with a media header
Meta asks for a sample of the header when you create the template. Upload the sample file and pass the returned handle asheader_handle:
file, or a public https link as JSON {"sourceUrl": "https://..."}. The response carries handle (API reference):
id, unchanged. The h in the response is the handle:
app can also be your channel’s own numeric Meta app id, as Meta’s docs show it. Any other app id is refused.