Idea Categories API


GET /api/v1/products/:product_id/idea_categories

Get all idea categories for a product

Parameters

Name Description
product_id * Numeric ID, or key of the product to get categories for

GET /api/v1/products/PRJ1/idea_categories

Example CURL command

curl "https://secure.aha.io/api/v1/products/PRJ1/idea_categories" -X GET \
	-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
	-H "X-Aha-Account: account1" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
X-Aha-Account: account1
Content-Type: application/json
Accept: application/json

Response

Status: 200 OK
  Content-Type: application/json; charset=utf-8
{
  "idea_categories": [
    {
      "id": "552935478",
      "name": "Storage",
      "parent_id": null,
      "created_at": "2017-05-31T20:12:50.000Z"
    },
    {
      "id": "972845454",
      "name": "Hard disk drive",
      "parent_id": 552935478,
      "created_at": "2017-05-31T20:12:50.000Z"
    }
  ],
  "pagination": {
    "total_records": 2,
    "total_pages": 1,
    "current_page": 1
  }
}

Overview

API Resources