InterioApp provides API access for custom integrations and automation.
InterioApp API Credentials:
Use these credentials for API integration:
Supabase URL: https://ldgrcodffsalkevafbkb.supabase.co
Anon Key (publishable): eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImxkZ3Jjb2RmZnNhbGtldmFmYmtiIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTA2OTAyMDEsImV4cCI6MjA2NjI2NjIwMX0.d9jbWQB2byOUGPkBp7lLjqE1tKkR4KtDcgaTiU42r_I
Edge Functions Base: https://ldgrcodffsalkevafbkb.supabase.co/functions/v1/
Example API Request:
fetch('https://ldgrcodffsalkevafbkb.supabase.co/functions/v1/receive-external-lead', { method: 'POST', headers: { 'Content-Type': 'application/json', 'apikey': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' }, body: JSON.stringify({ name: 'John Doe', email: 'john@example.com', phone: '0412345678', source: 'website' })})
Architecture:
- RESTful API via Supabase Edge Functions
- JWT-based authentication
- HTTPS required for all requests
- JSON request/response format
Authentication Methods:
Anonymous API Key:
• Use the Anon Key above in apikey header
• For public endpoints like lead capture
• No user context required
User JWT Token:
• For authenticated user actions
• Passed via Authorization: Bearer <token> header
• Inherits user's permissions
• Obtain from Supabase auth session
Rate Limiting:
- Standard: 100 requests/minute
- Burst: 10 requests/second
- Headers indicate remaining quota
Comments
0 comments
Please sign in to leave a comment.