GET
/
sources
/
{source_id}
/
topics
curl --request GET \
  --url https://app.getcensus.com/api/v1/sources/{source_id}/topics \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "pagination": {
    "total_records": 14,
    "per_page": 25,
    "prev_page": 1,
    "page": 2,
    "next_page": 3,
    "last_page": 10
  },
  "data": [
    {
      "id": 18,
      "name": "NewAppUsers",
      "description": "Users that have signed up for our product in the last week.",
      "created_at": "2021-10-20T02:43:07.120Z",
      "updated_at": "2021-10-20T02:50:35.477Z",
      "schema": {
        "name": "string",
        "id": "number",
        "email": "string"
      }
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

source_id
integer
required

ID of the source

Response

200 - application/json
status
enum<string>
required

The outcome of the request

Available options:
success
pagination
object
required

An object to help you navigate the list of results.

data
object[]
required

The list of results.