Set up a Pulse webhook for cash rate decisions
Pulse delivers signed JSON within 60 seconds of an RBA Board outcome. Includes the new target and prior value.
Steps
- 1POST a subscription with your endpoint URL.
- 2Store the returned signing secret.
- 3Verify each delivery with HMAC-SHA256.
Code
cURL
curl https://api.ausdata.io/v1/pulse/subscriptions \
-H "Authorization: Bearer YOUR_KEY"Python
import requests
r = requests.get(
"https://api.ausdata.io/v1/pulse/subscriptions",
headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())JavaScript
const r = await fetch("https://api.ausdata.io/v1/pulse/subscriptions", {
headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());Watch out for
- Endpoint must respond 2xx within 5 seconds or we retry.
- Five failed retries pauses the subscription.
Related
Try it now
500 free calls per month. No credit card.
Get a free API key