Get the staged draft for an agreement type.
Admin — requires first-party Bearer + `settings.manage` (realm pinned by the session token). Returns 404 when no draft exists for the type (the admin form treats this as "start a new draft").
Admin — requires first-party Bearer + settings.manage (realm pinned by the session token).
Returns 404 when no draft exists for the type (the admin form treats this as
"start a new draft").
agreementType*stringAgreement type: terms_of_service | privacy_policy
Staged draft with localized body
application/json- response
GET/PUT draft response: the staged draft's stable fields plus the localized
content body. Mirrors the locale map shape of a published version so the
admin form can render/edit it the same way.
agreement_type*AgreementTypeType of legal agreement. Serialized as snake_case (terms_of_service,
privacy_policy) to align with the DB column values and path params.
"terms_of_service""privacy_policy"content*unknownexternal_url?string|nullmode*AgreementMode"full_text""link"pending_version_no*integerint32updated_at*stringdate-timeversion_label?string|nullcurl -X GET 'https://example.com/api/legal/admin/agreements/string/draft'{
"agreement_type": "terms_of_service",
"content": null,
"external_url": "string",
"mode": "full_text",
"pending_version_no": 0,
"updated_at": "2019-08-24T14:15:22Z",
"version_label": "string"
}