Set Notification Configuration
This method returns the notification configuration set for the current user.
Authorizations
X-Ledger-API-KeystringRequired
If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.
X-Ledger-API-UserstringRequired
(required) Username of a registered API User
Responses
200
Current user notification configuration
application/json
404
Current user doesn't have any configuration
application/json
get
/notifications/configurationGET /notifications/configuration HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Accept: */*
{
"all": {
"webhook": {
"secret": "topsecret",
"url": "https://vault.crypstock.com/webhook"
}
}
}Last updated