Skip to main content

Base URL

The Strike Auth Service API is available at the following base URLs:

Authentication

Most endpoints require authentication via the Authorization header:
Admin endpoints require either:
  • Service role key: Authorization: Bearer <service-role-key>
  • Admin user JWT: Authorization: Bearer <admin-jwt-token>

Request Format

All requests should include the Content-Type header:
Request bodies should be valid JSON:

Response Format

All responses are returned in JSON format with consistent structure:

Success Response

Error Response

Rate Limiting

All endpoints include rate limiting headers: When rate limits are exceeded, the API returns a 429 Too Many Requests status code.

HTTP Status Codes

The API uses standard HTTP status codes:

Pagination

List endpoints support pagination using query parameters: Paginated responses include metadata:

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 registration
  • user.updated - User profile updated
  • user.deleted - User account deleted
  • auth.login - User login
  • auth.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:
You can use this specification with tools like:
  • 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