Test APNs Notifications

Send a test notification using the APNs API. Ready to add APNs to Your App? View the APNs Provider Docs.

APNs Configuration

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.

The APNs certificate in P8 format. Generate it at developer.apple.com with the 'Apple Push Notification service (APNs)' option selected.

The 10-character Key ID from your Apple Developer account used with the P8 certificate.

The Apple Developer Team ID that owns the configured key.

Controls whether the app icon badge counts unread or unseen notifications.

Internal payload format version used by MagicBell.

Channel Token

Provide the user's channel-specific token to test delivery.

The APNs device token to register with MagicBell.

The APNs environment this token belongs to. If omitted we assume it targets `production`.

The bundle identifier of the application registering this token. Use this to override the default identifier configured on the APNs integration.

Response

Configure your credentials and test the connection to see the response here.

Frequently Asked Questions

What is Apple Push Notification service (APNs)?

APNs is Apple's cloud service for sending push notifications to iOS, iPadOS, macOS, watchOS, and tvOS devices. It handles the secure, persistent connection between your server and Apple devices.

How do I test APNs push notifications?

Enter your APNs credentials (team ID, key ID, and private key) along with a device token above, then click Send Notification. You'll see the full HTTP/2 request and Apple's response, including any error codes.

What is an APNs device token?

A device token is a unique identifier assigned by APNs to a specific app on a specific device. Your app receives this token when it registers for push notifications, and you use it to target notifications to that device.

Resources

APNs Notifications, Explained

A collection of blog posts to help you master APNs notifications and integrations.

Ready to Ship?

Add Mobile Push to Your App

MagicBell integrates with APNs and FCM to deliver push notifications to iOS and Android devices reliably.

Mobile Push Notification Service