How Did I get created_by value in hubSpot Ticket


#1

Hi, When i was created a ticket i'm sending these are the Parameter:

$str_post = '[
{
"name": "source_type",
"value": "CHAT"
},
{
"name": "created_by",
"value": "33333"
},
{
"name": "subject",
"value": "testing subject"
},
{
"name": "hs_pipeline",
"value": "0"
},
{
"name": "hs_pipeline_stage",
"value": "1"
},
{
"name": "content",
"value": "Here are the details of the ticket."
}
]';

I just want to know where did I get this created_by value, when i was use get all ticket API it will not return this value, I want to get this value.


#2
"created_by": {
      "versions": [
        {
          "name": "created_by",
          "value": "496346",
          "timestamp": 1522870759430,
          "source": "API",
          "sourceVid": []
        }
      ],
      "value": "496346",
      "timestamp": 1522870759430,
      "source": "API",
      "sourceId": null

#3

thanks for sharing this details