Skip to main content
POST
/
packages
/
add
Add
curl --request POST \
  --url https://sandbox.syngrafii.com/api/v1/packages/add \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "packageId": "<string>",
  "package": {
    "packageId": "<string>",
    "organizationId": "<string>",
    "memberId": "<string>",
    "teamId": "<string>",
    "folderId": "<string>",
    "shared": true,
    "meetingId": "<string>",
    "templateId": "<string>",
    "formId": "<string>",
    "keyId": "<string>",
    "name": "<string>",
    "category": "<string>",
    "clientNumber": "<string>",
    "matterNumber": "<string>",
    "description": "<string>",
    "message": "<string>",
    "rescindMessage": "<string>",
    "reminderMessage": "<string>",
    "timeCreated": "<string>",
    "timeReminder": "<string>",
    "timeRetention": "<string>",
    "timeRescinded": "<string>",
    "timeDeleted": "<string>",
    "timeSignBy": "<string>",
    "timeLastModified": "<string>",
    "options": {},
    "hasSecurityPassphrase": true,
    "locale": "<string>",
    "timeZone": "<string>",
    "format": {
      "locale": "<string>"
    },
    "revisionsSigned": 123,
    "revisionsCount": 123,
    "restrictedType": "<string>",
    "api": true,
    "type": "<string>",
    "state": "<string>",
    "externalData": {},
    "version": "<string>",
    "meeting": {
      "meetingId": "<string>",
      "organizationId": "<string>",
      "packageId": "<string>",
      "timeStart": "<string>",
      "duration": "<string>",
      "isPrivate": true,
      "type": "<string>",
      "state": "<string>"
    },
    "documents": [
      {
        "documentId": "<string>",
        "packageId": "<string>",
        "fileId": "<string>",
        "autoTemplateId": "<string>",
        "autoTemplateDocumentId": "<string>",
        "externalId": "<string>",
        "index": 123,
        "name": "<string>",
        "fileName": "<string>",
        "fileType": "<string>",
        "fileSize": 123,
        "numberPages": 123,
        "timeUploaded": "<string>",
        "timeLastModified": "<string>",
        "revisionsSigned": 123,
        "revisionsCount": 123,
        "description": "<string>",
        "cac": true,
        "cacPages": 123,
        "state": "<string>",
        "revisions": [
          {
            "documentId": "<string>",
            "revisionId": "<string>",
            "revisionNumber": 123,
            "revisionBeforeId": "<string>",
            "timeLastOpened": "<string>",
            "signerId": "<string>",
            "isSigned": true,
            "timeSigned": "<string>",
            "address": "<string>",
            "latitude": "<string>",
            "longitude": "<string>",
            "state": "<string>"
          }
        ],
        "signers": [
          {
            "signerId": "<string>",
            "signerKey": "<string>",
            "name": "<string>",
            "initials": "<string>",
            "email": "<string>",
            "mobileNumber": "<string>",
            "hasSigned": true,
            "isNext": true,
            "templateRole": "<string>"
          }
        ]
      }
    ],
    "signers": [
      {
        "signerId": "<string>",
        "packageId": "<string>",
        "memberId": "<string>",
        "signerTag": "<string>",
        "timeCreated": "<string>",
        "timeDeclined": "<string>",
        "timeUpdated": "<string>",
        "index": 123,
        "locale": "<string>",
        "signCac": true,
        "verify": true,
        "firstName": "<string>",
        "lastName": "<string>",
        "email": "<string>",
        "mobileNumberCountryCode": "<string>",
        "mobileNumberOriginal": "<string>",
        "mobileNumber": "<string>",
        "declineMessage": "<string>",
        "declineReason": "<string>",
        "next": true,
        "revisionsSigned": 123,
        "revisionsCount": 123,
        "role": "<string>",
        "type": "<string>",
        "state": "<string>",
        "verification": {
          "verificationId": "<string>",
          "signerId": "<string>",
          "canSign": true,
          "canJoin": true,
          "canRetry": true,
          "hasSigned": true,
          "isLocked": true,
          "attempts": 123,
          "errors": 123,
          "continue": true,
          "continueOnError": true,
          "error": "<string>",
          "state": "<string>"
        }
      }
    ],
    "recipients": [
      {
        "recipientId": "<string>",
        "packageId": "<string>",
        "timeCreated": "<string>",
        "timeUpdated": "<string>",
        "firstName": "<string>",
        "lastName": "<string>",
        "email": "<string>",
        "mobileNumberCountryCode": "<string>",
        "mobileNumberOriginal": "<string>",
        "mobileNumber": "<string>",
        "locale": "<string>",
        "type": "<string>",
        "state": "<string>"
      }
    ],
    "verifications": [
      {
        "verificationId": "<string>",
        "signerId": "<string>",
        "canSign": true,
        "canJoin": true,
        "canRetry": true,
        "hasSigned": true,
        "isLocked": true,
        "attempts": 123,
        "errors": 123,
        "continue": true,
        "continueOnError": true,
        "error": "<string>",
        "state": "<string>"
      }
    ]
  },
  "contacts": [
    {}
  ]
}
The /packages/add endpoint allows you to create a new package within the application. A package typically contains one or more documents and signers who are required to review and sign those documents.
In production it is recommended to upload files using the Files upload API and reference them by fileId when adding your documents to a package.

Request

Request
POST /packages/add
{
    "name": "New Package",
    "type": "concurrent",
    "signers": [
        {
            "firstName": "Signer",
            "lastName": "One",
            "email": "signer.one@example.com"
        }
    ],
    "documents": [
        {
            "fileName": "agreement.pdf",
            "fileId": "d29e25e0-624b-4adb-b118-19c4d0125e5e"
        }
    ]
}

Body

name
string
required
Name of the package.
description
string
Description of the package.
message
string
Message to be shared with all signers.
type
string
default:"Sequential"
Type of package signing workflow.
state
string
default:"open"
State of the package.
category
string
Category of the package.
clientNumber
string
Client number associated with the package.
matterNumber
string
Matter number associated with the package.
timeSignBy
string
Date by which the document should be signed. After this date, the package will expire and can no longer be signed unless extended.
If not specified, the default value is 7 days from the current date.
The date should be in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
meeting
object
Details about the meeting associated with the package.
This is only applicable for packages with the video_closing_room signing workflow type.
locale
string
Locale to create the package in.
If not provided, the package will be created in the organization’s default locale.
memberId
string
Member ID to create the package under.
If not provided, the package will be created under the current member.
You require Sign Editor or Package Editor role to create a package on behalf of another member.
teamId
string
Team ID to create the package under.
If not provided, the package will be created under the given member, or under the current member if none is provided.
folderId
string
Folder ID to create the package under.
If not provided, the package will be created in the root folder.
Set to true to return links for integrating document signing workflows.See the Embed signing guide for more information.
Set to true to return a link for integrating document editing workflows.See the Embed editor guide for more information.
options
object
Additional options for the package.
signers
object[]
List of signers for the package.
recipients
object[]
List of recipients for the package.
documents
object[]
List of documents for the package.

Response

packageId
string
Unique identifier for the package.
package
object
Full package object, returned when returnPackage is set to true on the request.
contacts
object[]
List of contacts created during package creation, returned when addSignersToContacts is set to true on the request.