# Flask integration

**URL:** <https://community.hubspot.com/t/flask-integration/81819>\
**Category:** APIs & Integrations\
**Tags:** starter\
**Created:** [May 23, 2023, 5:20pm UTC](https://community.hubspot.com/t/flask-integration/81819 "2023-05-23T17:20:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SManterola](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@SManterola](https://community.hubspot.com/u/SManterola)\
**Post date:** [May 23, 2023, 5:20pm UTC](https://community.hubspot.com/t/flask-integration/81819/1 "2023-05-23T17:20:06Z")

</div>

Hi!,

Im trying to make an integrations with Hubspot using Flask. Im trying to make a calling sdk , where by pressing the contact’s number (in the contact’s page) it will ring a softphone in the callers pc, and the call the callee’s number. The problem I’m having is that I cant retreive the contact’s phone numer, nor the caller’s id. Any idea on how to get thata data?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [May 24, 2023, 11:43pm UTC](https://community.hubspot.com/t/flask-integration/81819/2 "2023-05-24T23:43:30Z")

</div>

Hey, @SManterola 👋 I’d like to invite some of our community members to the conversation. And I think we need to clarify a few things about your project.

Questions:

- When you say you’re making an SDK, do you mean you’re creating once from scratch?
- Or do you mean you’re using the Calling Extension SDK and the Python SDK to incorporate into your project?

Thank you for the additional information! — Jaycee

---

<div class="post-metadata">

**Author:** ![SManterola](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@SManterola](https://community.hubspot.com/u/SManterola)\
**Post date:** [May 25, 2023, 1:42pm UTC](https://community.hubspot.com/t/flask-integration/81819/3 "2023-05-25T13:42:53Z")

</div>

Hey, thanks for your answer. Yes, Im making an SDK from scratch. Im trying to incorporate the Calling Extensions SDK, but I havent been able to. Right now I have my SDK doing everything I need it to do, expect I havent been able to get info from Hubspot, e.i. I need to somehow, at the very least, get the caller’s phone number and the callee id number from Hubspot. I have seen the javascript calling extension SDK, but I dont know how does Hubspot send this info to this SDK.

Thanks!

---

<div class="post-metadata">

**Author:** ![SManterola](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@SManterola](https://community.hubspot.com/u/SManterola)\
**Post date:** [May 26, 2023, 4:39pm UTC](https://community.hubspot.com/t/flask-integration/81819/4 "2023-05-26T16:39:51Z")

</div>

I know I need to somehow manage 3 events:  
-SYNC (and respond with a SYNC\_ACK)  
-send a INITIALIZED event  
-catch a DIAL\_NUMBER → and get the data I need from here
