StartFactorRecovery
POST
/api/v1/platform/factor-recoveries
const url = 'https://example.com/api/v1/platform/factor-recoveries';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"example","proof":"VideoCall","note":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/platform/factor-recoveries \ --header 'Content-Type: application/json' \ --data '{ "email": "example", "proof": "VideoCall", "note": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string
proof
required
note
required
string
Responses
Section titled “ Responses ”Created
Media typeapplication/json
object
id
required
string format: uuid
userId
required
string format: uuid
email
required
null | string
proof
required
note
required
string
state
required
requestedBy
required
string format: uuid
requestedAt
required
string format: date-time
removeAfter
required
string format: date-time
closedBy
required
null | string format: uuid
closedAt
required
null | string format: date-time
Example
{ "proof": "VideoCall", "state": "Waiting"}Bad Request
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
errors
object
key
additional properties
Array<string>
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "errors": { "additionalProperty": [ "example" ] }}Forbidden
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
Conflict
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Too Many Requests
Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}