Gateway Device API Rate Limits

Hi, I’m curious about API limits for device state updates and if using a gateway device affects these limits.

For our application we use a gateway device to authenticate the python REST API client so that we can send states to tied peripheral devices. When we want to update peripherals, we authenticate the client once using the gateway device, then update multiple peripheral devices.

Based on the posted REST API limits, it appears that we are able to make a device send state call for each peripheral device 30 times every 15 seconds.

Does using a gateway device for REST API client authentication add any limits to the device send state call? or is the rate limiting enforced solely on a per-peripheral basis?

Thanks!

Hi @Alex_Bohm,

Welcome to the Losant Forums, we’re happy to have you!

Does using a gateway device for REST API client authentication add any limits to the device send state call? or is the rate limiting enforced solely on a per-peripheral basis?

It is on a per-peripheral basis. So, the rate limit is 30 calls in a 15-second window per deviceId.

Thank you,
Heath