List Benefit Grants
Intent
Reads the available benefit grants as a pageable collection without changing them.
When to call it
Call this when an interface, sync, or support workflow needs to inspect benefit grants. Use the filters and paging controls shown below to limit the result.
Access boundary
Authorize the request with a token that carries customer_portal:read or customer_portal:write.
Successful result
A successful request returns 200. The response schema below defines the body your integration receives.
Operational notes
List benefits grants of the authenticated customer.
Scopes: customer_portal:read customer_portal:write
Authorizations
Customer session tokens are specific tokens that are used to authenticate customers on your organization. You can create those sessions programmatically using the Create Customer Session endpoint.
Query Parameters
Filter by benefit description.
Filter by benefit type.
custom, discord, github_repository, downloadables, license_keys, meter_credit, feature_flag, slack_shared_channel Filter by benefit ID.
Filter by checkout ID.
Filter by order ID. The order ID.
Filter by subscription ID. The subscription ID.
Filter by member ID.
Page number, defaults to 1.
Size of a page, defaults to 10. Maximum is 100.
Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign - before the criteria name to sort by descending order.
granted_at, -granted_at, type, -type, organization, -organization, product_benefit, -product_benefit Response
Successful Response
- CustomerBenefitGrantDiscord
- CustomerBenefitGrantGitHubRepository
- CustomerBenefitGrantDownloadables
- CustomerBenefitGrantLicenseKeys
- CustomerBenefitGrantCustom
- CustomerBenefitGrantMeterCredit
- CustomerBenefitGrantFeatureFlag