Skip to content
HubSpot Golang client
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of bold-commerce:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Build Status


Go client for HubSpot

Note: This currently does not implement all HubSpot API endpoints, however pull requests are welcome


go get

Unit Tests

To run the unit tests, install ginkgo and gomega and run:

ginkgo -r


package main

import (


func main() {
  client := hubspot.NewClient("", "my-api-key")

  // send single email
  emailId := 12345678
  err := client.SingleEmail(emailId, "")
  if err != nil {
    log.Fatalf("hubspot error: %s", err.Error())
You can’t perform that action at this time.