How to correctly setup an APNs integration

APNs is the Apple Push Notification service. It is the service used to send notifications to iOS devices. It is a robust and efficient service that allows you to send notifications to your users' devices in real-time.

Apple logo
PUT
/integrations/apns
Schema Type: "object"
Required Fields:
app_idcertificatekey_idteam_idbadge

Properties

key_id "string"
required
team_id "string"
required
badge "string"
required
payload_version "string"
app_id "string"
required

The default bundle identifier of the application that is configured with this project. It can be overriden on a per token basis, when registering device tokens.

certificate "string"
required

The APNs certificate in P8 format. Generate it at [developer.apple.com](https://developer.apple.com/account/resources/authkeys/add) with the 'Apple Push Notification service (APNs)' option selected.

Example Request

{
  "app_id": "com.example.myapp",
  "certificate": "-----BEGIN PRIVATE KEY-----\nMIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgHnr4B2P+by++FGu/th0a44E8chJl5v5Vo4gq0YHw6e6gCgYIKoZIzj0DAQehRANCAARCg1MRibnfyeX5mx6+Rtfzzn7UhJP/oaqL4RzSmDuTsd3BTX33cuQ0gWHe20R2m1bLAkI1wrp+zbWOlAOAD7KX\n-----END PRIVATE KEY-----",
  "key_id": "ABCD1234EF",
  "team_id": "ABCD1234EF",
  "badge": "unread"
}

You can combine this integration with:

See all integrations here