Get My Files
Returns all files uploaded by the currently authenticated user. Returns an empty array if the user has no files.
Authorization
bearerAuth AuthorizationBearer <token>
User-scoped API key. Pass your key as a Bearer token:
Authorization: Bearer <your_api_key>
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://famous-mongoose-363.convex.site/getMyFiles"{
"data": [
{
"title": "Project Proposal",
"slug": "project-proposal",
"url": "https://cdn.example.com/files/proposal.pdf",
"contentType": "application/pdf",
"size": 1048576,
"group": {
"title": "Design Assets",
"slug": "design-assets"
},
"status": "published",
"isPinned": false,
"createdAt": 1705329000000,
"updatedAt": 1705415400000
}
]
}{
"error": "Missing Authorization header"
}{
"error": "Use a user API key, not the platform key"
}{
"error": "Rate limit exceeded"
}