Skip to main content
Reset Webhook Secret
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>"
  }
}
Learn more: Webhook Setup

Authorizations

Authorization
string
header
required

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.

Headers

sub-application
string<uuid>

The sub-application ID to which event type is being subscribed to

Path Parameters

webhook_id
string<uuid>
required

Registered webhook ID

Body

application/json;charset=UTF-8
delay
number
required

delay in seconds

Required range: 0 <= x <= 86400

Response

Webhook Details

metadata
object
data
object