API: Count number of licenses with filters

Dear support,

Is there a way to count the number of licenses with filters? (a given reseller_id in my case)

One option is to list licenses with filters and go through all pages but it’s quite long and cpu consuming on your side.

Regards

Hi,

When you make a GET request to fetch licenses, the total count is available in the Pagination-Count HTTP header. So you only need to make a single request.

Regards,
Adnan

Hello,

Thank you, works great.