Herald
OpenapiLegal

Reconsent gate verdict for the calling user across both agreement types.

Self-service — requires Bearer identity. The realm is the one pinned by the bearer token (each user may only inspect their own realm's consent state).

GET
/api/user/consent/status

Self-service — requires Bearer identity. The realm is the one pinned by the bearer token (each user may only inspect their own realm's consent state).

Response Body

Per-agreement reconsent verdict

application/json
  1. response

GET /consent/status response. Reuses the domain [ConsentStatusItem] as the response item so the OpenAPI shape stays in lockstep with the reconsent verdict computed by the service.

items*array<>
Example Request
curl -X GET 'https://example.com/api/user/consent/status'
Example Response
{
  "items": [
    {
      "agreement_type": "terms_of_service",
      "consented_version_id": "302a62f5-beca-4c6a-922b-c791d5129c54",
      "current_version_id": "158beffb-f9de-457f-bbee-873740e72504",
      "needs_reconsent": true
    }
  ]
}