POST
/
createNewTemplate
Create a template (API key auth). Optionally instantiate and send to recipients.
curl --request POST \
  --url https://api.useinkless.com/createNewTemplate \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'templateName=<string>' \
  --form 'fields=[
  [
    {
      "id": "sig-1",
      "x": 144,
      "y": 418,
      "page": 1,
      "type": "Signature",
      "recipient": 1
    }
  ]
]' \
  --form 'recipients=[
  {
    "name": "<string>",
    "email": "jsmith@example.com",
    "phone": "<string>"
  }
]' \
  --form autoReleaseSignatures=true \
  --form document=@example-file
{
"message": "Template created successfully",
"template_id": "b4e2e25f-3a43-4e6c-9df9-3c6c1a2f13a1",
"s3_url": "templates/final.pdf",
"fields": [
[
{
"id": "sig-1",
"x": 144,
"y": 418,
"page": 1,
"type": "Signature",
"recipient": 1
}
]
]
}

Authorizations

x-api-key
string
header
required

Body

multipart/form-data

Response

200
application/json

Success

The response is of type object.