---
title: "POST /auth"
method: POST
path: "/auth"
tags: ["auth"]
---

# POST /auth

`POST /auth`

## Request

- Base URL: `https://headless.dataddo.com/customer-api/v1`
- URL: `https://headless.dataddo.com/customer-api/v1/auth`
- Auth: none required

auth

## Request body

- PostAuthInput
  - `password` string
  - `email` string

## Response `200`

- CognitoAuthResource
  - `access_token` string
  - `refresh_token` string: Dataddo refresh JWT with token type rt+jwt.
  - `provider` 'cognito' | 'google' | 'okta' | 'active_directory_public' | 'entra_id_saml' | 'keycloak' | 'one_login_saml' | 'okta_saml'
  - `realm_id` integer
  - `expires_in` integer
  - `session` string, nullable

---

[API](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api.md) · [All operations](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/revisions/dcfa2345bd10?raw)
