# How can I send or use the current sessionID when calling the External API?

**URL:** <https://forum.convai.com/t/how-can-i-send-or-use-the-current-sessionid-when-calling-the-external-api/5400>\
**Category:** Character Intelligence\
**Tags:** external-api, question\
**Created:** [November 6, 2025, 4:24pm UTC](https://forum.convai.com/t/how-can-i-send-or-use-the-current-sessionid-when-calling-the-external-api/5400 "2025-11-06T16:24:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aby](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/aby/32/5111_2.png) [@Aby](https://forum.convai.com/u/Aby)\
**Post date:** [November 6, 2025, 4:24pm UTC](https://forum.convai.com/t/how-can-i-send-or-use-the-current-sessionid-when-calling-the-external-api/5400/1 "2025-11-06T16:24:01Z")

</div>

Hi! I’m currently using the External API integration in Convai to send user data to my backend.

What I need is to **associate my backend updates with the same conversation** — not create new records on every External API call. In other words, I want to know if there’s a way to **send or retrieve the current `sessionID` (or conversation ID)** inside the External API call context, so I can update an existing record in my database instead of inserting a new one.

For example:

- When a new user starts talking to the avatar, it asks for their name → I create a new record in my database using the External API.

- Then, during the same conversation, the avatar asks for more details like which project they want to work on → I want to **update** that same record using the same session or conversation ID.

I thought about storing the session in localStorage, but since the External API runs server-side (Python), I assume that wouldn’t work.

So, my question is:  
Is there a way to **get or send the current sessionID from the conversation** when using the External API, so I can maintain continuity between API calls?

Basically: I need to know if I can access the sessionID from the External API context to update user data across the same conversation.

Thanks a lot for any help — this would be really useful for multi-step data collection experiences!

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 7, 2025, 12:46pm UTC](https://forum.convai.com/t/how-can-i-send-or-use-the-current-sessionid-when-calling-the-external-api/5400/2 "2025-11-07T12:46:27Z")

</div>

Hello,

Unfortunately, this is not supported at the moment.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 30, 2025, 8:53pm UTC](https://forum.convai.com/t/how-can-i-send-or-use-the-current-sessionid-when-calling-the-external-api/5400/3 "2025-11-30T20:53:29Z")

</div>


