Sign in

Publish notification to interests

documented

Publish a push notification to devices subscribed to the given interests.

POST /publish_api/v1/instances/{instance_id}/publishes/interestsBeamsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$instance_id}}.pushnotifications.pusher.com/publish_api/v1/instances/{{$instance_id}}/publishes/interests" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{PUSHER_SECRET}}" \
  -d '{"interests": ["{{$interests}}"], "apns": {"aps": {"alert": {"title": "{{$apns_title}}", "body": "{{$apns_body}}"}}}, "fcm": {"notification": {"title": "{{$title}}", "body": "{{$body}}"}} }'
Publish notification to interests · Pusher · OpenIntegrations