API Reference
Get Disclosure Status
Check a widget user’s current disclosure acceptance status.
GET
Description
Returns the user’s acceptance status for each current disclosure type. Use this from your server to determine which current disclosures the user must accept. Present any outstanding documents and collect the user’s acceptance in your application before creating a widget session, then record it with Submit Disclosure Acceptance. Do not call this endpoint from a browser, mobile client, game client, or WebView. The API key determines the publisher/project context.userId is the ZBD user ID returned when the widget user is created or resolved.
Configuration
Header Parameters
string
required
Your ZBD project API key.
Path Parameters
string
required
The ZBD user ID returned when the widget user is created or resolved.
tos_current means the user has accepted the current version of that disclosure type. A value of false means there is no acceptance on record, or the user’s latest acceptance is for an older version.