API REFERENCE
License Summaries
Summaries of the licenses your organization has contracted with BetterUp, with seat counts and the dates each license is valid. Use them to track how licenses are allocated and used, for example ahead of a renewal.
GET /partner/entitlements/license_summaries
List license utilization summaries
Returns a paginated list of license summaries for your organization, including available and total seat counts and validity date ranges.
Requires any one of
api:partner:entitlements:read api:partner:entitlements:write
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | Page number for pagination |
| per_page | integer | optional | Records per page |
Responses
| Status | Reason | Schema |
|---|---|---|
| 200 | OK | object |
Response fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | optional | |
| data | Entitlements.LicenseSummary[] | optional | |
| data[].id | string | required | |
| data[].available_seats | integer | null | required | Number of seats currently available for assignment |
| data[].end_date | string (date-time) | null | required | Date until which this license is valid |
| data[].kind | string | required | |
| data[].name | string | required | Product name for this license |
| data[].related_links | object | optional | |
| data[].start_date | string (date-time) | null | required | Date from which this license is valid |
| data[].total_seats | integer | required | Total number of purchased seats |
| pagination_metadata | PaginationMetadata | optional | Pagination metadata for the response. |
| pagination_metadata.next_page_params | map<string, any> | null | required | Query params for the next page. Merge them into the params of this request. Null on the last page. |
| pagination_metadata.next_page_url | string | null | required | |
| pagination_metadata.page | integer | required | |
| pagination_metadata.per_page | integer | required | |
| pagination_metadata.previous_page_params | map<string, any> | null | required | Query params for the previous page. Merge them into the params of this request. Null on the first page. |
| pagination_metadata.previous_page_url | string | null | required | |
| pagination_metadata.total_records | integer | null | required |
Example request
curl -X GET "https://api.betterup.co/partner/entitlements/license_summaries" \
-H "Authorization: Bearer <access_token>"Example response
{
"url": "<url>",
"data": [
{
"id": "<id>",
"available_seats": 0,
"end_date": "<date-time>",
"kind": "<kind>",
"name": "<name>",
"related_links": {},
"start_date": "<date-time>",
"total_seats": 0
}
],
"pagination_metadata": {
"next_page_params": {
"<key>": {}
},
"next_page_url": "<next_page_url>",
"page": 0,
"per_page": 0,
"previous_page_params": {
"<key>": {}
},
"previous_page_url": "<previous_page_url>",
"total_records": 0
}
}