---
title: "Retrieve a Single Auth"
method: GET
path: "/api/auth/{id}"
tags: ["Auth"]
---

# Retrieve a Single Auth

`GET /api/auth/{id}`

## Request

- Base URL: `https://api.lytics.io`
- URL: `https://api.lytics.io/api/auth/{id}`
- Auth: API key in header `Authorization`

This API is fairly special, as only the public portions of the auth model are
returned, not all fields **config**, **oauth2token**, and **oathtoken** fields are
never exposed.

## Path parameters

- `id` string, required

## Query parameters

- `account_id` string
- `access_token` string

## Response `200`

JSON representation of Auth Resource in addition to representing its state in the JSON.

- AuthModel
  - `status` string
  - `data` object
    - `account_id` string
    - `id` string
    - `provider_id` string
    - `provider_name` string
    - `user_id` string

---

[API](https://skmtc.dev/lytics/apis/v1-lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/v1-lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/v1-lytics-api/revisions/339fd1d88486?raw)
