# Private Apps update offline sources

**URL:** <https://community.hubspot.com/t/private-apps-update-offline-sources/66052>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [September 28, 2022, 11:23am UTC](https://community.hubspot.com/t/private-apps-update-offline-sources/66052 "2022-09-28T11:23:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CLando](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@CLando](https://community.hubspot.com/u/CLando)\
**Post date:** [September 28, 2022, 11:23am UTC](https://community.hubspot.com/t/private-apps-update-offline-sources/66052/1 "2022-09-28T11:23:56Z")

</div>

Hi,

I’m migrating from the old API integration to Private Apps.

I am able to create a new contact with name and phone number, but I can’t figure out how to save the source of the contact.

Right now it says “This contact was created from Offline Sources from Integration”

While before I was able to send the pageUrl and pageName properties to show on which Form the contact was created.

Also, I was sending the browser cookie information so the contact would be updated with all it’s data.

$hs\_context = array(

‘hutk’ =\> $\_COOKIE[‘hubspotutk’],

‘ipAddress’ =\> $ip\_addr,

‘pageUrl’ =\> $page\_url,

‘pageName’ =\> $page\_title

);

I can’t find the information on how to achieve the same thing with the new integration. I’m using the PHP HubSpot API v3 SDK(Client) files from GitHub.

---

<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:** [September 29, 2022, 5:29pm UTC](https://community.hubspot.com/t/private-apps-update-offline-sources/66052/2 "2022-09-29T17:29:25Z")

</div>

Hi, @CLando 👋 Thanks for reaching out. Hey, @danhammari @Nickm66 @tominal, do you have any PHP-related insight you can share with @CLando?

Thank you very much for taking a look! — Jaycee

---

<div class="post-metadata">

**Author:** ![KvdHeuvel](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@KvdHeuvel](https://community.hubspot.com/u/KvdHeuvel)\
**Post date:** [November 3, 2023, 4:38pm UTC](https://community.hubspot.com/t/private-apps-update-offline-sources/66052/3 "2023-11-03T16:38:51Z")

</div>

Has anyone found a solution? [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) @CLando
