Ricky logorickyDocs

Get a template

GET
/templates/{template_id}

One template, read live from Meta, with its review status: PENDING while Meta reviews it, then APPROVED, REJECTED or PAUSED. Read it again to follow Meta's review.

Scope: templates:read.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An organization API key, rky_live_…, created in Settings → API. Send it only from a server.

template_id*string

Template ID.

Match^[0-9]{1,32}$

Response Body

Success.

application/json
  1. response
data*

A WhatsApp message template.

curl -X GET 'https://getricky.ai/api/v1/templates/string'
{  "data": {    "id": "1234567890123456",    "name": "pedido_listo",    "language": "es",    "category": "UTILITY",    "status": "APPROVED",    "whatsapp_business_account_id": "102030405060708",    "parameter_format": "POSITIONAL",    "components": [      {        "type": "BODY",        "text": "Hola {{1}}, tu pedido {{2}} está listo para retirar."      }    ]  }}