Hikka Docs Hikka Docs
EndpointsAuth

Login

POST
/auth/login

Header Parameters

captcha*string

Request Body

application/json

email*string
Formatemail
password*string
Length8 <= length <= 256
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://api.hikka.io/auth/login" \  -H "captcha: string" \  -H "Content-Type: application/json" \  -d '{    "email": "hikka@email.com",    "password": "password"  }'
{
  "expiration": 1686088809,
  "created": 1686088809,
  "secret": "CQE-CTXVFCYoUpxz_6VKrHhzHaUZv68XvxV-3AvQbnA"
}
{
  "message": "Example error message",
  "code": "example_error"
}