v66

OpenAPI 3.1.0raw.githubusercontent.com2026-08-0174265626.3 KB
portal

Get portal verifications

Return a verification analytics timeseries for the authenticated portal session's end user.

Authenticates only with a portal session cookie and always restricts results to verification events attributed to the session's external identity. Unlike analytics.getVerifications, this endpoint takes a fixed time window (no query language) and returns a zero-filled, outcome-broken-out timeseries. Bucket granularity is chosen automatically from the window size.

post/v2/portal.getVerifications

Request body

startTimeinteger required

Start of the query window as a unix timestamp in milliseconds (inclusive).

endTimeinteger required

End of the query window as a unix timestamp in milliseconds (exclusive). Bucket granularity (minute, hour, or day) is chosen automatically from the window size.

keyIdstring

Optional. Restrict results to a single key. The key must belong to the authenticated end user; results are always scoped to the session identity regardless of this value.

Example request

{
  "startTime": 1704067200000,
  "endTime": 1704672000000,
  "keyId": "key_1234abcd"
}

Response

Successfully retrieved verification analytics.

Example response

{
  "meta": {
    "requestId": "req_123"
  },
  "data": [
    {
      "time": 1704067200000
    }
  ]
}