Skip to main content
Use these endpoints to manage REST API keys programmatically.
Use the MainWP Postman collection as the source of truth for request and response schemas.
{key_identifier} accepts either a numeric key ID (v2) or a ck_... key identifier (legacy key format).

Route Matrix

write maps to the Write & Delete permission shown in the MainWP Dashboard UI.

Representative Requests

Create API key

Edit API key