Skip to main content
GET
/
packages
/
{packageId}
/
data
Data
curl --request GET \
  --url https://sandbox.syngrafii.com/api/v1/packages/{packageId}/data \
  --header 'api_key: <api-key>'
{
  "packageId": "<string>",
  "name": "<string>",
  "type": "<string>",
  "state": "<string>",
  "externalData": {},
  "documents": [
    {
      "documentId": "<string>",
      "packageId": "<string>",
      "name": "<string>",
      "fileName": "<string>",
      "state": "<string>",
      "data": [
        {
          "id": "<string>",
          "dataId": "<string>",
          "signerId": "<string>",
          "source": "<string>",
          "type": "<string>",
          "value": "<string>",
          "pageNumber": 123
        }
      ]
    }
  ]
}
After the signers have signed their documents and the package has been finalized you can retrieve the values of all fields in the package by calling the /packages/{packageId}/data endpoint.

Request

Request
GET /packages/{packageId}/data

Parameters

packageId
string
required
The unique identifier of the package you want to retrieve field data for.

Response

packageId
string
Unique identifier for the package.
name
string
Display name of the package.
type
string
Package type.
state
string
Current workflow state of the package.
externalData
Map<string, object>
Arbitrary external data attached to the package.
documents
object[]
List of documents along with their captured field values.