curl --request POST \
--url https://mcp.echozero.app/api/auth/lookup \
--header 'Content-Type: application/json' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"email": "alice@example.com",
"recaptcha": "recaptcha_token_here",
"fingerprint": "fp_browser_abc123"
}
'{
"success": true,
"data": {
"status": "success",
"userId": "<string>",
"email": "<string>",
"nextRequestAt": 123,
"mfaRequired": true,
"errorMessage": "<string>",
"unlocksAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Auth
Request an email verification code (login or signup)
Unified login + registration lookup. If the email is already registered, an email login code is sent. Otherwise the optional signup fields are consumed and a registration code is sent.
POST
/
api
/
auth
/
lookup
curl --request POST \
--url https://mcp.echozero.app/api/auth/lookup \
--header 'Content-Type: application/json' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"email": "alice@example.com",
"recaptcha": "recaptcha_token_here",
"fingerprint": "fp_browser_abc123"
}
'{
"success": true,
"data": {
"status": "success",
"userId": "<string>",
"email": "<string>",
"nextRequestAt": 123,
"mfaRequired": true,
"errorMessage": "<string>",
"unlocksAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Headers
Body
application/json
OpenAPI schema McpRequestAuthLookupBodyDto. Mirrors GraphQL RequestAuthLookupInput.