function getById($id) { $endpoint = "https://api.hubapi.com/blogs/v3/topics/{$id}"; return $this->client->request('get', $endpoint); }