Categories

Get a category by ID

Retrieve one category using its PurpleGrain category ID. Returns the category's ID, name and type. Use its exact name when filtering service or task searches by category. This lookup does not change data.

get/categories/{id}

Request

  • Base URL: https://api.purplegrain.com/api/v1
  • URL: https://api.purplegrain.com/api/v1/categories/{id}
  • Auth: none declared

Path parameters

idstring required

Id of the record

Response

Successful.

Example response

{
  "data": {
    "type": "category"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.