Overview
DocketLayer’s callback system signs outbound webhook payloads with an HMAC-SHA256 key tied to your wallet address. The wallet keys endpoints let you retrieve your current key state and rotate to a new key when needed. Both endpoints require x402 payment and identify you by your Solana wallet address. Base URL:https://api.docketlayer.ai
Price: $0.99 per call
GET /v2/wallet/keys
Returns your current signing key ID and, if a rotation has occurred, the previous key ID.Request
Response
Response fields
First call — If you have never called this endpoint before, DocketLayer automatically provisions a new key and returns it. The secret itself is only visible at rotation time (see POST below).
POST /v2/wallet/keys
Rotates your signing key. Generates a new key and returns the secret. The previous key remains valid for 30 minutes to allow in-flight deliveries to complete.Request
Response
Response fields
Using the signing key
DocketLayer includes anX-DocketLayer-Signature header on all callback deliveries, formatted as: