API Documentation
- API Overview
- Events
- Organization
- GETGet authapi keysregenerate
- GETGet organization
- POSTPost organization
- GETGet organization 1
- POSTPost organization 1
- GETGet organizationinsights
- GETGet rbacroles
- POSTPost rbacroles
- GETGet rbacroles 1
- POSTPost rbacroles 1
- DELDelete rbacroles
- GETGet organizationtags
- POSTPost organizationtags
- GETGet organizationinvites
- POSTPost organizationinvites
- GETGet organizationinvite
- POSTPost organizationinvite accept
- GETGet organizationmembers
- POSTPost organization transfer
- GETGet organizationtemplates
- GETGet organizationtemplates 1
- GETGet organizationphone numbers
- GETGet organizationphone numbers 1
- GETGet organizationcatalogs
- POSTPost organizationcatalogssync
- POSTPost organizationwhatsappbusinessaccount
- GET
- User
- Auth
- Organization Members
- Contacts
- Lists
- Campaigns
- Conversations
- Messages
- Integrations
- Analytics
- Knowledge Base
- System
Organization
Get organizationtemplates
returns all templates
GET
/
organization
/
templates
Copy
curl --request GET \
--url https://api.wapikit.com/api/organization/templates
Copy
[
{
"id": "<string>",
"category": "UTILITY",
"components": [
{
"add_security_recommendation": true,
"buttons": [
{
"type": "QUICK_REPLY",
"text": "<string>",
"phone_number": "<string>",
"example": [
"<string>"
],
"url": "<string>"
}
],
"cards": [
{}
],
"code_expiration_minutes": 123,
"example": {
"header_handle": [
"<string>"
],
"header_text": [
"<string>"
],
"header_text_named_params": [
{
"param_name": "<string>",
"example": "<string>"
}
],
"body_text": [
[
"<string>"
]
],
"body_text_named_params": [
{
"param_name": "<string>",
"example": "<string>"
}
]
},
"format": "TEXT",
"limited_time_offer": {
"offer_code": "<string>",
"expiry_minutes": 123
},
"text": "<string>",
"type": "GREETING"
}
],
"correct_category": "<string>",
"cta_url_link_tracking_opted_out": true,
"language": "<string>",
"library_template_name": "<string>",
"message_send_ttl_seconds": 123,
"name": "<string>",
"previous_category": "<string>",
"quality_score": {
"date": 123,
"reasons": [
"<string>"
],
"score": 123
},
"rejected_reason": "<string>",
"status": "APPROVED"
}
]
Response
200
application/json
templates list
The response is of type object[]
.
Was this page helpful?
Copy
curl --request GET \
--url https://api.wapikit.com/api/organization/templates
Copy
[
{
"id": "<string>",
"category": "UTILITY",
"components": [
{
"add_security_recommendation": true,
"buttons": [
{
"type": "QUICK_REPLY",
"text": "<string>",
"phone_number": "<string>",
"example": [
"<string>"
],
"url": "<string>"
}
],
"cards": [
{}
],
"code_expiration_minutes": 123,
"example": {
"header_handle": [
"<string>"
],
"header_text": [
"<string>"
],
"header_text_named_params": [
{
"param_name": "<string>",
"example": "<string>"
}
],
"body_text": [
[
"<string>"
]
],
"body_text_named_params": [
{
"param_name": "<string>",
"example": "<string>"
}
]
},
"format": "TEXT",
"limited_time_offer": {
"offer_code": "<string>",
"expiry_minutes": 123
},
"text": "<string>",
"type": "GREETING"
}
],
"correct_category": "<string>",
"cta_url_link_tracking_opted_out": true,
"language": "<string>",
"library_template_name": "<string>",
"message_send_ttl_seconds": 123,
"name": "<string>",
"previous_category": "<string>",
"quality_score": {
"date": 123,
"reasons": [
"<string>"
],
"score": 123
},
"rejected_reason": "<string>",
"status": "APPROVED"
}
]
Assistant
Responses are generated using AI and may contain mistakes.