APISettings
Rotate webhook signing secret
Issue a new signing secret for a webhook. The old secret stops verifying at once, so update your receiver first. The new secret is returned once. Requires the admin scope.
POST
/settings/webhooks/{id}/rotate-secretcurl -X POST "https://productlane.com/api/v2/settings/webhooks/{id}/rotate-secret" \
-H "Authorization: Bearer $PRODUCTLANE_API_KEY"Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <token>, where<token>is your auth token.
Parameters
idstringpathrequired
Response
application/json
Successful response
idstringrequiredsecretstringrequiredShown once; store it now.
{
"id": "string",
"secret": "string"
}