# Template status

### Template review status whatsapp\_template\_status\_updated

This event is triggered when the status of a submitted template changes: whatsapp\_template\_status\_updated

| Field            | Data type | Required | Description                                                                                                              |
| ---------------- | --------- | -------- | ------------------------------------------------------------------------------------------------------------------------ |
| accountName      | String    | Yes      | API account                                                                                                              |
| category         | String    | Yes      | Template type:**MARKETING**:Marketing**AUTHENTICATION**:Verification code**UTILITY**:Notification                        |
| reason           | String    | Yes      | Reason                                                                                                                   |
| templateId       | String    | Yes      | Meta platform template ID (corresponding to sid)                                                                         |
| templateLanguage | String    | Yes      | Template language                                                                                                        |
| templateName     | String    | Yes      | Template name                                                                                                            |
| templateStatus   | String    | Yes      | Template status:**PENDING**:Under review**APPROVED**:Approved**REJECTED**:Rejected**PAUSED**:Paused**DISABLED**:Disabled |
| wabaId           | String    | Yes      | <p><br></p>                                                                                                              |

```json
{
    "id": "fd201190-50dc-4151-baec-1d16c8a704e1",
    "type": "whatsapp_template_status_updated",
    "eventTime": "2023-10-16T13:04:57.644Z",
    "body": {
        "accountName": "IW2267527",
        "category": "AUTHENTICATION",
        "reason": "NONE",
        "templateId": "998961841525295",
        "templateLanguage": "en_US",
        "templateName": "transland_common_otp",
        "templateStatus": "APPROVED",
        "wabaId": "110129512080569"
    }
}
```

### Template quality update message\_template\_quality\_update

This event is triggered when the quality of a submitted template changes: message\_template\_quality\_update

| Field                           | Data type | Required | Description                                                                                                                                                      |
| ------------------------------- | --------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| templateId                      | String    | Yes      | Meta platform template ID (corresponding to sid)                                                                                                                 |
| templateLanguage                | String    | Yes      | Template language                                                                                                                                                |
| templateName                    | String    | Yes      | Template name                                                                                                                                                    |
| <p>previousQualityScore<br></p> | String    | Yes      | Possible values are:**GREEN**: indicates high quality.**RED**: indicates low quality.**YELLOW**: indicates medium quality.**UNKNOWN**: indicates quality pending |
| newQualityScore                 | String    | Yes      | Possible values are:**GREEN**: indicates high quality.**RED**: indicates low quality.**YELLOW**: indicates medium quality.**UNKNOWN**: indicates quality pending |
| wabaId                          | String    | Yes      | <p><br></p>                                                                                                                                                      |

<pre class="language-json"><code class="lang-json">{
    "id": "fd201190-50dc-4151-baec-1d16c8a704e1",
    "type": "message_template_quality_update",
    "eventTime": "2023-10-16T13:04:57.644Z",
    "body": {
         "templateName":"TestName",
        "templateId": "998961841525295",
        "templateLanguage": "en_US",
<strong>        "previousQualityScore": "GREEN",
</strong><strong>        "newQualityScore": "YELLOW",
</strong>        "wabaId": "110129512080569"
    }
}
</code></pre>

### Template category update template\_category\_update

This event is triggered when the category of a submitted template changes: template\_category\_update

| Field               | Data type | Required | Description                                                                                                  |
| ------------------- | --------- | -------- | ------------------------------------------------------------------------------------------------------------ |
| templateId          | String    | Yes      | Meta platform template ID (corresponding to sid)                                                             |
| templateLanguage    | String    | Yes      | Template language                                                                                            |
| templateName        | String    | Yes      | Template name                                                                                                |
| <p>category<br></p> | String    | Yes      | Optional values:  **AUTHENTICATION**: Verification code  **MARKETING**: Marketing  **UTILITY**: Notification |
| newCategory         | String    | Yes      | Optional values:  **AUTHENTICATION**: Verification code  **MARKETING**: Marketing  **UTILITY**: Notification |
| wabaId              | String    | Yes      | WaBaId                                                                                                       |

<pre class="language-json"><code class="lang-json">{
    "id": "fd201190-50dc-4151-baec-1d16c8a704e1",
    "type": "template_category_update",
    "eventTime": "2023-10-16T13:04:57.644Z",
    "body": {
        "templateName":"TestName",
        "templateId": "998961841525295",
        "templateLanguage": "en_US",
<strong>        "category": "AUTHENTICATION",
</strong><strong>        "newCategory": "UTILITY",
</strong>        "wabaId": "110129512080569"
    }
}
</code></pre>

\
\ <br>
