---
title: "Returns all tokens of the owner"
method: GET
path: "/m2m-oauth-server/api/v1/tokens"
tags: ["Tokens"]
---

# Returns all tokens of the owner

`GET /m2m-oauth-server/api/v1/tokens`

## Query parameters

- `idFilter` string[]
- `includeBlacklisted` boolean

## Response `200`

A successful response.(streaming responses)

- object
  - `result` PbToken — driven by resource change event
    - `id` string
    - `version` string, uint64
    - `name` string
    - `owner` string
    - `issuedAt` string, int64
    - `audience` string[]
    - `scope` string[]
    - `expiration` string, int64
    - `clientId` string
    - `originalTokenClaims` object
    - `blacklisted` TokenBlackListed
      - `flag` boolean
      - `timestamp` string, int64
    - `subject` string
  - `error` RpcStatus
    - `code` integer
    - `message` string
    - `details` ProtobufAny[]
      - `@type` string

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-17** `1927458b3ccc` — 1 info
  - endpoint added
- **2024-07-05** `cfb2166420c3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/plgd-dev/apis/plgd-m2m-api/changes/m2m-oauth-server/api/v1/tokens/get.md)

---

[API](https://skmtc.dev/plgd-dev/apis/plgd-m2m-api.md) · [All operations](https://skmtc.dev/plgd-dev/apis/plgd-m2m-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/plgd-dev/plgd-m2m-api/revisions/1927458b3ccc/schema)
