---
title: "Create Account JWT"
method: POST
path: "/account/jwt"
tags: ["account"]
---

# Create Account JWT

`POST /account/jwt`

Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.

## Response `201`

JWT

- Jwt — JWT
  - `jwt` string, required — JWT encoded string.

---

[API](https://skmtc.net/appwrite/apis/client.md) · [All operations](https://skmtc.net/appwrite/apis/client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/appwrite/client/versions/b1c00a0bc3fb/schema)
