Skip to main content
POST
/
api
/
authentication
/
registration
curl -X POST 'https://crypto-api.yativo.com/api/authentication/registration' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "user@example.com",
    "password": "securepassword123",
    "username": "cryptouser",
    "first_name": "Jane",
    "last_name": "Doe"
  }'
{
  "status": "success",
  "message": "Registration successful",
  "data": {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "user": {
      "id": "usr_01HX9KZMB3F7VNQP8R2WDGT4E5",
      "email": "user@example.com",
      "username": "cryptouser",
      "first_name": "Jane",
      "last_name": "Doe",
      "created_at": "2026-03-26T12:00:00Z"
    }
  }
}
email
string
required
The user’s email address. Must be unique.
password
string
required
The user’s password. Must be at least 8 characters.
username
string
Optional display username.
first_name
string
The user’s first name.
last_name
string
The user’s last name.
curl -X POST 'https://crypto-api.yativo.com/api/authentication/registration' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "user@example.com",
    "password": "securepassword123",
    "username": "cryptouser",
    "first_name": "Jane",
    "last_name": "Doe"
  }'
{
  "status": "success",
  "message": "Registration successful",
  "data": {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "user": {
      "id": "usr_01HX9KZMB3F7VNQP8R2WDGT4E5",
      "email": "user@example.com",
      "username": "cryptouser",
      "first_name": "Jane",
      "last_name": "Doe",
      "created_at": "2026-03-26T12:00:00Z"
    }
  }
}