REST API Overview

REST API Overview

WP Sell Services provides a comprehensive REST API with 20 controllers. Base URL: /wp-json/wpss/v1/

Authentication

  • Cookie authentication (browser-based) — include X-WP-Nonce header
  • Application Passwords (WordPress 5.6+) — Basic auth
  • JWT tokens [PRO]

Generic Endpoints

EndpointMethodDescription
/categoriesGETService categories
/tagsGETService tags
/settingsGETPublic settings
/meGETCurrent user info
/dashboardGETDashboard stats
/batchPOSTUp to 25 requests in one call
/searchGETGlobal search

Error Codes

CodeStatusDescription
rest_forbidden401Auth required
invalid_request400Invalid params
not_found404Not found
rate_limit_exceeded429Rate limited [PRO]

Pagination

Use page and per_page (max 100). Headers: X-WP-Total, X-WP-TotalPages.

CORS & Rate Limiting

CORS enabled for /wp-json/wpss/. Configure via wpss_api_cors_origins filter. [PRO] Rate limits: 300/hr authenticated, 1000/hr app passwords, unlimited admins.

Related

Last updated: February 14, 2026