> For the complete documentation index, see [llms.txt](https://formdr.gitbook.io/formdr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://formdr.gitbook.io/formdr/documentation/documents-coming-soon/get-document-submissions.md).

# Get Document Submissions

Get all recent document submissions

#### Returns a submission

<mark style="color:blue;">`GET`</mark> `https://api.formdr.com/api/v1/practice/{practiceId}/document/submissions`

#### Path Parameters

| Name       | Type   | Description |
| ---------- | ------ | ----------- |
| practiceId | number | Practice Id |

#### Query Parameters

| Name         | Type   | Description                                                                          |
| ------------ | ------ | ------------------------------------------------------------------------------------ |
| page         | number | page number                                                                          |
| dateRange    | string | Accepted values: last\_week, last\_month, last\_90\_days, year\_2024, year\_2023 ... |
| types        | string | Accepted values: completed, incomplete                                               |
| search       | string | Search document by name or signer name or signer email                               |
| itemsPerPage | number | Items per page                                                                       |

#### Response

{% tabs %}
{% tab title="200: OK Returns submission data of the submission." %}

```javascript
{
  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;
}
```

{% endtab %}

{% tab title="401: Unauthorized " %}

```javascript
"Error: Wrong Credentials"
```

{% endtab %}
{% endtabs %}
