# Get a pre-signed upload URL for a media attachment

Returns a pre-signed URL a consuming application can use to upload a media attachment file, along with the URL where the uploaded file can subsequently be viewed.

Endpoint: GET /v2/ugc/uploads/{filename}
Version: 2026-09-09
Security: oauth2_as_a_user

## Path parameters:

  - `filename` (string, required)
    The name of the file to be uploaded.

## Response 200 fields (application/json):

  - `upload_url` (string)
    The pre-signed URL to which the file should be uploaded.

  - `view_url` (string)
    The URL where the uploaded file can be viewed once processed.

