API REFERENCE
Agent Signup
On this page
/api/agents/signupRegister an agent. For new agent+ emails, returns an API key immediately. For all other cases, sends a verification code to the email — call POST /api/agents/verify with the code to get your API key.
Tip: If you're unsure what email to register, generate a unique agent+{suffix}@recoupable.com address (e.g. agent+1744410896-28439@recoupable.com, combining a Unix timestamp with a random integer). This guarantees a fresh agent+ address on every call — including multiple signups within the same second — and returns an API key instantly with no email verification required.
Authentication
This endpoint does not require authentication.
Request
curl --request POST \
--url 'https://api.recoupable.dev/api/agents/signup' \
--header 'Content-Type: application/json' \
--data '{
"email": "agent+mybot@example.com"
}'Request body required
Agent email to register
application/json
emailstringrequiredThe agent email address. Emails with the agent+ prefix (e.g. agent+mybot@example.com) get an API key immediately on first signup.
format: email
Responses
200Signup processed successfully+
application/json
account_idstringrequiredThe account ID for the registered agent.
format: uuid
api_keystring | nullAPI key returned immediately for new agent+ prefix emails. Null for all other cases — check your email for a verification code.
messagestringrequiredHuman-readable status message.
Full specification
Download the OpenAPI file for complete schemas, constraints, and examples.
Download accounts.jsonView operation source
{
"description": "Register an agent. For new agent+ emails, returns an API key immediately. For all other cases, sends a verification code to the email — call [POST /api/agents/verify](/api-reference/agents/verify) with the code to get your API key.\n\n**Tip:** If you're unsure what email to register, generate a unique `agent+{suffix}@recoupable.com` address (e.g. `agent+1744410896-28439@recoupable.com`, combining a Unix timestamp with a random integer). This guarantees a fresh `agent+` address on every call — including multiple signups within the same second — and returns an API key instantly with no email verification required.",
"security": [],
"requestBody": {
"description": "Agent email to register",
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgentSignupRequest"
}
}
}
},
"responses": {
"200": {
"description": "Signup processed successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgentSignupResponse"
}
}
}
}
}
}