---
title: "GET /rac/connection_tokens/"
method: GET
path: "/rac/connection_tokens/"
tags: ["rac"]
---

# GET /rac/connection_tokens/

`GET /rac/connection_tokens/`

ConnectionToken Viewset

## Query parameters

- `endpoint` string, uuid
- `ordering` string
- `page` integer
- `page_size` integer
- `provider` integer
- `search` string
- `session__user` integer

## Response `200`

- PaginatedConnectionTokenList
  - `pagination` Pagination, required
    - `next` number, required
    - `previous` number, required
    - `count` number, required
    - `current` number, required
    - `total_pages` number, required
    - `start_index` number, required
    - `end_index` number, required
  - `results` ConnectionToken[], required
    - `pk` string, uuid
    - `provider` integer, required
    - `provider_obj` RACProvider, required — RACProvider Serializer
      - `pk` integer, required
      - `name` string, required
      - `authentication_flow` string, uuid, nullable — Flow used for authentication when the associated application is accessed by an un-authenticated user.
      - `authorization_flow` string, uuid, required — Flow used when authorizing this provider.
      - `property_mappings` string[]
      - `component` string, required — Get object component so that we know how to edit the object
      - `assigned_application_slug` string, nullable, required — Internal application name, used in URLs.
      - `assigned_application_name` string, nullable, required — Application's display Name.
      - `assigned_backchannel_application_slug` string, nullable, required — Internal application name, used in URLs.
      - `assigned_backchannel_application_name` string, nullable, required — Application's display Name.
      - `verbose_name` string, required — Return object's verbose_name
      - `verbose_name_plural` string, required — Return object's plural verbose_name
      - `meta_model_name` string, required — Return internal model name
      - `settings` object
      - `outpost_set` string[], required
      - `connection_expiry` string — Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
      - `delete_token_on_disconnect` boolean — When set to true, connection tokens will be deleted upon disconnect.
    - `endpoint` string, uuid, required
    - `endpoint_obj` Endpoint, required — Endpoint Serializer
      - `pk` string, uuid, required
      - `name` string, required
      - `provider` integer, required
      - `provider_obj` RACProvider, required — RACProvider Serializer
        - `pk` integer, required
        - `name` string, required
        - `authentication_flow` string, uuid, nullable — Flow used for authentication when the associated application is accessed by an un-authenticated user.
        - `authorization_flow` string, uuid, required — Flow used when authorizing this provider.
        - `property_mappings` string[]
        - `component` string, required — Get object component so that we know how to edit the object
        - `assigned_application_slug` string, nullable, required — Internal application name, used in URLs.
        - `assigned_application_name` string, nullable, required — Application's display Name.
        - `assigned_backchannel_application_slug` string, nullable, required — Internal application name, used in URLs.
        - `assigned_backchannel_application_name` string, nullable, required — Application's display Name.
        - `verbose_name` string, required — Return object's verbose_name
        - `verbose_name_plural` string, required — Return object's plural verbose_name
        - `meta_model_name` string, required — Return internal model name
        - `settings` object
        - `outpost_set` string[], required
        - `connection_expiry` string — Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
        - `delete_token_on_disconnect` boolean — When set to true, connection tokens will be deleted upon disconnect.
      - `protocol` 'rdp' | 'vnc' | 'ssh', required
      - `host` string, required
      - `settings` object
      - `property_mappings` string[]
      - `auth_mode` 'static' | 'prompt', required
      - `launch_url` string, nullable, required — Build actual launch URL (the provider itself does not have one, just individual endpoints)
      - `maximum_connections` integer
    - `user` PartialUser, required — Partial User Serializer, does not include child relations.
      - `pk` integer, required
      - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
      - `name` string, required — User's display name.
      - `is_active` boolean — Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
      - `last_login` string, date-time, nullable
      - `email` string, email
      - `attributes` object
      - `uid` string, required
  - `autocomplete` Autocomplete, required

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
