Base URL
The Strike Auth Service API is available at the following base URLs:Authentication
Most endpoints require authentication via theAuthorization header:
- Service role key:
Authorization: Bearer <service-role-key> - Admin user JWT:
Authorization: Bearer <admin-jwt-token>
Request Format
All requests should include theContent-Type header:
Response Format
All responses are returned in JSON format with consistent structure:Success Response
Error Response
Rate Limiting
All endpoints include rate limiting headers:| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests per window |
X-RateLimit-Remaining | Remaining requests in current window |
X-RateLimit-Reset | Time until window resets (seconds) |
429 Too Many Requests status code.
HTTP Status Codes
The API uses standard HTTP status codes:| Code | Description |
|---|---|
200 | OK - Request successful |
201 | Created - Resource created successfully |
400 | Bad Request - Invalid request data |
401 | Unauthorized - Invalid or missing authentication |
403 | Forbidden - Insufficient permissions |
404 | Not Found - Resource not found |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Server error |
Pagination
List endpoints support pagination using query parameters:| Parameter | Description | Default |
|---|---|---|
page | Page number (1-based) | 1 |
per_page | Items per page (max 100) | 20 |
Filtering and Sorting
Some endpoints support filtering and sorting:Filtering
Sorting
Webhooks
The service supports webhooks for real-time event notifications:Supported Events
user.created- New user registrationuser.updated- User profile updateduser.deleted- User account deletedauth.login- User loginauth.logout- User logout
Webhook Payload
SDKs and Libraries
Official SDKs are available for popular programming languages:JavaScript/TypeScript
Python
Go
PHP
OpenAPI Specification
The complete OpenAPI 3.0 specification is available at:- Postman
- Insomnia
- Swagger UI
- OpenAPI Generator
Testing
Test Environment
A test environment is available for development and testing:Test Data
The test environment includes sample data for testing:- Test users with various roles
- Sample OAuth providers
- Rate limiting disabled for testing
API Keys
Test API keys are available in your Strike dashboard under the “Test” environment.Support
Need help with the API?Documentation
Browse our comprehensive guides and tutorials
Support
Contact our support team at support@strike.com
Community
Join our developer community on Slack
Status
Check API status at status.strike.com