{"error":false,"success":true,"data":{"name":"Salesbooth API","version":"1.20.2","base_url":"https://api.salesbooth.com/api/v1","documentation":"https://api.salesbooth.com/docs","openapi_spec":"https://api.salesbooth.com/api/openapi.json","endpoints":{"deals":{"url":"/api/v1/deals","methods":["GET","POST","PATCH","DELETE"],"description":"Manage deals and the deal lifecycle"},"customers":{"url":"/api/v1/customers","methods":["GET","POST","PATCH","DELETE"],"description":"Manage customer records"},"products":{"url":"/api/v1/products","methods":["GET","POST","PATCH","DELETE"],"description":"Manage products and services"},"contracts":{"url":"/api/v1/contracts","methods":["GET","POST","PATCH","DELETE"],"description":"Manage contracts and agreements"},"keys":{"url":"/api/v1/keys","methods":["GET","POST","DELETE"],"description":"Manage API keys (session auth required)"},"intelligence":{"url":"/api/v1/intelligence","methods":["GET"],"description":"Deal scoring, pricing intelligence, and pipeline analytics","types":["pricing","pipeline","score","pricing_suggestion"]},"sandbox":{"url":"/api/v1/sandbox","methods":["GET","POST"],"description":"Sandbox environment management (test API keys only)","actions":["reset","seed","simulate_webhook","status"]}},"schema":{"state_machine":{"url":"/api/v1/schema/state-machine","methods":["GET"],"description":"Machine-readable state machine definitions for deals and contracts","authentication":"none"}},"agent":{"tools_url":"https://api.salesbooth.com/api/v1/tools","tools_description":"AI agent tool definitions for function-calling (OpenAI, Anthropic, Google)","mcp_url":"https://api.salesbooth.com/api/v1/mcp","mcp_description":"Model Context Protocol (MCP) server — JSON-RPC 2.0 over HTTP","agent_sdk_url":"https://api.salesbooth.com/sdk/v1/salesbooth-agent.js","agent_sdk_description":"Agent SDK with getToolDefinitions() and executeTool() methods","deal_terms_schema":"https://api.salesbooth.com/api/schemas/deal-terms.json","required_scopes":["agent:discover","agent:negotiate","agent:execute"]},"authentication":{"methods":["Authorization: Bearer {api_key}","X-API-Key: {api_key}","Session cookie (for browser requests)"],"key_format":"sb_live_* or sb_test_*","manage_keys_ui":"https://api.salesbooth.com/api/keys","manage_keys_api":"https://api.salesbooth.com/api/v1/keys"}}}