All API requests require your PECS Global licence key passed as the X-API-Key header. Obtain your key from the portal dashboard after subscribing.
curl -X GET \ "https://api.pecsglobal.uk/wp-json/pecsglobal/v1/catalog" \ -H "X-API-Key: YOUR_LICENCE_KEY" \ -H "X-Domain: yoursite.com"
The X-Domain header should be your registered site domain. Required for domain-restricted plans.
| Code | HTTP | Meaning |
|---|---|---|
E100 | 401 | Missing or invalid API key |
E101 | 403 | Domain not authorised on this licence |
E102 | 403 | Plugin not in your plan's allowed list |
E103 | 429 | Rate limit exceeded — wait and retry |
E104 | 404 | Plugin slug not found in catalogue |
E105 | 402 | Subscription expired or inactive |
E106 | 403 | Fair use policy violation — contact support |
E107 | 404 | Plugin not yet in local vault |
API Access Tier: 10,000 requests/month. Rate limited at 100 req/minute. A Retry-After header is returned when you hit the limit.
{
"error_code": "E103",
"message": "Rate limit exceeded.",
"retry_after": 60
}
page, per_page (max 100), category{
"success": true,
"plugins": [
{
"slug": "elementor-pro",
"name": "Elementor Pro",
"version": "3.21.0",
"category": "Page Builder",
"image": "https://..."
}
],
"total": 923,
"source": "vault"
}
GET /v1/download-info/elementor-pro
X-API-Key: YOUR_KEY
X-Domain: yoursite.com
{
"success": true,
"download_url": "https://api.pecsglobal.uk/wp-json/pecsglobal/v1/dl?t=...&e=...&h=...",
"version": "3.21.0",
"source": "vault"
}
POST /v1/check-versions
Content-Type: application/json
[
{"slug": "elementor-pro", "version": "3.19.0", "type": "plugin"},
{"slug": "wp-rocket", "version": "3.14.0", "type": "plugin"}
]
Response:
{
"plugins": [
{
"slug": "elementor-pro",
"version": "3.21.0",
"download_url": "https://..."
}
],
"source": "vault"
}
{
"plan_key": "unlimited_monthly",
"plan_name": "Unlimited",
"domain_limit": 999,
"expires_at": null,
"status": "active"
}
JWT-authenticated endpoints for the PlugBase mobile app. Base: https://api.pecsglobal.uk/wp-json/pecsglobal/mobile/v1. Access token valid 1 hour, refresh token 30 days.
q, category, page, per_page.Full mobile API reference: 22 endpoints covering auth, sites, catalogue, billing, free plan, and notifications. Contact support@pecsglobal.uk for the full OpenAPI spec.