⚠️ This documentation is not complete and will change. Documentation and API References are actively being updated.
curl --request POST \
--url https://api.propops.app/api/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "admin@example.com",
"password": "********"
}
'{
"success": true,
"token": "a1b2c3d4e5f67890...",
"token_type": "Bearer",
"expires_at": "2023-11-07T05:31:56Z",
"user": {
"name": "John Doe",
"email": "admin@example.com",
"account_type": "Staff"
},
"usage": "<string>"
}Authenticate with email and password to receive a long-lived bearer token
for API access. Available on any domain. When used on the API Playground
(api.propops.app), login is restricted to SysOps and API roles only.
The returned token is valid for 90 days and should be included as
Authorization: Bearer <token> in all subsequent API requests.
Any previously active token for the same account is automatically revoked when a new one is generated.
curl --request POST \
--url https://api.propops.app/api/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "admin@example.com",
"password": "********"
}
'{
"success": true,
"token": "a1b2c3d4e5f67890...",
"token_type": "Bearer",
"expires_at": "2023-11-07T05:31:56Z",
"user": {
"name": "John Doe",
"email": "admin@example.com",
"account_type": "Staff"
},
"usage": "<string>"
}Authentication successful