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>"
}Record the acceptance of a specific agreement by its ID
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>"
}CustomerEmployee)EndUser)Agreements:Acceptance:Create: Always required.Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
1Was this page helpful?