Skip to main content
GET
/
platforms
/
whatsapp
/
templates
/
{id}
Get a message template
curl --request GET \
  --url https://api.social-api.ai/v1/platforms/whatsapp/templates/{id} \
  --header 'Authorization: <api-key>'
{
  "category": "UTILITY",
  "components": "<unknown>",
  "id": "1234567890123456",
  "language": "en_US",
  "name": "order_confirmation",
  "status": "APPROVED"
}

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Path Parameters

id
string
required

WhatsApp template platform ID

Response

Template details

category
enum<string>
Available options:
AUTHENTICATION,
MARKETING,
UTILITY
Example:

"UTILITY"

components
any

Components is the raw WhatsApp template component definition.

id
string
Example:

"1234567890123456"

language
string
Example:

"en_US"

name
string
Example:

"order_confirmation"

status
enum<string>
Available options:
APPROVED,
PENDING,
REJECTED,
PAUSED,
DISABLED
Example:

"APPROVED"