Skip to main content
POST
https://api-gw.verolabs.co/api/authen
/
self-service
/
registration
Submit registration data to a registration flow
curl --request POST \
  --url https://api-gw.verolabs.co/api/authen/self-service/registration \
  --header 'Content-Type: application/json' \
  --data '
{
  "traits": {
    "email": "jsmith@example.com",
    "name": {
      "first": "<string>",
      "last": "<string>"
    },
    "documentNumber": "<string>",
    "phone": "<string>",
    "refer_code": "<string>",
    "address": "<string>"
  },
  "password": "<string>",
  "csrf_token": "<string>"
}
'
{
  "id": "<string>",
  "type": "<string>",
  "expires_at": "2023-11-07T05:31:56Z",
  "issued_at": "2023-11-07T05:31:56Z",
  "ui": {},
  "state": "<string>"
}

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:
password
traits
object
required
password
string<password>
required

Mobile app generates a secure random password.

csrf_token
string

Response

Registration flow accepted.

id
string
type
string
expires_at
string<date-time>
issued_at
string<date-time>
ui
object
state
string