---
title: "Auths"
description: "<p>Create and manage credentials and access to external systems.</p>"
url: "https://www.contentstack.com/docs/developers/apis/lytics-api/auths"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-11-05"
---

# Auths

Create and manage credentials and access to external systems.

## Get auths

### Get auths

**GET** `/v2/auth`

Get a list of all auths in an account

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.
- **type** (optional)
  Filter by auth resource/name (e.g. lytics-auth-token)
- **auth_type** (optional)
  Filter by auth type (e.g. api\_token)

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": [
    {
      "account_id": "string",
      "alert_enabled": true,
      "created": "string",
      "description": "string",
      "expires": "string",
      "id": "string",
      "internal": true,
      "label": "string",
      "last_accessed_at": "string",
      "provider_id": "string",
      "provider_slug": "string",
      "scopes": [
        "string"
      ],
      "status": "healthy",
      "ttl": "string",
      "type": "string",
      "unhealthy": true,
      "updated": "string",
      "user_id": "string"
    }
  ],
  "request_id": "string",
  "status": 0
}
```