İSTEK
curl -X POST https://api.read.entrfy.com/v1/webhook-endpoints/whk_00000000000000000000000000/rotate-secret \
-H "Authorization: Bearer er_test_ORNEK0000000000000000000000" \
-H "Content-Type: application/json" \
-d '{
"overlap_hours": 24
}'
const res = await fetch('https://api.read.entrfy.com/v1/webhook-endpoints/whk_00000000000000000000000000/rotate-secret', {
method: 'POST',
headers: {
Authorization: 'Bearer er_test_ORNEK0000000000000000000000',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"overlap_hours": 24
}),
});
console.log(await res.json());
import requests
res = requests.post(
"https://api.read.entrfy.com/v1/webhook-endpoints/whk_00000000000000000000000000/rotate-secret",
headers={"Authorization": "Bearer er_test_ORNEK0000000000000000000000", "Content-Type": "application/json"},
json={
"overlap_hours": 24,
},
)
print(res.json())