There's a new version of the HubSpot API

We're also working on a new documentation website, you're invited to check it out and give us your feedback.

Get the topic by ID

Last updated May 31, 2023

GET /content/api/v2/topics/:topic_id

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Required Parameters How to use Description
topic_id Used in the request URL Unique identifier for a particular blog
HubSpot OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.

JSON Fields returned in the response

Parameter name Type Description
created long The unix milliseconds timestamp when the topic was created
deleted_at long When the topic was deleted, in milliseconds since the epoch. Zero if the blog post was never deleted. Use a DELETE request to delete the post, do not set this directly.
description string A description of the topic
id string The unique id of the topic
name string The name of the topic
slug string How the topic will appear in the url. The slug will be appended to the blog URL to make the url for the topic page