# Enrollment confirmation WhatsApp template

> Confirm a course enrollment with start date and access link. Booking confirmation WhatsApp template for schools and online courses.

- Category: Utility
- Industry: Education
- Use case: Booking confirmation
- Language: en_US
- Approval rate: 97%
- Page: https://template-builder.dev/whatsapp-template/education-enrollment-confirmed
- JSON: https://template-builder.dev/whatsapp-template/education-enrollment-confirmed.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoiZWR1Y2F0aW9uX2Vucm9sbG1lbnRfY29uZmlybWVkIiwibGFuZ3VhZ2UiOiJlbl9VUyIsImNhdGVnb3J5IjoiVVRJTElUWSIsImhlYWRlciI6eyJ0eXBlIjoiVEVYVCIsInRleHQiOiJFbnJvbGxtZW50IGNvbmZpcm1lZCJ9LCJib2R5Ijp7InRleHQiOiJDb25ncmF0dWxhdGlvbnMge3tmaXJzdF9uYW1lfX0sIHlvdSdyZSBlbnJvbGxlZCBpbiAqe3tjb3Vyc2V9fSogYXQge3tzY2hvb2x9fS4gQ2xhc3NlcyBzdGFydCBvbiB7e2RhdGV9fSwgYW5kIHlvdXIgbG9naW4gZGV0YWlscyBhcmUgb24gdGhlIHdheS4ifSwiYnV0dG9ucyI6W3sidHlwZSI6IlVSTCIsInRleHQiOiJPcGVuIHN0dWRlbnQgcG9ydGFsIiwidXJsIjoiaHR0cHM6Ly9hY21lYWNhZGVteS5leGFtcGxlLmNvbS9wb3J0YWwifV0sInZhcmlhYmxlcyI6eyJmaXJzdF9uYW1lIjp7ImV4YW1wbGUiOiJNYXJpYSJ9LCJjb3Vyc2UiOnsiZXhhbXBsZSI6IkludHJvIHRvIERlc2lnbiJ9LCJzY2hvb2wiOnsiZXhhbXBsZSI6IkFjbWUgQWNhZGVteSJ9LCJkYXRlIjp7ImV4YW1wbGUiOiJNYXJjaCAxNCJ9fX0

## How to get it approved

Include start date and where classes happen. Utility approval relies on it confirming a student action.

## Message text

Enrollment confirmed
Congratulations {{first_name}}, you're enrolled in *{{course}}* at {{school}}. Classes start on {{date}}, and your login details are on the way.

## Variables

- `{{first_name}}`: Maria
- `{{course}}`: Intro to Design
- `{{school}}`: Acme Academy
- `{{date}}`: March 14

## Template JSON

```json
{
  "name": "education_enrollment_confirmed",
  "language": "en_US",
  "category": "UTILITY",
  "header": {
    "type": "TEXT",
    "text": "Enrollment confirmed"
  },
  "body": {
    "text": "Congratulations {{first_name}}, you're enrolled in *{{course}}* at {{school}}. Classes start on {{date}}, and your login details are on the way."
  },
  "buttons": [
    {
      "type": "URL",
      "text": "Open student portal",
      "url": "https://acmeacademy.example.com/portal"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Maria"
    },
    "course": {
      "example": "Intro to Design"
    },
    "school": {
      "example": "Acme Academy"
    },
    "date": {
      "example": "March 14"
    }
  }
}
```

## Create it with the Meta Cloud API

```sh
curl -X POST "https://graph.facebook.com/v26.0/$WABA_ID/message_templates" \
  -H "Authorization: Bearer $META_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "education_enrollment_confirmed",
  "language": "en_US",
  "category": "UTILITY",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "HEADER",
      "format": "TEXT",
      "text": "Enrollment confirmed"
    },
    {
      "type": "BODY",
      "text": "Congratulations {{first_name}}, you'\''re enrolled in *{{course}}* at {{school}}. Classes start on {{date}}, and your login details are on the way.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Maria"
          },
          {
            "param_name": "course",
            "example": "Intro to Design"
          },
          {
            "param_name": "school",
            "example": "Acme Academy"
          },
          {
            "param_name": "date",
            "example": "March 14"
          }
        ]
      }
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "URL",
          "text": "Open student portal",
          "url": "https://acmeacademy.example.com/portal"
        }
      ]
    }
  ]
}'
```
