iOS APNs Auth Key

If you want to send push notifications to your iOS users, you will need to upload either an APNs Push Certificate or an APNs Auth Key.

We recommend that you create and upload an APNs Auth Key for the following reasons:

  • No need to re-generate the push certificate every year
  • One auth key can be used for all your apps – this avoids the complication of maintaining different certificates

When sending push notifications using an APNs Auth Key, we require the following information about your app:

  • Auth Key file
  • Team ID
  • Your app's bundle ID

To create an APNs auth key, proceed as follows:

  1. Visit the Apple Developer Member Center.
  1. Click on Certificates, Identifiers & Profiles.
  2. Go to Keys from the left Menu.
  3. Create a new Auth Key by clicking on the + button in the top right corner.
  1. On the following page, add a key Name and select APNs.
  1. Hit the Continue button.

On this page, you will be able to download your auth key file. Please do not rename this file, and upload it as it is to our dashboard, as shown later below.

  1. Locate your Team ID and then click on your name/company name at the top right corner, then select View Account.
  1. Copy your Team ID, head over to the CleverTap dashboard, and navigate to Settings > Mobile Push > iOS.
  2. Upload the APNs Auth Key file you downloaded earlier, and paste your Team ID and your app's bundle ID. Your app's bundle ID can be found in Xcode.
  3. Select the appropriate mode for sending push notifications, i.e., either Production or Development.

Did this page help you?