IoT Cloud Data types and data updates

Hello, good afternoon.

I'm not a cpp developer so please do bear with me if I misunderstand something.
I have an Arduino MKR1010 connected to Arduino IoT cloud and have 4 variables that are setup to update periodically (60s). I tried connecting this board to a google Pub/Sub topic to stream data but after a myriad of failures, decided to just push data through a webhook. I notice that IoT Cloud is smart enough to only push to the hook after this 60s interval but my problem is that I think over time the variables update time shifts from one another and I get pushes with only one or other variable at the time.

I'm pushing Volts and Amps to a timeseries DB so for me it's important that data is consistently inserted every 1 minute otherwise I can't calculate kW/h for a given point and I interpret this as a missed heartbeat.

I have various possible solutions:

The first relies on someone to tell me what are the valid IoT Cloud data types because if it accepts a object , I can send the two variables in the same object and prevent the shift from the internal Arduino clock.

The second (probably most reliable) would be to connect to IoT cloud and have a cron that pulls data every 1 minute. thought the API docs are very weird and I don't seem to understand how am I supposed to authenticate and handle errors if the token expires.

Anyway, anyone has any input on this?

thank you very much for your help.
Kind regards,
Diogo Marques

I have a similar question.

I see the different Cloud data types like "CloudTemperatureSensor” but haven’t located any documentation on them. Any idea where I can find?