Upload a header sample
POST/templates/media
Uploads the sample file for a template header and returns the handle to use in
POST /templates.
Meta limits: JPEG/PNG image up to 5 MB, MP4/3GPP video up to 16 MB, PDF document up to 20 MB. We check before spending the upload bandwidth.
Request
Responses
- 201
- 401
- 422
- 429
Record found.
Missing, malformed, unknown or revoked token (authentication), or a suspended
account (tenant_inactive).
Payload failed validation (invalid_request, detailed in issues) or was
rejected by Meta (meta_error, with the original body in meta).
Rate limit exceeded (rate_limit).
Response Headers
Seconds to wait before retrying.
Which rate limit category applied — send, media or default.
Which bucket the other headers describe — key (the API key), session (the dashboard) or account (the account ceiling).
Request ceiling for this category in the current window.
Requests left in the current window.