# Generate signed URL for entity storage

Creates S3 signed URLs for uploading or downloading entity files. Supports both business and admin authentication flows.

Endpoint: POST /files/entity-storage-url
Version: 2.0.53
Security: authJWT, projectKey

## Request fields (application/json):

  - `entityType` (string, required)
    The entity type
    Enum: "token", "campaign", "redemption", "business", "tenant", "user"

  - `entityId` (string, required)
    The entity id

  - `signedUrlType` (string, required)
    The signed url type, GET or PUT. PUT is used for uploading files, GET is used for downloading files
    Enum: "GET", "PUT"

  - `fileExtension` (string, required)
    The file extension

  - `fileName` (string)
    The file name

## Response 201 fields (application/json):

  - `signedUrl` (string, required)
    The signed url

