Skip to main content
POST
Accept the presented Spritz agreements

Authorizations

Authorization
string
header
required

User bearer credential: either a Cognito JWT or an ak_ user API key. Backend integrators using HMAC must include the user API key alongside the three HMAC headers on user-scoped endpoints.

Body

presentationId
string<uuid>
required
accept
enum<string>[]
required
Required array length: 1 - 3 elements
Available options:
terms_of_service,
privacy_policy,
esign_consent
screenSha256
string
required

The presentation's screenSha256, echoed unchanged.

Pattern: ^[0-9a-f]{64}$
esignCheckboxChecked
boolean

Send only when screen.checkbox is present, and only true: otherwise the acceptance is refused with esign_consent_required or unexpected_esign_checkbox.

Response

Response for status 200

operationId
string
required
presentationId
string | null
required
revision
string
required
occurredAt
string
required
eventIds
string[]
required
agreements
object
required