Skip to main content
GET
Templates API
Meta approval required - Templates must be approved by Meta before they can be sent. Newly created templates start with status PENDING_REVIEW; approval typically takes a few minutes to 24 hours.
Base URL: https://api.vobiz.ai/api/v1/messaging Authentication: Every request requires X-Auth-ID: MA_XXXXXXXX and X-Auth-Token: <token> headers (a Bearer JWT is also accepted). Set Content-Type: application/json on requests with a body. Get your credentials from console.vobiz.ai.
string
required
Your Vobiz account ID, for example MA_XXXXXXXX.
string
required
UUID of the channel the templates belong to.
Template create and list are always scoped to a channel under /channels/{channelId}/templates. There is no top-level /messaging/templates route.

Template categories

List templates

Returns the templates for a specific channel. Filter by approval status using the status query parameter (e.g. APPROVED, PENDING_REVIEW, REJECTED, DISABLED, PAUSED). This request takes no request body.
string
Filter by approval status: APPROVED, PENDING_REVIEW, REJECTED, DISABLED, or PAUSED.
cURL
200 OK

Create template

Submit a new template to Meta for approval. The request body uses Meta’s component format. Use double-brace numbered placeholders like {{1}}, {{2}} for dynamic content in the BODY.

Request body

Each component object:
cURL
201 Created

Sync templates from Meta

Pulls the latest template list and statuses from Meta and updates your Vobiz account. Call this after creating templates in Meta Business Manager directly, or after status changes (for example, when a template moves from PENDING_REVIEW to APPROVED). Returns the number of templates synced.
cURL
200 OK

Template object

Sending a template message

Creating a template does not send anything. To send an approved template, use the Messages API with type: "template".
cURL