# Rest api for number of messages sent by device

**URL:** <https://forum.sierrawireless.com/t/rest-api-for-number-of-messages-sent-by-device/29565>\
**Category:** Octave\
**Created:** [April 20, 2023, 3:19pm UTC](https://forum.sierrawireless.com/t/rest-api-for-number-of-messages-sent-by-device/29565 "2023-04-20T15:19:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarabsduhra](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@sarabsduhra](https://forum.sierrawireless.com/u/sarabsduhra)\
**Post date:** [April 20, 2023, 3:19pm UTC](https://forum.sierrawireless.com/t/rest-api-for-number-of-messages-sent-by-device/29565/1 "2023-04-20T15:19:33Z")

</div>

I need to get the usage per device using rest api. Where do I find info regarding this rest api?  
For example, I can get message count for a company using the api  
[https://octave-api.sierrawireless.io/v5.0/eaton/usage/messages/?gte=now%2FM](https://octave-api.sierrawireless.io/v5.0/eaton/usage/messages/?gte=now%2FM)  
I have many devices under this company. Is there a filter that I can apply to get messages by device?

---

<div class="post-metadata">

**Author:** ![amons](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/amons/32/4887_2.png) [@amons](https://forum.sierrawireless.com/u/amons)\
**Post date:** [April 25, 2023, 8:37am UTC](https://forum.sierrawireless.com/t/rest-api-for-number-of-messages-sent-by-device/29565/2 "2023-04-25T08:37:57Z")

</div>

Hello,

This API is not documented as it is not meant to be integrated from customer/3rd party platforms. We do allow some usage of this API given specific fair-use rules, which has been the case with the company you work for (API details and fair-use rules have been shared).

I suggest you to bring the topic through your technical/project management to close the loop or reach out to us if needed
