Skip to main content
POST
/
agreements
/
{agreementId}
/
accept
Record Agreement Acceptance
curl --request POST \
  --url https://api.dfns.io/agreements/{agreementId}/accept \
  --header 'Authorization: Bearer <token>' \
  --header 'X-DFNS-USERACTION: <api-key>'
{
  "agreementId": "<string>",
  "userId": "<string>",
  "dateAccepted": "<string>"
}

Authentication

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

Required Permissions

Agreements:Acceptance:Create: Always required.

Authorizations

Authorization
string
header
required

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

X-DFNS-USERACTION
string
header
required

User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows

Path Parameters

agreementId
string
required
Minimum length: 1

Response

200 - application/json

Success

agreementId
string
required
userId
string
required
dateAccepted
string
required
I