Introduction
The UTMStack API provides comprehensive access to security operations and alert management functionality. This documentation covers all available endpoints for integrating with UTMStack programmatically.All API endpoints require authentication via Bearer tokens. See the Authentication section for details on obtaining access tokens.
API Base URL
The UTMStack API is available at:Replace
your-utmstack-instance.com
with your actual UTMStack instance URL.Quick Start Guide
Get up and running with the UTMStack API in just a few steps:1
Authenticate
Use your UTMStack credentials to obtain a JWT token
2
Store Token
Save the returned
id_token
for use in subsequent requests3
Make API Calls
Use the token in the Authorization header for protected endpoints
Available Endpoints
Authentication
Obtain JWT tokens for API access
List Alerts
Search and retrieve alerts with filtering
Update Status
Change alert status (Open, In Review, Completed)
Update Tags
Add or modify alert tags and create rules
Update Notes
Add investigation notes to alerts
Convert to Incident
Convert alerts into security incidents
Count Alerts
Get count of open alerts for dashboards
Property Values
Analyze field values and their distributions
CSV Export
Export alert data to CSV for reporting
📦 Postman Collection
Get started quickly by importing our complete Postman collection that includes all API endpoints with pre-configured examples, authentication, and test scripts.Download UTMStack Alerts API Collection
Complete Postman Collection (JSON)
Includes all 9 API endpoints with examples, authentication setup, and automated tests.
What’s included:
Includes all 9 API endpoints with examples, authentication setup, and automated tests.
What’s included:
- 🔐 JWT authentication with automatic token management
- 📋 Pre-configured examples for all endpoints
- 🧪 Automated test scripts for response validation
- 📊 Multiple scenarios for each API call
- 🔧 Environment variables for easy configuration
Download Tip: If your browser displays the JSON instead of downloading it, right-click the link above and select “Save link as…” to save the file to your computer.
How to Import
1
Download Collection
Click the download link above to get the JSON file
2
Open Postman
Launch Postman application or visit web.postman.co
3
Import Collection
- Click “Import” button in Postman
- Select “Upload Files”
- Choose the downloaded JSON file
- Click “Import”
4
Configure Environment
Set up collection variables:
baseUrl
: Your UTMStack instance URLbearerToken
: Will be set automatically after authenticationalertId
: Sample alert ID for testing
5
Start Testing
Run the “Authentication” request first, then explore other endpoints
Pro Tip: The collection includes pre-request scripts that automatically handle authentication token management. Just run the authentication request once, and all other requests will use the token automatically.
Authentication Overview
All API requests (except the authentication endpoint itself) require a valid Bearer token in the Authorization header:Quick Start Example
Additional Language Examples
Common Response Codes
2xx Success Codes
2xx Success Codes
- 200 OK: Request completed successfully
- 201 Created: Resource created successfully
- 204 No Content: Request successful, no response body
4xx Client Error Codes
4xx Client Error Codes
- 400 Bad Request: Invalid request format or parameters
- 401 Unauthorized: Missing or invalid authentication token
- 403 Forbidden: Insufficient permissions for the requested operation
- 404 Not Found: Requested resource does not exist
- 429 Too Many Requests: Rate limit exceeded
5xx Server Error Codes
5xx Server Error Codes
- 500 Internal Server Error: Unexpected server error
- 502 Bad Gateway: Upstream service unavailable
- 503 Service Unavailable: Service temporarily unavailable
Request/Response Format
Content Type
All API requests and responses use JSON format:Request Structure
Most endpoints expect JSON in the request body:Response Structure
Successful responses typically return:- Search endpoints: Array of objects
- Update endpoints: HTTP 200 with empty body
- Error responses: JSON object with error details
Rate Limiting
UTMStack implements rate limiting to ensure API stability. If you exceed the rate limit, you’ll receive a
429 Too Many Requests
response.Best Practices
- Implement exponential backoff for retries
- Cache authentication tokens instead of re-authenticating for each request
- Batch operations when possible to reduce API calls
- Use appropriate page sizes for search operations
Error Handling
Standard Error Response
Error Handling Example
SDK and Libraries
Currently, UTMStack provides REST API endpoints. Community SDKs and libraries may be available for specific programming languages.
Recommended HTTP Clients
- JavaScript:
fetch
,axios
- Python:
requests
,httpx
- Java:
OkHttp
,Apache HttpClient
- C#:
HttpClient
- Go:
net/http
- PHP:
Guzzle
,cURL
Support and Resources
Support Portal
Get help with API integration and troubleshooting
Status Codes Reference
Complete list of HTTP status codes and meanings
Authentication Guide
Detailed authentication setup and token management
Examples Repository
Sample code and integration examples
Version Information
- API Version: v1.0
- Documentation Version: 2025.10
- Last Updated: October 2025
This documentation is actively maintained. Check back regularly for updates and new endpoint additions.