Hi,
I have 404 when I trying to retreive an anonymous contact (no email, no name …) that is created by chat in my site.
Is that possible ?
Thk
Hi, @CCompany. Can you provide any additional information? An example request and the JSON response + the full error code are needed to help the community understand how to help you.
Best,
Jaycee
Yes sure, thk for looking
Here the resource for listing all threads :
/conversations/v3/conversations/threads
That retreive this array of object :
{
"results": [
{
"id": "1284159216",
"createdAt": "2022-08-19T12:25:57.367Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-06T14:25:27.306Z",
"latestMessageSentTimestamp": "2022-09-06T14:25:27.306Z",
"latestMessageReceivedTimestamp": "2022-08-19T12:25:57.446Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "101",
"archived": false
},
{
"id": "1284171470",
"createdAt": "2022-08-19T12:14:44.467Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-08-19T12:14:44.562Z",
"latestMessageReceivedTimestamp": "2022-08-19T12:14:44.562Z",
"assignedTo": "A-46416776",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "1",
"archived": false
},
{
"id": "1284193731",
"createdAt": "2022-08-19T12:16:17.871Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-08-19T12:20:45.600Z",
"latestMessageSentTimestamp": "2022-08-19T12:20:45.600Z",
"latestMessageReceivedTimestamp": "2022-08-19T12:16:17.944Z",
"assignedTo": "A-46538312",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "101",
"archived": false
},
{
"id": "1284520929",
"createdAt": "2022-08-19T15:47:23.076Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-05T15:42:54.231Z",
"latestMessageSentTimestamp": "2022-09-05T15:42:54.231Z",
"latestMessageReceivedTimestamp": "2022-09-02T07:12:33.393Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "151",
"archived": false
},
{
"id": "1313256658",
"createdAt": "2022-09-07T08:31:34.173Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-07T08:31:34.244Z",
"latestMessageReceivedTimestamp": "2022-09-07T08:31:34.244Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "201",
"archived": false
},
{
"id": "1313256659",
"createdAt": "2022-09-07T08:31:47.174Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-07T08:31:47.241Z",
"latestMessageReceivedTimestamp": "2022-09-07T08:31:47.241Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "251",
"archived": false
},
{
"id": "1313256664",
"createdAt": "2022-09-07T08:32:02.218Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-07T08:32:02.308Z",
"latestMessageReceivedTimestamp": "2022-09-07T08:32:02.308Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "301",
"archived": false
},
{
"id": "1313256669",
"createdAt": "2022-09-07T08:32:19.274Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-07T08:32:19.333Z",
"latestMessageReceivedTimestamp": "2022-09-07T08:32:19.333Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "351",
"archived": false
},
{
"id": "1313256670",
"createdAt": "2022-09-07T08:32:36.236Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-07T08:32:36.323Z",
"latestMessageReceivedTimestamp": "2022-09-07T08:32:36.323Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "401",
"archived": false
},
{
"id": "1313256674",
"createdAt": "2022-09-07T08:33:09.312Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-07T08:33:09.408Z",
"latestMessageReceivedTimestamp": "2022-09-07T08:33:09.408Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "501",
"archived": false
},
{
"id": "1313256675",
"createdAt": "2022-09-07T08:33:21.621Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-07T08:33:21.708Z",
"latestMessageReceivedTimestamp": "2022-09-07T08:33:21.708Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "551",
"archived": false
},
{
"id": "1313256677",
"createdAt": "2022-09-07T08:33:37.687Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-07T08:33:37.748Z",
"latestMessageReceivedTimestamp": "2022-09-07T08:33:37.748Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "552",
"archived": false
},
{
"id": "1313268168",
"createdAt": "2022-09-07T08:32:53.024Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-07T08:32:53.111Z",
"latestMessageReceivedTimestamp": "2022-09-07T08:32:53.111Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "451",
"archived": false
},
{
"id": "1313268193",
"createdAt": "2022-09-07T08:33:51.175Z",
"status": "OPEN",
"latestMessageTimestamp": "2022-09-07T08:33:51.239Z",
"latestMessageReceivedTimestamp": "2022-09-07T08:33:51.239Z",
"assignedTo": "A-46275607",
"spam": false,
"inboxId": "161707007",
"associatedContactId": "601",
"archived": false
}
],
"paging": {
"next": {
"after": "MTMxMzI2ODE5Mw%3D%3D",
"link": "https://api.hubapi.com/conversations/v3/conversations/threads?after=MTMxMzI2ODE5Mw%3D%3D"
}
}
}
After that, I try to get the Contact informations with this endpoint :
/crm/v3/objects/contacts/201
Same for all asociatedContactId with no information like email, name …
But in Hubspot account I got them as Anonymous visitor :
Maybe somethings wrong with my methods but I expect an empty infos in json Contact, any way do this behaviour ?
Thk in advance !

