Skip to main content
GET
Get active consent

Authorizations

X-API-Key
string
header
required

Your workspace public key (pk_test_… or pk_live_…).

X-HMAC-Signature
string
header
required

HMAC-SHA256, hex-encoded, keyed with a workspace secret key, of "{X-Timestamp}." followed by the canonical request (or of the canonical request alone, accepted for workspaces that do not require X-Timestamp). See API authentication.

X-Timestamp
string
header
required

Current Unix time in seconds, signed as "{X-Timestamp}." + the canonical request. Recommended on every signed request and required when the workspace requires it; accepted within 300 seconds of the server clock, and a timestamped request other than GET is accepted once.

Response

The active consent version. Show the text at url, then send id and text_sha256 back when accepting.

id
integer
required
version
integer
required
text_sha256
string
required
url
string
required