# Extend Contact Right Sidebar using API

**URL:** <https://community.hubspot.com/t/extend-contact-right-sidebar-using-api/30968>\
**Category:** APIs & Integrations\
**Tags:** contacts, timeline-and-extensions-apis\
**Created:** [January 29, 2021, 1:26am UTC](https://community.hubspot.com/t/extend-contact-right-sidebar-using-api/30968 "2021-01-29T01:26:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![blamine81](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/blamine81/32/32521_2.png) [@blamine81](https://community.hubspot.com/u/blamine81)\
**Post date:** [January 29, 2021, 1:26am UTC](https://community.hubspot.com/t/extend-contact-right-sidebar-using-api/30968/1 "2021-01-29T01:26:59Z")

</div>

Hello,

We are developing an App for the marketplace and we are facing some issues to extend the HubSpot Contact using API. we’d like to add a card for our app right Sidebar using API like this:

 ![37216i46FEF490A2E25B44.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7dac25875a23477a7c63a745a0ab620018dca76f.jpeg)

We tried to use API described in [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/extensions/custom-cards), but got an error.

 ![37215i4C7CB106D52A31C0.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/8/d87f84a2315db34ab6745e05de54aba857855bff.jpeg)

Could you please prompt a better solution to implement this? Any help?

Thank you in advance.

Lamine

---

<div class="post-metadata">

**Author:** ![RMones](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rmones/32/82797_2.png) [@RMones](https://community.hubspot.com/u/RMones)\
**Post date:** [January 29, 2021, 10:26am UTC](https://community.hubspot.com/t/extend-contact-right-sidebar-using-api/30968/2 "2021-01-29T10:26:03Z")

</div>

Hi @blamine81 ,

The error is facing to the way you are authorizing the API. You are authorizing the API wit an oAuth autentication, and the end point you are reacing is only available with an API key.  
See the URL: [Authentication overview - HubSpot docs](https://developers.hubspot.com/docs/api/intro-to-auth)

Greets Ronald

---

<div class="post-metadata">

**Author:** ![MDadykin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mdadykin/32/82448_2.png) [@MDadykin](https://community.hubspot.com/u/MDadykin)\
**Post date:** [January 29, 2021, 10:56am UTC](https://community.hubspot.com/t/extend-contact-right-sidebar-using-api/30968/3 "2021-01-29T10:56:43Z")

</div>

Thank you! But question is about is there any ahother solution to create this card with OAuth API key? Because general idea is to allow every user who will install this application view this card with his own content generated by our app.

---

<div class="post-metadata">

**Author:** ![RMones](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rmones/32/82797_2.png) [@RMones](https://community.hubspot.com/u/RMones)\
**Post date:** [January 29, 2021, 4:09pm UTC](https://community.hubspot.com/t/extend-contact-right-sidebar-using-api/30968/4 "2021-01-29T16:09:08Z")

</div>

Hi @MDadykin ,

You have to create/deploy a CRM Card in your App in your Developer Account (with a API Key), and when the App is Connected to an Hubspot Environment. Then it will show up automatic in that environment. At the endpoint of your Data Fetch URL you are creating the content for the response. So the user have only to connect with your app.

I hope it’s clear enough.

Ronald

---

<div class="post-metadata">

**Author:** ![MDadykin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mdadykin/32/82448_2.png) [@MDadykin](https://community.hubspot.com/u/MDadykin)\
**Post date:** [January 31, 2021, 12:59pm UTC](https://community.hubspot.com/t/extend-contact-right-sidebar-using-api/30968/5 "2021-01-31T12:59:41Z")

</div>

Thank you! Yes, it’s clear
