ZeroGPT Business API ZeroGPT provides api to develop your own custom solutions: AI Detector, Summarizer, Paraphraser, Chat, Translator, Email Helper ## Sections • [Zerogpt Business API](https://app.theneo.io/olive-works-llc/zerogpt-docs/zerogpt-business-api.md): The Zerogpt Business API section enables business users to seamlessly integrate our AI detection platform into their own applications. With ZeroGPT, users can easily detect AI-generated text at various levels within documents. This API empowers businesses to enhance their content moderation and fraud detection processes with accurate and efficient AI-powered detection capabilities. Moreover, You can, summarize, paraphrase, chat, grammar and spell check, translate your texts • [Detect AI in your text](https://app.theneo.io/olive-works-llc/zerogpt-docs/detect/detect-text.md): Detect text allows users to easily check for AI plagiarism in their text by providing the input text to be processed and their API key. This feature helps users ensure the originality of their content and maintain the integrity of their work. • [Detect AI in your file](https://app.theneo.io/olive-works-llc/zerogpt-docs/detect/detect-file.md): Detect File section allows users to detect AI plagiarism in various file formats such as .pdf, .docx, and .txt. By providing the file to check and the required ApiKey in the headers, users can uncover any instances of plagiarism within their content. This feature is essential for ensuring originality and integrity in written work. • [Detect AI in multiple files](https://app.theneo.io/olive-works-llc/zerogpt-docs/detect/detect-files.md): The Detect Files section of the ZeroGPT API allows users to check their files for AI plagiarism, supporting file formats such as PDF, DOCX, and TXT. By submitting files to this function, users can detect potential instances of plagiarism and monitor the status of the detection process. This experimental feature provides valuable insights into the originality of content for improved integrity and authenticity. After launching a detect files operation, Please refer to Dashboard / Check Collection to get more info on the status. • [Detect Text Plagiarism](https://app.theneo.io/olive-works-llc/zerogpt-docs/detect/detect-text-plagiarism.md): Detect Plagiarism in your text • [Detect File Plagiarism](https://app.theneo.io/olive-works-llc/zerogpt-docs/detect/detect-file-plagiarism.md): Detect plagiarism in your File. • [Transform](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform.md): Smart Realtime Text Transformer: Summarize, paraphrase, grammar check, chat, translate, email helper • [Websocket for real time processing](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/websocket.md): Websocket allowing realtime communication Base Url Javascript const wsUrl = “ wss://api.zerogpt.com/api/transform/ws ” Connecting to this websocket will push you a Client Id, which shall be used by all proceeding methods Javascript setClientId,<WebSocketId> Everytime a connection to websocket is lost, you should reconnect to websocket WebSocketId is used in all proceeding methods, so store it safely in your web app, and use it while it's valid and the connection is open A Sample code is provided in javascipt: Javascript this.ws = new WebSocket(wsUrl); this.ws.onopen = () => { this.connected = true; }; this.ws.onmessage = this.updateResponse this.ws.onclose = () => { this.connected = false; }; updateTextFromSocketEvent(event) { var msg = event.data var msgArr = msg.split(',') if(msgArr[0] === 'setClientId') { this.wsId= msgArr[1]; } else if(msgArr[0] === 'done') { this.isReceiving = false } else { if(msg.includes('\n')) { msg = msg.replace('\n', '<br>') } this.receivedData += msg } } You should be able to add this piece of code anywhere you need access to realtime processing in your code Keep in mind, to add this piece of code, or an alternative in other languages if you plan on doing realtime processing in your web app. • [Summarize a text](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/summarize-a-text.md): Summarize a specified text • [Summarize a file](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/summarize-a-file.md): Summarizes a file by specified ratio percentage. • [Paraphrase a text](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/paraphrase-a-text.md): Paraphrases a text by specified tone. • [Paraphrase a file](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/paraphrase-a-file.md): Paraphrases a file by specified tone. • [Grammar and spell Check a text](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/grammar-and-spell-check-a-text.md): Grammar and spell checking of a text. • [Grammar and Spell Check a file](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/grammar-and-spell-check-a-file.md): Grammar and spell checking of a file. • [Chat with AI bot](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/chat-with-ai-bot.md): Chat with a very smart bot. If conversation_id = 0, a new conversation object will be created for you, and returned in response • [Get list of conversations](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/get-list-of-conversations.md): Retrieve the list of conversations initiated by a user • [Get a conversation's messages](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/get-a-conversation-s-messages.md): Retrieve the list of messages of a conversation • [AI Text Translator](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/ai-text-translator.md): Translate a text from a language, if the source language is not known, the source language will be returned by the http response in the end. • [Email generator](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/email-generator.md): Write an email, or generate an email reply • [Rephrase a sentence in a different way](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/rephrase-a-sentence-in-a-different-way.md): Rephrases a sentence by specified tone. Post Object: { skipRealtime: 1: Use without websocket. 0: Realtime processing, pushed using websocket protocol - wsId must be posted. wsId : String : the Websocket Id obtained when connecting to websocket. Does not work if skipRealtime = 0. string : String : the original sentence tone: String: Choose from: "Standard", "Academic", "Fluent", "Formal", "Simple", "Creative", "Engineer", "Doctor", "Lawyer", "Teenager" newString: String : the paraphrased sentence of the original sentence } • [Delete a conversation](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/delete-a-conversation.md): Delete a conversation of a user by conversation_id • [Dictionary](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/dictionary.md): Get Dictionary of a word Post Object: { skipRealtime: 1: Use without websocket. 0: Realtime processing, pushed using websocket protocol - wsId must be posted. wsId : String : the Websocket Id obtained when connecting to websocket. Does not work if skipRealtime = 0. string : String : the text or word you would like get dictionary info of } • [Humanize Text](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/ai-text-humanizer.md): Humanize a text using undetectable api. Plain Text Post Object: { skipRealtime: 1: Use without websocket. 0: Realtime processing, pushed using websocket protocol - wsId must be posted. wsId : String : the Websocket Id obtained when connecting to websocket. Does not work if skipRealtime = 0. string : String : the text you would like to translate fromLanguage: String : Source language, use normal english language names: English, French, Portuguese, German, etc... toLanguage: String : Target Language, use normal english language names: English, French, Portuguese, German, etc... } Post Object: { skipRealtime: 1: Use without websocket. 0: Realtime processing, pushed using websocket protocol - wsId must be posted. wsId : String : the Websocket Id obtained when connecting to websocket. Does not work if skipRealtime = 0. string : String : the text you would like to translate fromLanguage: String : Source language, use normal english language names: English, French, Portuguese, German, etc... toLanguage: String : Target Language, use normal english language names: English, French, Portuguese, German, etc... } • [Humanize a file](https://app.theneo.io/olive-works-llc/zerogpt-docs/transform/humanize-a-file.md): Humanizes a file:Plain Text Form Data Fields: skipRealtime: 1: Use without websocket. 0: Realtime processing, pushed using websocket protocol - wsId must be posted. wsId : String : the Websocket Id obtained when connecting to websocket. Does not work if skipRealtime = 0. file : FileBlob (binary array) : the file to paraphrase tone: String: Choose from: "Standard", "Academic", "Fluent", "Formal", "Simple", "Creative", "Engineer", "Doctor", "Lawyer", "Teenager" Form Data Fields: skipRealtime: 1: Use without websocket. 0: Realtime processing, pushed using websocket protocol - wsId must be posted. wsId : String : the Websocket Id obtained when connecting to websocket. Does not work if skipRealtime = 0. file : FileBlob (binary array) : the file to paraphrase tone: String: Choose from: "Standard", "Academic", "Fluent", "Formal", "Simple", "Creative", "Engineer", "Doctor", "Lawyer", "Teenager" • [Auth](https://app.theneo.io/olive-works-llc/zerogpt-docs/auth.md): The Auth section of the ZeroGPT API allows users to authenticate and securely access their account information. With this section, users can verify their identity and ensure their data remains protected. This functionality enables a seamless and secure user experience within the ZeroGPT platform. • [Login](https://app.theneo.io/olive-works-llc/zerogpt-docs/auth/login.md): The Login section of the ZeroGPT API allows users to authenticate and obtain a token for accessing protected resources. By providing their email and password, users can securely log in and receive the necessary credentials to interact with the API's features and data. • [Generateapikey](https://app.theneo.io/olive-works-llc/zerogpt-docs/auth/generateapikey.md): The Generateapikey section allows users to create a unique API key necessary for authentication in the ZeroGPT platform. This key is a one-time requirement and does not expire, providing secure access to detection features. With this functionality, users can seamlessly integrate their applications with ZeroGPT for accurate and reliable results. • [Forgotpassword](https://app.theneo.io/olive-works-llc/zerogpt-docs/auth/forgotpassword.md): The Forgotpassword section allows users to reset their password by requesting a temporary link sent to their email address. This feature is helpful for users who have forgotten their login credentials and need to regain access to their account securely. By following the steps provided, users can easily reset their password and continue using the platform without any hassle. • [Resetpassword](https://app.theneo.io/olive-works-llc/zerogpt-docs/auth/resetpassword.md): The Resetpassword section of the ZeroGPT API allows users to securely reset their password in case they have forgotten it or need to update it for security reasons. By providing the necessary information, such as their email address and verification code, users can quickly reset their password and regain access to their account. This functionality ensures a smooth and user-friendly experience for managing account security within the ZeroGPT platform. • [Resendverificationemail](https://app.theneo.io/olive-works-llc/zerogpt-docs/auth/resendverificationemail.md) • [Dashboard](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard.md): Dashboard API for ZeroGPT • [Getstats](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/getstats.md): Get a brief of your info, your stats • [Change Password](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/change-password.md): Change Password of logged in user • [Get packages](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/get-packages.md): Change Personal settings of logged in user • [Change your api package.](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/change-your-api-package.md): Change your current package, package type must be API (1) • [Get detection results](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/get-detection-results.md): Get list of all detection results made by the logged in user. • [Get Collections](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/get-collections.md): Retrieve all created collections (batches) by current logged in user. • [Check Collection](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/check-collection.md): retrieve the status of the collection, as well as the scores of the files that have finished processing Status: 0: Pending, no file has been processed yet 1: Is currently being processed 2: Has successfully finished processing all files -1: An error was encountered in at least 1 file • [Delete Collection](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/delete-collection.md): Delete a collection and all related detection results • [Set IP whitelist](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/set-ip-whitelist.md): Set the IP addresses for the servers, in a csv string. • [Export to pdf](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/export-to-pdf.md): Export the detection result to pdf and automatically download your file • [Get Detection Result](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/get-detection-result.md): Get the detection result by id • [Get Conversations](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/get-conversations.md): Return list of conversations with the AI bot. • [Get Messages](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/get-messages.md): Get List of messages belonging to a conversation. • [Change Social Settings.](https://app.theneo.io/olive-works-llc/zerogpt-docs/dashboard/change-social-settings.md): Change telegram and whatsapp settings