Set Notification Configuration

Please note that only the events visible by the API Operator who registered the webhook configuration can be received as notifications. Administrators can enable "view-all" permission for an API Operator (via the Users section) for him to receive all webhook notifications.

Get notification configuration

get

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
get
/notifications/configuration
GET /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