Skip to main content
GET
/
platforms
/
whatsapp
/
accounts
/
{id}
/
templates
List message templates
curl --request GET \
  --url https://api.social-api.ai/v1/platforms/whatsapp/accounts/{id}/templates \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "category": "UTILITY",
      "components": "<unknown>",
      "id": "1234567890123456",
      "language": "en_US",
      "name": "order_confirmation",
      "status": "APPROVED"
    }
  ],
  "paging": {
    "cursors": {
      "after": "QVFIUjN...",
      "before": "QVFIUjJ..."
    },
    "next": "https://graph.facebook.com/..."
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Connected account ID (sapi_acc_...)

Query Parameters

limit
integer

Maximum number of templates to return (1-100)

cursor
string

Pagination cursor (after) from a previous response

Response

Templates with pagination cursors

data
object[]
paging
object