| name | there-there |
| description | Manage There There helpdesk tickets, contacts, and channels using the there-there CLI. Use when the user wants to list, view, reply to, search, or manage tickets; assign team members; manage tags; view contacts; or interact with there-there.app from the command line. |
| license | MIT |
| metadata | {"author":"spatie","version":"0.0.1"} |
There There CLI
The there-there CLI lets you manage There There helpdesk tickets from the terminal. Every There There API endpoint has a corresponding command.
Prerequisites
Check that the CLI is installed:
there-there --version
If not installed:
composer global require spatie/there-there-cli
Ensure Composer's global bin directory is in PATH:
composer global config bin-dir --absolute
Authentication
there-there login
there-there logout
Get your API token from your workspace settings at https://there-there.app/settings/api-tokens.
If any command returns a 401 error, the token is invalid or expired. Run there-there login again.
Quick command reference
All commands output JSON. See references/commands.md for full parameter details.
User & workspace
there-there get-me
Tickets
there-there list-tickets
there-there list-tickets --filter-status=open
there-there list-tickets --filter-channel-ids=1 --filter-tag-ids=1,2
there-there list-tickets --filter-assigned-to-me=true
there-there list-tickets --sort=-updated_at
there-there show-ticket --ticket=01HX9F3K2M...
there-there list-tickets --q="how do I get a refund"
there-there list-tickets --filter-search="refund"
there-there list-tickets --filter-assigned-user-id=5
there-there list-tickets --filter-created-after=2026-01-01 --filter-created-before=2026-02-01
there-there list-tickets --q="billing issue" --filter-status=open --filter-created-after=2026-01-01
Ticket actions
there-there update-ticket-status --ticket=ULID --field status=closed
there-there update-ticket-assignee --ticket=ULID --field assignee_id=5
there-there update-ticket-assignee --ticket=ULID --field assignee_id=null
there-there update-ticket-team --ticket=ULID --field team_id=3
there-there add-tag-to-ticket --ticket=ULID --tag=TAG_ULID
there-there remove-tag-from-ticket --ticket=ULID --tag=TAG_ULID
Messages
there-there reply-to-ticket --ticket=ULID --field body="<p>Thanks for reaching out!</p>"
there-there forward-ticket --ticket=ULID --field body="<p>FYI</p>" --field to_recipients='["someone@example.com"]'
there-there add-note-to-ticket --ticket=ULID --field body="<p>Internal note here</p>"
Activities
there-there list-ticket-activities --ticket=ULID
Tags, channels, members, contacts
there-there list-tags
there-there list-channels
there-there list-members
there-there list-contacts --filter-search=john
there-there show-contact --contact=ULID
Pagination
All list commands support pagination:
there-there list-tickets --page=2 --per-page=10
Common workflows
Ticket triage
List open tickets, review them, and take action. See references/workflows.md for the full triage workflow.
Quick version:
there-there list-tickets --filter-status=open --sort=-updated_at
there-there show-ticket --ticket=ULID
there-there reply-to-ticket --ticket=ULID --field body="<p>Your reply here</p>"
there-there update-ticket-status --ticket=ULID --field status=closed
Searching tickets
The list-tickets command supports two types of search plus date and assignee filters:
--q (semantic search): Uses AI embeddings to find tickets by meaning, not just keywords. Matches across subjects, summaries, and message content. Results are ordered by relevance. Requires AI to be enabled for the workspace (returns 422 if not). Can be combined with all other filters.
--filter-search (full-text search): Keyword search across ticket subjects, messages, and contact info. Faster than semantic search, good for finding exact terms or email addresses.
--filter-assigned-user-id: Filter by a specific user ID (use list-members to find IDs). Different from --filter-assigned-to-me which uses the authenticated user.
--filter-created-after: Only return tickets created on or after this date. ISO 8601 format (e.g. 2026-01-01).
--filter-created-before: Only return tickets created on or before this date. ISO 8601 format (e.g. 2026-03-01).
All filters can be combined. When --q is used without an explicit --sort, results are ordered by relevance. When --q is used with --sort, the explicit sort takes precedence.
there-there list-tickets --q="how do I get a refund"
there-there list-tickets --filter-search="invoice"
there-there list-tickets --q="billing issue" --filter-status=open --filter-created-after=2026-01-01
there-there list-tickets --filter-assigned-user-id=5 --filter-created-after=2026-01-01 --filter-created-before=2026-02-01
Bulk operations
there-there list-tickets --filter-unassigned=true
there-there update-ticket-assignee --ticket=ULID --field assignee_id=5
Output format
All commands return JSON. When presenting results to the user:
- Tickets: Show as a table with columns: subject, status, channel, assignee, tags, last message preview, updated at.
- Messages: Show sender, type (inbound/outbound/note), body preview, attachments count, timestamp.
- Contacts: Show name, email, ticket count, last activity.
- Activities: Show type, user, description, timestamp.