AladiaDocs
Api referenceCategories

Create a category

POST
/v2/categories
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v2/categories" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "status": "active"  }'
{  "image": {},  "courses": [    {}  ]}