Skip to navigation

Agreement Document Items

View as Markdown

Return multiple agreement document records by their entity IDs.

Available to: All authenticated users

Environments: Demo, Live

Rate Limit: No endpoint-specific limit

Returns several AgreementDocument entities in one call. Identify them with the ids query parameter — a comma-separated list of integer entity IDs. Each record ties a customer application to one agreement required for it: customerApplicationId identifies the application, agreementDocumentTemplateId identifies the template the document was generated from, and locale records the document’s language. The timestamp field marks when the record was created, and signedTimestamp appears once the document has been signed — an unsigned document has no signedTimestamp.

The platform creates these records when you call prepareAgreementDocuments for a customer application; you can’t create or modify them directly through the API. Pass their IDs to signAgreementDocuments as agreementIds when the applicant signs, and download the generated PDF with getAgreementDocument.

The endpoints that create and populate agreement documents — startCustomerApplication and prepareAgreementDocuments — are available on Live only, so you’ll typically query these records on the Live environment.

To fetch a single record by ID, use agreementDocumentItem. To list every agreement document for a customer application, use agreementDocumentDependents.

Common Failure Scenarios

  • An ID in the list doesn’t exist or isn’t accessible to the calling user (returns HTTP 404).
  • The access token is missing or invalid (returns HTTP 401).

Authentication

AuthorizationBearer

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

Query parameters

idslist of longsRequired

Response

AgreementDocument
customerApplicationIdlong
timestampdatetime
agreementDocumentTemplateIdlong
idlongOptional
signedTimestampdatetimeOptional
localestringOptional<=64 characters