How can I send the call duration in seconds to my webhook?
When I receive the call report, it comes in date and time format, but I would like to know how to convert it into seconds to see exactly how long the call lasted. Here is an example:
startedAt 4 May 2024 10:46
endedAt 4 May 2024 10:46
startedAt 4 May 2024 10:46
endedAt 4 May 2024 10:46