post https://api.akahu.io/v1/webhooks
Register a new webhook.
webhook_type
should one of the options defined here.
state
should be a string, if present.
It is a good idea to use the state
field to store a unique identifier, so that when a webhook arrives you can determine which user of your application should be updated.
Webhooks on Akahu are unusual in that they are scoped to a single user. This means that you will need to create a webhook using this endpoint for each of your users.