Skip to main content
POST
Validate employee credentials

POST /employees/validate

Check an employee’s credentials and location access without creating a session. Send Authorization: Bearer YOUR_API_KEY and X-Device-ID: YOUR_DEVICE_ID. See authentication. Send username and password in the request body. This endpoint validates credentials, not an existing employee token. It returns an employee and message, without a token or expiration time. Use login when you need a session. Non-admin employees must be assigned to the API key’s location. The additional rate limit is 20 requests per minute per IP.

Example request

Example response

Authorizations

Authorization
string
header
required

Location API key. Also requires X-Device-ID.

Headers

X-Device-ID
string
required

Stable device identifier. API key binds to this value on first use.

Body

application/json
username
string
required
password
string
required

Response

Success

employee
object
message
string