Auth API reference

Auth API · App-Audit-Sink

get/v1/apps/{app_id}/audit-sink/setup-statusAuth

Get the audit export checklist: destination, receiver test and delivery.

Rows, in order: `destination` (not_set until a sink exists), `test_batch` (pass once the receiver accepted a test batch with the current address and secret; blocked when the last test was refused; carries `test.action: audit_sink.test`, run with `POST /v1/apps/{appId}/audit-sink/test`), and `delivery` (blocked when export stopped after repeated failures, attention while paused or while recent batches fail). Computed from the stored sink on every request; answers 200 whether or not a sink exists.

Path parameters

app_id*string

Id of the app.

Response · 200 The checklist, computed now.

checked_at*string · date-time

When the server computed these rows.

Example: "2026-10-16T12:00:00.000Z"

complete*boolean

True when no row is `not_set` or `blocked`. `attention` rows do not stop setup from being complete.

Example: false

rows*array

Checklist rows in the order they should be shown.

Example

Request

GET https://api.auth.productcraft.co/v1/apps/{app_id}/audit-sink/setup-status
Authorization: Bearer YOUR_TOKEN

Response

{
  "checked_at": "2026-10-16T12:00:00.000Z",
  "complete": false,
  "rows": [
    {
      "id": "redirect_origins",
      "title": "Sites allowed to start sign-in",
      "state": "blocked",
      "detail": "No site is allowed to start sign-in, so web sign-in is refused. Add the origin of your site, for example https://app.example.com.",
      "fix": {},
      "test": {}
    }
  ]
}