Skip to main content
POST
/
api
/
placeholder
curl -X POST 'https://api.sendforsign.com/api/placeholder' \
     -H 'X-Sendforsign-Key: YOUR_API_KEY' \
     -H 'Content-Type: application/json' \
     -d '{
    "data": {
        "action": "update",
        "clientKey": "YOUR_CLIENT_KEY",
        "contractKey": "CONTRACT_KEY",
        "placeholder": {
            "placeholderKey": "PLACEHOLDER_KEY",
            "table": {
                "columns": ["Product", "Quantity", "Unit Price", "Total"],
                "rows": [
                    ["Product 1", 2, 100, 200],
                    ["Product 2", 1, 250, 250],
                    ["Product 3", 4, 75, 333]
                ]
            }
        }
    }
}'
{
    "placeholder": {
        "id": "1",
        "createTime": "2025-10-31T09:27:46.000Z",
        "changeTime": "2025-10-31T09:28:23.000Z",
        "name": "PLACEHOLDER_NAME",
        "value": "{\"columns\":[\"Product\",\"Quantity\",\"Unit Price\",\"Total\"],\"rows\":[[\"Product 1\",2,100,200],[\"Product 2\",1,250,250],[\"Product 3\",4,75,333]]}",
        "isTable": true,
        "type": "1",
        "placeholderKey": "PLACEHOLDER_KEY",
        "position": "1",
        "fillingType": "1",
        "externalRecipientKey": null
    },
    "code": 201,
    "message": "Placeholder updated"
}
First, add a placeholder to the HTML document to obtain a placeholder key. See this page to learn more.

Body parameters

data
object
required

Response

placeholder
object
Placeholder structure.
code
number
The code of the answer.
message
string
The message of the answer.
curl -X POST 'https://api.sendforsign.com/api/placeholder' \
     -H 'X-Sendforsign-Key: YOUR_API_KEY' \
     -H 'Content-Type: application/json' \
     -d '{
    "data": {
        "action": "update",
        "clientKey": "YOUR_CLIENT_KEY",
        "contractKey": "CONTRACT_KEY",
        "placeholder": {
            "placeholderKey": "PLACEHOLDER_KEY",
            "table": {
                "columns": ["Product", "Quantity", "Unit Price", "Total"],
                "rows": [
                    ["Product 1", 2, 100, 200],
                    ["Product 2", 1, 250, 250],
                    ["Product 3", 4, 75, 333]
                ]
            }
        }
    }
}'
{
    "placeholder": {
        "id": "1",
        "createTime": "2025-10-31T09:27:46.000Z",
        "changeTime": "2025-10-31T09:28:23.000Z",
        "name": "PLACEHOLDER_NAME",
        "value": "{\"columns\":[\"Product\",\"Quantity\",\"Unit Price\",\"Total\"],\"rows\":[[\"Product 1\",2,100,200],[\"Product 2\",1,250,250],[\"Product 3\",4,75,333]]}",
        "isTable": true,
        "type": "1",
        "placeholderKey": "PLACEHOLDER_KEY",
        "position": "1",
        "fillingType": "1",
        "externalRecipientKey": null
    },
    "code": 201,
    "message": "Placeholder updated"
}