Skip to main content
POST
/
s3
/
view-url
Generate a pre-signed S3 view URL
curl --request POST \
  --url https://api.pcxpay.com/v1/s3/view-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fileKey": "<string>"
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

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

Body

application/json
fileKey
string
required

Response

View URL generated

status
string
Example:

"success"

message
string
data
object