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": "create",
        "clientKey": "YOUR_CLIENT_KEY",
        "contractKey": "CONTRACT_KEY",
        "placeholder": {
            "name": "Placeholder name",
            "value": "Placeholder value"
        }
    }
}'
{
    "placeholder": {
        "id": "3",
        "createTime": "2024-11-22T11:11:24.000Z",
        "changeTime": "2024-11-22T11:11:24.000Z",
        "name": "1",
        "value": "hello",
        "type": "1",
        "placeholderKey": "PLACEHOLDER_KEY",
        "position": "3"
    },
    "code": 201,
    "message": "Placeholder created"
}

Documentation Index

Fetch the complete documentation index at: https://about.sendforsign.com/llms.txt

Use this file to discover all available pages before exploring further.

One way to add placeholders to a contract is when you create a new contract. See this page to learn more. If a contract already exists, use the request below.

Body parameters

data
object
required

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 'X-Sendforsign-Key: YOUR_API_KEY' \
     -H 'Content-Type: application/json' \
     -d '{
    "data": {
        "action": "create",
        "clientKey": "YOUR_CLIENT_KEY",
        "contractKey": "CONTRACT_KEY",
        "placeholder": {
            "name": "Placeholder name",
            "value": "Placeholder value"
        }
    }
}'
{
    "placeholder": {
        "id": "3",
        "createTime": "2024-11-22T11:11:24.000Z",
        "changeTime": "2024-11-22T11:11:24.000Z",
        "name": "1",
        "value": "hello",
        "type": "1",
        "placeholderKey": "PLACEHOLDER_KEY",
        "position": "3"
    },
    "code": 201,
    "message": "Placeholder created"
}