.p8) used to send iOS push notifications for one app, regular and VoIP alike. A device uses the app whose ID is the first word of its SIP User-Agent, cut at the first . and matched case-sensitively. Send the contents of the .p8 file as key, with the Key ID, Team ID and bundle ID Apple shows for it. The key is stored on every server. bundle-id is the app's own bundle ID; VoIP pushes add .voip themselves. Requires Super User scope.Authorization: Bearer ********************curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/apns' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"app-id": "SNAPmobile",
"key": "{{apns_p8_key}}",
"key-id": "42Z3DU6X3L",
"team-id": "UZ66MT3V94",
"bundle-id": "com.netsapiens.SNAPmobile"
}'{
"code": 202,
"message": "Accepted"
}