API Documentation

GET /category/{id}

Get Categories Data
https://api.vendbits.com/v1/category/{id}

Parameters

api_token required string API token
id required int ID of the Category to retrieve

Example cURL Request

$ curl -X GET -i https://api.vendbits.com/v1/category/1?api_token=API_TOKEN

Example Response

{
    "category": "Audio",
    "url": "https://vendbits.com/category/audio",
    "id": 1
}

HTTP Status Response Codes

200 - The Category data is returned.
401 - API Token (api_token parameter) incorrect.
404 - Category does not exist.