Sign in

Send a transactional push notification

documented

Send a transactional push notification via API.

POST /v1/transactional/send-pushTransactionalno 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://api.ap3api.com/v1/transactional/send-push" \
  -X POST \
  -H "X-Api-Key: {{AUTOPILOTHQ_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"async": false, "pushes": [ {"asset": {"push_name": "{{$push_name}}", "title": "{{$title}}", "message": "{{$message}}", "image": "{{$image}}", "primary_action": {"title": "{{$primary_title}}", "link": "{{$primary_link}}" }, "secondary_actions": [ {"title": "{{$secondary1_title}}", "link": "{{$secondary1_link}}" } ], "platforms": ["web"] }, "contact_id": "{{$contact_id}}" } ] }'