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
email
string
required

user email from Clerk

Example:

"foo@bar.com"

password
string
required

User password from Clerk

Example:

"********"

Response

201 - application/json
User logged in successfully
accessToken
string