Create a message template
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/whatsapp/templates" \ -H "Content-Type: application/json" \ -d '{ "account_id": "string", "category": "MARKETING", "components": [ { "type": "HEADER" } ], "language": "string", "name": "string" }'{ "category": "MARKETING", "components": [ { "buttons": [ { "phone_number": "string", "text": "string", "type": "string", "url": "string" } ], "format": "string", "text": "string", "type": "HEADER" } ], "language": "string", "name": "string", "status": "APPROVED"}Found something wrong? Help us improve this page.