Stashbase
Webhooks

Get single

Get details of selected webhook.

GET
/v1/projects/{project_identifier}/environments/{environment_identifier}/webhooks/{webhook_id}

Get details of selected webhook.

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.

Query Parameters

include_secret?boolean

Whether to return the signing secret of the webhook.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/projects/string/environments/string/webhooks/string"
{
  "id": "wh_9Ve7ijuUMuwh9fb1j7CyBq",
  "created_at": "2022-03-01T11:11:11Z",
  "updated_at": "2022-03-01T11:11:11Z",
  "signing_secret": "whsec_NZMwqUDDQDa5dyUuhV6PThIsZVaSKRGh",
  "url": "https://example.com",
  "description": null,
  "enabled": true
}
{
  "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
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}