Returns temporary AWS credentials, with the bucket, region and API version, for uploading the caller's data to S3. The organization named by orgId or organization in the body or query, or by the organization header, must have an active, paid plan; otherwise 403. Requires membership of the organization in the organization header (403 otherwise).
POST
/aws/s3-user-data-upload-credentials
curl \
--request POST 'http://api.example.com/aws/s3-user-data-upload-credentials' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"accessKeyId": "example-access-key-id",
"secretAccessKey": "example-secret-access-key",
"sessionToken": "example-session-token",
"region": "us-east-1",
"bucket": "acme-user-data",
"apiVersion": "2006-03-01",
"expiration": "2026-01-15T11:15:00.000Z"
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}