FormDr
  • Home
  • Getting Started
    • Quick Start
  • Documentation
    • Access Token
      • Using the Refresh Token
    • Get Practices
    • Get Forms List
    • Get Form by ID
    • Find Patient
    • Submissions
      • Get Submission
      • Create Submission
      • Update Submission
      • Delete Submission
      • List Submissions
    • Files
      • Get file
      • Upload file
      • PDF
    • Documents
      • Get Templates
      • Send Template To Sign
      • Get Document Submissions
      • Get Document By Id
      • Download Document PDF
  • Webhook
Powered by GitBook
On this page
  1. Documentation
  2. Documents

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;
}
"Error: Wrong Credentials"
PreviousGet Document SubmissionsNextDownload Document PDF

Last updated 7 months ago