API Docs
Authentication(1)
POST
/api/v1/auth/token/Obtain JWT Token
Authenticate and receive access and refresh tokens for API access.
application/json
{
"username": "user@example.com",
"password": "your_password"
}200Success
{
"access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}401Invalid credentials
{
"detail": "No active account found with the given credentials"
}cURL
curl -X POST https://api.salesnimbus.com/api/v1/auth/token/ \
-H "Content-Type: application/json" \
-d '{
"username": "user@example.com",
"password": "your_password"
}'Try It Out
Test this endpoint directly from the documentation. Make sure you have a valid access token.