Skip to main content
POST
/
api
/
v1
/
auth
/
register
curl -X POST "https://api.bitcoinflash.xyz/api/v1/auth/register" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "John Doe",
    "email": "john@example.com",
    "password": "password123",
    "password_confirmation": "password123",
    "whatsapp": "+22997123456",
    "country": "BJ"
  }'
{
  "success": true,
  "message": "Inscription réussie; Prochaine étape: Vérification de votre email",
  "data": {
    "user": {
      "id": "a02c6d77-48fd-457d-810a-f895180a5be4",
      "name": "John Doe",
      "email": "john@example.com",
      "whatsapp": "+22997123456",
      "country": "BJ",
      "created_at": "2025-11-16T18:19:45.000000Z"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.bitcoinflash.xyz/llms.txt

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

Request Body

name
string
required
Full name of the user. Example: John Doe
email
string
required
Valid email address. Example: john@example.com
password
string
required
Password (minimum 8 characters).
password_confirmation
string
required
Must match the password field.
whatsapp
string
required
WhatsApp phone number in international format. Example: +22997123456
country
string
required
ISO 3166-1 alpha-2 country code. Example: BJ

Response

success
boolean
true on successful registration.
message
string
Confirmation message indicating next step (OTP verification).
data.user
object
The newly created user object.
curl -X POST "https://api.bitcoinflash.xyz/api/v1/auth/register" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "John Doe",
    "email": "john@example.com",
    "password": "password123",
    "password_confirmation": "password123",
    "whatsapp": "+22997123456",
    "country": "BJ"
  }'
{
  "success": true,
  "message": "Inscription réussie; Prochaine étape: Vérification de votre email",
  "data": {
    "user": {
      "id": "a02c6d77-48fd-457d-810a-f895180a5be4",
      "name": "John Doe",
      "email": "john@example.com",
      "whatsapp": "+22997123456",
      "country": "BJ",
      "created_at": "2025-11-16T18:19:45.000000Z"
    }
  }
}