JavaScript
const options = {method: 'GET'}; fetch('https://api.valox.co/api/v1/webhooks/message/{partnerId}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "message": "<string>", "nonce": "<string>" }
Generates a message for the user to sign. This message must be sent on POST /api/v1/webhooks/subscribe/{partnerId} to subscribe to webhook notifications.
POST /api/v1/webhooks/subscribe/{partnerId}
Partner ID to subscribe to
Message generated successfully
SIWE message to be signed by the user
Unique nonce for this subscription request