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

Get Project

Responses

200
422
401
403
429
Successful response
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
project object
project.id string
project.title string
project.created_at string|null
project.domain_demo string
project.dynamic_demo string
project.domain_live string
project.domain_name string
project.data_token string
project.timezone string
project.language mixed
project.owner_id mixed
project.is_theme mixed
project.domain_type mixed
project.wemasy_domain string
project.wemasy_domain_without_extension mixed
project.can_use_custom_domain boolean
project.full_domain_name string
project.dns_verified boolean
project.dns_records_added_at string
project.modules mixed[] Tools enabled (uses unified ToolAccessControlService - checks subscriptions + legacy meta + master key) For theme versions, use root project for subscriptions/tools (provided by middleware)
project.styles object
project.theme_versions object|null
project.theme_preview_token string
project.is_framework_website boolean
project.settings object
project.providers string[]
logo_image string Website settings
favicon_image string
email_to string
disable_cookie string
custom_css string
header_code string
footer_code string
ga_code string
gt_code string
gsv_code string
gtm_code string
livechatinc_code string
crisp_code string
wms_livechat_code string
hotjar_code string
posthog string
clickcease string
facebook_code string
facebook_pixel_code string
Validation error
FieldTypeDescription
message string Errors overview.
errors object A detailed description of each field that failed validation.
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/get" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
fetch('https://api.wemasy.nl/api/services/platforms/v1/projects/get', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json'  }})
.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/get');
$data = $response->json();
import requests

headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
r = requests.post("https://api.wemasy.nl/api/services/platforms/v1/projects/get", headers=headers)
print(r.json())
Response Example
{
    "project": {
        "id": "string",
        "title": "string",
        "created_at": "string",
        "domain_demo": "string",
        "dynamic_demo": "string",
        "domain_live": "string",
        "domain_name": "string",
        "data_token": "string",
        "timezone": "string",
        "language": "string",
        "owner_id": "string",
        "is_theme": "string",
        "domain_type": "string",
        "wemasy_domain": "string",
        "wemasy_domain_without_extension": "string",
        "can_use_custom_domain": true,
        "full_domain_name": "string",
        "dns_verified": true,
        "dns_records_added_at": "string",
        "modules": [],
        "styles": {
            "custom_css": "string",
            "fontfaces": "string",
            "fonts": "string",
            "textsizes": "string",
            "headingsizes": "string",
            "button": "string",
            "accordion": "string",
            "colors": "string"
        },
        "theme_versions": {
            "selected_version": "string",
            "selected_version_token": "string",
            "available_versions": []
        },
        "theme_preview_token": "string",
        "is_framework_website": true,
        "settings": {
            "logo_image": "string",
            "favicon_image": "string",
            "disable_cookie": "string",
            "email_to": "string"
        },
        "providers": []
    },
    "logo_image": "string",
    "favicon_image": "string",
    "email_to": "string",
    "disable_cookie": "string",
    "custom_css": "string",
    "header_code": "string",
    "footer_code": "string",
    "ga_code": "string",
    "gt_code": "string",
    "gsv_code": "string",
    "gtm_code": "string",
    "livechatinc_code": "string",
    "crisp_code": "string",
    "wms_livechat_code": "string",
    "hotjar_code": "string",
    "posthog": "string",
    "clickcease": "string",
    "facebook_code": "string",
    "facebook_pixel_code": "string"
}

Try It

Export