curl -X POST 'https://api.sendforsign.com/api/settings' \
     -H 'Authorization: Bearer 123456789' \
     -H 'Content-Type: application/json' \
     -d '{
    "data": {
        "type": "email_notifications",
        "notification": 
            {
                "approved": false,
                "signed": false
            }
    }
}'
{
    "code": "201",
    "message": "Settings updated"
}
Email notifications are updated for the specific client key you use when updating the settings. By default, Sendforsign sends email notifications for various types of events: signing and approval requests, contract signed, and contract approved. You can disable these notifications if you prefer to use your own email vendor. To disable notifications for contract.approved and contract.signed, use the request provided below.

Body parameters

type
string
required
Settings type.
notification
string
required
Structure.

Response

code
string
The code of the answer.
message
string
The message of the answer.
curl -X POST 'https://api.sendforsign.com/api/settings' \
     -H 'Authorization: Bearer 123456789' \
     -H 'Content-Type: application/json' \
     -d '{
    "data": {
        "type": "email_notifications",
        "notification": 
            {
                "approved": false,
                "signed": false
            }
    }
}'
{
    "code": "201",
    "message": "Settings updated"
}