---
title: "POST http://localhost:8000/api-token-auth/"
method: POST
path: "http://localhost:8000/api-token-auth/"
tags: ["api-token-auth"]
---

# POST http://localhost:8000/api-token-auth/

`POST http://localhost:8000/api-token-auth/`

## Request body

- object
  - `username` string, required — Valid username for authentication
  - `password` string, required — Valid password for authentication

## Response `201`

Created

## Changes

- **2020-06-24** `80927abb02ba` — 1 info
  - endpoint added
- **2019-08-15** `2b6c094737cc` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/catmaid/apis/catmaid-api/changes/http:/localhost:8000/api-token-auth/post.md)

---

[API](https://skmtc.dev/catmaid/apis/catmaid-api.md) · [All operations](https://skmtc.dev/catmaid/apis/catmaid-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/catmaid/catmaid-api/revisions/1c4e5dec0f1e/schema)
