# Contact identify

**URL:** <https://community.hubspot.com/t/contact-identify/97080>\
**Category:** APIs & Integrations\
**Tags:** events\
**Created:** [January 4, 2024, 9:30am UTC](https://community.hubspot.com/t/contact-identify/97080 "2024-01-04T09:30:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dtape](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dtape/32/185032_2.png) [@Dtape](https://community.hubspot.com/u/Dtape)\
**Post date:** [January 4, 2024, 9:30am UTC](https://community.hubspot.com/t/contact-identify/97080/1 "2024-01-04T09:30:41Z")

</div>

Hi there,

I’m currently working on s2s integration to Hubspot. We are using two types of requests:

1) Sending a request from the server to \_ptq.gif (we simulate on the server the operation of the pixel and use our user ids)

2) Adding a contact after actions via API: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/contacts#endpoint?spec=POST-/crm/v3/objects/contacts).

But is there any way to link the created contact with the requests made to \_ptq.gif from it? Usually for this you can pass the same client id that is used in ptq.gif, but I don’t see such options in the documentation. Am I missing something or are there any other options to do this?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![HMir](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@HMir](https://community.hubspot.com/u/HMir)\
**Post date:** [April 16, 2024, 11:49pm UTC](https://community.hubspot.com/t/contact-identify/97080/2 "2024-04-16T23:49:20Z")

</div>

> * * *
> 
> @Dtape wrote:
> 
> Hi there,
> 
> I’m currently working on s2s integration to Hubspot. We are using two types of requests:
> 
> 1) Sending a request from the server to \_ptq.gif (we simulate on the server the operation of the pixel and use our user ids)
> 
> 2) Adding a contact after actions via API: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/contacts#endpoint?spec=POST-/crm/v3/objects/contacts).
> 
> But is there any way to link the created contact with the requests made to \_ptq.gif from it? Usually for this you can pass the same client id that is used in ptq.gif, but I don’t see such options in the documentation. Am I missing something or are there any other options to do this?
> 
> Thanks in advance!
> 
> * * *

Regarding linking the created contact with requests made to \_ptq.gif, you’re correct that passing the same client ID used in ptq.gif could typically achieve this. However, I don’t see such options mentioned in the documentation either.

One alternative approach could be to include a unique identifier or token in the payload of the \_ptq.gif request, which can then be stored as a property or custom field in the HubSpot contact record. This way, you can correlate the contact with the specific requests made.
