Test a Webhook

You can use this endpoint to see how the webhook works.

Test an already registered webhook on Goki.

POST [environmentBaseUrl]/v1/webhooks/:id/test

Path Parameters

Request Body

{
    "data": {
      "request": {
        "method": "POST",
        "url": "https://example.com",
        "body": {} // The data we sent to your webhook. It can be different based on the event. Please read the webhook's page.      
      },
      "response": {}, // Your webhook response 
      "responseError": {} // The error your webhook returned (If the response status is not 2xx)
    }
}

Last updated