MATLAB Answers

Can I detect when a channel is queried?

2 views (last 30 days)
Boyan Biandov
Boyan Biandov on 8 Oct 2021
Answered: Vinod on 12 Oct 2021
Hi everyone,
My use case is pretty simple, I have a channel and need to know each time when the channel URL is hit, for example GET https://api.thingspeak.com/channels/21614/fields/1.json?api_key=XXX&results=1
Is there an internal log that can be retrieved or is there a way to inject a webhook that fires (updating a log engine) each time the channel URL receives an HTTP request? The reson should be easy to figure out - analytcs, I want to see where the requests are coming from, headers, volume and when (date/time).
Thank you

Answers (1)

Vinod
Vinod on 12 Oct 2021
ThingSpeak does not currently provide this information. If you are concerned about the access to the channel, make it private. This way the only people accessing the channel field is those who you have shared the read API key with.

Communities

More Answers in the  ThingSpeak Community

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by