Research Project: This is a free AI research project. No warranties, SLAs, or company associations. Learn more

API Reference

BrainstormMSP API

Build powerful integrations with our REST API. Full documentation for authentication, endpoints, webhooks, and best practices.

Base URL
brainstormmsp.ai/api/v1
Authentication
OAuth 2.0 / JWT
Format
JSON
Encryption
TLS 1.3

Endpoints

BrainstormMSP uses OAuth 2.0 with JWT tokens for API authentication. All API requests must include a valid access token in the Authorization header.

POST/api/v1/auth/token
curl -X POST https://brainstormmsp.ai/api/v1/auth/token \
  -H "Content-Type: application/json" \
  -d '{
    "client_id": "your_client_id",
    "client_secret": "your_client_secret",
    "grant_type": "client_credentials"
  }'

Response

{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "token_type": "Bearer",
  "expires_in": 3600,
  "scope": "read write"
}

Notes

  • Tokens expire after 1 hour (3600 seconds)
  • Store tokens securely and refresh before expiration
  • Include the token in all requests: Authorization: Bearer {token}
  • Never expose your client_secret in client-side code

Rate Limits

API usage limits and quotas

Endpoint TypeRate LimitBurst
Authentication10 requests/minute20
List endpoints (GET)100 requests/minute200
Detail endpoints (GET)200 requests/minute400
Write endpoints (POST/PUT)50 requests/minute100
Report generation10 requests/hour20
Bulk operations5 requests/minute10

Rate limits are enforced per API key. When exceeded, requests return 429 Too Many Requests with a Retry-After header indicating when to retry.

Error Codes

HTTP status codes and error handling

CodeNameDescription
400Bad RequestInvalid request parameters or body
401UnauthorizedMissing or invalid authentication token
403ForbiddenToken valid but lacks required permissions
404Not FoundRequested resource does not exist
429Too Many RequestsRate limit exceeded
500Internal Server ErrorServer error, please retry

Ready to Build?

Get your API keys and start building powerful integrations today.