Skip to main content
GET
/
agreements
/
latest-unaccepted
Get Latest Unaccepted Agreement
curl --request GET \
  --url https://api.dfns.io/agreements/latest-unaccepted \
  --header 'Authorization: Bearer <token>'
{
  "latestAgreement": {
    "id": "<string>",
    "agreementUrl": "<string>",
    "details": "<string>",
    "agreementType": "PrivacyPolicy"
  }
}

Authentication

✅ Organization User (CustomerEmployee)
❌ Delegated User (EndUser)
✅ Service Account

Required Permissions

Agreements:Acceptance:Read: Always required.

Authorizations

Authorization
string
header
required

Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows

Query Parameters

agreementType
enum<string>
required
Available options:
PrivacyPolicy,
TermsAndConditions,
UniswapTermsOfService,
UniswapPrivacyPolicy

Response

200 - application/json

Success

latestAgreement
object | null
required
I