Ethiack Docs
Organizations

List an organization's pentests

GET
/v1/organizations/{organization_id}/events/

List pentests belonging to an organization.

A 404 is returned when the organization is outside the caller's scope. Served at /pentests/ (canonical) and /events/ (a deprecated legacy alias).

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

organization_id*integer

Query Parameters

page?integer
Default1
Range1 <= value
per_page?integer

Page size. Values above 500 are clamped to it (or rejected, per the server configuration).

Default25
Range1 <= value

Response Body

application/json

application/json

curl -X GET "https://api.ethiack.com/v1/organizations/0/events/"
{
  "total": 0,
  "page": 0,
  "per_page": 0,
  "_links": {
    "property1": "string",
    "property2": "string"
  },
  "events": [
    {
      "id": 0,
      "slug": "string",
      "name": "string",
      "pic": "string",
      "pentest_type": "string",
      "pentest_category": "string",
      "status": "string",
      "dimension_type": "string",
      "organization_id": 0,
      "start_date": "2019-08-24T14:15:22Z",
      "end_date": "2019-08-24T14:15:22Z",
      "created": "2019-08-24T14:15:22Z",
      "event_type": "string",
      "event_category": "string"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}