For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Custody URLs

Service to obtain pre-signed URLs for uploading and downloading a document.

The upload URL is valid for 5 minutes, while the download URL is valid for 5 years.

Endpoint

GET /services/custody/upload

Headers

Name
Type
Required
Description

x-api-key

string

Yes

Access authorization API key.

Responses

200 Success

Response parameters

Parameter
Type
Description

uploadUrl

string

Pre-signed URL to upload the document. Valid for 5 minutes.

downloadUrl

string

Pre-signed URL to download the document. Valid for 5 years. If lost, it will not be possible to recover the file.

Response example

{
  "uploadUrl": "https://storage.example.com/upload?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "downloadUrl": "https://api.identity-platform.io/custody/download?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}

400 Bad Request

401 Unauthorized

403 Forbidden

502 Bad Gateway

504 Gateway Timeout

Last updated