---
title: "Sync user from AuthKit to local database"
method: POST
path: "/auth/sync"
tags: ["Authentication"]
---

# Sync user from AuthKit to local database

`POST /auth/sync`

## Request

- Base URL: `https://api.katla.app`
- URL: `https://api.katla.app/auth/sync`
- Auth: none declared

## Request body

- object
  - `workosUserId` string, required
  - `email` string, email, required
  - `name` string, nullable, required
  - `avatarUrl` string, nullable, required

## Response `200`

Default Response

- object
  - `id` string, required
  - `email` string, required
  - `name` string, nullable, required

---

[API](https://skmtc.dev/katla/apis/katla-api.md) · [All operations](https://skmtc.dev/katla/apis/katla-api/llms.txt) · [OpenAPI document](https://skmtc.dev/katla/apis/katla-api/revisions/6ed2d7f0b009?raw)
