gordon
(gordon)
1
I am working with the CRM Rest API.
The webhook payload does not seem to be documented.
Can anyone explain the difference between calldate
and timestamp
.
Is there any way to know the time zone of these fields if all you have is the posted webhook payload?
gordon
(gordon)
2
For example, I have a record that was posted to my webhook callback that offers:
“calldate”:“1655924101”,
“duration”:“10”,
“timestamp”:“1655924097”,
But the numbers don’t seem to make sense to me. I hate to assume the “timestamp” is a Unix timestamp if it isn’t…
gordon
(gordon)
4
So I thought that meant to use the ‘timestamp’ field.
I looked through a few call records and ended up in a funny spot where the timestamp for end was before the start timestamp.
start calldate: 1655932412
end calldate: 1655932421
end - start: 9
start timestamp: 1655932412
end timestamp: 1655932410
end - start: -2
Is there an explanation for the difference between calldate and timestamp anywhere? I’ve searched but cannot find it.
system
(system)
Closed
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.