POST
Submit Agreement Attestations
Submit one or more agreement attestations for an identity. Each submission is validated against document-service before being stored.
Path Params
-
identityIdstring uuid requiredThe unique ID of the identity
Body Params
array of objects
-
agreementIdstring enum requiredThe agreement type being attestedamlAttestationnonSolicitationLetterEunonSolicitationLetterSg -
revisioninteger requiredThe revision number of the agreement content -
attestedboolean requiredWhether the user attested to this agreement -
attestationDatestring date-time requiredISO 8601 timestamp of when the attestation occurred
Responses
201
201
Response Body
object
-
identityIdstring uuid requiredThe identity ID -
acceptedAgreementsarray of objects requiredSuccessfully accepted agreementsacceptedAgreements object
-
idstring requiredInternal ID for the agreement association -
agreementIdstring enum requiredThe agreement type attestedamlAttestationnonSolicitationLetterEunonSolicitationLetterSg -
revisioninteger requiredRevision number at time of attestation -
attestedboolean requiredWhether the user attested to this agreement -
attestationDatestring date-time requiredISO 8601 timestamp of attestation -
statusstring enum requiredStatus of the agreementmissingcountExceededsubmittedinReviewverified -
attestedByUserIdstring nullable requiredBitGo user ID of the user who attested, from request context -
createdAtstring requiredISO timestamp when agreement was created -
updatedAtstring requiredISO timestamp when agreement was last updated
-
400
400
Response Body
object
-
errorstring required
401
401
Response Body
object
-
errorstring required
404
404
Response Body
object
-
errorstring required
429
429
Response Body
object
-
errorstring required
500
500
Response Body
object
-
errorstring required
503
503
Response Body
object
-
errorstring required