Skip to main content

PowerShell Quickstart

This guide walks through a complete Praeto Dispatcher flow using PowerShell. It covers:
  1. Health check
  2. Tenant creation
  3. API key creation
  4. Endpoint creation
  5. Event publishing
  6. Idempotency verification
  7. Delivery attempt inspection
  8. Usage and metrics inspection

1. Set variables

If you already have a tenant API key:

2. Health check

Expected:

3. Create or update tenant


4. Create tenant API key

Save the returned key:

5. Create endpoint

Save:
The signing secret is only returned on create and rotate. Store it securely.

6. Publish event

Save:

7. Test idempotency

Send the exact same request again with the same Idempotency-Key and exact same body.
Expected second response:

8. Inspect event deliveries


9. Inspect delivery attempts


10. Check endpoint health


11. Check metrics summary


12. Check usage


13. Rotate endpoint signing secret

The response returns the new secret and the previous secret validity window.

14. Replay delivery