API Reference
Build custom integrations or automate your workflow with the SuuSri REST API. Our interface follows a predictable, resource-oriented design.
Authentication
The SuuSri API uses API keys to authenticate requests. You can view and manage your API keys in the Developer Hub.
curl -X GET https://api.suusri.app/v1/sites \
-H "Authorization: Bearer YOUR_API_KEY"Core Endpoints
/v1/sitesRetrieve a list of all verified sites associated with your API key.
/v1/chat/messageSend a message to an AI instance belonging to a specific site.
/v1/analytics/leadsFetch captured lead data for CRM integration.
Error Codes
401_UNAUTHORIZEDAPI key is missing or invalid.
403_DOMAIN_MISMATCHThe request originated from a domain not verified for this key.
429_RATE_LIMITYou have exceeded your plan's request limit.
503_ENGINE_BUSYThe AI engine is currently under high load. Retry with exponential backoff.
SuuSri Discovery Protocol (SDP)
SuuSri endpoints are compatible with the SuuSri Discovery Protocol (SDP). This allows third-party AI agents to programmatically query your site's capabilities by resolving your verified suusri.json file.