POST
/
envelope
/
{envelope_id}
/
annotation
curl --request POST \
  --url https://restapi.sign.plus/v2/envelope/{envelope_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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

envelope_id
string
required

ID of the envelope

Body

application/json

Response

200 - application/json

Annotation added successfully

The response is of type object.