Sign up from an agent
Asks for an outbound.dev API key for a person, from an agent that has none yet: with a new account, or for the account the address already has. No key is needed for this call. We email the person a link to approve the request. It works for 30 minutes, and nothing is created until they approve. Show the person the matchCode. For a new account, the email and the approval page show the same code, and they should approve only if it matches. Then call POST /v1/agent-sign-ups/poll with the pollToken, every pollIntervalSeconds, until it answers approved with the API key.
The answer never says whether an address has an account. When it has one, the person signs in to it, types the matchCode you show them, and picks the organization the key is for. A newer request for the same address replaces one still waiting. An address that cannot receive mail, or whose mailbox does not seem to exist, is refused with 422 email_undeliverable; if it is right, the person signs up in the console instead. Free. An address gets at most 10 of our emails a day, and so does an inbox, its +tag addresses included. One IP address may have 20 requests a day refused, and a request still being checked counts toward them; past that, this call answers 429 until the next UTC midnight. Start and poll together allow 600 calls a minute from one IP address. While agent sign-up is paused, this call answers 503.
Body
What to call the agent in the approval email and on the page the person approves on: up to 40 letters, digits, spaces, hyphens and underscores, and a dot between two digits (Claude 3.5). The new key is named after it.
1 - 40^(?:[A-Za-z0-9 _-]|(?<=\d)\.(?=\d))+$"Claude Code"
Response
The approval email is on its way. Poll with the pollToken until the person approves.