API Documentation

GET /categories

Get list of Categories
https://api.vendbits.com/v1/categories

Parameters

api_token required string API token

Example cURL Request

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

Example Response

{
    "categories": [
        {
            "category": "Audio",
            "url": "https://vendbits.com/category/audio",
            "id": 1
        },
        {
            "category": "Video",
            "url": "https://vendbits.com/category/video",
            "id": 2
        },
        {
            "category": "Gift Cards",
            "url": "https://vendbits.com/category/gift-cards",
            "id": 3
        },
        {
            "category": "Games",
            "url": "https://vendbits.com/category/games",
            "id": 4
        },
        {
            "category": "Other",
            "url": "https://vendbits.com/category/other",
            "id": 5
        },
        {
            "category": "Software",
            "url": "https://vendbits.com/category/software",
            "id": 6
        },
        {
            "category": "Websites",
            "url": "https://vendbits.com/category/websites",
            "id": 7
        },
        {
            "category": "Photos",
            "url": "https://vendbits.com/category/photos",
            "id": 8
        },
        {
            "category": "Writings",
            "url": "https://vendbits.com/category/writings",
            "id": 9
        },
        {
            "category": "Event Tickets",
            "url": "https://vendbits.com/category/event-tickets",
            "id": 10
        },
        {
            "category": "Educational",
            "url": "https://vendbits.com/category/educational",
            "id": 11
        },
        {
            "category": "Art",
            "url": "https://vendbits.com/category/art",
            "id": 12
        },
        {
            "category": "Data",
            "url": "https://vendbits.com/category/data",
            "id": 13
        }
    ]
}

HTTP Status Response Codes

200 - The Categories data is returned.
401 - API Token (api_token parameter) incorrect.