cURL
curl --request POST \ --url https://recoup-api.vercel.app/api/agents/verify \ --header 'Content-Type: application/json' \ --data ' { "email": "you@example.com", "code": "123456" } '
{ "account_id": "123e4567-e89b-12d3-a456-426614174000", "api_key": "recoup_sk_abc123...", "message": "Verified" }
Verify an agent’s email with the code sent during signup. Returns an API key on success.
Email and verification code
The email address used during signup.
"you@example.com"
The 6-digit verification code sent to the email.
6
^[0-9]{6}$
"123456"
Verification successful
The account ID for the verified agent.
"123e4567-e89b-12d3-a456-426614174000"
API key for the verified account.
"recoup_sk_abc123..."
Human-readable status message.
"Verified"
Was this page helpful?