Page Text: Ruby
curl --request GET \ --url 'https://api.hubapi.com/crm/v3/extensions/cards/appId?hapikey=YOUR_HUBSPOT_API_KEY'\ --header 'accept: application/json'
var request = require("request"); var options = { method: 'GET', url: 'https://api.hubapi.com/crm/v3/extensions/cards/appId', qs: { hapikey: 'YOUR_HUBSPOT_API_KEY' }, headers: { accept: 'application/json' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
"https://api.hubapi.com/crm/v3/extensions/cards/appId?hapikey=YOUR_HUBSPOT_API_KEY", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => array( "accept: application/json" ), )); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }?>
import requests url = "https://api.hubapi.com/crm/v3/extensions/cards/appId" querystring = {"hapikey":"YOUR_HUBSPOT_API_KEY"} headers = {'accept': 'application/json'} response = requests.request("GET", url, headers=headers, params=querystring) print(response.text)
require 'uri' require 'net/http' require 'openssl' url = URI("https://api.hubapi.com/crm/v3/extensions/cards/appId?hapikey=YOUR_HUBSPOT_API_KEY") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["accept"] = 'application/json' response = http.request(request) puts response.read_body
Ready to get started?
The app partner benefits give you lots of exposure to the HubSpot customer base so that you can develop and grow quickly. Working with the HubSpot team is a genuine delight!
Dan Currin
OrgChartHub
The HubSpot platform is way more than just developer APIs. The App Marketplace offers real distribution benefits that enabled us to reach this massive, engaged, modern, and global customer base.
Yonatan Lee
Insycle
HubSpot is amazing, thoughtful, and hands down the best company to work with for integrating your apps. The team has gone above and beyond to accommodate our platform to work better together.
Chris Brisson
Have you built the newest must-have app?
Share it with the world on HubSpot's App Marketplace.
Get more from your own website solutions.
Build web assets on HubSpot's CMS Asset Marketplace.
Let's build—and grow—together
Join our fast-growing developer community to find the tools and support you need to create something amazing.