Skip to content
AgentMail
AgentMail

Attach Human

POST/v0/agent/human

Attach a human to an unverified agent organization. A 6-digit OTP is sent to the human's email, which you then submit to the verify endpoint. Use it after signing up without a human_email. Once the human is attached, the organization can send email to that human only, and verification lifts the remaining restrictions. For up to 5 minutes after attaching, sends to the human can still be rejected with a 429 daily send limit error while the API key's cached limits catch up. Wait and retry. Calling it again with the same human_email does not rotate the API key. It resends the OTP if it was never delivered, or issues a new one if it expired. While the current OTP is still valid, calling it again keeps that OTP and its attempt count. If all 10 attempts are used up, wait until the OTP expires, 24 hours after it was issued, then call it again for a new one. Calling it with a different human_email replaces the attached human and sends the new human an OTP. An organization can replace its human at most 2 times. Only available until the organization is verified. **CLI:** ``bash agentmail agent attach-human --human-email [email protected]