Dayli Docs

Record an explicit current Terms and 16+ action

POST
/api/v1/legal/acceptance

Available only for an effective Terms version. The Privacy Policy is a notice, not consent. No draft document can be accepted.

Authorization

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/legal/acceptance" \  -H "Content-Type: application/json" \  -d '{    "termsVersionId": "string",    "termsContentDigest": "string",    "acceptedTermsAndDeclaredAge16": true  }'
{  "termsVersionId": "string",  "acceptedAt": "2026-09-09T12:00:00Z",  "declaredAt": "2026-09-09T12:00:00Z"}