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",
"placeholders": [
{
"placeholderKey": "PLACEHOLDER_KEY",
"insertion": [
{
"action": "update",
"clientKey": "YOUR_CLIENT_KEY",
"id": 0,
"pageId": 0,
"width": 100,
"height": 100,
"positionX": 1,
"positionY": 1
}
]
}
]
}
}'
{
"code": 201,
"message": "Placeholder updated"
}
Placeholder
Place basic placeholder
Place a basic placeholder in a PDF contract.
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",
"placeholders": [
{
"placeholderKey": "PLACEHOLDER_KEY",
"insertion": [
{
"action": "update",
"clientKey": "YOUR_CLIENT_KEY",
"id": 0,
"pageId": 0,
"width": 100,
"height": 100,
"positionX": 1,
"positionY": 1
}
]
}
]
}
}'
{
"code": 201,
"message": "Placeholder updated"
}
Basic placeholders are text placeholders that can be used to fill in HTML and PDF contracts.
Additionally, they can be linked to any recipient afterward.
Before placing placeholders in a PDF, you need to create them in advance.
Body parameters
Show child attribute
Show child attribute
Action type.
Key of the client.
Key of the contract.
Array of placeholders.
Show child attribute
Show child attribute
Key of the placeholder that needs to be updated.
Array of places.
Show child attribute
Show child attribute
ID of the insertion. Provide a new ID for each insertion. If you provide the ID of an existing
placeholder, the placeholder will be updated.
Page number where you insert the placeholder, starting from 0.
Width of the placeholder.
Height of the placeholder.
Position X of the placeholder, starting from the top-left corner of the page.
Position Y of the placeholder, starting from the top-left corner of the page.
Response
The code of the answer.
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",
"placeholders": [
{
"placeholderKey": "PLACEHOLDER_KEY",
"insertion": [
{
"action": "update",
"clientKey": "YOUR_CLIENT_KEY",
"id": 0,
"pageId": 0,
"width": 100,
"height": 100,
"positionX": 1,
"positionY": 1
}
]
}
]
}
}'
{
"code": 201,
"message": "Placeholder updated"
}
⌘I