# Ticket import and export

Move your tickets from another system with all their history, free and with nothing sent to customers.

## Overview

The owner and admins move tickets in from another help desk, a CSV or a call log with all their history, free and never sent to customers: imported tickets never route, notify, answer with AI, send or bill. Structure comes first: spaces, members, connected channels, tags and classification options are made in Rabt beforehand; each source value maps to the existing target the person approves, then members, contacts and companies are imported, then the tickets. A sample batch is reviewed and withdrawn if the mapping needs work. To leave Rabt, whole tickets are read from the API by their last update.

## Do it in the app

1. Prepare spaces, members, channels and tags in Rabt before importing.
2. Start a new import and choose the source of the tickets.
3. Review how each value maps to its target and approve it.
4. Import a sample batch, review it, then complete the import.

## Or let your agent do it

```text
Follow the Rabt ticket migration playbook: read the import options first, show me the mapping of values, then import a sample batch only.
```

**MCP tools:** `get_ticket_import_options`, `list_ticket_imports`, `start_ticket_import`, `import_tickets`, `withdraw_ticket_import`

Or through REST:

```bash
curl https://api.rabt.systems/v1/ticket-imports/options \
  -H "Authorization: Bearer rbk_test_…"
```

> **Recommendation:** Always start with a sample batch and review it in the app. A full batch is never withdrawn.

> **Limits:** An import never creates a tag, a classification option or a channel; with no connected channel, as in the test space, no ticket is imported. A full batch is never withdrawn, and a completed or withdrawn batch takes no tickets. Imported agents stay inactive with no seat fee until invited; an invitation makes a paid seat.
