/services/platforms/v1/projects/create
Auth
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
title |
string
max: 255 |
Yes | My New Project |
|
domain |
string|null
max: 191 |
No | example.com |
|
description |
string|null | No | A portfolio website for my design agency |
|
website_type |
string|null
local_service, webshop, restaurant, portfolio, booking, blog, other |
No | webshop |
|
website_description |
string|null | No | A modern bakery in Amsterdam selling vegan croissants |
|
user_role |
string|null
owner, marketeer, agency, student, nonprofit, other |
No | owner |
|
user_role_other |
string|null
max: 255 |
No | Volunteer coordinator at a community sports club |
|
company_size |
string|null
solo, 2_10, 11_50, 51_200, 200_plus |
No | 2_10 |
|
timezone |
string|null | No | Europe/Amsterdam |
|
language |
string|null
en, nl |
No | en |
|
product |
string|null | No | website_builder |
|
plan |
string|null | No | pro |
|
period |
string|null
year, month |
No | year |
|
trial |
boolean|null | No | true |
|
ai_profile |
object | No | Optional AI company profile seeded on project creation. Each sub-block is stored as a JSON-encoded meta row (ai_profile_identity / _people / _offering / _style). All fields are optional; missing blocks are simply not seeded. |
| Header | Type | Description | Example |
|---|---|---|---|
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 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Header | Type | Description | Example |
|---|---|---|---|
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 |
| Field | Type | Description |
|---|---|---|
message |
string | |
error |
boolean | |
data |
object | |
data.project |
mixed | |
data.requires_payment |
boolean | |
data.is_trial |
boolean | |
data.product |
string |
| Header | Type | Description | Example |
|---|---|---|---|
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 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Header | Type | Description | Example |
|---|---|---|---|
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 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Field | Type | Description |
|---|---|---|
message |
string | Errors overview. |
errors |
object | A detailed description of each field that failed validation. |
| Header | Type | Description | Example |
|---|---|---|---|
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 |
| Header | Type | Description | Example |
|---|---|---|---|
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 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Header | Type | Description | Example |
|---|---|---|---|
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 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
| Header | Type | Description | Example |
|---|---|---|---|
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 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
curl -X POST "https://api.wemasy.nl/api/services/platforms/v1/projects/create" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"title": "My New Project",
"domain": "example.com",
"description": "A portfolio website for my design agency",
"website_type": "webshop",
"website_description": "A modern bakery in Amsterdam selling vegan croissants",
"user_role": "owner",
"user_role_other": "Volunteer coordinator at a community sports club",
"company_size": "2_10",
"timezone": "Europe/Amsterdam",
"language": "en",
"product": "website_builder",
"plan": "pro",
"period": "year",
"trial": true,
"ai_profile": "string"
}'
fetch('https://api.wemasy.nl/api/services/platforms/v1/projects/create', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"title": "My New Project",
"domain": "example.com",
"description": "A portfolio website for my design agency",
"website_type": "webshop",
"website_description": "A modern bakery in Amsterdam selling vegan croissants",
"user_role": "owner",
"user_role_other": "Volunteer coordinator at a community sports club",
"company_size": "2_10",
"timezone": "Europe/Amsterdam",
"language": "en",
"product": "website_builder",
"plan": "pro",
"period": "year",
"trial": true,
"ai_profile": "string"
})})
.then(r => r.json())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
->accept('application/json')
->post('https://api.wemasy.nl/api/services/platforms/v1/projects/create', {
"title": "My New Project",
"domain": "example.com",
"description": "A portfolio website for my design agency",
"website_type": "webshop",
"website_description": "A modern bakery in Amsterdam selling vegan croissants",
"user_role": "owner",
"user_role_other": "Volunteer coordinator at a community sports club",
"company_size": "2_10",
"timezone": "Europe/Amsterdam",
"language": "en",
"product": "website_builder",
"plan": "pro",
"period": "year",
"trial": true,
"ai_profile": "string"
});
$data = $response->json();
import requests
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
data = {
"title": "My New Project",
"domain": "example.com",
"description": "A portfolio website for my design agency",
"website_type": "webshop",
"website_description": "A modern bakery in Amsterdam selling vegan croissants",
"user_role": "owner",
"user_role_other": "Volunteer coordinator at a community sports club",
"company_size": "2_10",
"timezone": "Europe/Amsterdam",
"language": "en",
"product": "website_builder",
"plan": "pro",
"period": "year",
"trial": true,
"ai_profile": "string"
}
r = requests.post("https://api.wemasy.nl/api/services/platforms/v1/projects/create", headers=headers, json=data)
print(r.json())