curl --request GET \
--url https://app.minimo.it/api/templates/whatsapp \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "tmpl_82jh2asjda",
"name": "order_confirmation",
"language": "en",
"status": "APPROVED",
"category": "MARKETING",
"namespace": "e33bca12_1234_4567_abcd_abcdef123456",
"waba_account_id": "1234567890",
"partner_id": "987654321",
"created_at": "2024-12-01T10:00:00Z",
"modified_at": "2024-12-03T15:30:00Z",
"updated_external": true,
"rejected_reason": "",
"external_id": "EXT123456789",
"created_by": {
"user_id": "user_abc123",
"user_name": "jane.doe"
},
"modified_by": {
"user_id": "user_xyz789",
"user_name": "john.smith"
},
"quality_score": {
"reasons": [
"LOW_ENGAGEMENT"
],
"score": "GREEN"
},
"components": [
{
"type": "BODY",
"text": "Hello {{1}}, your order {{2}} has been confirmed!",
"example": {
"body_text": [
[
"Jane",
"ORD-12345"
]
]
}
}
]
}
]
}Retrieves all WhatsApp templates available for the authenticated account, including status, category, and content.
curl --request GET \
--url https://app.minimo.it/api/templates/whatsapp \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "tmpl_82jh2asjda",
"name": "order_confirmation",
"language": "en",
"status": "APPROVED",
"category": "MARKETING",
"namespace": "e33bca12_1234_4567_abcd_abcdef123456",
"waba_account_id": "1234567890",
"partner_id": "987654321",
"created_at": "2024-12-01T10:00:00Z",
"modified_at": "2024-12-03T15:30:00Z",
"updated_external": true,
"rejected_reason": "",
"external_id": "EXT123456789",
"created_by": {
"user_id": "user_abc123",
"user_name": "jane.doe"
},
"modified_by": {
"user_id": "user_xyz789",
"user_name": "john.smith"
},
"quality_score": {
"reasons": [
"LOW_ENGAGEMENT"
],
"score": "GREEN"
},
"components": [
{
"type": "BODY",
"text": "Hello {{1}}, your order {{2}} has been confirmed!",
"example": {
"body_text": [
[
"Jane",
"ORD-12345"
]
]
}
}
]
}
]
}