Get Document By Id

Get a document data by id

Returns a submission

GET https://api.formdr.com/api/v1/practice/{practiceId}/document/{documentId}

Path Parameters

Name
Type
Description

practiceId

number

Practice Id

documentId

number

Document Id

Response

{
  data: [
    {
      id: number;
      practiceId: number;
      userId: number;
      name: string;
      fields: string;
      documentUuid: string;
      createdAt: Date;
      updatedAt: Date;
      sentToSign: boolean;
      isTemplate: boolean;
      fromTemplateId: number;
      subject: string;
      message: string;
      signed: boolean;
      signedAt: Date;
      signOrder: boolean;
      signersOrder: number[];
      pagesOrder: string[];
      signers: [
        {
          id: number;
          documentId: number;
          signerName: string;
          signerEmail: string;
          signerRole: string;
          signerUuid: string;
          isRecipient: boolean;
          createdAt: string;
          signed: boolean;
          declined: boolean;
          declinedAt: Date;
          signedAt: Date;
          recordId: number;
        }
      ];
    }
  ];
  total: number;
}

Last updated