API Reference
Categories
Create category

Creating a category

Creating a category is done by sending a PUT request to the /categories endpoint.

Create category object

curl -X PUT https://app.ignitevideo.cloud/api/categories \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title": "Your category title", "slug":"your-category-slug"}'

Response

The response is the newly created category object.

{
  "id": "[CATEGORY_ID]",
  "title": "Your category title",
  "slug": "your-category-slug",
}