curl -X POST 'https://api.sendforsign.com/api/placeholder' \
     -H 'Authorization: Bearer 123456789' \
     -H 'Content-Type: application/json' \
     -d '{
    "data": {
        "action": "update",
        "contractKey": "CONTRACT_KEY",
        "placeholder": {
            "placeholderKey": "PLACEHOLER_KEY",
            "name": "Name",
            "value": "Value"
        }
    }
}'
{
    "placeholder": {
        "id": "1",
        "createTime": "2024-03-14T20:34:08.000Z",
        "changeTime": "2024-03-14T20:38:39.000Z",
        "name": "Name",
        "value": "Value",
        "type": "1",
        "placeholderKey": "PLACEHOLER_KEY",
        "position": null
    },
    "code": "201",
    "message": "Placeholder updated"
}

Body parameters

action
string
required
Action type.
contractKey
string
required
ID of the contract.
placeholder
required
Structure, add the fields that need to be updated and ignore the rest.

Response

placeholder
string
Placeholder structure.
code
string
The code of the answer.
message
string
The message of the answer.
curl -X POST 'https://api.sendforsign.com/api/placeholder' \
     -H 'Authorization: Bearer 123456789' \
     -H 'Content-Type: application/json' \
     -d '{
    "data": {
        "action": "update",
        "contractKey": "CONTRACT_KEY",
        "placeholder": {
            "placeholderKey": "PLACEHOLER_KEY",
            "name": "Name",
            "value": "Value"
        }
    }
}'
{
    "placeholder": {
        "id": "1",
        "createTime": "2024-03-14T20:34:08.000Z",
        "changeTime": "2024-03-14T20:38:39.000Z",
        "name": "Name",
        "value": "Value",
        "type": "1",
        "placeholderKey": "PLACEHOLER_KEY",
        "position": null
    },
    "code": "201",
    "message": "Placeholder updated"
}