Get Topics By Category
Get the list of elemental topics by category.
GET/v1/elemental/type/category/{id}/topics- Param
- Response
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| id | number | ✅ | ID of the elemental category |
Example
/v1/elemental/type/category/1/topics
Properties
| Name | Type | Description |
|---|---|---|
| id | number | ID of the elemental category |
| name | string | Name of the elemental category |
| description | string | Description of the elemental category |
Example
{
"response": [
{
"id": 1,
"name": "Writing",
"description": "Help with writing anything from creative writing to technical writing."
},
{
"id": 2,
"name": "Development",
"description": "Coding help, technical support, and guidance on software development."
},
{
"id": 3,
"name": "Design",
"description": "Design advice, feedback, and ideas for your creative projects."
}
]
}
CURL Example
curl -X GET "https://api-integrations.snackprompt.com/v1/elemental/type/category/{id}/topics" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY"