Circle V2 API Docs
    Preparing search index...

    Type Alias CreateFormParams

    type CreateFormParams = {
        createdBy: UserId;
        fileName: string;
        fileUrl: string;
        orgId: EntityId;
    }
    Index

    Properties

    createdBy: UserId

    Always the acting user — forms_insert_owner requires created_by = auth.uid().

    fileName: string
    fileUrl: string

    Storage URL of the uploaded blank PDF; the caller owns key-prefix enforcement.

    orgId: EntityId

    Stamped so the org's editors can edit the template — forms_share_org_consistency rejects share_with_org while org_id IS NULL.