---
title: "Issue client token"
method: POST
path: "/client-token"
tags: ["Public Auth"]
---

# Issue client token

`POST /client-token`

## Request

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

Auth: Public — No authentication required.

## Request body

- object
  - `name` string
  - `password` string
  - `oauth_code` string
  - `v1_token` string
  - `email_auth_token` string
  - `client` object, required
    - `id` string, uuid, required
    - `type` integer
    - `name` string
    - `info` string
    - `user_id` string, uuid
    - `props` object
      - `os` string
      - `os_version` string
      - `model` string
      - `device_name` string
      - `build_version` string

## Response `200`

Success

- object
  - `token` string, required
  - `user_id` string, uuid, required

## 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)
