Aller au contenu principal

API Overview

Welcome to the ISAO external API documentation. This API allows you to integrate your applications with ISAO's WhatsApp AI platform to manage contacts, deals, and receive real-time notifications via webhooks.

🚀 Quick Start

  1. Get your API Key: Generate an API key from your ISAO dashboard at /dashboard/settings/api-keys
  2. Test the connection: Use the test endpoint to verify your API key works
  3. Start integrating: Begin with contacts or deals endpoints
  4. Set up webhooks: Configure real-time notifications for your integrations

📋 Table of Contents

🔗 Base URL

Production: https://isao.io/api/external
Staging: https://staging.isao.io/api/external

⚡ Quick Test

Test your API key with a simple request:

curl -H "Authorization: Bearer YOUR_API_KEY" \
https://staging.isao.io/api/external/test

Expected response:

{
"success": true,
"message": "API key is valid and working",
"data": {
"companyId": "your-company-id",
"permissions": ["contacts:read", "contacts:write"],
"timestamp": "2024-11-08T09:30:00.000Z"
}
}

🔧 Supported Integrations

  • Zapier: Connect 6000+ apps with REST hooks
  • Make (Integromat): Advanced workflow automation
  • Custom Applications: Build your own integrations
  • Webhooks: Real-time data synchronization

📊 Available Resources

ResourceDescriptionPermissions Required
ContactsManage customer contacts and leadscontacts:read, contacts:write
DealsHandle sales opportunities and pipelinedeals:read, deals:write
AgentsAccess AI agent informationagents:read
WebhooksSubscribe to real-time eventswebhooks:read, webhooks:write

🏷️ API Key Types

Choose the right API key type for your integration:

  • Generic: General purpose API access
  • Zapier: Optimized for Zapier workflows
  • Make: Configured for Make.com scenarios
  • Custom: For your own applications

📈 Getting Help

🔒 Security

  • All API requests must be made over HTTPS
  • API keys should be kept secure and never exposed in client-side code
  • Use environment variables to store API keys
  • Rotate API keys regularly for better security

📋 Changelog

  • 2024-11-08: Initial API documentation release
  • 2024-11-08: Added webhook support for Zapier integration
  • 2024-11-08: Enhanced rate limiting and error handling