GET
/
core
/
files
/
{fileId}
curl --request GET \
  --url https://api.enterprise.sandbox.uphold.com/core/files/{fileId} \
  --header 'Authorization: Bearer <token>'
{
  "file": {
    "id": "38cce774-b225-41ed-a9fd-f9c9777a13de",
    "status": "uploaded",
    "category": "image",
    "contentType": "image/png",
    "download": {
      "url": "https://example.com/download",
      "expiresAt": "2024-03-13T20:20:39Z"
    }
  }
}

Note that the returned download URL is a signed URL that is only valid for a limited time, noted by the download.expiresAt field.

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication.

Path Parameters

fileId
string
required

The file id.

Response

200
application/json
File retrieved.
file
object
required