AI agents
Security and privacy
The connector is built so an agent can only do what you allowed, for the one agency you chose, and you can see and stop it at any time.
Who can connect what
- Owners only. Only an agency’s owner can approve an agent or create an access token for it.
- One agency per connection. An agent connected to one agency can never see another, even if you own several.
- Two levels. View only (
agency:read) or view and make changes (agency:write). Trep checks the level on every call, not just when you connect. - A fixed list of actions. Agents can use only the tools in the reference. Your sign-in, site address, domain, WhatsApp number, verification and Trep’s review are out of reach, whatever the agent asks.
- You confirm risky changes. Cancelling, deleting, archiving, closing and replacing lists are marked destructive, so apps like Claude ask you first.
Sign-in and tokens
| Sign in (OAuth) | Access token | |
|---|---|---|
| How you connect | Your AI app sends you to Trep; you approve | You create it in the dashboard |
| What the agent holds | 10-minute access + a refresh token | A trep_pat_ token |
| Lasts | Up to 90 days, renewed while used | 30 days, 90 days or 1 year |
| Stop it | Disconnect: within 10 minutes | Revoke: within 1 minute |
| Also stops when | You stop owning the agency | You stop owning the agency |
- Everything goes over HTTPS. Tokens are only accepted in the Authorization header.
- Trep stores only a fingerprint (hash) of access tokens and refresh tokens, never the tokens themselves: a token is shown once, when you create it.
- Apps that sign in use PKCE and an exactly registered return address, so a stolen sign-in link is useless. A refresh token that’s used twice ends that whole connection (it means it was copied).
- Each connection may make up to 120 calls a minute.
The activity log
Every call an agent makes is recorded for your agency: which app or token, which tool, what it touched and whether Trep allowed it. You see the latest under AI agents → Recent agent activity in the dashboard. Trep keeps the log to help you and to investigate problems.
Your travellers’ data
When an agent reads orders, customers or a batch’s traveller list, it sees travellers’ names, phone numbers, ages and genders. That data then goes to your AI app’s provider as part of the conversation.
- Connect only AI apps you trust with your travellers’ personal data, under their privacy terms.
- Prefer view only, and connect only what you need. Disconnect agents you no longer use.
- Under India’s DPDP Act 2023 you remain responsible for how your travellers’ data is used; Trep records each traveller’s consent at booking.
Report a problem
If you think an agent did something it shouldn’t have, revoke or disconnect it, then write to support@trep.io with the time and the agent’s name from your activity log. Report security issues to security@trep.io.