Skip to main content
POST
/
api
/
v1
/
auth
/
register
Register a new user
curl --request POST \
  --url https://api.paylora.org/api/v1/auth/register \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "test@email.com",
  "password": "qwerty123A!"
}
'
{
  "success": true,
  "data": {
    "user_uuid": "<string>",
    "email": "<string>",
    "telegram_id": "<string>",
    "tg_name": "<string>",
    "status": "<string>",
    "created_on": "2023-11-07T05:31:56Z",
    "role": "<string>",
    "wallet": "0xDeF456...",
    "signer_address": "0xDeF456..."
  }
}

Body

application/json
email
string
required
Example:

"test@email.com"

password
string
required
Example:

"qwerty123A!"

Response

Resource model

success
boolean
required

Indicates if the request was successful

Example:

true

data
object
required

The data returned by the API