This method returns the notification configuration set for the current user.
GET /notifications/configuration HTTP/1.1 Host: X-Ledger-API-Key: YOUR_API_KEY Accept: */*
Current user notification configuration
{ "all": { "webhook": { "secret": "topsecret", "url": "https://vault.crypstock.com/webhook" } } }
This method allows you to set the notification configuration for the current user.
configuration for all kind of notifications
PUT /notifications/configuration HTTP/1.1 Host: X-Ledger-API-Key: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 86 { "all": { "webhook": { "secret": "topsecret", "url": "https://vault.crypstock.com/webhook" } } }