Send notification
documentedSend a web push notification within a specific project.
POST /projects/{PROJECT_ID}/notificationsNotificationsno implementation yet0 runsNo 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://pushpad.xyz/api/v1/projects/{{$PROJECT_ID}}/notifications" \
-X POST \\
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \\
-H "Content-Type: application/json" \\
-H "Accept: application/json" \\
-d '{"notification": {"title": "{{$title}}","body": "{{$body}}","target_url": "{{$target_url}}","icon_url": "{{$icon_url}}","badge_url": "{{$badge_url}}","image_url": "{{$image_url}}","ttl": {{$ttl}},"require_interaction": {{$require_interaction}},"silent": {{$silent}},"urgent": {{$urgent}},"custom_data": "{{$custom_data}}","actions": [{"title": "{{$action_title}}","target_url": "{{$action_target_url}}","icon": "{{$action_icon}}","action": "{{$action_name}}"}],"starred": {{$starred}},"send_at": "{{$send_at}}","custom_metrics": ["{{$metric1}}","{{$metric2}}"]},"uids": ["{{$uid0}}","{{$uid1}}"],"tags": ["{{$tag0}}","{{$tag1}}"]}'