Accounts
Update the workspace notification policy
Changed onOwners only (403 for other members). Merges the supplied fields: send only events keys you want to change, and/or owners_receive_all. An event set to false reaches nobody in this workspace, on any channel, whatever each member's own preferences; the identity review e-mail is the exception and is always sent, because the signer cannot continue without it. An unknown field or code, a non-boolean value or an empty body is rejected with 400 and nothing is written. Returns the full policy.
put/v1/accounts/{accountId}/notification-policy
Request
- Base URLhttps://api.assinafy.com.br
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
Workspace account ID.
Request body
Example request
{
"events": {
"DocumentCompleted": true,
"SignerDeclined": true,
"DocumentCancelled": true,
"DocumentAboutToExpire": true,
"DocumentExpired": true,
"DocumentExpirationReset": true,
"DocumentProcessingFailed": true,
"TemplateProcessingFailed": true,
"SignerWhatsappFailed": true,
"ContractRenewalNotice": true,
"ContractExpiring": true,
"ContractExpired": true,
"ContractRenewed": true,
"SignerSigned": true,
"SignerIdentityReviewRequired": true
},
"owners_receive_all": true
}Response
The updated policy
Example response
{
"status": 200,
"data": {
"editable": true,
"events": {
"DocumentCompleted": true,
"SignerDeclined": true,
"DocumentCancelled": true,
"DocumentAboutToExpire": true,
"DocumentExpired": true,
"DocumentExpirationReset": true,
"DocumentProcessingFailed": true,
"TemplateProcessingFailed": true,
"SignerWhatsappFailed": true,
"ContractRenewalNotice": true,
"ContractExpiring": true,
"ContractExpired": true,
"ContractRenewed": true,
"SignerSigned": true,
"SignerIdentityReviewRequired": true
}
}
}Changes
- info
endpoint added
- info