webhooks

Generate or rotate webhook secret

Generate a new webhook secret for HMAC-SHA256 signing.

This serves as both 'create' (first time) and 'rotate' (subsequent calls). The previous secret is immediately invalidated.

post/webhooks/secret

Request

  • Base URL: https://api.whoisgeni.us (the document declares no server; this is the origin it was published from)
  • URL: https://api.whoisgeni.us/webhooks/secret
  • Auth: none declared

Headers

X-API-Keystring nullable

Response

New webhook secret

metaobject nullable

Example response

{
  "error": {
    "code": "JOB_NOT_FOUND",
    "message": "No job found with the given ID."
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.