{"service":"MagicCode™ Assist API","version":"v1","base_url":"https://getmagicchat.com/api/v1","description":"RESTful API for MagicCode Assist. Built by AI, for humans.","endpoints":{"health":{"method":"GET","path":"/health","auth":"none"},"signup":{"method":"POST","path":"/signup","body":{"email":"required","name":"optional","source":"optional"}},"chat":{"method":"POST","path":"/chat","body":{"message":"required","conversation_id":"optional"}},"conversations_list":{"method":"GET","path":"/conversations"},"conversation_messages":{"method":"GET","path":"/conversations/:id/messages"},"contacts_list":{"method":"GET","path":"/contacts","query":{"type":"optional","q":"optional"}},"contacts_get":{"method":"GET","path":"/contacts/:id"},"contacts_create":{"method":"POST","path":"/contacts","body":{"name":"required","email":"optional","type":"optional"}},"contacts_update":{"method":"PUT","path":"/contacts/:id"},"contacts_delete":{"method":"DELETE","path":"/contacts/:id"},"tasks_list":{"method":"GET","path":"/tasks","query":{"status":"optional","assignee":"optional","project":"optional"}},"tasks_get":{"method":"GET","path":"/tasks/:id"},"tasks_create":{"method":"POST","path":"/tasks","body":{"title":"required","assignee":"optional","priority":"optional"}},"tasks_update":{"method":"PUT","path":"/tasks/:id"},"tasks_delete":{"method":"DELETE","path":"/tasks/:id"},"notify":{"method":"POST","path":"/notify","body":{"message":"required","title":"optional","channel":"optional"}},"notifications_list":{"method":"GET","path":"/notifications"},"calendar_events":{"method":"GET","path":"/calendar/events"},"calendar_create":{"method":"POST","path":"/calendar/events"},"mail_inbox":{"method":"GET","path":"/mail/inbox"},"mail_send":{"method":"POST","path":"/mail/send"},"drive_files":{"method":"GET","path":"/drive/files"},"meetings_create":{"method":"POST","path":"/meetings/create"},"drive_watches_list":{"method":"GET","path":"/drive/watches"},"drive_watches_create":{"method":"POST","path":"/drive/watches","body":{"folder_id":"required","folder_name":"optional","client_name":"optional"}},"drive_watches_delete":{"method":"DELETE","path":"/drive/watches/:id"},"drive_watch_files":{"method":"GET","path":"/drive/watches/:id/files"},"drive_watch_check":{"method":"POST","path":"/drive/watches/:id/check"},"drive_detected_files":{"method":"GET","path":"/drive/detected","query":{"category":"optional"}}},"conventions":{"format":"JSON","list_responses":"{ data: [...], total?: N }","single_responses":"{ data: {...} }","errors":"{ error: 'message' }","status_codes":"201=created, 200=ok, 400=bad request, 404=not found, 500=server error"}}