Skip to content

programs.getBySlug

Type: query Module: convex/programs.ts

{ orgId: string, slug: string }

Look up a program by its URL slug within an organization. Falls back to raw Convex ID lookup for backwards compatibility with old URLs. @param orgId - Organization ID @param slug - URL-friendly program slug or raw Convex ID