GET /api/v2/users/count

Returns an approximate count of users. If the count exceeds 100,000, it is updated every 24 hours.

The response includes a refreshed_at property in a count object that contains a timestamp indicating when the count was last updated.

Note: When the count exceeds 100,000, the refreshed_at property may occasionally be null. This indicates that the count is being updated in the background. The count object's value property is limited to 100,000 until the update is complete.

Allowed For

Servers

Query parameters

Name Type Required Description
permission_set Integer No

For custom roles which is available on the Enterprise plan and above. You can only filter by one role ID per request

role String No

Filters the results by role. Possible values are "end-user", "agent", or "admin"

Possible values:

  • "end-user"
  • "agent"
  • "admin"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.