Circle V2 API Docs
    Preparing search index...

    Type Alias CreateSignedUrlFromFileUrlOptions

    type CreateSignedUrlFromFileUrlOptions = {
        accessToken?: string;
        apiKey: string;
        supabaseUrl: string;
    }
    Index

    Properties

    accessToken?: string

    Optional end-user access token. When present, the request is authenticated as that user (so RLS policies apply). Omit for service-role flows.

    apiKey: string

    Supabase API key to use.

    • Server-side (webhooks, background jobs): pass the service role key to sign URLs for any user's files without a user context.
    • Client-side: pass the anon key plus an accessToken so the signed URL is scoped to the authenticated user's row-level security.
    supabaseUrl: string

    Supabase project URL, e.g. https://abc123.supabase.co