🚧 The Signature.nc API documentation in under construction, feel free to contact-us.
docs
v3.0
API
Webhooks
Set the signed webhook

Set the signed webhook

POST/webhooks/signed-webhook-url

The API endpoint registers the URL called when a signer signs or refuses. The URL is stored on the current token and is used for both the signed and refused events.

Request Body Properties

  • url String — required
    The endpoint that will receive the webhook POST.
📘

Content-Type : application/json

NodeJS
var axios = require("axios").default;
 
const data = { "url": "https://your-app.example.com/webhooks/digit" };
 
var options = {
  method: 'POST',
  url: 'https://api.signature.nc/api/v3/webhooks/signed-webhook-url',
  headers: {'Authorization': 'Bearer {apiKey}', 'content-type': 'application/json'},
  data: data
};
 
axios.request(options).then(function (response) {
  console.log(response.data);
}).catch(function (error) {
  console.error(error);
});
json
{
    "signedWebhookUrl": "https://your-app.example.com/webhooks/digit"
}

Errors

  • 400 "url is required" — missing or empty url.