Sites
Check site creation limits
GET
Permission: any member; plan figures only with billing.view; can_create needs sites.create
apiTokenheader
AuthorizationBearer <token>An API token (mwp_…) from Settings → API tokens. Only accepted on this host.
Successful Response
application/json- response
success*booleandata*Only can_create is present when the caller's role may neither see
billing nor create sites. The verdict's sentence is the envelope message.
message*stringstatus_code*integertimestamp*stringFormat
date-timemeta?|nullcurl -X GET "https://example.com/v1/sites/limits"{ "message": "string", "status_code": 0, "timestamp": "2019-08-24T14:15:22Z", "meta": {}, "success": true, "data": { "can_create": true, "total_sites": null, "sites_created": null, "sites_remaining": null, "demo_eligible": null, "demo_reason": null, "demo_message": null, "demo_site_id": null, "demo_ttl_hours": null, "demo_delete_after_stop_hours": null }}