Introduction to the Aftermi API
The Aftermi API allows you to programmatically create and manage switches, configure actions, and handle check-ins. This enables you to integrate Aftermi functionality into your own applications and services.
Our API follows RESTful principles and uses standard HTTP methods. All responses are returned in JSON format.
API Availability
The Aftermi API is available to Pro and Enterprise plan subscribers. Basic plan users do not have API access.
Base URL
All API requests should be made to the following base URL:
https://api.deadswitch.com/v1
Authentication
The Aftermi API uses API keys for authentication. You can generate an API key from your account dashboard under the API section.
API Key Authentication
Include your API key in the Authorization header of all requests:
Authorization: Bearer YOUR_API_KEY
Keeping Your API Key Secure
Your API key provides full access to your Aftermi account. Keep it secure and never expose it in client-side code or public repositories.
Rate Limits
To ensure service stability, the Aftermi API enforces rate limits on requests:
- Pro plan: 60 requests per minute
- Enterprise plan: 300 requests per minute
If you exceed these limits, the API will return a 429 Too Many Requests response.
Additional API documentation sections are being developed. Check back soon for detailed information on endpoints, webhooks, error handling, and code examples.