Skip to main content
POST
https://api-gw.verolabs.co/api/authen
/
self-service
/
recovery
Send or verify a recovery code
curl --request POST \
  --url https://api-gw.verolabs.co/api/authen/self-service/recovery \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com"
}
'
{
  "id": "<string>",
  "type": "<string>",
  "expires_at": "2023-11-07T05:31:56Z",
  "issued_at": "2023-11-07T05:31:56Z",
  "ui": {},
  "state": "<string>",
  "session_token": "<string>",
  "continue_with": [
    {}
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.oms.verolabs.co/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

flow
string
required

Ory flow id returned by the corresponding create flow endpoint.

Body

application/json
method
enum<string>
required
Available options:
code
email
string<email>
required

Response

Recovery flow updated. A passed challenge returns session_token or continue_with set_ory_session_token.

id
string
type
string
expires_at
string<date-time>
issued_at
string<date-time>
ui
object
state
string
session_token
string
continue_with
object[]