Skip to main content
GET
/
extractions
/
documents
/
{documentId}
/
url
Get Document URL
curl --request GET \
  --url https://api.raydocs.com/extractions/documents/{documentId}/url \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>",
  "expires_at": "2023-11-07T05:31:56Z"
}

Authentication & Scope

Requires the sessions-read ability.

Request

GET /extractions/documents/880e8400-e29b-41d4-a716-446655440000/url HTTP/1.1
Host: api.raydocs.com
Authorization: Bearer <token>

Path Parameters

ParameterTypeRequiredDescription
documentIduuidYesThe document ID

Response

200 OK – Signed download URL.
{
  "url": "https://s3.amazonaws.com/raydocs-documents/...?X-Amz-Signature=..."
}
The signed URL is valid for 10 minutes. After expiration, request a new URL.
404 Not Found – Document does not exist or you don’t have access.

Authorizations

Authorization
string
header
required

Personal Access Token

Path Parameters

documentId
string<uuid>
required

Response

Successful

url
string<uri>
expires_at
string<date-time>