Rivier/ Reference/ voice

Ask WhatsApp where a template's approval stands

post/phone/templates/{id}/refresh

Before you call

Credential
Authorization: Bearer $KEY
Scope
voice:write
Mcp
rivier_phone_template_refresh
Graphql
Mutation.voicePhoneTemplateRefresh
Sdk
voice.phoneTemplate.refresh
Cli
voice phone template refresh

Parameters

  • idstringrequired
    In the path

Responses

  • 200application/json
    Success
    • idstringrequired
    • namestringrequired
    • languagestringrequired
    • categorystringrequired
      One of: utility, marketing, authentication.
    • bodystringrequired
    • variableslist of stringrequired
    • statusstringrequired
      One of: draft, pending, approved, rejected, paused.
    • reasonstringrequired
    • createdAtstringrequired
    • updatedAtstringrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown