Skip to main content
GET
/
v1
/
identities
/
{id}
/
documents
/
{documentId}
/
url
Get a Document URL
curl --request GET \
  --url https://sandbox-api.borderless.xyz/v1/identities/{id}/documents/{documentId}/url \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>",
  "expiresIn": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
documentId
string
required

Query Parameters

side
enum<string>

Document side to retrieve (defaults to front).

Available options:
front,
back

Response

200 - application/json

Presigned document URL

url
string
required

Short-lived presigned URL to view or download the document side.

expiresIn
number
required

Number of seconds the presigned URL remains valid.