Body parameters
Action type.
ID of the contract.
Structure, add the fields that need to be updated and ignore the rest.
Response
Placeholder structure.
The code of the answer.
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"
}
Update an existing placeholder.
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"
}
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"
}