Stashbase
Webhooks (env. scope)

Get single

Get details of selected webhook.

GET
/v1/environment/webhooks/{webhook_id}

Get details of selected webhook.

Path Parameters

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/environment/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
    }
  }
}