Platform Management API
POST /v1/create-account Public

Create Account

Request Body Required

FieldTypeRequiredDescriptionExample
firstname string|null
max: 255
No John
lastname string|null
max: 255
No Doe
email string|null (email)
max: 255
No john@example.com
password string|null
max: 255
No MyPassword1!
accept_user_policy string
yes, no
Yes yes
title string|null
max: 255
No My Website
domain string|null No example.com
product string|null No website_builder
plan string|null No pro
period string|null
month, year
No month
wm_campaign string|null No SUMMER2026
theme_install integer|null No 42
gclid string|null
max: 255
No CjwKCAjw7pGFBhBiEiwA
skip_otp boolean|null No false
demo boolean|null No false

Responses

500
200
422
429
Internal server error
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data mixed[]
STANDARD OTP MODE (preserved for rollback) When skip_otp is false/not set, require OTP verification Token will be returned from VerifyEmailOtpController after verification
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data object
data.email string
data.session_id string
data.initial_page string
Validation error
FieldTypeDescription
message string Errors overview.
errors object A detailed description of each field that failed validation.
Too Many Requests — rate limit exceeded
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
Retry-After integer Seconds until the rate limit resets 60
FieldTypeDescription
error boolean
message string
Base URL
https://api.wemasy.nl/api
Authentication

Request Sample
cURL
JS
PHP
Python
curl -X POST "https://api.wemasy.nl/api/v1/create-account" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "firstname": "John",
    "lastname": "Doe",
    "email": "john@example.com",
    "password": "MyPassword1!",
    "accept_user_policy": "yes",
    "title": "My Website",
    "domain": "example.com",
    "product": "website_builder",
    "plan": "pro",
    "period": "month",
    "wm_campaign": "SUMMER2026",
    "theme_install": 42,
    "gclid": "CjwKCAjw7pGFBhBiEiwA",
    "skip_otp": false,
    "demo": false
}'
fetch('https://api.wemasy.nl/api/v1/create-account', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "firstname": "John",
    "lastname": "Doe",
    "email": "john@example.com",
    "password": "MyPassword1!",
    "accept_user_policy": "yes",
    "title": "My Website",
    "domain": "example.com",
    "product": "website_builder",
    "plan": "pro",
    "period": "month",
    "wm_campaign": "SUMMER2026",
    "theme_install": 42,
    "gclid": "CjwKCAjw7pGFBhBiEiwA",
    "skip_otp": false,
    "demo": false
})})
.then(r => r.json())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
    ->accept('application/json')
    ->post('https://api.wemasy.nl/api/v1/create-account', {
    "firstname": "John",
    "lastname": "Doe",
    "email": "john@example.com",
    "password": "MyPassword1!",
    "accept_user_policy": "yes",
    "title": "My Website",
    "domain": "example.com",
    "product": "website_builder",
    "plan": "pro",
    "period": "month",
    "wm_campaign": "SUMMER2026",
    "theme_install": 42,
    "gclid": "CjwKCAjw7pGFBhBiEiwA",
    "skip_otp": false,
    "demo": false
});
$data = $response->json();
import requests

headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
data = {
    "firstname": "John",
    "lastname": "Doe",
    "email": "john@example.com",
    "password": "MyPassword1!",
    "accept_user_policy": "yes",
    "title": "My Website",
    "domain": "example.com",
    "product": "website_builder",
    "plan": "pro",
    "period": "month",
    "wm_campaign": "SUMMER2026",
    "theme_install": 42,
    "gclid": "CjwKCAjw7pGFBhBiEiwA",
    "skip_otp": false,
    "demo": false
}
r = requests.post("https://api.wemasy.nl/api/v1/create-account", headers=headers, json=data)
print(r.json())
Response Example
{
    "error": false,
    "message": "string",
    "data": {
        "email": "string",
        "session_id": "string",
        "initial_page": "string"
    }
}

Try It
Request Body Required

Export