Stashbase
Webhooks (env. scope)

Get log

Get a single event log of the selected webhook.

GET
/v1/environment/webhooks/{webhook_id}/logs/{log_id}

Get a single event log of the selected webhook.

Path Parameters

webhook_id*string

The id of the webhook.

log_id*string

The id of the webhook log.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/environment/webhooks/string/logs/string"
{
  "id": "whlog_9Ve7ijuUMuwh9fb1j7CyBq",
  "processed_at": "2024-03-21T09:10:00Z",
  "attempt": 1,
  "status": 200,
  "error": null,
  "response_body": "{\"ok\":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
    }
  }
}