iglooX DocsDevelopers

Schema

WhatsApp Template Submission

An attempt to submit a captured message body to WhatsApp. A linked submission has a Meta ID and status. Submission state describes the relationship to Meta separately from the provider’s review status.

  • Models

Overview

object · 13 properties · 13 required

Properties

uuid

string Required

The submission's unique version identifier. New provider template names include this UUID without hyphens.

Format uuid
Read only Yes

waba_id

string Required

The WABA that received this submission.

Read only Yes

content_key

string Required

The content fingerprint used to match this captured body.

Read only Yes

template_origin

reference Required

References Message Template Origin.

Read only Yes

category

string Required

The category supplied when submitting this version to Meta.

Read only Yes

language

string Required

The language supplied when submitting this version to Meta.

Read only Yes

components

array Required

The submitted provider component definition, independent of bot source actions.

Read only Yes
Array items

Items

object

waba_template_id

string | null Required

The ID of the template created using the Meta Graph API. Null before the Meta version is linked. This field maps directly to the `id` field in the associated Graph node. See https://developers.facebook.com/docs/graph-api/reference/whats-app-business-hsm/#fields for more details.

Min length 1
Max length 255
Nullable Yes
Read only Yes

waba_template_name

string Required

The name of the template created using the Meta Graph API. This field maps directly to the `name` field in the associated Graph node. See https://developers.facebook.com/docs/graph-api/reference/whats-app-business-hsm/#fields for more details.

Min length 1
Max length 255
Read only Yes

waba_status

string | null Required

The review status from Meta, such as PENDING, APPROVED or REJECTED. Null before the Meta version is linked. This field maps directly to the `status` field in the associated Graph node. See https://developers.facebook.com/docs/graph-api/reference/whats-app-business-hsm/#fields for more details.

Example APPROVED
Min length 1
Max length 255
Nullable Yes
Read only Yes

submission_state

string Required

Current submission outcome. A failed attempt was rejected. An unconfirmed attempt may still be linked by later provider evidence.

Read only Yes

Allowed values

submittinglinkedfailedunconfirmed

body

reference Required

The source definition snapshot captured when submitting this version.

References Message Template Body.

Read only Yes

created_at

string Required

The date-time that the template was first created.

Format date-time
Read only Yes

Used by

Raw YAML
Download source
title: WhatsApp Template Submission
type: object
x-tags:
  - Models
description: An attempt to submit a captured message body to WhatsApp. A linked
  submission has a Meta ID and status. Submission state describes the relationship
  to Meta separately from the provider’s review status.
required:
  - uuid
  - waba_id
  - content_key
  - template_origin
  - category
  - language
  - components
  - waba_template_id
  - waba_template_name
  - waba_status
  - submission_state
  - body
  - created_at
properties:
  uuid:
    type: string
    format: uuid
    description: The submission's unique version identifier. New provider template
      names include this UUID without hyphens.
    readOnly: true
  waba_id:
    type: string
    description: The WABA that received this submission.
    readOnly: true
  content_key:
    type: string
    description: The content fingerprint used to match this captured body.
    readOnly: true
  template_origin:
    $ref: ./MessageTemplateOrigin.yaml
    readOnly: true
  category:
    type: string
    description: The category supplied when submitting this version to Meta.
    readOnly: true
  language:
    type: string
    description: The language supplied when submitting this version to Meta.
    readOnly: true
  components:
    type: array
    description: The submitted provider component definition, independent of bot
      source actions.
    items:
      type: object
      additionalProperties: true
    readOnly: true
  waba_template_id:
    type:
      - string
      - 'null'
    minLength: 1
    maxLength: 255
    description: |-
      The ID of the template created using the Meta Graph API. Null before the Meta version is linked.

      This field maps directly to the `id` field in the associated Graph node.

      See https://developers.facebook.com/docs/graph-api/reference/whats-app-business-hsm/#fields for more details.
    readOnly: true
  waba_template_name:
    type: string
    minLength: 1
    maxLength: 255
    description: |-
      The name of the template created using the Meta Graph API.

      This field maps directly to the `name` field in the associated Graph node.

      See https://developers.facebook.com/docs/graph-api/reference/whats-app-business-hsm/#fields for more details.
    readOnly: true
  waba_status:
    type:
      - string
      - 'null'
    minLength: 1
    maxLength: 255
    example: APPROVED
    description: |-
      The review status from Meta, such as PENDING, APPROVED or REJECTED. Null before the Meta version is linked.

      This field maps directly to the `status` field in the associated Graph node.

      See https://developers.facebook.com/docs/graph-api/reference/whats-app-business-hsm/#fields for more details.
    readOnly: true
  submission_state:
    type: string
    enum:
      - submitting
      - linked
      - failed
      - unconfirmed
    description: Current submission outcome. A failed attempt was rejected. An unconfirmed attempt may still be linked by later provider evidence.
    readOnly: true
  body:
    $ref: ./MessageTemplateBody.yaml
    description: The source definition snapshot captured when submitting this version.
    readOnly: true
  created_at:
    type: string
    format: date-time
    description: The date-time that the template was first created.
    readOnly: true

Search documentation

Search across this documentation site.