Get recovery request status
GET
/api/v1/recovery/status/{request_id}
const url = 'http://localhost:3001/api/v1/recovery/status/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3001/api/v1/recovery/status/exampleCheck status and progress of a recovery request
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”request_id
required
string
Recovery request ID
Responses
Section titled “Responses”OK
Media typeapplication/json
object
message
string
request
object
approved_at
string
created_at
string
executed_at
string
expires_at
string
guardian_approvals_received
integer
guardian_approvals_required
integer
new_wallet_address
string
recovery_method
Social, backup_code
string
request_id
string
status
Pending, approved, executed, cancelled, expired, rejected
string
time_lock_until
string
user_address
string
success
boolean
Examplegenerated
{ "message": "example", "request": { "approved_at": "example", "created_at": "example", "executed_at": "example", "expires_at": "example", "guardian_approvals_received": 1, "guardian_approvals_required": 1, "new_wallet_address": "example", "recovery_method": "example", "request_id": "example", "status": "example", "time_lock_until": "example", "user_address": "example" }, "success": true}Not Found
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}Internal Server Error
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}