Developers API reference Webhooks Rotate the callback signing secret
Rotate the callback signing secret POST /webhooks/callback-secret/rotate
POST /webhooks/callback-secret/rotateTry it Base https://api.mockflow.com/v1Scopes boards:read
Request
curl https://api.mockflow.com/v1/webhooks/callback-secret/rotate \
-X POST \
-H "Authorization: Bearer $MOCKFLOW_API_KEY"
const response = await fetch("https://api.mockflow.com/v1/webhooks/callback-secret/rotate" , {
method: "POST" ,
headers: {
Authorization: `Bearer ${process.env.MOCKFLOW_API_KEY}`
}
});
const data = await response.json();
import os, requests
response = requests.post(
"https://api.mockflow.com/v1/webhooks/callback-secret/rotate" ,
headers={"Authorization" : f"Bearer {os.environ['MOCKFLOW_API_KEY']}" },
)
response.raise_for_status()
data = response.json()
Response
{
"error" : {
"code" : "rate_limited" ,
"message" : "Too many requests." ,
"docsUrl" : "https://mockflow.com/developers/concepts/errors#rate_limited"
},
"requestId" : "req_45d49816999bac40"
}
A new secret for callbackUrl deliveries. Deliveries from now on are signed with it.
Authorization
Authorizationstring header required
Bearer <key>. The key needs boards:read scope. Create and manage keys in the developer console , or use an OAuth app to act for other people; what each scope unlocks is on the scopes page .
Response 200 · application/json
Was this page helpful? Yes No PreviousThe callback signing secret Next List callback deliveries