Stashbase
Webhooks

Test

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

POST
/v1/projects/{project_identifier}/environments/{environment_identifier}/webhooks/{webhook_id}/test

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

Path Parameters

project_identifier*string

The name or the ID of the project.

environment_identifier*string

The name or the ID of the environment.

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/projects/string/environments/string/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
    }
  }
}