{"document":{"Id":11,"PageName":"Text Moderation","PageSlug":"Text-Moderation","MetaTitle":"Text Moderation API Documentation Guide","MetaDescription":"Discover how to filter offensive text and moderate user-generated content using APIs.","documentList":null},"documentdata":"<div class=\"doc-step-grid\">\n        <div class=\"doc-step-grid-col\" id=\"left-section-content\">\n            <h3>Text Moderation<\/h3>\n            <p>&lt;p&gt;&lt;span style=&quot;background-color: transparent; color: rgb(14, 16, 26);&quot;&gt;At first, the OAuth process 2.0 where the generated token has been passed to call the API named &lt;\/span&gt;analyze-sentiment-text &lt;span style=&quot;background-color: transparent; color: rgb(14, 16, 26);&quot;&gt;from the call of API you will get the parameter of&lt;\/span&gt;&lt;span style=&quot;background-color: rgba(145, 158, 171, 0.08);&quot;&gt; &lt;\/span&gt;&lt;strong style=&quot;background-color: rgba(145, 158, 171, 0.08); color: rgb(102, 163, 224);&quot;&gt;text&lt;\/strong&gt;&lt;strong style=&quot;background-color: rgba(145, 158, 171, 0.08);&quot;&gt; &lt;\/strong&gt;&lt;span style=&quot;background-color: transparent; color: rgb(14, 16, 26);&quot;&gt;where the URL of the moderation of text hits the API &amp;amp; it will give the response in which the text content show you in the parameter the contain of the text will get in the form of name &amp;amp; value for the text which has been detected by the API in the back it will give you back the response.&lt;\/span&gt;&lt;\/p&gt;<\/p>\n\n        <\/div>\n\n        <div class=\"doc-step-grid-col\">\n                        <div class=\"doc-code-wrap\">\n                <div class=\"doc-code-header\" id=\"doc-header-0\">\n                    <span>Endpoints<\/span>\n                                        <div class=\"copy-btn\" data-content-id=\"doc-content-0\">\n                        <img title=\"Click to copy\" class=\"copy-img\" src=\"\/assets\/front\/images\/copy.svg\" alt=\"Copy\" style=\"height: 20px;cursor: pointer;\">\n                    <\/div>\n                                    <\/div>\n                <div class=\"doc-code-body\" id=\"doc-content-0\">\n                    <div>&lt;pre class=&quot;ql-syntax&quot; spellcheck=&quot;false&quot;&gt;curl -X &#039;POST&#039; \\\n&amp;nbsp;&amp;nbsp;&#039;https:\/\/sandbox.quickmoderate.com\/ClassifyMedia\/ClassifyText&#039; \\\n&amp;nbsp;&amp;nbsp;-H &#039;accept: *\/*&#039; \\\n  -H &#039;X-Auth-Key: Your Auth Key&#039; \\\n  -H &#039;Content-Type: application\/json&#039; \\\n&amp;nbsp;&amp;nbsp;-d &#039;{\n&amp;nbsp;&amp;nbsp;&quot;text&quot;: &quot;Your Prompt&quot;\n}&#039;.\n&lt;\/pre&gt;<\/div>\n                <\/div>\n            <\/div>\n                \n        <\/div>\n    <\/div>\n    "}