Platform Management API
POST /services/platforms/v1/projects/all Auth

Get all projects

Request Body

FieldTypeRequiredDescriptionExample
workspace_id string No Optional workspace_id filter (task 0002). Three input shapes: - missing/null → no filter (default, full list) - integer → only projects in that workspace - string "unassigned" → only projects with workspace_id IS NULL Filtering is applied AFTER the model fetch so the rest of this controller's enrichment (meta, tools, current_project) still runs on the post-filter set. Acceptable: user projects max out around 15-20, so post-filtering is cheaper than refactoring the model query.

Responses

200
401
403
429
List of all projects for the authenticated user. The currently selected project includes full tool access details.
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
projects object[]
project string
Unauthenticated — missing or invalid Bearer token
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
Forbidden — insufficient permissions for this resource
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
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/services/platforms/v1/projects/all" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "workspace_id": "string"
}'
fetch('https://api.wemasy.nl/api/services/platforms/v1/projects/all', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "workspace_id": "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/all', {
    "workspace_id": "string"
});
$data = $response->json();
import requests

headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
data = {
    "workspace_id": "string"
}
r = requests.post("https://api.wemasy.nl/api/services/platforms/v1/projects/all", headers=headers, json=data)
print(r.json())
Response Example
{
    "projects": [
        {
            "owner_id": 1,
            "id": 1,
            "timezone": "UTC",
            "title": "My Website",
            "current_project": false,
            "data_token": "38e5eeb330b99f1c9f484f93",
            "created_at": "2025-07-23 10:17:40",
            "full_domain_name": "my-website.com",
            "logo_image": "https://niku-solutions-dev.s3.eu-west-3.amazonaws.com/assets/platforms/9/websites/102907/logo.png",
            "favicon_image": "https://niku-solutions-dev.s3.eu-west-3.amazonaws.com/assets/platforms/9/websites/102907/favicon.png",
            "disable_cookie": "0",
            "email_to": "info@example.com",
            "language": "en",
            "is_theme": 0,
            "domain_type": "wemasy",
            "wemasy_domain": "my-website.wemasy.app",
            "wemasy_domain_without_extension": "my-website",
            "tools": null
        },
        {
            "owner_id": 1,
            "id": 2,
            "timezone": "UTC",
            "title": "Current Project",
            "current_project": true,
            "data_token": "8380b334c516cbb44ff3e63a",
            "created_at": "2025-11-26 08:15:22",
            "full_domain_name": "current-project.com",
            "logo_image": null,
            "favicon_image": null,
            "disable_cookie": null,
            "email_to": null,
            "language": "nl",
            "is_theme": 0,
            "domain_type": "wemasy",
            "wemasy_domain": "current-project.wemasy.app",
            "wemasy_domain_without_extension": "current-project",
            "tools": {
                "home": {
                    "moduleKey": "home",
                    "name": "Home",
                    "isPremium": false,
                    "hasAccess": true,
                    "sortOrder": 1,
                    "is_available": true
                },
                "website_builder": {
                    "moduleKey": "website_builder",
                    "name": "Website Builder",
                    "isPremium": true,
                    "hasAccess": true,
                    "sortOrder": 4,
                    "is_available": true,
                    "trial": {
                        "is_trial": false,
                        "is_paid": true,
                        "ends_at": null,
                        "days_remaining": null,
                        "is_expired": false,
                        "status": "active",
                        "subscription_id": 230,
                        "tool_trial_type": "package_tool"
                    }
                },
                "webshop": {
                    "moduleKey": "webshop",
                    "name": "Webshop",
                    "isPremium": true,
                    "hasAccess": false,
                    "sortOrder": 5,
                    "is_available": true
                },
                "forms": {
                    "moduleKey": "forms",
                    "name": "Forms",
                    "isPremium": true,
                    "hasAccess": true,
                    "sortOrder": 6,
                    "is_available": true,
                    "trial": {
                        "is_trial": false,
                        "is_paid": true,
                        "ends_at": null,
                        "days_remaining": null,
                        "is_expired": false,
                        "status": "active",
                        "subscription_id": 230,
                        "tool_trial_type": "package_tool"
                    }
                },
                "analytics_insights": {
                    "moduleKey": "analytics_insights",
                    "name": "Analytics & Insights",
                    "isPremium": true,
                    "hasAccess": true,
                    "sortOrder": 11,
                    "is_available": true,
                    "trial": {
                        "is_trial": false,
                        "is_paid": true,
                        "ends_at": null,
                        "days_remaining": null,
                        "is_expired": false,
                        "status": "active",
                        "subscription_id": 230,
                        "tool_trial_type": "package_tool"
                    }
                },
                "ads_protection": {
                    "moduleKey": "ads_protection",
                    "name": "Ad Protection System",
                    "isPremium": true,
                    "hasAccess": false,
                    "sortOrder": 17,
                    "is_available": true
                },
                "operations": {
                    "moduleKey": "operations",
                    "name": "Operations",
                    "isPremium": true,
                    "hasAccess": true,
                    "sortOrder": 19,
                    "is_available": true,
                    "trial": {
                        "is_trial": false,
                        "is_paid": true,
                        "ends_at": null,
                        "days_remaining": null,
                        "is_expired": false,
                        "status": "active",
                        "subscription_id": 230,
                        "tool_trial_type": "package_tool"
                    }
                }
            }
        }
    ],
    "project": "2"
}

Try It
Request Body Optional

Export