Skip to main content
POST
Queue a batch of IPv4 reports

Authorizations

Authorization
string
header
required

JWT signed (HS256) with a per-user server-side secret; revocable per user. Token handling follows RFC8725 (JWT best current practices): algorithm pinned by the server, no none, claims checked against the live user record. See the API description for the compatibility forms (Basic, query parameter).

Query Parameters

gaid
string

Connector id (heartbeat). Connector (agent) id.

Maximum string length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:@-]*$

Body

application/json
Required array length: 1 - 3000 elements
ip
string
required

IPv4 address or network ('y.x.z.w' or 'y.x.z.w/n'). Reserved (global or organization) addresses are refused.

Maximum string length: 18
Pattern: ^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:/(?:3[0-2]|[12]?\d))?$
lid
string

Event id. When the organization already has an event with this id, it is updated instead of added.

Maximum string length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:@-]*$
notes
string[]

Free notes (capped by the server).

Maximum array length: 15
Maximum string length: 2000
Pattern: ^[^\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]*$
source
string
Maximum string length: 256
Pattern: ^[^\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]*$
ttl
integer<int64> | null

Unix time (seconds) when the decision expires; null = permanent.

Required range: 0 <= x <= 9999999999
decision
enum<integer>

Organization decision: 1 block, 0 unblock (allow), -1 no decision.

Available options:
-1,
0,
1
Required range: -1 <= x <= 1
contribute
boolean

Also share with the OneFirewall Alliance. The organization policy can force or forbid it.

confidence
number<double>

-1.0 (benign) to 1.0 (malicious). Not enforced for OneFirewall-Cloud.

Required range: -1 <= x <= 1
tags
string[]

Free tags. The server caps the number of tags stored per submission.

Maximum array length: 50
Maximum string length: 64
Pattern: ^[A-Za-z0-9_.:\- ]+$
ts
integer<int64>

Event time (seconds or milliseconds). Future or invalid values become "now".

Required range: 0 <= x <= 99999999999999

Response

Queued.

JSON error / status body. Most handlers answer errors as plain text; a few use this JSON shape.

message
string
Maximum string length: 4000
Pattern: ^[^\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]*$
code
string
Maximum string length: 64
Pattern: ^[A-Z_]+$
required
enum<string>

OTP setup: which re-authentication field is required.

Available options:
current_otp,
password