{"info":{"_postman_id":"9d458495-a5dc-4bee-89ab-8aaf03694500","name":"Content Transformation API","description":"<html><head></head><body><p><em>Version: v1</em></p>\n<p><em><strong>Content Transformation API</strong></em> is a suite of APIs developed by <em>codemantra</em> for automated transformation of content.</p>\n<p>Once registered with <em>codemantra</em> for <em>Content Transformation</em> API suite, you can use below APIs for seamless integration into your products:</p>\n<ul>\n<li><strong>Authorize</strong></li>\n<li><strong>Content Transformation Request</strong> - File or URL</li>\n<li><strong>Content Transformation Status</strong></li>\n</ul>\n<p>For password management, you can use below APIs:</p>\n<ul>\n<li><strong>Change Password</strong></li>\n<li><strong>Forgot Password</strong></li>\n<li>Password Policy<ul>\n<li>Minimum password length should be 8</li>\n<li>Numbers are required</li>\n<li>Special characters are required</li>\n<li>Uppercase letters are required</li>\n<li>Lowercase letters are required</li>\n<li>The temporary password sent on registration will be valid for 365 days.</li>\n<li>The temporary password sent on registration will be valid for 365 days.</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"steps-for-integration\">Steps for Integration:</h2>\n<ol>\n<li>You can contact <em>codemantra</em> for registration.</li>\n<li>Once the API administrator from <em>codemantra</em> registers your email, you'll receive a welcome mail, along with the temporary password.</li>\n<li>You can set your permanent password by using the <strong>Authorize API</strong>. You'll have to send your temporary password along with your email and the password that you want to set as your permanent password.</li>\n<li>Once you've set your password, you can use the <strong>Authorize API</strong> to generate authorization token by passing your email and password. The generated authorization token will have to be passed in other APIs as a header.</li>\n<li>When you have your authorization token, you can use the <strong>Content Transformation Request API</strong> to upload files for transformation. The transformation will happen asynchronously, and you'll receive a request id to track your transformation request.<ul>\n<li>In case you want to upload a file directly, you can just pass the document name and format in the request, and you'll receive a presigned URL to upload the file.</li>\n<li>However, if you want to upload file from a URL, you can pass the document URL, along with the document name and format.</li>\n<li>Optionally, if you want certain information to be added to the <strong>Content Transformation Request API</strong> response for your downstream processing pipelines, you can pass that information as <code>info</code> object in the request body. The information will be added to the API response body without any modification.</li>\n</ul>\n</li>\n<li>You can check the status of your transformation request by using the <strong>Content Transformation Status API,</strong> passing the request id as the path parameter.</li>\n<li>Once your transformation request is processed by <em>codemantra</em>, you will receive a url in the response of the <strong>Content Transformation Status API</strong> to downloand the transformed document. Also, an email will be sent to your email id to notify the completion of the transformation process. The email will also contain the url to download the transformed document. <em><strong>The transformed document will be only available for download till 7 days from the time the transformation request was processed by codemantra.</strong></em></li>\n</ol>\n<p>Additionally, <em>Content Transformation API</em> provides <strong>websocket connect</strong> and <strong>callback url</strong> features using which you can receive real-time transformation completion notifications.</p>\n<p>If you happen to use the <strong>websocket connect</strong> or <strong>callback url</strong> feature, you'll not need to keep track of your requests by continuously polling <strong>Content Transformation Status API</strong>.</p>\n<p>You can connect to the websocket using the below url:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">wss://transform.ws.codemantra.com?Authorization=[your-access-token]\n\n</code></pre>\n<h4 id=\"nodejs-template-for-connecting-to-websocket\">NodeJs Template for connecting to Websocket:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">var WebSocketClient = require(\"websocket\").client\nvar client = new WebSocketClient();\nclient.on('connectFailed', function(error) {\n    console.log('Connect Error: ' + error.toString());\n});\nclient.on('connect', function(connection) {\n    console.log('WebSocket Client Connected');\n    connection.on('error', function(error) {\n        console.log(\"Connection Error: \" + error.toString());\n    });\n    connection.on('close', function() {\n        console.log('Connection Closed');\n    });\n    connection.on('message', function(message) {\n        const content = JSON.parse(message.utf8Data);\n        if (content.event == 'content-transformation-complete') {\n            console.log('Received new transformation complete notification');\n            console.log(content)\n            // Add your business logic here\n        }\n    });\n});\n// Obtain valid token from Authorize API\nconst token = \"[your-access-token]\";\nclient.connect('wss://transform.ws.codemantra.com?Authorization='+token);\n\n</code></pre>\n<p>In case you wish to have your real-time transformation completion notifications pushed to an endpoint, you need to either provide the <code>callbackUrl</code> when you're registering for the API, or send the <code>callbackUrl</code> when you're giving an upload request. Once the transformation is completed, notification will be sent on the provided <code>callbackUrl</code>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14952611","collectionId":"9d458495-a5dc-4bee-89ab-8aaf03694500","publishedId":"UVeFNmYt","public":true,"customColor":{"top-bar":"00834F","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-02-03T11:54:26.000Z"},"item":[{"name":"Authorize","id":"a955688b-a27a-41a2-8dd9-3ba0e5faf1ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"xxxxxxxx\",\r\n  \"temporaryPassword\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/authorize","description":"<p>API for retrieving authorization token for a registered user. </p>\n<p><code>token</code> provided in the response should be used as <strong>Authorization Header</strong> in other APIs.\n<br />\n<br /></p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Email of the registered user</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>string</td>\n<td>Password of the registered user</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n\n<h3 id=\"request-parameters-when-setting-the-password-for-the-first-time\">Request Parameters when setting the password for the first time</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Email of the registered user</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>string</td>\n<td>Password that will be set as the permanent password of the registered user</td>\n</tr>\n<tr>\n<td><code>temporaryPassword</code></td>\n<td>string</td>\n<td>Temporary password that was sent to the registered user's mail id</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n<br />\n\n<h3 id=\"response-item-object\">Response Item Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>string</td>\n<td>Authorization Token</td>\n</tr>\n<tr>\n<td><code>tokenType</code></td>\n<td>string</td>\n<td>Authorization Token Type. Will always have value <strong>Bearer</strong>. Authorization header format to be added in other APIs is <code>Bearer [your-access-token]</code></td>\n</tr>\n<tr>\n<td><code>expiresIn</code></td>\n<td>number</td>\n<td>Duration in seconds after which the Authorization token will expire</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","authorize"],"host":["https://transform.api.codemantra.com"],"query":[],"variable":[]}},"response":[{"id":"705cd29b-d515-46a7-9495-1af27066e2bf","name":"400 Incorrect Email or Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 05:45:54 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Incorrect email or password\",\n    \"item\": null\n}"},{"id":"40d92470-3eee-427b-874c-c1c16d3d7833","name":"400 Password Does Not Coform To Policy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"xxxxxxxx\",\r\n  \"temporaryPassword\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"102"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 05:48:22 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password does not conform to policy: Password must have uppercase characters\",\n    \"item\": null\n}"},{"id":"4fbb57b8-c3b2-4d84-9f71-eb8108552833","name":"400 Temporary Password Missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"96"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 05:43:18 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"temporaryPassword parameter is missing for setting permanent password.\",\n    \"item\": null\n}"},{"id":"5785a882-08ee-424e-896e-b1db06dd7095","name":"400 User Doesn't Exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"46"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 05:50:38 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User does not exist.\",\n    \"item\": null\n}"},{"id":"f9aa0826-4f3f-43f2-afbb-adf2195ae9da","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 05:52:17 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"BadRequestException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid request body\"\n}"},{"id":"46807462-f163-450e-899c-f72c6d590bf7","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"812"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 14:19:47 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 c84ecfd128e1f4c41a53a2b42410f3b8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD89-C3"},{"key":"X-Amz-Cf-Id","value":"RTL5z3SE3cDPfY-hMW0Cbd5oBh0aUc0UHFsOLYwetheYAelyEk9ndg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\",\n    \"item\": {\n        \"token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        \"tokenType\": \"Bearer\",\n        \"expiresIn\": 3600\n    }\n}"},{"id":"c8410322-6978-48eb-93e3-33e547bf97a7","name":"200 Password Set Using Temporary Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"xxxxxxxx\",\r\n  \"temporaryPassword\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"807"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 19:03:02 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\",\n    \"item\": {\n        \"token\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        \"tokenType\": \"Bearer\",\n        \"expiresIn\": 3600\n    }\n}"}],"_postman_id":"a955688b-a27a-41a2-8dd9-3ba0e5faf1ac"},{"name":"Content Transformation Request","id":"f48906c8-8d3f-4f82-b6af-6414f12cf27e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"[your_access_token]"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"file-example_PDF_1MB.pdf\",\r\n  \"documentUrl\": \"https://file-examples-com.github.io/uploads/2017/10/file-example_PDF_1MB.pdf\",\r\n  \"format\": \"PDF\",\r\n  \"callbackUrl\": \"https://xxxxxxxxxx.execute-api.us-east-1.amazonaws.com/dev/compliance2\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/upload","description":"<p>API for uploading a document for transformation. Document uploads can be either <strong>direct</strong> (no <code>documentUrl</code> field in request), or <strong>via URL</strong> (<code>documentUrl</code> field contains file url value).</p>\n<p>In case of <strong>direct</strong> document uploads, response body will contain <code>uploadUrl</code> field using which document can be uploaded for transformation.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>documentName</code></td>\n<td>string</td>\n<td>Name of the Document</td>\n</tr>\n<tr>\n<td><code>documentUrl</code>  <br />(optional)</td>\n<td>string</td>\n<td>Url of the document for which transformation is requested.  <br />If <code>null</code> or missing, link will be sent in the response under <code>uploadUrl</code> field to upload document directly</td>\n</tr>\n<tr>\n<td><code>format</code></td>\n<td>string</td>\n<td>Document format. See <strong>Format Options</strong> section for valid formats</td>\n</tr>\n<tr>\n<td><code>callbackUrl</code>  <br />(optional)</td>\n<td>string</td>\n<td>A callback URL to which the transformation completion notification will be <strong>posted</strong>.</td>\n</tr>\n<tr>\n<td><code>info</code>  <br />(optional)</td>\n<td>object</td>\n<td>Additional information that needs to be associated with the document's transformation completion response for downstream processing pipelines</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"format-options\">Format Options</h4>\n<p>Following options are valid for <code>format</code> field:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Extension</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PDF</code></td>\n<td><code>PDF</code>, <code>pdf</code></td>\n</tr>\n<tr>\n<td><code>DOCX</code></td>\n<td><code>DOCX</code>, <code>docx</code></td>\n</tr>\n<tr>\n<td><code>PPTX</code></td>\n<td><code>PPTX</code>, <code>pptx</code></td>\n</tr>\n<tr>\n<td><code>XLSX</code></td>\n<td><code>XLSX</code>, <code>xlsx</code></td>\n</tr>\n<tr>\n<td><code>DOC</code></td>\n<td><code>DOC</code>, <code>doc</code></td>\n</tr>\n<tr>\n<td><code>ODT</code></td>\n<td><code>ODT</code>, <code>odt</code></td>\n</tr>\n<tr>\n<td><code>TEX</code></td>\n<td><code>TEX</code>, <code>tex</code></td>\n</tr>\n<tr>\n<td><code>ZIP</code></td>\n<td><code>ZIP</code>, <code>zip</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-item-object\">Response Item Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requestId</code></td>\n<td>string</td>\n<td>Request ID, for tracking the status</td>\n</tr>\n<tr>\n<td><code>uploadUrl</code>  <br />(optional)</td>\n<td>string</td>\n<td>Presigned URL to upload the document directly for transformation, if the request doesn't contain the <code>documentUrl</code> parameter</td>\n</tr>\n<tr>\n<td><code>info</code>  <br />(optional)</td>\n<td>object</td>\n<td>Additional information that needs to be associated with the document's transformation completion response for downstream processing pipelines</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","upload"],"host":["https://transform.api.codemantra.com"],"query":[],"variable":[]}},"response":[{"id":"57f59c0e-aa82-429d-8579-4f51a4e393ad","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"file-example_PDF_1MB.pdf\",\r\n  \"documentUrl\": \"https://file-examples-com.github.io/uploads/2017/10/file-example_PDF_1MB.pdf\",\r\n  \"format\": \"TEST\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/upload"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 21:42:13 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"7fee0cb8-ac82-43b2-9ff8-ac826c08b860","name":"200 OK - File Upload","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"sample.pdf\",\r\n  \"format\": \"PDF\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1105"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 20:58:35 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\",\n    \"item\": {\n        \"requestId\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        \"uploadUrl\": \"https://accessibility-check-prod-545251674201.s3.amazonaws.com/documents/2fc4abea-e60a-4517-bf98-db52c8273c19/pdf/01F2MFNKSGCTF7HWEQWWSJ5XV4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAZAGRAE6HW2V23UTQ%2F20210406%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210406T205834Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEN3%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIQDnznEPUZmJAK78sPJqueUDO4C%2FuXC7pEH5gC6ULNNMTAIgRkqfGkrKg3nbzYQmrTKAovQ4cjtuEwM28ws1YtdIO0Mq3AEINhACGgw2MTg5MTM2MDU1MTkiDJ9O37xWSCyj7952Zyq5AU%2F7qe86bc%2BWWLv4vwd3FJ47Y%2Fah%2FRmCI5AKMK1LYnqMQZ%2F4wO83KLd9zdPvPMDueOXzGOGC%2BaRVz%2FjUxmXVNYXsi2H1sajj2XFkjtodGuJ2PuSIj1P2xA3cT%2F5gTc2AtlRszuBkDTwkIcPDTRUHxRKx4PEYpwMzWoc%2BoOB3Hq2hu%2FdJ2wQrLsKnKSp9ZCkxycOsX%2FTikrqApu1SGWiANf%2FCk5CPKDzoCNp3AGlET%2BOtR24FPKjsNbGnMPeWs4MGOuABCq83%2BwNPx54y1P3%2BmffrOv7vRh3gn%2FazSs5ON4xoknOvyQ48E5OHCqtyVsAB5WvRJjq76kJk7ydCAZ6FgUBpMAdBH8F%2B4k2O8zV%2F3zFqS6ewEXwFhI1Wm490ApnN5HPU%2BOZ9yrau%2FsrdvqtkBar50txwNOvOGuzXiHZ%2F5nnuIIx02QQNyxTP%2F0Ok%2FJvCBennTNoGrivGgmX2v1g%2FWQ%2BWbdr75rhSuvcGMhHrY2WvvHPmihi5MrnIlTiKf%2Brp2D8dfKmKim7RTG2UpT1IuJnZi7VNwqv6sfpjOMh9T854vgs%3D&X-Amz-Signature=85cd63a8506e9c7d52425105c6baa76f02586d8f00713ae436a71b8cb2246c82&X-Amz-SignedHeaders=host%3Bx-amz-meta-documentname%3Bx-amz-meta-format%3Bx-amz-meta-requestid%3Bx-amz-meta-userid&x-amz-meta-documentname=sample.pdf&x-amz-meta-format=pdf&x-amz-meta-requestid=01F2MFNKSGCTF7HWEQWWSJ5XV4&x-amz-meta-userid=2fc4abea-e60a-4517-bf98-db52c8273c19\",\n        \"info\": {\n            \"info1\": \"sample info 1\",\n            \"info2\": \"sample info 2\"\n        }\n    }\n}"},{"id":"3f8d0ca7-44dc-40d3-96e9-7f326e1afbf8","name":"200 OK - URL Upload","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"file-example_PDF_1MB.pdf\",\r\n  \"documentUrl\": \"https://file-examples-com.github.io/uploads/2017/10/file-example_PDF_1MB.pdf\",\r\n  \"format\": \"PDF\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"128"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 21:02:19 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\",\n    \"item\": {\n        \"requestId\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        \"info\": {\n            \"info1\": \"sample info 1\",\n            \"info2\": \"sample info 2\"\n        }\n    }\n}"},{"id":"86d8edd8-6fd0-4705-b499-6b329b9473bf","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"file-example_PDF_1MB.pdf\",\r\n  \"documentUrl\": \"https://file-examples-com.github.io/uploads/2017/10/file-example_PDF_1MB.pdf\",\r\n  \"format\": \"TEST\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/upload"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 21:04:39 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"BadRequestException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid request body\"\n}"},{"id":"5405abd3-c96b-4e40-bfff-f5d852a48b87","name":"401 Expired Authorization Token","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"file-example_PDF_1MB.pdf\",\r\n  \"documentUrl\": \"https://file-examples-com.github.io/uploads/2017/10/file-example_PDF_1MB.pdf\",\r\n  \"format\": \"PDF\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/upload"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 21:49:38 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The incoming token has expired\"\n}"}],"_postman_id":"f48906c8-8d3f-4f82-b6af-6414f12cf27e"},{"name":"Content Transformation Status","id":"fe32f066-4173-471e-af83-485b5384e8ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"[your_access_token]"}]},"isInherited":false},"method":"GET","header":[],"url":"https://transform.api.codemantra.com/v1/status/:requestId","description":"<p>API for checking transformation status of a particular request. Once the transformation is completed, the response will contain the URL to download the transformed document.</p>\n<h3 id=\"response-item-object\">Response Item Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requestId</code></td>\n<td>string</td>\n<td>Request ID of the transformation request</td>\n</tr>\n<tr>\n<td><code>requestType</code></td>\n<td>string</td>\n<td>Type of upload request. One of <code>FILE</code>, <code>URL</code></td>\n</tr>\n<tr>\n<td><code>documentName</code></td>\n<td>string</td>\n<td>Name of the document as provided in the upload request</td>\n</tr>\n<tr>\n<td><code>format</code></td>\n<td>string</td>\n<td>Format of the document as provided in the request. One of <code>pdf</code>, <code>docx</code>, <code>pptx</code>, <code>xlsx</code></td>\n</tr>\n<tr>\n<td><code>size</code></td>\n<td>number</td>\n<td>Size of the document in bytes</td>\n</tr>\n<tr>\n<td><code>contentTransformationDocumentUrl</code>  <br />(optional)</td>\n<td>string</td>\n<td>Presigned URL to download the transformed document. The URL will be added in the response till 7 days from the time the transformation was processed successfully</td>\n</tr>\n<tr>\n<td><code>contentTransformationDocumentUrlExpiry</code>  <br />(optional)</td>\n<td>string</td>\n<td>Expiry time of the transformed document download URL in UTC</td>\n</tr>\n<tr>\n<td><code>documentUrl</code>  <br />(optional)</td>\n<td>string</td>\n<td>URL of the uploaded document in case of <code>URL</code> based upload request</td>\n</tr>\n<tr>\n<td><code>statusCode</code></td>\n<td>number</td>\n<td>Status code of the accessibility compliance request. One of <code>200</code>, <code>202</code>, <code>404</code></td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Status of the accessibility compliance request. One of <code>COMPLETED</code>, <code>PENDING</code>, <code>NOT_FOUND</code></td>\n</tr>\n<tr>\n<td><code>info</code>  <br />(optional)</td>\n<td>object</td>\n<td>Additional information that needs to be associated with the document's transformation completion response for downstream processing pipelines</td>\n</tr>\n<tr>\n<td><code>callbackUrl</code>  <br />(optional)</td>\n<td>string</td>\n<td>A callback URL to which the transformation completion notification will be <strong>posted</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","status",":requestId"],"host":["https://transform.api.codemantra.com"],"query":[],"variable":[{"id":"8cb96628-113f-4a1f-a278-270ce850c286","description":{"content":"<p><code>requestId</code> of the upload request</p>\n","type":"text/plain"},"type":"any","value":"xxxxxxxxxxxxxxxxxxxxxxxxxx","key":"requestId"}]}},"response":[{"id":"3a19a8f4-28cf-4ca2-bcc7-f133d97346bb","name":"401 Expired Authorization Token","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"url":{"raw":"https://transform.api.codemantra.com/v1/status/:requestId","protocol":"https","host":["transform","api","codemantra","com"],"path":["v1","status",":requestId"],"variable":[{"key":"requestId","value":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 21:51:10 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The incoming token has expired\"\n}"},{"id":"672634d3-07a1-49d7-ba41-5e89a0af7489","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://transform.api.codemantra.com/v1/status/:requestId","protocol":"https","host":["transform","api","codemantra","com"],"path":["v1","status",":requestId"],"variable":[{"key":"requestId","value":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 21:43:39 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"0993ff39-e7d7-4647-90b3-5fa7c26cb450","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"url":{"raw":"https://transform.api.codemantra.com/v1/status/:requestId","protocol":"https","host":["transform","api","codemantra","com"],"path":["v1","status",":requestId"],"variable":[{"key":"requestId","value":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 21:36:04 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Document does not exist\",\n    \"item\": null\n}"},{"id":"d6df0972-6206-47fa-af2a-5b9363826704","name":"202 Transformation Pending","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"https://transform.api.codemantra.com/v1/status/:requestId","host":["https://transform.api.codemantra.com"],"path":["v1","status",":requestId"],"variable":[{"key":"requestId","value":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"`requestId` of the upload request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"282"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 03 Feb 2022 10:58:49 GMT"},{"key":"x-amzn-RequestId","value":"3020145e-2c94-4f64-81db-ef61ba4cdd62"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"M9lIlECmIAMFjUA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61fbb569-075162de727f46d163fab8d2"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b6f2a0d237549a9d0f5946595f6092b8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL54-C3"},{"key":"X-Amz-Cf-Id","value":"rHmfkR1A52dACiSA3LwL-Nq2e94Fh-bhd8iqG7mGhtwwSI4Hyyg8xQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Content Transformation is pending\",\n    \"item\": {\n        \"requestId\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        \"requestType\": \"FILE\",\n        \"documentName\": \"file-example_PDF_1MB.pdf\",\n        \"format\": \"pdf\",\n        \"size\": 125023,\n        \"statusCode\": 202,\n        \"status\": \"PENDING\",\n        \"info\": {\n            \"info1\": \"sample info 1\",\n            \"info2\": \"sample info 2\"\n        }\n    }\n}"},{"id":"fed235a3-5c7f-4534-9f20-1be43ed3dce9","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"https://transform.api.codemantra.com/v1/status/:requestId","host":["https://transform.api.codemantra.com"],"path":["v1","status",":requestId"],"variable":[{"key":"requestId","value":"xxxxxxxxxxxxxxxxxxxxxxxxxx","description":"`requestId` of the upload request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1176"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 03 Feb 2022 11:09:22 GMT"},{"key":"x-amzn-RequestId","value":"560067a2-96ea-4325-a213-0a63b7f5f12e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"M9mqwG7MIAMFmYw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61fbb7de-6b11ff440d36d26039ab3ba2"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b6f2a0d237549a9d0f5946595f6092b8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL54-C3"},{"key":"X-Amz-Cf-Id","value":"VMn-MzPzShU5XeLBR9KDjWoU490ARWLMy42EzIby0n2BaGI6rDeGqA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Content Transformation is completed\",\n    \"item\": {\n        \"requestId\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        \"requestType\": \"FILE\",\n        \"documentName\": \"file-example_PDF_1MB.pdf\",\n        \"format\": \"pdf\",\n        \"size\": 125023,\n        \"remarks\": \"Remarks related to transformation\",\n        \"contentTransformationDocumentUrl\": \"https://content-transformation-dev-545251674201.s3.amazonaws.com/transformed/9fc53c0f-4e5d-4d7a-90ac-391597bed2cc/pdf/01FTZKQ9KH56G0JXKG7QZHP5TW?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAX544IJBMYZMDDGGI%2F20220203%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220203T110922Z&X-Amz-Expires=604578&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDwaCXVzLWVhc3QtMSJHMEUCIQCZHBrHgCUl%2BeWoZEzvWQVALUtyZWhrc7HtzSpfTSYgegIgfAw84wMebZNoHtxAHbRB%2BKzJ1kmgd0TORu%2BhS1HXFFIqqQIIdBABGgw1NDUyNTE2NzQyMDEiDA4ksrGOB54WhxCXnCqGAvUaxnb6GkHaWBVg3v4KJ3mFFEpNsivIWwnYNEOtxyi2tYdMHNX699Vrj1IlimOdD8vnA%2BNh6ztg%2B6a4iM9xGXHVtRwC%2BI%2BFMqVFOHb7Km3RlT%2BiWRY86OfgjB4LakWTOY%2BA1Av3qd4GBKoNYcOWPSpm2zfSM4LhzWfW1yQPbpNCxN8Y6xWlC89UwOcTisjOJHGKvB04m7kU%2B0WRG3I8uqTyqoCcIKpXyyUTUrDW8eIxpsbFhPBi0BmhEh3TDw%2BlkgCluWQjSG5N%2BJkk1zzmXls977zYPN1JzWle74QAED9aQxiwVJRrMF544%2Fc1Ky76fN53Vgzf19Et064BmQarrrHVU1mk8Wkw3u%2FujwY6mgE8ZZBDClFvMTsC4J6PLcVnqjnP3ZyRTivNm%2Fuft4EJV7zRrmS5UOV2XTWR79R51b7rVyU9tLbEi4%2FIuz9ezBjVQWqQ4HH41AXLDqrvzuvdnsB2%2BsO2CK43elhHyZL6rcrI7s4V8PqsYzAMWd1PRSIbWeZSeEohaRkaSuQE1YbRuHzOwUlxigUZX3c0Ld5pt%2FZV9B6Mh7W7dsPS&X-Amz-Signature=88652ba6bebd799fa102066b55bf7751c18b2258cd96f70b80848794acbe55cd&X-Amz-SignedHeaders=host\",\n        \"contentTransformationDocumentUrlExpiry\": \"2022-02-10T11:05:40.485Z\",\n        \"statusCode\": 200,\n        \"status\": \"COMPLETED\",\n        \"info\": {\n            \"info1\": \"sample info 1\",\n            \"info2\": \"sample info 2\"\n        }\n    }\n}"}],"_postman_id":"fe32f066-4173-471e-af83-485b5384e8ec"},{"name":"Change Password","id":"71a497d7-7a91-4483-82be-2b4fc5a2eda5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"[your_access_token]"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/change","description":"<p>API to change a user's password.</p>\n<br />\n<br />\n\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>previousPassword</code></td>\n<td>string</td>\n<td>Current password of the registered user</td>\n</tr>\n<tr>\n<td><code>proposedPassword</code></td>\n<td>string</td>\n<td>New password of the registered user</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","user","password","change"],"host":["https://transform.api.codemantra.com"],"query":[],"variable":[]}},"response":[{"id":"db32a1ab-7bfb-4601-a725-995d061db42b","name":"400 Password Did Not Conform To Policy","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/change"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"76"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 22:06:05 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password did not conform with policy: Password not long enough\"\n}"},{"id":"6b6b205f-4934-4eb8-9816-6fb49e969a6d","name":"200 OK","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/change"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"21"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 21:58:43 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"},{"id":"c3c74cc9-8ffa-4c7a-bd0a-1f6f6e54669a","name":"400 Bad Request","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/change"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 22:00:45 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"BadRequestException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid request body\"\n}"},{"id":"dc45a38d-cbb0-4534-b332-83d4b722d45b","name":"401 Expired Authorization Token","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/change"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 22:11:59 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The incoming token has expired\"\n}"},{"id":"ed4b34a8-39a4-480c-aaf3-fedeca68f843","name":"400 Incorrect Previous Password","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer [your_access_token]","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/change"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"41"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 22:02:38 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Incorrect previous password\"\n}"},{"id":"22ce37e8-badf-43ab-9ca5-802e3ba1622b","name":"401 Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/change"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 06 Apr 2021 22:10:19 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"71a497d7-7a91-4483-82be-2b4fc5a2eda5"},{"name":"Forgot Password","id":"fd5b11dc-5435-4d4f-a3a4-ed06a747e8da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/forgot","description":"<p>API to request password reset, in case the user has forgotten his current password. </p>\n<p>Once the request is received, a mail will be sent to the user's registered email with the verification code for the password reset. The verification code can then be used in the <strong>Reset Password API</strong> to reset the user password.</p>\n<br />\n<br />\n\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Email of the registered user</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","user","password","forgot"],"host":["https://transform.api.codemantra.com"],"query":[],"variable":[]}},"response":[{"id":"b28e4ba1-cdfe-4928-ac53-08a89a3f1e22","name":"400 Disabled User","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/forgot"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 03:51:43 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User is disabled.\"\n}"},{"id":"d0cc82e4-1772-4d32-9fdc-bcd8b62d56bd","name":"400 Bad Request","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n   \r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/forgot"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 03:49:57 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"BadRequestException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid request body\"\n}"},{"id":"391c06bb-7d96-40a3-99e5-dd9688fc6fbf","name":"400 User Doesn't Exist","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/forgot"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"34"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 03:47:27 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User does not exist.\"\n}"},{"id":"c3dbe7bf-9492-4703-8f4e-b50f24a702d6","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/forgot"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"21"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 03:37:12 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"}],"_postman_id":"fd5b11dc-5435-4d4f-a3a4-ed06a747e8da"},{"name":"Reset Password","id":"75563e64-77d8-4075-83f4-31446722f458","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"confirmationCode\": \"xxxxxx\",\r\n    \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/reset","description":"<p>API to reset a user's password. </p>\n<p>If a user has requested password reset, a verification code will be sent to the registered email. The user can then use this API to reset his password by passing the confirmation code along with the new password.</p>\n<br />\n<br />\n\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Email of the registered user</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>string</td>\n<td>New password of the registered user</td>\n</tr>\n<tr>\n<td><code>confirmationCode</code></td>\n<td>string</td>\n<td>Verification code that was sent to the registered user's mail for resetting the password</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","user","password","reset"],"host":["https://transform.api.codemantra.com"],"query":[],"variable":[]}},"response":[{"id":"1f914ba2-5ccc-45e4-9590-5d1d3cd15e49","name":"400 Invalid Confirmation Code","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"confirmationCode\": \"xxxxxx\",\r\n    \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"65"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 04:01:20 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid code provided, please request a code again.\"\n}"},{"id":"98f43f82-8d52-4193-bcb5-60f737e38b8a","name":"400 Password Did Not Conform To Policy","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"confirmationCode\": \"xxxxxx\",\r\n    \"password\": \"xxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"75"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 04:08:31 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password does not conform to policy: Password not long enough\"\n}"},{"id":"c4f3eef7-aede-4c7e-a279-dfe2f4d973d2","name":"400 User Doesn't Exist","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"confirmationCode\": \"xxxxxx\",\r\n    \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"34"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 03:59:18 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User does not exist.\"\n}"},{"id":"a72284e0-aedb-44d0-98a4-94e9d894d511","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"confirmationCode\": \"xxxxxx\",\r\n    \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/reset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"21"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 03:55:39 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"},{"id":"09fe98aa-3140-4463-8c70-5426da0457f1","name":"400 Bad Request","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://transform.api.codemantra.com/v1/user/password/reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 07 Apr 2021 04:11:25 GMT"},{"key":"x-amzn-RequestId","value":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"BadRequestException"},{"key":"x-amz-apigw-id","value":"xxxxxxxxxxxxxxxx"},{"key":"X-Amzn-Trace-Id","value":"Root=1-xxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},{"key":"X-Amz-Cf-Pop","value":"xxxxxxxx"},{"key":"X-Amz-Cf-Id","value":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid request body\"\n}"}],"_postman_id":"75563e64-77d8-4075-83f4-31446722f458"}],"event":[{"listen":"prerequest","script":{"id":"24f76624-0de6-4948-90c7-c08a4bf83f31","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"95752fb3-2dc5-4e14-80a6-7c94f3029b59","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://transform.api.codemantra.com"},{"key":"version","value":"v1"},{"key":"token","value":"[your_access_token]"}]}