POST
/
v1
/
auth
/
login
curl --request POST \
  --url https://sandbox.api.24hourinspections.com/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "foo@bar.com",
  "password": "********"
}'
{
  "accessToken": "<string>"
}

The 24 Hour Inspections API uses OAuth to generate a Bearer token.

Please read our authentication guide to get started.

Body

application/json

Response

201 - application/json
User logged in successfully

The response is of type object.