Guides › Agents
Agents and API keys
Your AI agent can list domains, set their prices and answer offers for you. It asks for your approval first, and you choose what it can do.
Give it to your agent
Paste this line into your agent. You'll find it with a Copy button in Listings and in Settings, under Agents.
Help me sell my domains with Ported.io. Start here: https://app.ported.io/agents
The agent reads what Ported.io is and asks for access. If it knows your email, we email you to approve it, like "Approve Codex on dana-mbp for Ported.io". Otherwise it gives you a link. The request lasts an hour.
Approve it
The approval page shows the agent's name, where the request came from, and what it asked for:
| Permission | What it lets the agent do |
|---|---|
| See everything | See your listings, offers, sales and leases. Always included. |
| List domains | List domains, change their price, pause or remove them. |
| Answer offers | Accept, counter or decline offers. Accepting one starts a sale. |
Untick anything you'd rather keep for yourself. Choose when its key expires under Expires, or leave it at Never expires. Then press Approve, or Deny if you didn't ask for it.
If you have no Ported.io account yet, approving creates one.
What stays with you
An agent can't do these. They happen only in the app:
- setting up payouts at Stripe,
- handing a sold or leased domain over, since only you push it or give its transfer code,
- paying a charge Stripe couldn't collect,
- agreeing to any terms, and
- approving agents and making or revoking keys.
When an agent needs one of these, it tells you what to do and links to the page.
Your own keys
For a script you run yourself, open Settings, Your keys, and use Make a key. Name it, tick what it can do, choose when it expires and press Make key. Copy the key at once. We show it only once.
Expiry and revoking
A key works until the end of the day you chose, US Eastern time, or forever if you chose none. We email you 7 days before a key expires. To keep an agent working, approve a new request from it.
To stop a key at once, open Settings and press Revoke beside it. Your listings and offers stay as they are.
For developers
The API Reference has every endpoint, field and error. Start with Give it to your agent and Agent access.