Skip to content
View as Markdown

POST Create Email Pattern Category​

POST
/email-patterns/categories

Create an email pattern category. If a category with the same slug already exists, the existing category is returned instead of creating a duplicate.

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password

Type
API Key (header: Authorization)

Request Body​

application/json
JSON
{
"name": "string"
}

Responses​

Category created successfully or existing matching category returned.

application/json
JSON
{
"id": 0,
"count": 0,
"name": "string",
"slug": "string",
"parent": 0
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI