Skip to main content
POST
/
user
/
download
/
csv
Download User Data
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/user/download/csv \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "userIds": [
    "1659b4bf-99a9-4d56-af27-de399435c4ee",
    "09de2d9b-a9eb-4b98-a15a-3b7f59f6161f",
    "34902c71-f733-4cce-a541-06e2cced0807"
  ]
}'
{}
/user/download/csv Description:
The /user/download/csv endpoint allows users to download their data in CSV format.
Method:
POST
Request Payload:
ParameterTypeDescription
userIdsarrayAn array of user IDs to download data for.

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Request Body

Request Schema

FieldTypeRequiredDescription
userIdsarrayAn array of user IDs to download data for

Responses

✅ 200 - Success

⚠️ 401 - Unauthorized

⚠️ 404 - Not Found

❌ 500 - Internal Server Error

Tags

User

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
userIds
string[]
required

An array of user IDs to download data for

Response

Success

The response is of type object.

I