---
title: "Get the list of API tokens in an application. The token value will never be returned for security reasons."
method: GET
path: "/apiTokens"
---

# Get the list of API tokens in an application. The token value will never be returned for security reasons.

`GET /apiTokens`

## Query parameters

- `api-version` string, required

## Response `200`

Success

- ApiTokenCollection — The paged results of API tokens.
  - `value` ApiToken[], required — The collection of API tokens.
    - `roles` RoleAssignment[], required — List of role assignments that specify the permissions to access the application.
      - `role` string, required — ID of the role for this role assignment.
      - `organization` string — ID of the organization for this role assignment.
  - `nextLink` string — URL to get the next page of API tokens.

## Other responses

- `default` — An error response received from the IoT Central Service.

---

[API](https://skmtc.net/azure/apis/iotcentral-iotcentral.md) · [All operations](https://skmtc.net/azure/apis/iotcentral-iotcentral/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/iotcentral-iotcentral/versions/565d8813cbd3/schema)
