POST
/
createFromTemplate
Create a message from a template (PDF with fields already added) that has been pre-created on Spryngtime. We recommend selecting 'Auto-release signatures when complete' when creating your template. When enabled, this setting automatically sends the final PDF with signatures once everyone has signed. If this is not enabled, you will need to manually review and release signatures even after everyone has signed.
curl --request POST \
  --url https://api.spryngtime.com/createFromTemplate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "templateId": "<string>",
  "recipients": [
    {
      "email": "jsmith@example.com",
      "name": "<string>"
    }
  ]
}'
{
  "message": "<string>",
  "pdf_id": "<string>",
  "recipients": [
    "jsmith@example.com"
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
templateId
string
required

ID of the template to use

recipients
object[]
required

List of recipient objects

Response

Successfully created message from template

Response data

message
string

Status message

pdf_id
string

Identifier of the created PDF

recipients
string<email>[]

List of recipient email addresses