Endpoints
Create a token.
This endpoint lets you create a permanent token. When the account has two-factor authentication enabled and the client sends two_factor_supported: true, it returns 409 with a challenge to exchange at POST /api/v1/sanctum/token/two-factor.
post/api/v1/sanctum/token
Request
- Base URL: https://hidemail.app
- URL: https://hidemail.app/api/v1/sanctum/token
- Auth: none required
Request body
Example request
{
"email": "hi@example.com",
"password": "password",
"device_name": "Raycast",
"two_factor_supported": true
}Response
Example response
{
"token": "1a2b3c..."
}Changes
No recorded changes to this operation across all 1 revision of this API.