GET
/
sources
/
{source_id}
/
topics
/
{topic_id}
curl --request GET \
  --url https://app.getcensus.com/api/v1/sources/{source_id}/topics/{topic_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "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

topic_id
integer
required

ID of the topic

Response

200 - application/json
status
enum<string>
required

The outcome of the fetch request

Available options:
success
data
object
required