# Online check-in is open WhatsApp template

> Tell passengers that online check-in is open, with flight number and departure time. Utility WhatsApp template for airlines.

- Category: Utility
- Industry: Travel and hospitality
- Use case: Appointment reminder
- Language: en_US
- Approval rate: 78%
- Page: https://template-builder.dev/whatsapp-template/travel-online-check-in-open
- JSON: https://template-builder.dev/whatsapp-template/travel-online-check-in-open.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoidHJhdmVsX29ubGluZV9jaGVja19pbl9vcGVuIiwibGFuZ3VhZ2UiOiJlbl9VUyIsImNhdGVnb3J5IjoiVVRJTElUWSIsImJvZHkiOnsidGV4dCI6IkhpIHt7Zmlyc3RfbmFtZX19LCBvbmxpbmUgY2hlY2staW4gZm9yIGZsaWdodCAqe3tmbGlnaHR9fSogZGVwYXJ0aW5nIHt7ZGF0ZX19IGF0IHt7dGltZX19IGlzIG5vdyBvcGVuLiBDaGVjayBpbiBub3cgdG8gcGljayB5b3VyIHNlYXQgYW5kIGdldCB5b3VyIGJvYXJkaW5nIHBhc3MuIn0sImZvb3RlciI6eyJ0ZXh0IjoiTm9ydGh3aW5kIEFpciJ9LCJidXR0b25zIjpbeyJ0eXBlIjoiVVJMIiwidGV4dCI6IkNoZWNrIGluIiwidXJsIjoiaHR0cHM6Ly9ub3J0aHdpbmRhaXIuY29tL2NoZWNraW4ve3tyZWZ9fSJ9XSwidmFyaWFibGVzIjp7ImZpcnN0X25hbWUiOnsiZXhhbXBsZSI6IlByaXlhIn0sImZsaWdodCI6eyJleGFtcGxlIjoiTlcyMTQifSwiZGF0ZSI6eyJleGFtcGxlIjoiTm92IDEyIn0sInRpbWUiOnsiZXhhbXBsZSI6Ijc6MTUgUE0ifSwicmVmIjp7ImV4YW1wbGUiOiJQTlI4S0QyIn19fQ

## How to get it approved

Send 24 hours before departure. A direct check-in link is the one call to action you need.

## Message text

Hi {{first_name}}, online check-in for flight *{{flight}}* departing {{date}} at {{time}} is now open. Check in now to pick your seat and get your boarding pass.
Northwind Air

## Variables

- `{{first_name}}`: Priya
- `{{flight}}`: NW214
- `{{date}}`: Nov 12
- `{{time}}`: 7:15 PM
- `{{ref}}`: PNR8KD2

## Template JSON

```json
{
  "name": "travel_online_check_in_open",
  "language": "en_US",
  "category": "UTILITY",
  "body": {
    "text": "Hi {{first_name}}, online check-in for flight *{{flight}}* departing {{date}} at {{time}} is now open. Check in now to pick your seat and get your boarding pass."
  },
  "footer": {
    "text": "Northwind Air"
  },
  "buttons": [
    {
      "type": "URL",
      "text": "Check in",
      "url": "https://northwindair.com/checkin/{{ref}}"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Priya"
    },
    "flight": {
      "example": "NW214"
    },
    "date": {
      "example": "Nov 12"
    },
    "time": {
      "example": "7:15 PM"
    },
    "ref": {
      "example": "PNR8KD2"
    }
  }
}
```

## 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": "travel_online_check_in_open",
  "language": "en_US",
  "category": "UTILITY",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "BODY",
      "text": "Hi {{first_name}}, online check-in for flight *{{flight}}* departing {{date}} at {{time}} is now open. Check in now to pick your seat and get your boarding pass.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Priya"
          },
          {
            "param_name": "flight",
            "example": "NW214"
          },
          {
            "param_name": "date",
            "example": "Nov 12"
          },
          {
            "param_name": "time",
            "example": "7:15 PM"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Northwind Air"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "URL",
          "text": "Check in",
          "url": "https://northwindair.com/checkin/{{1}}",
          "example": [
            "https://northwindair.com/checkin/PNR8KD2"
          ]
        }
      ]
    }
  ]
}'
```
