Skip to main content
POST
/
api
/
agents
/
verify
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"
}

Body

application/json

Email and verification code

email
string<email>
required

The email address used during signup.

Example:

"you@example.com"

code
string
required

The 6-digit verification code sent to the email.

Required string length: 6
Pattern: ^[0-9]{6}$
Example:

"123456"

Response

Verification successful

account_id
string<uuid>
required

The account ID for the verified agent.

Example:

"123e4567-e89b-12d3-a456-426614174000"

api_key
string
required

API key for the verified account.

Example:

"recoup_sk_abc123..."

message
string
required

Human-readable status message.

Example:

"Verified"