---
title: "Register/login with OAuth provider"
method: POST
path: "/oauth"
tags: ["OAuth"]
---

# Register/login with OAuth provider

`POST /oauth`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/oauth`
- Auth: none required

Auth: Public — No authentication required.

## Request body

- object

## Response `200`

Success

- object

## Other responses

- `400`: Validation error

---

[API](https://skmtc.dev/distill/apis/distill-io-api-v2.md) - [All operations](https://skmtc.dev/distill/apis/distill-io-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/distill/apis/distill-io-api-v2/revisions/c55722ccfe14?raw)
