API Reference
Explanation of the API.
Echo
Endpoint
GET https://auth-base-sepolia-staging.prove.email/api/echo
Request
Response
(Example){
"response": "Hello, world!"
}
Request Status
Endpoint
POST https://relayer.zk.email/api/requestStatus
Request
Edit Request
Response
(Example){
"request_id": 12345,
"status": 1,
"is_success": false,
"email_nullifier": "0x1234...",
"account_salt": "0xabcd..."
}
Acceptance Request
Endpoint
POST https://relayer.zk.email/api/acceptanceRequest
Request
Edit Request
Response
(Example){
"request_id": 12345,
"status": 1,
"is_success": false,
"email_nullifier": "0x1234...",
"account_salt": "0xabcd..."
}
Recovery Request
Endpoint
POST https://relayer.zk.email/api/recoveryRequest
Request
Edit Request
Response
(Example){
"request_id": "fecfac34-3333-4cd3-bdaa-1b349aea0699",
"subject_params": {"account_eth_addr":"0x..."},
"status": "success"
}
Recovery Request
Endpoint
POST https://relayer.zk.email/api/recoveryRequest
Request
Edit Request
Response
(Example){
"request_id": "fecfac34-3333-4cd3-bdaa-1b349aea0699",
"subject_params": {"account_eth_addr":"0x..."},
"status": "success"
}
Complete Recovery Request
Endpoint
POST https://relayer.zk.email/api/recoveryRequest
Request
Edit Request
Response
(Example){
"status": "success",
"message": "Recovery completed successfully."
}