GET/v1/whatsapp/templatesmessages:sendThe API key needs the messages:send permission. Without it the call is refused with 403 insufficient_scope. Sign in to try
Find your marketing templates
The ones with category: "MARKETING".
Request
curl -X GET "https://api.iotabot.com/v1/whatsapp/templates" \ -H "Authorization: Bearer $IOTABOT_API_KEY"
Response · 200
{
"data": {
"items": [
{
"name": "order_update",
"language": "en_US",
"category": "UTILITY",
"whatsapp_account_id": "6a4c01aa…",
"inputs": {
"body": [
"order number",
"delivery date"
]
}
},
{
"name": "festive_offer",
"language": "en_US",
"category": "MARKETING",
"whatsapp_account_id": "6a4c01aa…",
"inputs": {
"body": [
"customer name"
]
}
}
]
}
}