cURL
curl --request GET \ --url https://api-message.nativehub.live/api/v1/ott/templates \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "a9b0c1d2-e3f4-5678-ab90-123456789012", "tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012", "channel_id": "f8a9b0c1-d2e3-4567-fa89-012345678901", "name": "Welcome Message", "body": "Hello {{name}}, welcome to our service!", "variables": { "name": "string" }, "status": "approved", "created_at": "2026-02-02T09:00:00Z" } ], "total": 123, "page": 123, "per_page": 123 }
Retrieve paginated list of OTT message templates
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Page number (default 1)
x >= 1
Items per page (default 20, max 100)
1 <= x <= 100
Filter by channel ID
OTT templates retrieved successfully
Show child attributes