Get Started
Guides
- Account
- Envelopes
- Templates
- Webhooks
Backend SDKs
- Python
- Typescript
- Go
- Java
- C#
- PHP
API Reference
- Envelope
- Template
- POSTCreate new template
- POSTList templates
- GETGet template
- DELDelete template
- POSTDuplicate template
- POSTAdd template document
- GETGet template document
- GETGet template documents
- POSTAdd template signing steps
- PUTRename template
- PUTSet template comment
- PUTSet template notification
- GETGet template annotations
- GETGet document template annotations
- POSTAdd template annotation
- DELDelete template annotation
- POST
- Webhook
Template
Add template annotation
POST
/
template
/
{template_id}
/
annotation
curl --request POST \
--url https://restapi.sign.plus/v2/template/{template_id}/annotation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"recipient_id": "<string>",
"document_id": "<string>",
"page": 123,
"x": 123,
"y": 123,
"width": 123,
"height": 123,
"required": true,
"type": "TEXT",
"signature": {
"id": "<string>"
},
"initials": {
"id": "<string>"
},
"text": {
"size": 123,
"color": 123,
"value": "<string>",
"tooltip": "<string>",
"dynamic_field_name": "<string>",
"font": {
"family": "UNKNOWN",
"italic": true,
"bold": true
}
},
"datetime": {
"size": 123,
"font": {
"family": "UNKNOWN",
"italic": true,
"bold": true
},
"color": "<string>",
"auto_fill": true,
"timezone": "<string>",
"timestamp": 123,
"format": "DMY_NUMERIC_SLASH"
},
"checkbox": {
"checked": true,
"style": "CIRCLE_CHECK"
}
}'
{
"id": "<string>",
"recipient_id": "<string>",
"document_id": "<string>",
"page": 123,
"x": 123,
"y": 123,
"width": 123,
"height": 123,
"required": true,
"type": "TEXT",
"signature": {
"id": "<string>"
},
"initials": {
"id": "<string>"
},
"text": {
"size": 123,
"color": 123,
"value": "<string>",
"tooltip": "<string>",
"dynamic_field_name": "<string>",
"font": {
"family": "UNKNOWN",
"italic": true,
"bold": true
}
},
"datetime": {
"size": 123,
"font": {
"family": "UNKNOWN",
"italic": true,
"bold": true
},
"color": "<string>",
"auto_fill": true,
"timezone": "<string>",
"timestamp": 123,
"format": "DMY_NUMERIC_SLASH"
},
"checkbox": {
"checked": true,
"style": "CIRCLE_CHECK"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of the template
Body
application/json
Response
200 - application/json
Annotation added successfully
The response is of type object
.
curl --request POST \
--url https://restapi.sign.plus/v2/template/{template_id}/annotation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"recipient_id": "<string>",
"document_id": "<string>",
"page": 123,
"x": 123,
"y": 123,
"width": 123,
"height": 123,
"required": true,
"type": "TEXT",
"signature": {
"id": "<string>"
},
"initials": {
"id": "<string>"
},
"text": {
"size": 123,
"color": 123,
"value": "<string>",
"tooltip": "<string>",
"dynamic_field_name": "<string>",
"font": {
"family": "UNKNOWN",
"italic": true,
"bold": true
}
},
"datetime": {
"size": 123,
"font": {
"family": "UNKNOWN",
"italic": true,
"bold": true
},
"color": "<string>",
"auto_fill": true,
"timezone": "<string>",
"timestamp": 123,
"format": "DMY_NUMERIC_SLASH"
},
"checkbox": {
"checked": true,
"style": "CIRCLE_CHECK"
}
}'
{
"id": "<string>",
"recipient_id": "<string>",
"document_id": "<string>",
"page": 123,
"x": 123,
"y": 123,
"width": 123,
"height": 123,
"required": true,
"type": "TEXT",
"signature": {
"id": "<string>"
},
"initials": {
"id": "<string>"
},
"text": {
"size": 123,
"color": 123,
"value": "<string>",
"tooltip": "<string>",
"dynamic_field_name": "<string>",
"font": {
"family": "UNKNOWN",
"italic": true,
"bold": true
}
},
"datetime": {
"size": 123,
"font": {
"family": "UNKNOWN",
"italic": true,
"bold": true
},
"color": "<string>",
"auto_fill": true,
"timezone": "<string>",
"timestamp": 123,
"format": "DMY_NUMERIC_SLASH"
},
"checkbox": {
"checked": true,
"style": "CIRCLE_CHECK"
}
}
Assistant
Responses are generated using AI and may contain mistakes.