Skip to main content
POST
Sync templates

Conceituação

Força a sincronização dos templates com a Meta, atualizando os status (PENDING, APPROVED, REJECTED) e demais informações dos templates locais. Útil quando você criou ou editou um template e quer verificar se o status de aprovação já foi atualizado pela Meta.
O wabaId é obtido através do endpoint de Listar WABAs.

Autorizações

Authorization
string
header
obrigatório

Secret Key generated in the Omni Z-API Security panel

Parâmetros de caminho

wabaId
string
obrigatório

WABA ID (obtained via List WABAs)

Exemplo:

"428083093730937"

Resposta

Synchronization completed successfully

data
object[]

List of synced templates

syncedCount
integer

Number of synced templates

synced
boolean

Indicates whether the synchronization was successful