Secure access to API resources using token-based authentication.
We use JSON Web Tokens (JWT) for secure, stateless authentication. Access tokens are issued for 24 hours and can be refreshed using our refresh token endpoint.
/oauth/token
Authorization: Bearer {token}
// JavaScript Example fetch("https://api.eggrOSa/oauth/token", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ client_id: "your-client-id", client_secret: "your-secret", grant_type: "client_credentials" }) }) .then(response => response.json()) .then(data => console.log("Access Token:", data.access_token)); // Python Example import requests response = requests.post( "https://api.eggrOSa/oauth/token", json={ "client_id": "your-client-id", "client_secret": "your-secret", "grant_type": "client_credentials" } ) print("Access Token:", response.json()["access_token"])
Grants read/write access to user profile information and authentication data.
Enables full CRUD operations for storing and retrieving data objects.
Allows read-only access to system metrics and usage statistics.
Controls the ability to register and receive webhooks from the system.