POST
/
api
/
v1
/
auth
/
login
curl --request POST \
  --url https://api.byblend.com/api/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "chad@byblend.com",
  "password": "ch4db13nd$$"
}'
{
  "access_token": "eyJhbGciOiJIAzI1NiIsInR5cCI6IkpXVCJ9...",
  "refresh_token": "eyJhbGciOiJIAzI1NiIsInR5cCI6IkpXVCJ9...",
  "expires_at": "2025-03-27T12:00:00Z",
  "user": {
    "id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
    "created_at": "2025-03-15T12:00:00Z",
    "updated_at": "2025-03-15T12:00:00Z",
    "email": "chad@byblend.com",
    "first_name": "Chad",
    "last_name": "Birkenstock",
    "is_active": true,
    "role": "admin"
  }
}

Body

application/json

Response

200 - application/json

Successful response with access tokens and user details

The response is of type object.