Login
https://core.hisend.hunnovate.com/api/v1/projects/{project_identifier}/auth/login?api_key={api_key}
Login user, for subsequent requests on authenticated routes, you need to use the returned token as the Authorization header Bearer token value, checkout our start kit for an example
Path Parameters
project_identifier string required
The identifier or id of the project, for example project_name or 01jtk9f6xtp5bqycmj8x68040f, you can get it from the projects page on your dashboard
Query Params
api_key string required
The api key from your dashboard
Body Parameters
email string required
Email Address of the user
password string required
Password of the user
422 Error Response Example
{
"message": "Invalid credentials",
}
Payload Example
{
"email": "example@hunnovate.com",
"password": "@f.7esdfg_1G",
}
200 Success Response Example
{
"data": {
"token": "jVm1T68Lc84QajRORk7KS2iKm0cGzigL",
"user": {
"id": "01JTGJN6XCVKAWTT7XF7PRQV4A",
"email": "example@hunnovate.com",
"phone": 0123456789,
"last_name": "Doe",
"first_name": "John",
"created_at": "2025-05-05T15:57:26.000000Z",
"updated_at": "2025-05-07T14:42:41.000000Z",
"email_verified_at": "2025-05-05T16:02:15.000000Z",
"phone_verified_at": "2025-05-05T16:03:43.000000Z",
"full_name": "John Doe",
},
},
"message": "Login successful",
}