---
title: "List Licenses"
method: GET
path: "/licenses"
tags: ["Licenses"]
---

# List Licenses

`GET /licenses`

List the Licenses associated with your Account

Scoped OAuth requires: `licenses.read`

## Headers

- `Accept` string, required
- `Content-Type` 'application/json', required

## Response `200`

Licenses associated with your Account

- object
  - `licenses` LicenseWithCounts[]
    - `id` string, required — Uniquely identifies the resource
    - `description` string, required — Description of the License. May include the names of add-ons associated with the License, if there are any.
    - `name` string, required — Name of the License.
    - `valid_roles` string[], required — The roles a User with this License can have
    - `role_group` 'FullUser' | 'Stakeholder' — Indicates whether this License is assignable to full or stakeholder Users
    - `type` string — Type of object
    - `self` string — API URL to access the License
    - `html_url` string — HTML URL to access the License
    - `summary` string — Summary of the License
    - `current_value` integer — How many of these Licenses are currently allocated to Users
    - `allocations_available` integer, nullable — How many of these licenses are available to be allocated to a user. If this value is "null" then there is no limit on the number of allocations allowed.

## Other responses

- `401` — Caller did not supply credentials or did not provide the correct credentials. If you are using an API key, it may be invalid or your Authorization header may be malformed.
- `403` — Caller is not authorized to view the requested resource. While your authentication is valid, the authenticated user or token does not have permission to perform this action.
- `404` — The requested resource was not found.

---

[API](https://skmtc.net/pagerduty/apis/rest-api.md) · [All operations](https://skmtc.net/pagerduty/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pagerduty/rest-api/revisions/b679a8f3f02c/schema)
