Authorities
Subscribe to an agency for all its authorities
Changed onSubscribe to an agency to get notified on changes made to the authorities in that agencies scope.
put/v1/authorities/webhooks/subscription
Request
- Base URLhttps://api.domain.com.au
- Auth
- API key in header x-api-key
- or OAuth 2Authorization codehttps://auth.domain.com.au/v1/connect/authorizeClient credentialsToken URLhttps://auth.domain.com.au/v1/connect/tokenScopesapi_webhooks_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"webhookId": "whk_7d9c8f4a0cb54b948a010bb56ea98fe0"
}Response
Subscription created
Example response
{
"subscriptionId": "123"
}Changes
- info
endpoint added
- info