> ## Documentation Index
> Fetch the complete documentation index at: https://docs.grdd.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Documents

> List of documents for a company

## Endpoint

**GET** `https://core.grdd.net/api/content/{griddid}/documents`

Replace `{griddid}` with the specific company identifier (e.g., "latest" for the latest/demo company).

***

## Authentication

This endpoint requires authentication using a Bearer token.

To obtain an access token, see the [Get Token API](/gnet-api/get-token) documentation.

**Headers:**

```
Authorization: Bearer <access_token>
```

***

## Request Example

```bash theme={null}
curl -X GET \
  'https://core.grdd.net/api/content/latest/documents' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
```

***

## Response

The API returns a comprehensive JSON object array of documents for a company.

### Response Structure

```json theme={null}
[
  {
    "id": 228,
    "title": "Airport permit",
    "griddid": "maysalimo",
    "badgeUrl": "",
    "issueDate": null,
    "expiryDate": null,
    "description": "",
    "sharewith": [],
    "documentType": "permit_airpot",
    "visibility": "gnet",
    "text_content": null,
    "document_type_confidence": "0",
    "issued_to": "",
    "document_number": null,
    "verification_date": null,
    "issuer": "",
    "sort_order": null,
    "slug": "airport-permit",
    "updatedAt": "2025-05-14T16:42:47.140Z",
    "createdAt": "2025-05-14T16:42:29.784Z"
  }
]
```

***

## Notes

1. This API only returns the metadata about documents, such as the title, document type, expiry date, etc.
2. This API doesn't return the link to the document because each document requires sign-in URL and cannot be returned by API calls.
