POSTAuthentication
Login
Authenticate and receive a JWT token for API access
Base URL
https://qa.api.saudehd.com.br/schedule/v2
Endpoint
POST
/auth-bot/loginAuthentication
Type: Bearer Token
Include your JWT token in the Authorization header
Authorization: Bearer <your_token>
Request Body
{
"username": "botshd@healthdev.io",
"password": "123456"
}Response Example
{
"token": "eyJhbGciOiJIUzI1NiJ9...",
"expiresIn": 3600,
"user": {
"id": "726b820b-e894-4abb-aded-f8816d0f1103",
"username": "botshd@healthdev.io"
}
}cURL Example
curl -X POST \
'https://qa.api.saudehd.com.br/schedule/v2/auth-bot/login' \
-H 'Content-Type: application/json' \
-d '{
"username": "botshd@healthdev.io",
"password": "123456"
}'Notes
Use the returned token in the Authorization header for subsequent requests.