Skip to main content
GET
/
v1
/
documents
/
{id}
/
download
Get a download URL
curl --request GET \
  --url https://api.antonpayments.com/v1/documents/{id}/download \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>",
  "expires_at": "2026-04-15T14:30:00Z"
}

Authorizations

Authorization
string
header
required

API keys are opaque strings prefixed by environment:

  • ak_live_* — production keys, accepted only on api.antonpayments.com.
  • ak_test_* — sandbox keys, accepted only on api.antonpayments.dev.

Include your key in the Authorization header: Bearer ak_test_....

Path Parameters

id
string
required
Pattern: ^doc_[a-zA-Z0-9]+$

Response

Pre-signed download URL.

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

RFC 3339 / ISO 8601 timestamp in UTC.

Example:

"2026-04-15T14:30:00Z"