Apps monetization info

When users make a purchase, our UI will intutitively recommend an app plan based on their monday account size. Seats fluctuate over time, so developers must monitor account size to ensure compliance using the apps_monetization_info API.

Queries

You can use the apps_monetization_info query to retrieve account seat data via the API.

  • Required scope:account:read
  • Returns an integer representing the number of seats in an account
  • Can only be queried directly at the root; can’t be nested within another query
$ query {
> apps_monetization_info {
> seats_count
> }
> }
$import { ApiClient } from "@mondaydotcomorg/api";
>const mondayApiClient = new ApiClient({ token: myToken });
>
>const query = "query { apps_monetization_info { seats_count } }";
>const response = await mondayApiClient.request(query);

Fields

You can use the following fields to specify what information your apps_monetization_info query will return.

FieldDescription
seats_countInt* For accounts with one product, this returns the total number of seats in the account.
  • For accounts with more than one product, this returns the product subscription with the highest seat count. |