create_template submits a template to Meta. It does not approve it. Meta reviews the submission, and list_templates with status PENDING is how you see that it is waiting. Only an APPROVED template can be sent.
Categories are MARKETING, UTILITY, and AUTHENTICATION. Variables are named. The assistant calls get_limits and validate_template before create_template.
Ask this
What the assistant calls
1
Check length
get_limits returns the field limits. validate_template checks name, header, body, footer, buttons, and URLs. It does not call Meta and does not save a draft. Over-limit fields return LIMIT_EXCEEDED for every field at once.2
Submit
create_template runs only after you ask to submit. Optional header is TEXT, IMAGE, VIDEO, or DOCUMENT. Buttons are QUICK_REPLY, URL, PHONE_NUMBER, or COPY_CODE.
