---
title: "Post desktop login token"
method: POST
path: "/desktop_login_tokens"
tags: ["auth"]
---

# Post desktop login token

`POST /desktop_login_tokens`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/desktop_login_tokens`
- Auth: none declared
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/desktop_login_tokens/post.ts> (a function with typed inputs; its response is checked against the schema)

Store new desktop login token

## Response `200`

OK

- DesktopLoginToken
  - `login_token` string

## Other responses

- `500`: Internal Server Error

---

[API](https://skmtc.dev/toggl/apis/toggl-api.md) - [All operations](https://skmtc.dev/toggl/apis/toggl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toggl/apis/toggl-api/revisions/3085aee16990?raw)
