1
0
Fork 0
mirror of synced 2024-09-08 22:01:06 +12:00
appwrite/docs/references/users/create-token.md
2023-11-30 11:35:52 +00:00

425 B

Returns a custom token with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the PUT /account/sessions/custom endpoint to complete the login process. By default, the secret sent in the response is valid for 15 minutes.