Skip to main content
GET
https://api.rankspot.ai
/
v1
/
categories
List categories
curl --request GET \
  --url https://api.rankspot.ai/v1/categories \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "total": 100,
    "offset": 0,
    "limit": 100,
    "count": 10,
    "items": [
      {
        "id": "clx...",
        "name": "SEO",
        "color": "violet",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

offset
number
default:0
Required range: x >= 0
limit
number
default:20
Required range: 1 <= x <= 100

Response

200 - application/json
data
object