Skip to content
push-notification-tester logo

Push Notification Tester

push-notification-tester

Test VoIP push notifications for Telnyx WebRTC iOS (APNs) and Android (FCM) apps. Use when debugging push notification delivery, validating certificate/credential setup, or testing that a device receives VoIP pushes correctly.

SKILL.md

Full skill instructions

Push Notification Tester

Send test VoIP push notifications to iOS (APNs) and Android (FCM) devices.

iOS (APNs)

node {baseDir}/​scripts/​send-ios-push.js \
  --token=<device_token> \
  --bundle-id=<bundle_id> \
  --cert=<path/​to/​cert.pem> \
  --key=<path/​to/​key.pem> \
  [--env=sandbox|production] \
  [--caller-name="Test Caller"] \
  [--caller-number="+1234567890"]

Required args

  • --token — 64-char hex APNs device token
  • --bundle-id — App bundle ID (e.g. com.telnyx.webrtc)
  • --cert — Path to certificate PEM file
  • --key — Path to private key PEM file

Optional args

  • --env — sandbox (default) or production
  • --caller-name — Display name (default: "Test Caller")
  • --caller-number — Phone number (default: "+1234567890")

Android (FCM)

node {baseDir}/​scripts/​send-android-push.js \
  --token=<fcm_token> \
  --project-id=<firebase_project_id> \
  --service-account=<path/​to/​service-account.json> \
  [--caller-name="Test Caller"] \
  [--caller-number="+1234567890"]

Required args

  • --token — FCM device token
  • --project-id — Firebase project ID
  • --service-account — Path to service account JSON file

Optional args

  • --caller-name — Display name (default: "Test Caller")
  • --caller-number — Phone number (default: "+1234567890")

Output

Both scripts output JSON to stdout:

{"success": true, "message": "Push notification sent successfully", "details": {...}}
{"success": false, "error": "Description of what went wrong"}

Exit code 0 on success, 1 on failure.

Dependencies

Run npm install in the scripts/ directory, or the scripts will auto-install on first run.

  • @parse/​node-apn — APNs client for iOS
  • google-auth-library — Google OAuth for FCM
  • axios — HTTP client for FCM API

More skills from team-telnyx

10dlc-registration logo
team-telnyx/telnyx-toolkit

10dlc-registration

Register for 10DLC as a sole proprietor to enable SMS messaging in the USA. Use when setting up A2P SMS, registering brands/campaigns, or assigning phone numbers for compliant US messaging. Requires Telnyx CLI.

3 0
View
telnyx-embeddings logo
team-telnyx/telnyx-toolkit

telnyx-embeddings

Text-to-vector embeddings and semantic search using Telnyx AI. Generate embedding vectors via an OpenAI-compatible API — no OpenAI or Google API keys required.

3 0
View
telnyx-rag logo
team-telnyx/telnyx-toolkit

telnyx-rag

Semantic search and Q&A over workspace files using Telnyx Storage + AI embeddings. Index your memory, knowledge, and skills for natural language retrieval and AI-powered answers.

3 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View