Launch adhoc screening checks
/api/v1/adhoc-checks
operationId: adhoc-check.launch
Base: https://portal.watcheye.com.au/api/v1/adhoc-checks
Queues one or more "quick check" screening operations against a freeform
subject supplied in the request body and returns 202 Accepted with the
parent (or single child) adhoc-check UUID. The screening runs in the
background - poll GET /v1/adhoc-checks/{uuid} and wait for status to be
complete or failed before reading the results.
Each requested check type is charged at launch time. If the upstream
provider returns an error, the check is marked as failed and the credit
for that individual check is refunded.
When a single check type is requested, the response describes that check. When two or more types are requested, a parent group adhoc check is created and returned, with one child per requested type.
Pre-flight checks
The endpoint validates the request before any check rows are created or any credit is charged:
400- the request body failed validation (missingdata, missing or unknown check type)403 Forbidden- the calling account is not entitled to one or more of the requested check types (the product is not enabled for the account)402 Payment Required- the calling account has insufficient credit to cover the total projected cost across all requested check types
Idempotency
This endpoint accepts the Idempotency-Key header so that retries on
network failure are safe. See the
Idempotency section of the
API guide for the full contract.
Header parameters
| Field | Description |
|---|---|
Idempotency-Key |
string [max 255 characters] Optional client-generated key (typically a UUID) that lets you safely retry a write
request without risk of duplicate work or duplicate billing. A retry with the same key
and body returns the original response verbatim, with the Honoured on |
Request body
Content type application/json.
The adhoc check launch parameters
| Field | Description |
|---|---|
check_typesrequired |
array of strings [min 1 items] One or more operation names to launch. See the operation enum in the AdhocCheck schema for the supported set. |
config |
object Per-operation configuration map keyed by operation name. Each listed operation has
defaults that apply when its key is omitted, so you only need to send a block when
you want to override a default. The five operations not listed below
( |
config. |
object Per-operation configuration for a |
config. |
string Match strictness. |
config. |
string Minimum name similarity percentage (10..100). Match candidates below this score
are dropped. Sent as a string. Defaults to |
config. |
array of strings Two-letter ISO 3166-1 alpha-2 country codes (either case is accepted; returned in uppercase) to scope the PEP search. An empty array searches all PEP jurisdictions (the default). |
config. |
array of strings Two-letter ISO 3166-1 alpha-2 country codes (either case is accepted; returned in uppercase) to scope the sanction search. Defaults
to |
config. |
integer Maximum number of match candidates to return. Sent as an integer. Defaults to
|
config. |
boolean When |
config. |
object Per-operation configuration for a |
config. |
string Match strictness. |
config. |
string Minimum name similarity percentage (10..100), sent as a string. Defaults to
|
config. |
array of strings Restrict the search to one or more specific banned/disqualified registers. An empty array (the default) searches every register. |
config. |
object Per-operation configuration for a |
config. |
string Which court listings to search. |
config. |
string Whether the subject should be matched as the |
config. |
object Per-operation configuration for a |
config. |
string How strictly the trading name on the entity must match the registered ASIC name.
Defaults to |
config. |
string Alert when the ABN is not active. Defaults to |
config. |
string Alert when the ACN is not active. Defaults to |
config. |
string Alert when GST registration changes. Defaults to |
config. |
string Alert when ASIC documents have been lodged within the last N months. |
config. |
string Alert when registered business names have changed within the last N months. |
config. |
object Per-operation configuration for a |
config. |
string How strictly the trading name must match the Companies House record. Defaults to |
config. |
string Alert when the company status is not |
config. |
string Alert when filings have been lodged within the last N months. Defaults to |
config. |
string Alert when officers have changed within the last N months. Defaults to |
config. |
string Whether to record registered address changes. Defaults to |
config. |
string Whether to record SIC code changes. Defaults to |
config. |
object Per-operation configuration for a |
config. |
string (date) or null ISO 8601 date ( |
datarequired |
object (dynamic) The subject fields to screen. Required keys depend on the
requested operation - see
Adhoc check data fields
for the full per-operation reference. Common fields include
When multiple operations are launched together, every required
field for every requested operation must be present in this
shared |
Responses
Adhoc check accepted - the parent (or single child) adhoc check has
been queued for processing. Poll GET /v1/adhoc-checks/{uuid} until
status is complete or failed.
The response shape depends on whether one check type or multiple were launched:
* Single-check launch - the response describes that one check directly, with
the resolved config block (defaults merged with user overrides) included
so you can confirm exactly what the check is running with. config is
null for operations that take no configuration.
* Multi-check launch - the response describes the parent group check, with a
children[] array carrying one entry per launched operation. Each child
entry includes its own uuid, status, resolved config, and
detail_url so you can start polling each child without first fetching
the parent.
application/json
| Field | Description |
|---|---|
data |
object |
data. |
string (uuid) |
data. |
string |
data. |
string The operation name when a single type was launched, or
|
data. |
string |
data. |
object (dynamic) or null The resolved configuration for the launched adhoc check
(defaults merged with any user-supplied values). Present
on single-check launches; |
data. |
string Path to the adhoc check detail endpoint. |
data. |
array of objects Returned on group launches (i.e. when |
data. |
string (uuid) |
data. |
string |
data. |
string |
data. |
object (dynamic) or null The resolved configuration for this child (defaults
merged with any user-supplied values). |
data. |
string |
api_reference |
string (uuid) |
Idempotency-Key was reused with a different request body
application/json
| Field | Description |
|---|---|
message |
string |