# Smart Categories

Operations related to smart categories

## Get all smart categories

> Returns a list of smart categories with pagination support.

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"tags":[{"name":"Smart Categories","description":"Operations related to smart categories"}],"servers":[{"url":"https://api.salescaling.com","description":"Base API URL"}],"security":[{},{"bearer":[]}],"paths":{"/api/v1/smart-categories":{"get":{"operationId":"PublicApiSmartCategoryController_getSmartCategories","summary":"Get all smart categories","description":"Returns a list of smart categories with pagination support.","parameters":[{"name":"page","required":false,"in":"query","description":"Page number for pagination (default: 1)","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","description":"Number of items per page (default: 10)","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiGetSmartCategoriesResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key or Bearer token"}},"tags":["Smart Categories"]}}},"components":{"schemas":{"PublicApiGetSmartCategoriesResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/PublicApiSmartCategoryDto"}}},"required":["statusCode","count","error","data"]},"PublicApiSmartCategoryDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the smart category"},"name":{"type":"string","description":"Name of the smart category"},"description":{"type":"string","description":"Description of the smart category"},"type":{"type":"string","description":"Type of meeting this category applies to","enum":["videocall","presential","phonecall"]},"createdAt":{"format":"date-time","type":"string","description":"Creation date of the smart category"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date of the smart category"}},"required":["id","name","type","createdAt","updatedAt"]}}}}
```

## Get smart category by ID

> Returns a smart category by ID.

```json
{"openapi":"3.0.0","info":{"title":"Salescaling API","version":"1.0"},"tags":[{"name":"Smart Categories","description":"Operations related to smart categories"}],"servers":[{"url":"https://api.salescaling.com","description":"Base API URL"}],"security":[{},{"bearer":[]}],"paths":{"/api/v1/smart-categories/{id}":{"get":{"operationId":"PublicApiSmartCategoryController_getSmartCategoryById","summary":"Get smart category by ID","description":"Returns a smart category by ID.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiGetSmartCategoryByIdResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key or Bearer token"}},"tags":["Smart Categories"]}}},"components":{"schemas":{"PublicApiGetSmartCategoryByIdResponseDto":{"type":"object","properties":{"statusCode":{"type":"number","default":200},"count":{"type":"number"},"error":{"type":"string","nullable":true},"data":{"$ref":"#/components/schemas/PublicApiSmartCategoryDto"}},"required":["statusCode","count","error","data"]},"PublicApiSmartCategoryDto":{"type":"object","properties":{"id":{"type":"string","description":"ID of the smart category"},"name":{"type":"string","description":"Name of the smart category"},"description":{"type":"string","description":"Description of the smart category"},"type":{"type":"string","description":"Type of meeting this category applies to","enum":["videocall","presential","phonecall"]},"createdAt":{"format":"date-time","type":"string","description":"Creation date of the smart category"},"updatedAt":{"format":"date-time","type":"string","description":"Last update date of the smart category"}},"required":["id","name","type","createdAt","updatedAt"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.salescaling.com/api/smart-categories.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
