Skip to main content
POST
/
packages
/
list
List
curl --request POST \
  --url https://sandbox.syngrafii.com/api/v1/packages/list \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "memberId": "<string>",
  "teamId": "<string>",
  "folderId": "<string>",
  "allMembers": true,
  "search": "<string>",
  "types": [
    "<string>"
  ],
  "states": [
    "<string>"
  ],
  "isExecuted": true,
  "days": 123,
  "sortBy": "<string>",
  "take": 123,
  "skip": 123
}
'
{
  "items": [
    {
      "packageId": "<string>",
      "organizationId": "<string>",
      "memberId": "<string>",
      "teamId": "<string>",
      "folderId": "<string>",
      "shared": true,
      "timeCreated": "<string>",
      "timeLastModified": "<string>",
      "timeSignBy": "<string>",
      "name": "<string>",
      "category": "<string>",
      "clientNumber": "<string>",
      "matterNumber": "<string>",
      "description": "<string>",
      "type": "<string>",
      "state": "<string>",
      "externalData": {},
      "documents": [
        {
          "documentId": "<string>",
          "externalId": "<string>",
          "index": 123,
          "name": "<string>",
          "fileName": "<string>",
          "isExecuted": true,
          "timeExecuted": "<string>"
        }
      ],
      "signers": [
        {
          "signerId": "<string>",
          "index": 123,
          "firstName": "<string>",
          "lastName": "<string>",
          "email": "<string>",
          "role": "<string>",
          "type": "<string>",
          "verify": true,
          "isVerified": true,
          "isNext": true,
          "isExecuted": true,
          "timeExecuted": "<string>"
        }
      ],
      "recipients": [
        {
          "recipientId": "<string>",
          "firstName": "<string>",
          "lastName": "<string>",
          "email": "<string>",
          "type": "<string>"
        }
      ],
      "isExecuted": true,
      "timeExecuted": "<string>"
    }
  ],
  "total": 123,
  "take": 123,
  "skip": 123
}
You can retrieve a list of an organization members’ current packages by calling the packages/list endpoint.

Request

Request
POST /packages/list
{
  "memberId": "e4f0bce5-30fc-43c4-b9ee-364ff5b04dea",
  "search": null,
  "types": null,
  "states": null,
  "isExecuted": true,
  "sortBy": "created",
  "take": 50,
  "skip": 0
}

Body

Some filters are restricted based on the authentication method used or permissions of the organization member.To filter packages for other members, you must use one of the following authentication methods:
  • Organization API Key
  • User API Key with Sign Editor or Package Editor role enabled
  • Organization OAuth App
To filter packages for teams, the authenticated member must belong to the specified team.
memberId
string
The member ID to retrieve packages for.
teamId
string
The team ID to retrieve packages for.
folderId
string
Filter packages by folder ID.
allMembers
boolean
When true, retrieves packages for all members in the organization.
Filter packages by search terms.
This performs a full text search on package name, description, message, category, client number, matter number, as well as signer and recipient first name, last name, email, and mobile number. You can use * as a wildcard character to perform suffix matching (e.g., Contract* matches any package whose name contains a word starting with “Contract”).
types
string[]
Filter packages by package type.
states
string[]
Filter packages by package state.
isExecuted
boolean
When true will only return executed packages, when false will only return non-executed packages. Leave null to not apply any executed filter.
days
number
Filter packages whose sign by date is within the next X days.
For example, setting days to 7 will return packages whose sign by date is within the next 7 days.
You can use a negative value to filter packages whose sign by date is in the past.
sortBy
string
default:"created"
Sort results by one of the following:
take
number
default:50
Number of packages to return.
skip
number
Number of packages to skip. Used for pagination or infinite scroll.

Response

items
object[]
Array of packages returned.
total
number
Total number of packages that match filter criteria.
take
number
Number of packages returned per request.
skip
number
Number of packages skipped.