Hello
I’ve connected Tray.io to my account with the following scopes:
Crm.objects.contacts.read
Crm.objects.contacts.write
(among others)
I use Postman to trigger the webhook, and I send the following payload:
Hey @TomM2 ,
I am using Tray.io’s built-in connector for Hubspot.
Here is an example of a request and response (in this case for a ticket, which is also created with empty fields) request:
{
“ticket_pipeline_id”: “0”,
“ticket_pipeline_stage”: “1”,
“properties”: {
“hs_pipeline”: “0”,
“hs_pipeline_stage”: “1”,
“subject”: “Ticket subject example”,
“content”: “Description of the issue or request”,
“hs_ticket_priority”: “HIGH”,
“hubspot_owner_id”: “12345678”,
“source_type”: “EMAIL”
}
} response:
{
“id”: “15631755939”,
“properties”: {
“createdate”: “2024-10-22T11:48:45.974Z”,
“hs_helpdesk_sort_timestamp”: “2024-10-22T11:48:45.974Z”,
“hs_last_message_from_visitor”: “false”,
“hs_lastmodifieddate”: “2024-10-22T11:48:45.974Z”,
“hs_object_id”: “15631755939”,
“hs_object_source”: “INTEGRATION”,
“hs_object_source_id”: “4215999”,
“hs_object_source_label”: “INTEGRATION”,
“hs_pipeline”: “0”,
“hs_pipeline_stage”: “1”,
“hs_ticket_id”: “15631755939”
},
“createdAt”: “2024-10-22T11:48:45.974Z”,
“updatedAt”: “2024-10-22T11:48:45.974Z”,
“archived”: false
}