- API Keys
- Environments
- Plans
- Companies
- Users
- Events
- Features
- Flags
- Entitlements
- Feature Usage
Request
1 // Create environment (POST /environments) 2 const response = await fetch("https://api.schematichq.com/environments", { 3 method: "POST", 4 headers: { 5 "X-Schematic-Api-Key": "", 6 "Content-Type": "application/json" 7 }, 8 body: JSON.stringify({ 9 "environment_type": "development", 10 "name": "name" 11 }), 12 }); 13 14 const body = await response.json(); 15 console.log(body);
Response