v1
latestOpenAPI 3.1.02026-07-2483219318.4 KBWebhooks
Subscribe to webhook
ℹ️
Akahu's webhooks are unusual in that they need to be initialised per user, requiring a new webhook subscription for each event type you wish to receive for each user.
Register a new webhook subscription for the user, allowing your application to receive events on the following webhook types:
- TOKEN
- ACCOUNT
- TRANSACTION
- PAYMENT
- TRANSFER
ℹ️
It is a good idea to use the state field to store a unique identifier related to your end user, allowing you to determine on an arrival of a webhook event which user of your application needs to be updated or notified.
For more details about webhooks see:
- 📖 Webhooks reference
- 📖 Webhooks events
post/webhooks
Headers
X-Akahu-Idstring required
Your App ID Token.
Content-Typestring
Request body
Response
Successful response.
Example response
{
"success": true,
"item_id": "hook_1111111111111111111111111"
}