curl --request POST \
--url https://api.yapily.com/webhook/secrets/{webhook_id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data '{
"delay": 43200
}'{
"metadata": {
"tracingId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"categories": [
"<string>"
],
"callbackUrl": {
"main": {
"url": "<string>"
},
"backup": {
"url": "<string>"
}
},
"metadata": {},
"status": "active",
"webhookSecret": "<string>"
}
}Reset webhook secret for a webhook that is already registered to your application
curl --request POST \
--url https://api.yapily.com/webhook/secrets/{webhook_id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data '{
"delay": 43200
}'{
"metadata": {
"tracingId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"categories": [
"<string>"
],
"callbackUrl": {
"main": {
"url": "<string>"
},
"backup": {
"url": "<string>"
}
},
"metadata": {},
"status": "active",
"webhookSecret": "<string>"
}
}Use HTTP Basic Authentication with your Application ID as username and Application Secret as password. Manage credentials in the Yapily Console. See Authentication for details.
The sub-application ID to which event type is being subscribed to
Registered webhook ID
delay in seconds
0 <= x <= 86400Was this page helpful?