ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiBlog

Create new blog category with SEO fields

POST
/api/v1/blog/categories

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Request Body

application/json
  1. body
name*string

Category name

description?string

Category description

image?string

Category image URL

metaDescription?string

Meta description for SEO

metaKeywords?string

Meta keywords for SEO

Response Body

Category created successfully

Example Request
curl -X POST 'http://localhost:3001/api/v1/blog/categories' \  -H 'Content-Type: application/json' \  -d '{  "name": "Technology"}'
Example Response
Empty