Customer Portal
Overview
Section titled “Overview”The Customer Portal is where requesters (customers) view and interact with their support tickets. It provides a simplified, customer-friendly interface compared to the agent desk.
Access: /portal/tickets (after signing in with magic link)
Permissions: Requester role only
Portal Features
Section titled “Portal Features”What Customers Can Do
Section titled “What Customers Can Do”View tickets:
- See tickets based on visibility settings (own tickets or all organization tickets)
- View ticket reference, subject, status, and creation date
- Read all public messages (no internal notes)
- See attachments agents shared
Reply to tickets:
- Reply to open tickets via web form (if
can_comment = true) - Add plain text replies (no rich formatting)
- Attach up to 5 files (10 MB each)
Submit new tickets:
- Create new tickets via web form (if
can_create_tickets = true) - Enter subject and description
- Attach files
Sign in:
- Request magic link via email
- No passwords required
- 20-minute link validity
What Customers Cannot Do
Section titled “What Customers Cannot Do”- View internal notes
- View spam tickets
- Change ticket status, priority, or assignment
- Add tags or groups
- See other customers’ tickets (unless visibility = ‘organization’)
- Access admin or agent areas
- Reply to archived tickets in the portal (an email reply creates a follow-up ticket instead, while email ticket creation is on)
Portal Pages
Section titled “Portal Pages”Sign-In Page (/login)
Section titled “Sign-In Page (/login)”Layout:
- CSDesk logo and title
- Email address input field
- Email me a sign-in link button
- Cooldown timer (after requesting link)
Process:
- Customer enters email address
- Clicks Email me a sign-in link
- Receives magic link email (20-minute validity)
- Clicks link in email → “Signing you in…” page, which signs in automatically
- If nothing happens, clicks Continue to CSDESK (or “Continue to {brand} support”) → authenticated, redirected to portal
Rate limiting:
- Cooldown between requests (120 seconds server-side)
- Max 6 links per email per hour
- Newest link invalidates previous unused links
Learn more about magic links →
Ticket List Page (/portal/tickets)
Section titled “Ticket List Page (/portal/tickets)”Layout:
- Header: CSDesk logo, “Tickets” title, sign-out link
- Create Ticket button (if
can_create_tickets = true) - Ticket table:
- Reference (CSD-1234)
- Subject
- Status (custom label or default)
- Created date
Sorting:
- Most recent first by default
- Click column headers to sort
Visibility:
- Own tickets only (default): Only tickets where the customer is the requester. For a reverse ticket, that’s the person it was sent to as To
- All organization tickets: All tickets in the customer’s organization
Filters:
- Status filter available
- Search available
Ticket Detail Page (/portal/tickets/{id})
Section titled “Ticket Detail Page (/portal/tickets/{id})”Layout:
- Header: Ticket reference and subject
- Left: Message timeline (public messages only)
- Right: Sidebar with metadata
Timeline:
- Customer messages (their own)
- Agent replies (public only)
- Attachments (download links)
- Timestamps
Sidebar shows:
- Reference
- “Follow-up of” / “Follow-ups” links (if the ticket is linked to other tickets)
- Organization name
- Opened by
- Created date
- Custom fields marked “Show on portal”
- Handled by
The status is shown with its customer label (if configured).
Reply form (at bottom, if can_comment = true and ticket not archived):
- Plain text textarea (no rich formatting)
- File attachment button (max 5 files, 10 MB each)
- Send reply button
If archived:
- No reply form
- “This ticket is archived and cannot be reopened.” plus, if allowed, a hint to create a new ticket
If can_comment = false:
- No reply form
- “Your account cannot add replies to tickets. Contact your administrator if you need to add information.”
New Ticket Page (/portal/tickets/new)
Section titled “New Ticket Page (/portal/tickets/new)”Layout:
- Header: “Create a new ticket”
- Form fields:
- Subject (text input, required, max 250 characters)
- Description (textarea, required, plain text)
- Attachments (optional, max 5 files, 10 MB each)
- Create ticket button
Validation:
- Subject and description required
- File types:
pdf,png,jpg,jpeg,gif,webp,txt,log,csv,xlsx,docx,zip,eml,msg - Max 5 files, 10 MB per file
Process:
- Customer fills form
- Clicks Create ticket
- Ticket created with status = New, channel = web
- Redirected to ticket detail page
- Confirmation message shown
If can_create_tickets = false:
- Button not shown on ticket list
- Accessing
/portal/tickets/newshows error message
Customer Status Labels
Section titled “Customer Status Labels”Admins can customize the status names shown to customers (Settings → Tickets & workflow → Workflow → Customer status labels).
Default labels:
- New → “New”
- Open → “Open”
- Pending → “Pending”
- Waiting on Customer → “Waiting on customer”
- Customer Responded → “Customer responded”
- Resolved → “Resolved”
- Archived → “Archived”
- Spam → (hidden from customers)
Agents always see standard labels, but customers see custom labels (if configured).
Learn more about workflow settings →
Visibility Settings
Section titled “Visibility Settings”Own Tickets (Default)
Section titled “Own Tickets (Default)”Setting: “Own tickets only”
Behavior:
- Customer sees only tickets where they are the requester
- This includes reverse tickets that were sent to them as To: the To recipient is the requester
- Most restrictive (default for security)
- Suitable for individual accounts
Organization Tickets
Section titled “Organization Tickets”Setting: “All organization tickets”
Behavior:
- Customer sees all tickets in their organization
- Useful for team accounts
- Set by admin or agent on user’s profile
Example:
- Acme Corp has 5 requesters
- All set to “All organization tickets”
- Each can see all 5 users’ tickets
Spam Tickets
Section titled “Spam Tickets”Always hidden:
- Spam tickets never shown in portal
- Regardless of visibility setting
- Only agents see spam tickets
Reverse Tickets
Section titled “Reverse Tickets”Visibility:
- Hidden until first public message sent successfully
- After first message, behaves like normal ticket
- The To recipient is the requester and sees the ticket, also with “Own tickets only”
- Other customers with “Own tickets only”, including CC recipients, don’t see it in the portal (they still receive the emails)
- Customers with “All organization tickets” see it like any other ticket of their organization
- “Reverse ticket” tag not shown to customer
File Attachments
Section titled “File Attachments”Uploading Attachments
Section titled “Uploading Attachments”When creating tickets:
- Max 5 files
- Max 10 MB per file
- Types:
pdf,png,jpg,jpeg,gif,webp,txt,log,csv,xlsx,docx,zip,eml,msg
When replying:
- Max 5 files
- Max 10 MB per file
- Same allowed types
Requesters can upload the listed file types. Agent attachments don’t include WebP or ZIP.
Downloading Attachments
Section titled “Downloading Attachments”Customers can:
- Click attachment links to download
- View inline images (if agent embedded them)
- Download files agents attached to replies
Sign-Out
Section titled “Sign-Out”Sign-out button:
- Located in header (top right)
- Clears session
- Redirects to sign-in page
Auto sign-out:
- After 2 hours of inactivity (default)
Portal Branding (Incomplete)
Section titled “Portal Branding (Incomplete)”Current state:
- Basic CSDesk branding
- Branding settings exist in Admin panel but not fully wired
- Logo, colors, and support email customization not active
Future: Admins may be able to customize portal appearance (logo, primary color, company name).
Security
Section titled “Security”No Password Storage
Section titled “No Password Storage”- Portal uses magic links only
- No passwords to remember or reset
- Links expire after 20 minutes
- Single-use links (consumed on sign-in)
Email Verification
Section titled “Email Verification”- Magic link sent to email address on file
- Link confirms email ownership
- Requester must have access to their email
Session Security
Section titled “Session Security”SESSION_SECURE_COOKIE=truein production (HTTPS only)- Sessions stored server-side (database)
- Logout clears session immediately
Requester Restrictions
Section titled “Requester Restrictions”- Cannot access
/desk/*or/admin/*routes - Cannot view other organizations (unless visibility = ‘organization’)
- Cannot see internal notes or spam tickets
- Cannot sign in if in “Unmatched senders” holding organization
Troubleshooting
Section titled “Troubleshooting”Customer can’t sign in
Section titled “Customer can’t sign in”Check:
- Is
is_active = trueon user account? - Is user in “Unmatched senders” organization? (cannot sign in)
- Did magic link expire? (20 minutes)
- Was link already used? (single-use)
- Check spam folder for magic link email
Solution: Resend magic link or contact admin.
Can’t create tickets
Section titled “Can’t create tickets”Check:
- Is
can_create_tickets = true? - Is user
is_active = true? - Does user have an organization assigned?
Solution: Admin must update user permissions.
Can’t reply to tickets
Section titled “Can’t reply to tickets”Check:
- Is
can_comment = true? - Is ticket archived?
- Is user
is_active = true?
Solution: Admin must update permissions, or ticket is archived (create new ticket instead).
Not seeing all organization tickets
Section titled “Not seeing all organization tickets”Check:
- Is
ticket_visibility = 'organization'? - Are tickets in the same organization?
Solution: Admin must change visibility setting.
File upload failing
Section titled “File upload failing”Check:
- Is file < 10 MB?
- Is file type allowed?
- Are you uploading > 5 files?
Solution: Reduce file size, use allowed types, or remove some files.
Related Topics
Section titled “Related Topics”- Signing In - Magic link authentication
- Submitting Tickets - How to create tickets
- Emails Customers Receive - Notification emails
- Workflow Settings - Configure customer status labels