Skip to main content
POST
/
api
/
settings
curl -X POST 'https://api.sendforsign.com/api/settings' \
     -H 'X-Sendforsign-Key: YOUR_API_KEY' \
     -H 'Content-Type: application/json' \
     -d '{
    "data": {
        "type": "email_notifications",
        "clientKey": "YOUR_CLIENT_KEY",
        "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

data
object
required

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 'X-Sendforsign-Key: YOUR_API_KEY' \
     -H 'Content-Type: application/json' \
     -d '{
    "data": {
        "type": "email_notifications",
        "clientKey": "YOUR_CLIENT_KEY",
        "notification": 
            {
                "approved": false,
                "signed": false
            }
    }
}'
{
    "code": "201",
    "message": "Settings updated"
}