Ethiack Docs
Jobs

Validate a job target

POST
/v1/jobs/check

Validate that a target can be launched as a job: the URL must be allowed for your organization, and run minutes must remain.

AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.ethiack.com/v1/jobs/check" \  -H "Content-Type: application/json" \  -d '{    "url": "string",    "beacon_id": 0,    "pentest_slug": "string"  }'
{
  "url": "string",
  "beacon_id": 0,
  "pentest_slug": "string",
  "valid": true,
  "event_slug": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}