Skip to contents

Look up an artist's application by ID to check status, review details, or prepare for status updates. Use this to fetch application data before making status decisions or displaying artist information in admin dashboards.

Usage

get_waitlist_entry(waitlist_id, cn = NULL)

Arguments

waitlist_id

Character string. UUID of the waiting list entry (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). Obtained from create_waitlist_entry() return value or from get_pending_waitlist() results.

cn

DBI connection object or NULL. Database connection from artcore::dbc("artsite"). If NULL (default), creates and closes connection automatically. Pass existing connection for batch lookups.

Value

Data frame with single row containing all waitlist entry fields: id, email, full_name, phone, specialties, url_instagram, url_portfolio, url_nft, message, status, source, created_at, updated_at, invited_at, converted_to_user_id. Throws error if entry not found.

Examples

if (FALSE) { # \dontrun{
# Look up an entry by ID
entry <- get_waitlist_entry("550e8400-e29b-41d4-a716-446655440000")
print(entry$status)
print(entry$full_name)
} # }