Base URL
Authentication
Upload endpoints may require authentication depending on your configuration. Check with your system administrator for specific requirements.File Requirements
- Format: PDF only
- Size Limit: 10 MB maximum
- Content-Type:
multipart/form-data
Supported Document Types
The following document types (folders) are supported:soat- Vehicle insurance (SOAT) documentsrtm- Technical-mechanical inspection (RTM) documentspolizas- Policy documentstarjeta_propiedad- Vehicle ownership card
Storage Structure
Files are stored in Supabase Storage using the following structure:File Naming Convention
Uploaded files are automatically named using the pattern:placa- Vehicle license plate (sanitized, alphanumeric and hyphens only)year- Current year (4 digits)
Error Responses
Error message describing what went wrong
Common Error Codes
400- Bad Request (missing file, invalid parameters, or invalid file type)500- Internal Server Error (upload or deletion failed)