Skip to main content
GET
/
v2
/
documents
/
{document_id}
/
presigned_url
Presigned URL V2
curl --request GET \
  --url https://api.linqalpha.com/v2/documents/{document_id}/presigned_url \
  --header 'X-API-KEY: <api-key>'
{
  "error": null,
  "payload": {
    "document_id": "123e4567-e89b-12d3-a456-426614174000",
    "document_name": "document.pdf",
    "presigned_url": "https://example.s3.amazonaws.com/...",
    "expiration_seconds": 3600
  }
}
Generate a temporary download URL for a single document. Supports both external documents (filings, transcripts) and RMS documents (internal notes, Third Bridge transcripts).

Search Type

Use the search_type parameter to specify which document source to query:
search_typeBackendDocument types
external (default)Stock serverSEC filings, earnings transcripts, IR slides, news
rmsRMS serverUser-uploaded notes, emails, Third Bridge transcripts, EDS content

Quick Start

External document (default)
curl --request GET \
  --url 'https://api.linqalpha.com/v2/documents/767d83c9-9990-460d-8725-06d9f1b699ce/presigned_url' \
  --header 'X-API-KEY: <api-key>'
RMS document
curl --request GET \
  --url 'https://api.linqalpha.com/v2/documents/88ca5d94f625ac981f8a4b93422073b7/presigned_url?search_type=rms&organization_id=b898130a-d85e-4610-939d-c415231df8b7' \
  --header 'X-API-KEY: <api-key>'
For platform API keys that access multiple organizations, pass organization_id to specify which org’s documents to query. If omitted, defaults to the API key’s primary organization.
Download URLs expire after approximately 1 hour. Generate new URLs when needed.

Authorizations

X-API-KEY
string
header
required

Path Parameters

document_id
string
required

Document ID (from search/analytics references)

Query Parameters

search_type
enum<string>
default:external

Document source. external (default) routes to stock-server. rms routes to RMS server.

Available options:
external,
rms
organization_id
string

Organization ID. Recommended for search_type=rms and required for platform API keys. If omitted, defaults to the API key's primary organization.

Response

Presigned URL with document metadata

error
object
payload
object