Creates S3 signed URLs for uploading or downloading entity files. Supports both business and admin authentication flows.
PERS-api docs (2.0.2)
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://docs.pers.ninja/_mock/swagger/
https://api.pers.ninja/v2/
File upload and management system for platform assets including campaign images, user avatars, and document attachments with secure storage and access control.
**File Operations:**
• **Secure Upload:** File upload with type validation and security scanning
• **Asset Management:** Organize and manage platform media assets
• **Access Control:** Role-based file access and sharing permissions
• **CDN Integration:** Fast global file delivery through content delivery networks
• **File Processing:** Automatic image resizing and format optimization
Bodyapplication/jsonrequired
The signed url type, GET or PUT. PUT is used for uploading files, GET is used for downloading files
Enum"GET""PUT"
- Mock server
https://docs.pers.ninja/_mock/swagger/files/entity-storage-url
https://api.pers.ninja/v2/files/entity-storage-url
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/files/entity-storage-url \
-H 'Content-Type: application/json' \
-d '{
"entityType": "token",
"entityId": "string",
"signedUrlType": "GET",
"fileExtension": "string",
"fileName": "string"
}'Response
application/json
{ "signedUrl": "string" }