IntegrationsList files in a provider folderget

List files in a provider folder

Lists files in a connected provider folder. Use returned id values as external_file_id when importing to Vault.

curl -X GET "https://api.textmine.com/v3/integrations/notion/folders/example_string/files" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (`tm_<key>`)"
[
  {
    "id": "file-abc123",
    "name": "Acme supplier agreement.pdf",
    "mimeType": "application/pdf",
    "sizeBytes": 245760,
    "modifiedTime": "2026-05-10T09:30:00Z",
    "webViewLink": "example_string"
  }
]
GET
/v3/integrations/{providerId}/folders/{folderId}/files
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (`tm_<key>`)
Bearer Tokenstring
Required

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.
path
providerIdstring
Required

Provider ID.

Options: notion, google-drive, sharepoint
path
folderIdstring
Required

Provider folder ID.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (tm_<key>). Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Path Parameters

providerIdstring
Required

Provider ID.

Allowed values:notiongoogle-drivesharepoint
folderIdstring
Required

Provider folder ID.

Responses

idstring
namestring
mimeTypestring
sizeBytesinteger
modifiedTimestring
webViewLinkstring