Stashbase
Webhooks (env. scope)

Test

Send test webhook event to the webhook's target URL.

POST
/v1/environment/webhooks/{webhook_id}/test

Send test webhook event to the webhook's target URL.

Path Parameters

webhook_id*string

The id of the webhook.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/environment/webhooks/string/test"
{
  "url": "https://api.example.com/v1/webhook",
  "status": 204,
  "error": null,
  "response_body": null
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}