# Bug report: List invitations endpoint does not return "totals"

**URL:** <https://community.auth0.com/t/bug-report-list-invitations-endpoint-does-not-return-totals/66226>\
**Category:** Get Help\
**Tags:** invitations, bug\
**Created:** [July 15, 2021, 12:54pm UTC](https://community.auth0.com/t/bug-report-list-invitations-endpoint-does-not-return-totals/66226 "2021-07-15T12:54:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![henrique](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/henrique/32/25248_2.png) [@henrique](https://community.auth0.com/u/henrique)\
**Post date:** [July 15, 2021, 9:58pm UTC](https://community.auth0.com/t/bug-report-list-invitations-endpoint-does-not-return-totals/66226/4 "2021-07-15T21:58:25Z")

</div>

Thank you, Dan! Nice to meet you. About the bug, actually the expected return would be something like:

```auto
{
  "invitations": [
  {...},
  {...}
  ],
  "start": 0,
  "limit": 2,
  "total": 2
}

```

`start` and `limit` are related with params `page` and `per_page` respectively. `total` is a different information. For example, if I set `page` to `0`, `per_page` to `3` and I have `5` invitations the expected result would be

```auto
{
  "invitations": [
  {...},
  {...},
  {...}
  ],
  "start": 0,
  "limit": 3,
  "total": 5
}

```

As I understand it, the return of this call would be something similar to calls `https://xxx.auth0.com/api/v2/users?include_totals=true` or `https://xxx.auth0.com/api/v2/organizations?include_totals=true`.

---

_[View the full topic](https://community.auth0.com/t/bug-report-list-invitations-endpoint-does-not-return-totals/66226)._
