{"info":{"_postman_id":"25a445fc-b007-4066-a706-a3544fbdad24","name":"Prodeal API","description":"<html><head></head><body><p>The ProDeal API allows third-party integrations to the ProDeal platform.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4189548","collectionId":"25a445fc-b007-4066-a706-a3544fbdad24","publishedId":"TVCmR4nx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-09-09T23:16:05.000Z"},"item":[{"name":"Current","item":[{"name":"Authentication","item":[{"name":"OAuth client credentials authentication","item":[{"name":"Get access token","id":"165f4224-79c2-4c95-9cab-e2e4e7fb9c98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","description":"<p>Required content type for OAuth token request</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","description":"<p>OAuth 2.0 grant type</p>\n"},{"key":"client_id","value":"your_client_id","description":"<p>Your OAuth client ID</p>\n"},{"key":"client_secret","value":"your_client_secret","description":"<p>Your OAuth client secret</p>\n"}]},"url":"https://prodeal360-prod.auth.us-east-1.amazoncognito.com/oauth2/token","description":"<p>Obtain an access token from AWS Cognito using the Client Credentials flow.</p>\n<h5 id=\"request\">Request</h5>\n<p>Send a POST request to the Cognito token endpoint with your client credentials.</p>\n<h5 id=\"response\">Response</h5>\n<p>On success, returns a JSON object containing:</p>\n<ul>\n<li><p><code>access_token</code>: The JWT to use for API requests</p>\n</li>\n<li><p><code>expires_in</code>: Token lifetime in seconds</p>\n</li>\n<li><p><code>token_type</code>: Always \"Bearer\"</p>\n</li>\n</ul>\n<h5 id=\"usage\">Usage</h5>\n<p>Include the access token in subsequent API requests:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Authorization: Bearer &lt;access_token&gt;\n\n</code></pre><p>For example, to retrieve all rooms using a Bearer token:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl -X GET https://api.prodeal360.com/api/rooms \\\n  -H \"Accept: application/json\" \\\n  -H \"Authorization: Bearer &lt;access_token&gt;\"\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["oauth2","token"],"host":["prodeal360-prod","auth","us-east-1","amazoncognito","com"],"query":[],"variable":[]}},"response":[{"id":"53df073d-3108-4e8e-82be-87cdeeba17ff","name":"Token obtained successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","description":"Required content type for OAuth token request"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","description":"OAuth 2.0 grant type"},{"key":"client_id","value":"your_client_id","description":"Your OAuth client ID"},{"key":"client_secret","value":"your_client_secret","description":"Your OAuth client secret"}]},"url":"https://prodeal360-prod.auth.us-east-1.amazoncognito.com/oauth2/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJraWQiOiJ...\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\"\n}"},{"id":"69ccb874-b457-47b5-a7ac-f7cce06035b6","name":"Invalid client credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials"},{"key":"client_id","value":"invalid_client_id"},{"key":"client_secret","value":"invalid_secret"}]},"url":"https://prodeal360-prod.auth.us-east-1.amazoncognito.com/oauth2/token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"invalid_client\"\n}"}],"_postman_id":"165f4224-79c2-4c95-9cab-e2e4e7fb9c98"}],"id":"1609bae9-67ed-4901-a5cd-a6754075ffd6","description":"<p>JWT-based authentication for API integrations using AWS Cognito.</p>\n<h5 id=\"how-it-works\">How it works</h5>\n<ol>\n<li>Obtain OAuth 2.0 client credentials (client_id and client_secret) from Prodeal</li>\n<li>Request an access token from AWS Cognito using the Client Credentials flow</li>\n<li>Include the access token in the <code>Authorization</code> header as a Bearer token</li>\n<li>The token is validated on each request</li>\n</ol>\n","_postman_id":"1609bae9-67ed-4901-a5cd-a6754075ffd6"},{"name":"Credential-based authentication","item":[{"name":"Create session (Sign in)","id":"46f358b6-1976-4910-977a-e6b5b817e2e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"<p>Accept JSON response</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Send JSON request</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"test@acme.com\",\n  \"password\": \"q1w2e3r4Q!W@E#R$\"\n}"},"url":"http://localhost:4000//api/session","description":"<p>Creates a new session (login).</p>\n<h5 id=\"response-types\">Response types</h5>\n<p>When a new session is created successfully, the return code is <code>201 Created</code> and the <code>status</code> attribute is \"success\".</p>\n<p>When the user has MFA enabled, the return code is <code>200 OK</code> and the <code>status</code> attribute is \"mfa_required\". The response also includes the <code>mfa_method</code> field indicating the MFA type: \"software\" or \"email\". To complete authentication, perform a request to <code>POST /api/session/mfa</code>.</p>\n<p>When the user needs to enroll in MFA, the return code is <code>200 OK</code> and the <code>status</code> attribute is \"mfa_enrollment_required\".</p>\n<h5 id=\"errors\">Errors</h5>\n<p>Code <code>401 Unauthorized</code> is returned when invalid credentials are entered.</p>\n<p>Code <code>400 Bad Request</code> is returned when email or password is missing.</p>\n","urlObject":{"path":["api","session"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"9bc1a451-d9e2-436b-aef3-4e37aec995c0","name":"Authentication successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"john.doe@prodeal360.com\",\n  \"password\": \"password\"\n}"},"url":"http://localhost:4000//api/session"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"john.doe@prodeal360.com\",\n    \"status\": \"success\"\n}"},{"id":"8a053712-63c8-4377-afbb-276589eb759e","name":"MFA required response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"john.doe@prodeal360.com\",\n  \"password\": \"mfa required\"\n}"},"url":"http://localhost:4000//api/session"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"john.doe@prodeal360.com\",\n    \"status\": \"mfa_required\",\n    \"mfa_method\": \"software\"\n}"},{"id":"ad640c69-34b8-45db-a23d-9a1cfb07993e","name":"MFA enrollment required response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"john.doe@prodeal360.com\",\n  \"password\": \"mfa enrollment required\"\n}"},"url":"http://localhost:4000//api/session"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"john.doe@prodeal360.com\",\n    \"status\": \"mfa_enrollment_required\"\n}"},{"id":"1fc1c88a-179c-45b2-9b4d-a58a16318c5a","name":"Authentication failure","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"john.doe@prodeal360.com\",\n  \"password\": \"wrong password\"\n}"},"url":"http://localhost:4000//api/session"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"invalid_credentials\",\n    \"message\": \"Incorrect email or password.\"\n}"},{"id":"f485ff37-e567-4bf2-be68-2ee3756bf5b9","name":"Missing parameters","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{}"},"url":"http://localhost:4000//api/session"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"missing_params\",\n    \"message\": \"Missing email or password.\"\n}"}],"_postman_id":"46f358b6-1976-4910-977a-e6b5b817e2e6"},{"name":"Delete session (Sign out)","id":"3f7fe37a-bccd-450d-a784-22f0c714c1be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","description":"<p>Accept JSON response</p>\n"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/session","description":"<p>Destroys the current session (logout).</p>\n<p>Returns <code>204 No Content</code> on success.</p>\n","urlObject":{"path":["api","session"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"2b516aa9-cb1c-4f40-9aad-a70017b1e5cc","name":"Sign out successful","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"}],"url":"http://localhost:4000//api/session"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3f7fe37a-bccd-450d-a784-22f0c714c1be"},{"name":"Validate MFA code","id":"ab06603f-ee23-4eda-b051-dd972d84e0c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"<p>Accept JSON response</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Send JSON request</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"123456\"\n}"},"url":"http://localhost:4000//api/session/mfa","description":"<p>Validates the MFA code and completes the login process.</p>\n<p>This endpoint should be called after <code>POST /api/session</code> returns a response with <code>status: \"mfa_required\"</code>.</p>\n<h5 id=\"response-types\">Response types</h5>\n<p>When MFA validation is successful, the return code is <code>201 Created</code>.</p>\n<h5 id=\"errors\">Errors</h5>\n<p>Code <code>403 Forbidden</code> is returned when an invalid code is entered. You can retry with a new code using the same session.</p>\n<p>Code <code>401 Unauthorized</code> is returned when the session is expired or invalid. In this case, you need to start a new login flow with <code>POST /api/session</code>.</p>\n<p>Code <code>400 Bad Request</code> is returned when the code parameter is missing.</p>\n","urlObject":{"path":["api","session","mfa"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"ee113a9f-4679-400c-9879-751a00b9deb3","name":"MFA Validation successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"123456\"\n}"},"url":"http://localhost:4000//api/session/mfa"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"john.doe@prodeal360.com\"\n}"},{"id":"53351acd-1006-4250-b1ec-c33d54d135d6","name":"Invalid MFA code","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"000000\"\n}"},"url":"http://localhost:4000//api/session/mfa"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"invalid_code\",\n    \"message\": \"Invalid code\"\n}"},{"id":"68347547-11bc-49e2-93d4-ae371a68dc10","name":"Session expired or invalid","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"123456\"\n}"},"url":"http://localhost:4000//api/session/mfa"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"invalid_session\",\n    \"message\": \"Session expired or invalid.\"\n}"},{"id":"6f4e5c8b-2722-4b6c-ae0b-9bf290e2cfa9","name":"Missing code parameter","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{}"},"url":"http://localhost:4000//api/session/mfa"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"missing_params\",\n    \"message\": \"Missing code.\"\n}"}],"_postman_id":"ab06603f-ee23-4eda-b051-dd972d84e0c7"}],"id":"35a25644-3698-4e64-92cf-738b5b012300","description":"<p>Cookie-based authentication for browser clients.</p>\n<h5 id=\"how-it-works\">How it works</h5>\n<ol>\n<li><p>Call <code>POST /api/session</code> with email and password</p>\n</li>\n<li><p>On success, the server sets a session cookie (<code>_prodeal360_key</code>)</p>\n</li>\n<li><p>Include this cookie in all subsequent requests</p>\n</li>\n<li><p>The session is maintained server-side and expires after inactivity</p>\n</li>\n</ol>\n<h5 id=\"mfa-flow\">MFA Flow</h5>\n<p>If the user has MFA enabled, the login response will have <code>status: \"mfa_required\"</code>. You must then call <code>POST /api/session/mfa</code> with the verification code to complete the login.</p>\n","_postman_id":"35a25644-3698-4e64-92cf-738b5b012300"},{"name":"Magic link authentication","item":[{"name":"Create magic link","id":"74578f0d-f86a-4214-a5ed-a28dc6b957a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"<p>Accept JSON response</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Send JSON request</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"user@example.com\",\n  \"realm\": \"organization-uuid\",\n  \"redirect_url\": \"https://app.prodeal360.com/rooms\"\n}"},"url":"http://localhost:4000//api/v2/magic-link","description":"<p>Sends an email with a magic link to the specified email address if a user exists.</p>\n<h5 id=\"parameters\">Parameters</h5>\n<ul>\n<li><code>email</code> (required): User's email address</li>\n<li><code>realm</code> (optional): Organization UUID. Defaults to the user's organization UUID</li>\n<li><code>redirect_url</code> (optional): URL to redirect to after successful authentication</li>\n</ul>\n<h5 id=\"response\">Response</h5>\n<p>Returns <code>204 No Content</code> on success. The endpoint returns success even if no user exists (for security reasons).</p>\n<h5 id=\"rate-limiting\">Rate Limiting</h5>\n<p>To prevent abuse, users can only request a new magic link once every 3 minutes.</p>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li><code>401 Unauthorized</code> - User is not authorized to request a magic link</li>\n<li><code>500 Internal Server Error</code> - Unexpected error occurred</li>\n</ul>\n","urlObject":{"path":["api","v2","magic-link"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"a991f07f-19b8-4459-8065-fbc57ebcfa1d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"john.doe@prodeal360.com\"\n}"},"url":"http://localhost:4000//api/v2/magic-link"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"006e452a-7cdb-4051-b83b-81f8d0c00dea","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"},{"key":"Content-Type","value":"application/json","description":"Send JSON request"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"unauthorized@example.com\"\n}"},"url":"http://localhost:4000//api/v2/magic-link"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"unauthorized\",\n    \"message\": \"User unauthorized\"\n}"}],"_postman_id":"74578f0d-f86a-4214-a5ed-a28dc6b957a2"},{"name":"Login via magic link","id":"fa538314-3b53-46d7-b323-13ebc07c388d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"<p>Accept JSON response</p>\n"}],"url":"http://localhost:4000//api/v2/magic-link?email=user@example.com&token=123456","description":"<p>Validates the email and token parameters and creates a user session if valid.</p>\n<h5 id=\"parameters\">Parameters</h5>\n<ul>\n<li><code>email</code> (required, query): User's email address</li>\n<li><code>token</code> (required, query): The 6-digit magic link token sent via email</li>\n</ul>\n<h5 id=\"response\">Response</h5>\n<p>Returns <code>204 No Content</code> on successful login. A session cookie is set automatically.</p>\n<h5 id=\"session-token\">Session Token</h5>\n<p>Requires a valid <code>auth_session_token</code> cookie that was set when the magic link was created.</p>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li><code>400 Bad Request</code> - Missing email or token parameters</li>\n<li><code>401 Unauthorized</code> - Invalid token or expired session</li>\n<li><code>500 Internal Server Error</code> - Unexpected error occurred</li>\n</ul>\n","urlObject":{"path":["api","v2","magic-link"],"host":["http://localhost:4000/"],"query":[{"description":{"content":"<p>User's email address</p>\n","type":"text/plain"},"key":"email","value":"user@example.com"},{"description":{"content":"<p>6-digit magic link token</p>\n","type":"text/plain"},"key":"token","value":"123456"}],"variable":[]}},"response":[{"id":"5d0c4aec-ee74-4718-8536-15f2dda7ea37","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"}],"url":{"raw":"http://localhost:4000//api/v2/magic-link?email=john.doe@prodeal360.com&token=123456","host":["http://localhost:4000/"],"path":["api","v2","magic-link"],"query":[{"key":"email","value":"john.doe@prodeal360.com"},{"key":"token","value":"123456"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Set-Cookie","value":"loggedIn=true"}],"cookie":[],"responseTime":null,"body":""},{"id":"b2420eb2-74ae-4e24-b427-342f1a4f95af","name":"Invalid token","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"}],"url":{"raw":"http://localhost:4000//api/v2/magic-link?email=john.doe@prodeal360.com&token=000000","host":["http://localhost:4000/"],"path":["api","v2","magic-link"],"query":[{"key":"email","value":"john.doe@prodeal360.com"},{"key":"token","value":"000000"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"invalid_token\",\n    \"message\": \"Invalid or expired token\"\n}"},{"id":"3adbb180-e800-46e3-9877-2b0b54598dbc","name":"Missing parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","description":"Accept JSON response"}],"url":"http://localhost:4000//api/v2/magic-link"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"missing_params\",\n    \"message\": \"Missing parameters\"\n}"}],"_postman_id":"fa538314-3b53-46d7-b323-13ebc07c388d"}],"id":"471a2076-db55-4f44-af38-17899d8d90ea","_postman_id":"471a2076-db55-4f44-af38-17899d8d90ea","description":""}],"id":"caa8cec7-a5bd-496c-98b7-a535789cc520","_postman_id":"caa8cec7-a5bd-496c-98b7-a535789cc520","description":""},{"name":"Rooms","item":[{"name":"Clone","item":[{"name":"Clone room","id":"14ada7af-0c6f-450f-878f-d1afc38717c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My Cloned Room\",\n  \"additional_data\": [\n    \"documents\",\n    \"host_team\",\n    \"host_team_users\",\n    \"admin_teams\",\n    \"admin_teams_users\",\n    \"guest_teams\",\n    \"guest_teams_users\",\n    \"notes\",\n    \"item_statuses\",\n    \"due_dates\",\n    \"custom_column_values\",\n    \"responsibilities\"\n  ],\n  \"template\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:source_room_id/clone","description":"<p>Create a copy of an existing room with optional content duplication.</p>\n<p>The room is cloned synchronously, but document copying is done asynchronously.\nThe cloned room is initially created in \"unavailable\" state and will be set to \"open\"\nonce the cloning process completes.</p>\n<p><strong>What gets cloned by default:</strong></p>\n<ul>\n<li>Room settings and metadata</li>\n<li>Basic room configuration</li>\n</ul>\n<p><strong>What can be cloned via <code>additional_data</code> parameter:</strong></p>\n<ul>\n<li><code>admin_teams</code> - Admin teams structure</li>\n<li><code>admin_teams_users</code> - Admin team members</li>\n<li><code>guest_teams</code> - Guest teams structure</li>\n<li><code>guest_teams_users</code> - Guest team members</li>\n<li><code>host_team</code> - Host team structure</li>\n<li><code>host_team_users</code> - Host team members</li>\n<li><code>documents</code> - Documents and files</li>\n<li><code>notes</code> - Notes attached to items</li>\n<li><code>item_statuses</code> - Item status configurations</li>\n<li><code>due_dates</code> - Due date settings</li>\n<li><code>custom_column_values</code> - Custom column values</li>\n<li><code>responsibilities</code> - Team and user responsibilities</li>\n</ul>\n<p><strong>What doesn't get cloned:</strong></p>\n<ul>\n<li>Activity history</li>\n<li>User read/unread status</li>\n</ul>\n","urlObject":{"path":["api","rooms",":source_room_id","clone"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>ID of the room to clone</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"source_room_id"}]}},"response":[{"id":"a247711a-1e5c-4e69-8121-a6ae9a5c4dd4","name":"Room cloned successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My Cloned Room\",\n  \"additional_data\": [\n    \"documents\",\n    \"host_team\",\n    \"host_team_users\",\n    \"admin_teams\",\n    \"admin_teams_users\",\n    \"guest_teams\",\n    \"guest_teams_users\",\n    \"notes\",\n    \"item_statuses\",\n    \"due_dates\",\n    \"custom_column_values\",\n    \"responsibilities\"\n  ],\n  \"template\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:source_room_id/clone","host":["{{baseUrl}}"],"path":["api","rooms",":source_room_id","clone"],"variable":[{"key":"source_room_id","value":"3005","description":"ID of the room to clone"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"room_id\": 5652\n}"},{"id":"43145d2b-1f0a-40ef-9ccf-dd1f5ac88c1c","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My Cloned Room\",\n  \"additional_data\": [\n    \"documents\",\n    \"host_team\",\n    \"host_team_users\",\n    \"admin_teams\",\n    \"admin_teams_users\",\n    \"guest_teams\",\n    \"guest_teams_users\",\n    \"notes\",\n    \"item_statuses\",\n    \"due_dates\",\n    \"custom_column_values\",\n    \"responsibilities\"\n  ],\n  \"template\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:source_room_id/clone","host":["{{baseUrl}}"],"path":["api","rooms",":source_room_id","clone"],"variable":[{"key":"source_room_id","value":"3005","description":"ID of the room to clone"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"9ffd3e90-18ed-41a3-b364-94b461ba79a1","name":"User doesn't have permission to clone this room","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My Cloned Room\",\n  \"additional_data\": [\n    \"documents\",\n    \"host_team\",\n    \"host_team_users\",\n    \"admin_teams\",\n    \"admin_teams_users\",\n    \"guest_teams\",\n    \"guest_teams_users\",\n    \"notes\",\n    \"item_statuses\",\n    \"due_dates\",\n    \"custom_column_values\",\n    \"responsibilities\"\n  ],\n  \"template\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:source_room_id/clone","host":["{{baseUrl}}"],"path":["api","rooms",":source_room_id","clone"],"variable":[{"key":"source_room_id","value":"3005","description":"ID of the room to clone"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"user_cant_clone_room\",\n  \"message\": \"User can't clone this room.\"\n}"},{"id":"708496dd-0f67-4e14-90d5-1310fbb6c168","name":"Source room not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My Cloned Room\",\n  \"additional_data\": [\n    \"documents\",\n    \"host_team\",\n    \"host_team_users\",\n    \"admin_teams\",\n    \"admin_teams_users\",\n    \"guest_teams\",\n    \"guest_teams_users\",\n    \"notes\",\n    \"item_statuses\",\n    \"due_dates\",\n    \"custom_column_values\",\n    \"responsibilities\"\n  ],\n  \"template\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:source_room_id/clone","host":["{{baseUrl}}"],"path":["api","rooms",":source_room_id","clone"],"variable":[{"key":"source_room_id","value":"3005","description":"ID of the room to clone"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"source_room_not_found\",\n  \"message\": \"Couldn't find the source room.\"\n}"},{"id":"9cac8dc9-4f95-4419-9915-201144d24a3b","name":"Validation failed on one or more fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My Cloned Room\",\n  \"additional_data\": [\n    \"documents\",\n    \"host_team\",\n    \"host_team_users\",\n    \"admin_teams\",\n    \"admin_teams_users\",\n    \"guest_teams\",\n    \"guest_teams_users\",\n    \"notes\",\n    \"item_statuses\",\n    \"due_dates\",\n    \"custom_column_values\",\n    \"responsibilities\"\n  ],\n  \"template\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:source_room_id/clone","host":["{{baseUrl}}"],"path":["api","rooms",":source_room_id","clone"],"variable":[{"key":"source_room_id","value":"3005","description":"ID of the room to clone"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\",\n  \"errors\": [\n    {\n      \"code\": \"required\",\n      \"field\": \"name\",\n      \"message\": \"can't be blank\"\n    },\n    {\n      \"code\": \"length\",\n      \"field\": \"description\",\n      \"message\": \"should be at most 500 character(s)\"\n    }\n  ]\n}"},{"id":"ccf7cc23-fb34-41a7-be99-95c798302472","name":"Internal server error - room clone failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My Cloned Room\",\n  \"additional_data\": [\n    \"documents\",\n    \"host_team\",\n    \"host_team_users\",\n    \"admin_teams\",\n    \"admin_teams_users\",\n    \"guest_teams\",\n    \"guest_teams_users\",\n    \"notes\",\n    \"item_statuses\",\n    \"due_dates\",\n    \"custom_column_values\",\n    \"responsibilities\"\n  ],\n  \"template\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:source_room_id/clone","host":["{{baseUrl}}"],"path":["api","rooms",":source_room_id","clone"],"variable":[{"key":"source_room_id","value":"3005","description":"ID of the room to clone"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"room_clone_failed\",\n  \"message\": \"Failed to clone the room.\"\n}"}],"_postman_id":"14ada7af-0c6f-450f-878f-d1afc38717c4"}],"id":"8ca5418a-748c-4d76-8fa1-d5b5d6cf28b0","_postman_id":"8ca5418a-748c-4d76-8fa1-d5b5d6cf28b0","description":""},{"name":"Bookmark","item":[{"name":"Bookmark room","id":"04e075b9-1d8c-4e83-95b0-a5548a48e698","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:id/bookmark","description":"<p>Add room to current user's bookmarks for quick access.\nBookmarked rooms appear in the user's favorites list.</p>\n","urlObject":{"path":["api","rooms",":id","bookmark"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"a8a25991-4160-457d-9c65-589d51f1aca1","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"5a87eb35-5485-4ce7-a09a-7bbbf48be7f6","name":"Room bookmarked successfully","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/bookmark","host":["http://localhost:4000/"],"path":["api","rooms",":id","bookmark"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"bookmarked\": true\n}"},{"id":"6f28d438-dc73-4b66-bf5a-5887df4ef5f8","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/bookmark","host":["http://localhost:4000/"],"path":["api","rooms",":id","bookmark"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"5eda8b7c-46d8-4657-836f-c8553ef14e8b","name":"Resource not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/bookmark","host":["http://localhost:4000/"],"path":["api","rooms",":id","bookmark"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"04e075b9-1d8c-4e83-95b0-a5548a48e698"},{"name":"Remove bookmark","id":"49dc0355-2783-423c-a02c-f5b36c8b6592","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:id/bookmark","description":"<p>Remove room from current user's bookmarks</p>\n","urlObject":{"path":["api","rooms",":id","bookmark"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"977d1b9c-d083-4a93-95b9-46e87795ea36","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"bbb236fc-dae9-4b83-91f5-19a6801c312a","name":"Bookmark removed successfully","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/bookmark","host":["http://localhost:4000/"],"path":["api","rooms",":id","bookmark"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"a15d7ba4-23a8-4b41-85f9-8491f1e256b5","name":"Authentication required or invalid credentials","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/bookmark","host":["http://localhost:4000/"],"path":["api","rooms",":id","bookmark"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"a6527486-09f0-4031-b631-5e770b0a7a5a","name":"Resource not found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/bookmark","host":["http://localhost:4000/"],"path":["api","rooms",":id","bookmark"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"49dc0355-2783-423c-a02c-f5b36c8b6592"}],"id":"19b75ed4-ab6b-4ade-8f14-8043d7042d08","_postman_id":"19b75ed4-ab6b-4ade-8f14-8043d7042d08","description":""},{"name":"Join","item":[{"name":"Join room","id":"6a691990-3f21-445f-949c-79b27e2bed3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:id/join","description":"<p>Join a room as a participant.</p>\n<p><strong>Requirements:</strong></p>\n<ul>\n<li>User must have permission to join (invited or organization member)</li>\n<li>Room must be active (not archived)</li>\n</ul>\n<p>After joining, the user gains access according to their team assignments.</p>\n","urlObject":{"path":["api","rooms",":id","join"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"6bd8a7f8-c262-4d34-957b-4d50bb1320f5","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"9b6beae1-2668-4fab-918c-51081bcafe96","name":"Successfully joined room","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/join","host":["http://localhost:4000/"],"path":["api","rooms",":id","join"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Successfully joined room\"\n}"},{"id":"985e6b4b-deb9-41d6-8bf8-ad0cbddf2957","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/join","host":["http://localhost:4000/"],"path":["api","rooms",":id","join"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"e0441b4e-16ac-466c-a064-d83880b7bf48","name":"Insufficient permissions to access resource","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/join","host":["http://localhost:4000/"],"path":["api","rooms",":id","join"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"98f3aefa-cb27-491c-b665-86c6298e21bc","name":"Resource not found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/join","host":["http://localhost:4000/"],"path":["api","rooms",":id","join"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"6a691990-3f21-445f-949c-79b27e2bed3d"}],"id":"2e48a2e1-db93-41ae-8e32-b7dd9547bdb1","_postman_id":"2e48a2e1-db93-41ae-8e32-b7dd9547bdb1","description":""},{"name":"Leave","item":[{"name":"Leave room","id":"afff05d4-2f2c-4768-b820-97a1194b1fcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:id/leave","description":"<p>Leave a room and remove yourself from all teams.</p>\n<p><strong>Important:</strong></p>\n<ul>\n<li>Room hosts cannot leave their own rooms</li>\n<li>After leaving, you lose all access to the room unless re-invited</li>\n</ul>\n<p>Returns <code>200</code> with confirmation message on success.</p>\n","urlObject":{"path":["api","rooms",":id","leave"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"6071f96c-a51d-4237-8248-a653d49d5c16","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"23abb87f-202c-4390-8a3b-8bfb7aad80f8","name":"Successfully left room","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/leave","host":["http://localhost:4000/"],"path":["api","rooms",":id","leave"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Successfully left room\"\n}"},{"id":"4b0b9881-6d0e-40f2-8071-ea219fc66c4a","name":"Authentication required or invalid credentials","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/leave","host":["http://localhost:4000/"],"path":["api","rooms",":id","leave"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"ecd17617-1dc5-43cf-bbeb-6c6dcd975ec9","name":"Cannot leave room (e.g., you are the room host)","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/leave","host":["http://localhost:4000/"],"path":["api","rooms",":id","leave"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\"\n}"},{"id":"634c9b1f-ddbd-4fb9-8fdc-e64cba3a9c56","name":"Resource not found","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/leave","host":["http://localhost:4000/"],"path":["api","rooms",":id","leave"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"afff05d4-2f2c-4768-b820-97a1194b1fcf"}],"id":"76888c79-9745-4767-95f0-a9d6b075c0d5","_postman_id":"76888c79-9745-4767-95f0-a9d6b075c0d5","description":""},{"name":"Columns","item":[{"name":"Get room columns","id":"50296d8a-66b5-42f1-a997-7bdc4423c35a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:id/columns","description":"<p>Retrieve column configuration for the room.</p>\n<p>Columns define what fields are displayed in the room's item list view.\nThis is the default configuration that applies to all users unless\nthey have personal overrides.</p>\n","urlObject":{"path":["api","rooms",":id","columns"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"43d80adc-b574-40da-81df-58ae068c8581","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"f1a91897-42b5-48e4-aaff-9f357426591c","name":"Room column configuration","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/columns","host":["http://localhost:4000/"],"path":["api","rooms",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 1860,\n    \"order\": 8365\n  },\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 4663,\n    \"order\": 1394\n  }\n]"},{"id":"a6ab62a5-e47f-45f6-aa5c-4eff8ef629b5","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/columns","host":["http://localhost:4000/"],"path":["api","rooms",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"093ea66c-5bee-4f45-a2dd-e17cfb073f79","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/columns","host":["http://localhost:4000/"],"path":["api","rooms",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"50296d8a-66b5-42f1-a997-7bdc4423c35a"},{"name":"Get user's column preferences","id":"4adb1d88-34ad-4c99-bf6f-6634779baca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:id/user_columns","description":"<p>Retrieve the current user's personal column preferences for this room.</p>\n<p>If the user hasn't customized columns, this returns the room's default\ncolumn configuration. User preferences override room defaults.</p>\n","urlObject":{"path":["api","rooms",":id","user_columns"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"89d99407-c4ce-4494-9742-1916127e25d4","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"0b0db52f-6183-4960-ac80-ed89f4ada7cb","name":"User's column preferences","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/user_columns","host":["http://localhost:4000/"],"path":["api","rooms",":id","user_columns"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 1860,\n    \"order\": 8365\n  },\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 4663,\n    \"order\": 1394\n  }\n]"},{"id":"4e4bb03b-576d-4491-9b0d-36e83a3bc555","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/user_columns","host":["http://localhost:4000/"],"path":["api","rooms",":id","user_columns"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"0e77ae65-74cf-482f-8aae-a8fc9c21188e","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/user_columns","host":["http://localhost:4000/"],"path":["api","rooms",":id","user_columns"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"4adb1d88-34ad-4c99-bf6f-6634779baca3"}],"id":"ece89a6c-2807-4a82-b10e-63f41c8eefff","_postman_id":"ece89a6c-2807-4a82-b10e-63f41c8eefff","description":""},{"name":"Export","item":[{"name":"Export room","id":"8ca9eef0-4bfb-404b-9a7d-c6e5c5953ae3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"format\": \"xlsx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:id/export","description":"<p>Create an export job for room data in XLSX or CSV format.</p>\n<p><strong>Export includes:</strong></p>\n<ul>\n<li>Item list with metadata</li>\n<li>Custom column values</li>\n<li>User activity (optional)</li>\n</ul>\n<p><strong>Process:</strong></p>\n<ol>\n<li>Create export job (returns 202 with job ID)</li>\n<li>Poll export status endpoint</li>\n<li>Download file when status is \"completed\"</li>\n</ol>\n<p>Large rooms may take several minutes to export.</p>\n","urlObject":{"path":["api","rooms",":id","export"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"7a41e414-b4be-418c-a901-f3e052259030","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"a8739b71-fdf0-4cf3-b8a0-6eaf7f6c00e5","name":"Export job created successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"format\": \"xlsx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/export","host":["http://localhost:4000/"],"path":["api","rooms",":id","export"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"export_id\": \"exp_1234567890\",\n  \"status\": \"pending\"\n}"},{"id":"e0ede079-e188-4614-bc4a-3cae489268b2","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"format\": \"xlsx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/export","host":["http://localhost:4000/"],"path":["api","rooms",":id","export"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"43409449-8aa5-4cf0-a6c6-6e862913a68b","name":"Insufficient permissions to access resource","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"format\": \"xlsx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/export","host":["http://localhost:4000/"],"path":["api","rooms",":id","export"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"f1030032-3e0a-49a0-a843-550cb2b1bcd8","name":"Resource not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"format\": \"xlsx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/export","host":["http://localhost:4000/"],"path":["api","rooms",":id","export"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"8ca9eef0-4bfb-404b-9a7d-c6e5c5953ae3"},{"name":"Get export status or download","id":"1923a74d-395e-4f25-9816-0d150453da9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:room_id/export/:room_export_id","description":"<p>Check the status of a room export job or download the completed file.</p>\n<p><strong>Status values:</strong></p>\n<ul>\n<li><code>pending</code>: Export queued</li>\n<li><code>processing</code>: Export in progress</li>\n<li><code>completed</code>: Export ready for download</li>\n<li><code>failed</code>: Export failed (check error message)</li>\n</ul>\n<p>When status is \"completed\", the response includes a <code>download_url</code> or\nreturns the file directly as binary data.</p>\n","urlObject":{"path":["api","rooms",":room_id","export",":room_export_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"63082e80-4bc8-4764-bbae-7a7d4e448013","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"},{"id":"42ad8ede-76d7-4d9d-9627-76fc0188420f","description":{"content":"<p>Export job identifier</p>\n","type":"text/plain"},"type":"any","value":"string","key":"room_export_id"}]}},"response":[{"id":"8fce8977-d18b-44fa-bad4-9881cbddd280","name":"Export file or status information","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/export/:room_export_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","export",":room_export_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"room_export_id","value":"string","description":"Export job identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"failed\",\n  \"download_url\": \"https://BYbgvjNKEbBCWAwwna.raewFSZg+kHhYp9IJTEHdlvRQQOXfZyR0lJeJ2TI1Cq\",\n  \"error\": \"string\"\n}"},{"id":"89d7d135-5433-4732-8819-2b81a5a66424","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/export/:room_export_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","export",":room_export_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"room_export_id","value":"string","description":"Export job identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"8f24b80c-c579-4f9a-9e68-22af4f7d41d4","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/export/:room_export_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","export",":room_export_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"room_export_id","value":"string","description":"Export job identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"1923a74d-395e-4f25-9816-0d150453da9c"}],"id":"e7adcd02-68e7-4a7e-9273-d67d4ba34e4e","_postman_id":"e7adcd02-68e7-4a7e-9273-d67d4ba34e4e","description":""},{"name":"Items","item":[{"name":"Copy and move","item":[{"name":"Copy items","id":"a199816c-9845-4dc6-b9a2-1679ca99cc7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    6198,\n    5453\n  ],\n  \"destination_folder_id\": 2675,\n  \"destination_room_id\": 6784\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:id/items/copy","description":"<p>Copy items to another folder or room.</p>\n<p><strong>Copy behavior:</strong></p>\n<ul>\n<li>Creates duplicates of selected items</li>\n<li>Original items remain unchanged</li>\n<li>Maintains folder structure if copying folders</li>\n<li>Creates new versions of documents</li>\n</ul>\n<p><strong>Cross-room copying:</strong></p>\n<ul>\n<li>Requires access to both source and destination rooms</li>\n<li>Team assignments are not copied</li>\n<li>Access restrictions reset to destination defaults</li>\n</ul>\n","urlObject":{"path":["api","rooms",":id","items","copy"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"0a724c26-82f8-4271-b1d6-db19952b2d29","description":{"content":"<p>Source room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"9a4b1e2f-ba6c-4bcf-ba7c-451f283c6d86","name":"Items copied successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    6198,\n    5453\n  ],\n  \"destination_folder_id\": 2675,\n  \"destination_room_id\": 6784\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/items/copy","host":["http://localhost:4000/"],"path":["api","rooms",":id","items","copy"],"variable":[{"key":"id","value":"3005","description":"Source room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"copied_items\": [\n    {\n      \"id\": 9513,\n      \"name\": \"string\",\n      \"item_type\": \"folder\",\n      \"parent_id\": 946,\n      \"room_id\": 9256,\n      \"description\": \"string\",\n      \"file_size\": 4738,\n      \"file_type\": \"string\",\n      \"version_number\": 7954,\n      \"is_read\": true,\n      \"created_at\": \"1953-04-12T12:22:49.475Z\",\n      \"updated_at\": \"2019-01-26T23:46:57.726Z\",\n      \"created_by\": {\n        \"id\": 2776,\n        \"email\": \"qvWUs8uGsK@BOsmYpFzpwDFDe.zw\",\n        \"first_name\": \"string\",\n        \"last_name\": \"string\",\n        \"full_name\": \"string\",\n        \"timezone\": \"America/New_York\",\n        \"created_at\": \"1967-10-28T09:37:28.719Z\"\n      }\n    },\n    {\n      \"id\": 7382,\n      \"name\": \"string\",\n      \"item_type\": \"folder\",\n      \"parent_id\": 9423,\n      \"room_id\": 3656,\n      \"description\": \"string\",\n      \"file_size\": 9858,\n      \"file_type\": \"string\",\n      \"version_number\": 3362,\n      \"is_read\": false,\n      \"created_at\": \"1998-04-13T13:53:11.030Z\",\n      \"updated_at\": \"1986-06-06T23:11:10.368Z\",\n      \"created_by\": {\n        \"id\": 8516,\n        \"email\": \"rvqW7UKp0@OiytShFYVpo.yl\",\n        \"first_name\": \"string\",\n        \"last_name\": \"string\",\n        \"full_name\": \"string\",\n        \"timezone\": \"America/New_York\",\n        \"created_at\": \"1956-08-21T16:23:10.769Z\"\n      }\n    }\n  ]\n}"},{"id":"a60624fa-c04b-4012-a18f-5a08c0115f7a","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    6198,\n    5453\n  ],\n  \"destination_folder_id\": 2675,\n  \"destination_room_id\": 6784\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/items/copy","host":["http://localhost:4000/"],"path":["api","rooms",":id","items","copy"],"variable":[{"key":"id","value":"3005","description":"Source room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"deefa921-d676-4503-92c7-62b2687de7db","name":"Insufficient permissions to access resource","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    6198,\n    5453\n  ],\n  \"destination_folder_id\": 2675,\n  \"destination_room_id\": 6784\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/items/copy","host":["http://localhost:4000/"],"path":["api","rooms",":id","items","copy"],"variable":[{"key":"id","value":"3005","description":"Source room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"fa057678-6161-4125-9e9d-472557f059fc","name":"Resource not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    6198,\n    5453\n  ],\n  \"destination_folder_id\": 2675,\n  \"destination_room_id\": 6784\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/items/copy","host":["http://localhost:4000/"],"path":["api","rooms",":id","items","copy"],"variable":[{"key":"id","value":"3005","description":"Source room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"a199816c-9845-4dc6-b9a2-1679ca99cc7c"},{"name":"Move items","id":"876d0654-23f1-4a8b-9173-f738717f30f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    6871,\n    2615\n  ],\n  \"destination_folder_id\": 9880\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:id/items/move","description":"<p>Move items to another folder within the same room.</p>\n<p><strong>Move behavior:</strong></p>\n<ul>\n<li>Items are relocated (not copied)</li>\n<li>Maintains all metadata and history</li>\n<li>Updates parent relationships</li>\n<li>Preserves team access if moving to accessible folder</li>\n</ul>\n<p>Cannot move items across rooms - use copy instead.</p>\n","urlObject":{"path":["api","rooms",":id","items","move"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"9a5a62b3-7434-4e7d-9b68-92e08f6a12e3","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"b41f4b71-d419-4ef4-9422-3208db3a2214","name":"Items moved successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    6871,\n    2615\n  ],\n  \"destination_folder_id\": 9880\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/items/move","host":["http://localhost:4000/"],"path":["api","rooms",":id","items","move"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"moved_count\": 3443\n}"},{"id":"45a90e10-2c34-47bf-b9b5-744bd2536124","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    6871,\n    2615\n  ],\n  \"destination_folder_id\": 9880\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/items/move","host":["http://localhost:4000/"],"path":["api","rooms",":id","items","move"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"b53bb144-9703-4898-9460-fa4241197ffc","name":"Insufficient permissions to access resource","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    6871,\n    2615\n  ],\n  \"destination_folder_id\": 9880\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/items/move","host":["http://localhost:4000/"],"path":["api","rooms",":id","items","move"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"ad688a41-480b-41b5-ba33-6bbb738c7dd2","name":"Resource not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    6871,\n    2615\n  ],\n  \"destination_folder_id\": 9880\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id/items/move","host":["http://localhost:4000/"],"path":["api","rooms",":id","items","move"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"876d0654-23f1-4a8b-9173-f738717f30f5"}],"id":"59d31316-aaa5-4887-a035-4935d89afe17","_postman_id":"59d31316-aaa5-4887-a035-4935d89afe17","description":""},{"name":"Mark as read and unread","item":[{"name":"Mark items as read","id":"f550145c-c289-4422-af27-ab5c79370672","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    2007,\n    1457\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:room_id/items/read","description":"<p>Mark multiple items as read for the current user.</p>\n<p>Updates the read status and timestamp for tracking user activity.\nUseful for implementing \"mark all as read\" functionality.</p>\n","urlObject":{"path":["api","rooms",":room_id","items","read"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"cefd3d5a-afc5-4436-a622-9e645f5bed78","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"}]}},"response":[{"id":"9f00d07c-8c9d-4957-9366-3f2127d0ab4f","name":"Items marked as read","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    2007,\n    1457\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/read","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","read"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"marked_count\": 2718\n}"},{"id":"ebf7a561-f882-49d3-9176-451fe1d8c600","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    2007,\n    1457\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/read","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","read"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"d47c9593-5c76-4b13-bb1c-0d3ef27a76ea","name":"Resource not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    2007,\n    1457\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/read","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","read"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"f550145c-c289-4422-af27-ab5c79370672"},{"name":"Mark items as unread","id":"78f4904e-ce5f-44c3-b33b-8b4f76279012","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    2078,\n    6746\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:room_id/items/unread","description":"<p>Mark multiple items as unread for the current user.</p>\n<p>Resets the read status to draw attention back to these items.\nUseful for flagging items that need revisiting.</p>\n","urlObject":{"path":["api","rooms",":room_id","items","unread"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"50cca6af-70e1-43c6-a0b6-9f81e2570407","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"}]}},"response":[{"id":"233416be-d180-476f-8788-6870b37aaee0","name":"Items marked as unread","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    2078,\n    6746\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/unread","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","unread"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"marked_count\": 2718\n}"},{"id":"d4693e8d-085b-4f36-98fd-f888302957ef","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    2078,\n    6746\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/unread","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","unread"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"9016909c-b05a-4a02-9a70-0b0240df36a7","name":"Resource not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    2078,\n    6746\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/unread","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","unread"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"78f4904e-ce5f-44c3-b33b-8b4f76279012"}],"id":"37d394f9-72b6-438b-b389-02081a456bf6","_postman_id":"37d394f9-72b6-438b-b389-02081a456bf6","description":""},{"name":"Manage access","item":[{"name":"Set accessible teams for items","id":"c68f8f37-018d-4729-aff7-6adeda1705f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    1022,\n    2523\n  ],\n  \"team_ids\": [\n    7164,\n    9586\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:room_id/items/accessible_teams","description":"<p>Configure which teams can access specific items.</p>\n<p><strong>Access control:</strong></p>\n<ul>\n<li>Restricts items to specific teams</li>\n<li>Overrides room-level access</li>\n<li>Applies recursively to folder contents</li>\n<li>Pass empty <code>team_ids</code> array to remove restrictions</li>\n</ul>\n<p><strong>Permissions:</strong></p>\n<ul>\n<li>Requires room host or admin role</li>\n</ul>\n","urlObject":{"path":["api","rooms",":room_id","items","accessible_teams"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"966e8a24-5f76-4670-8a34-108d06a14d7d","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"}]}},"response":[{"id":"e59ddcc2-3481-40f9-ab2d-f1c3c761694d","name":"Access updated successfully","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    1022,\n    2523\n  ],\n  \"team_ids\": [\n    7164,\n    9586\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/accessible_teams","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","accessible_teams"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"updated_count\": 7917\n}"},{"id":"f3995554-2a6a-43c0-ab84-5ed48028301f","name":"Authentication required or invalid credentials","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    1022,\n    2523\n  ],\n  \"team_ids\": [\n    7164,\n    9586\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/accessible_teams","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","accessible_teams"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"ae983b1e-1fcb-42bf-9199-88f4ff0a9276","name":"Insufficient permissions to access resource","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    1022,\n    2523\n  ],\n  \"team_ids\": [\n    7164,\n    9586\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/accessible_teams","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","accessible_teams"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"66f7bd5d-51f9-45e9-85f5-7cec6f97fd79","name":"Resource not found","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    1022,\n    2523\n  ],\n  \"team_ids\": [\n    7164,\n    9586\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/accessible_teams","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","accessible_teams"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"c68f8f37-018d-4729-aff7-6adeda1705f0"},{"name":"Get item access information","id":"da3f0f81-f748-4e0f-8b6f-c6357585688d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:room_id/items/:item_id/access","description":"<p>Retrieve access control information for an item.</p>\n<p><strong>Response includes:</strong></p>\n<ul>\n<li>List of teams with access to this item</li>\n<li>Whether item has restricted access</li>\n<li>Effective permissions for current user</li>\n</ul>\n<p>If item access is not restricted, it inherits room-level permissions.</p>\n","urlObject":{"path":["api","rooms",":room_id","items",":item_id","access"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"2677943d-7b59-45ad-a573-48e810db27e4","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"},{"id":"c3b7ae37-1795-4af6-8e98-335e21bab95d","description":{"content":"<p>Item identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"item_id"}]}},"response":[{"id":"a85b26c9-9db6-46d4-af8d-1f958b9272fa","name":"Item access information","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/access","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","access"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accessible_teams\": [\n    {\n      \"id\": 2485,\n      \"name\": \"string\"\n    },\n    {\n      \"id\": 1292,\n      \"name\": \"string\"\n    }\n  ],\n  \"is_restricted\": false,\n  \"current_user_can_access\": true\n}"},{"id":"b71fe7a8-55b6-4da9-9aca-d1a26da17edd","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/access","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","access"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"ffda9e39-bda8-435b-8acb-23abd3964904","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/access","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","access"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"82fa63c1-d1ad-4da8-ac5a-ff684b0a0cfc","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/access","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","access"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"da3f0f81-f748-4e0f-8b6f-c6357585688d"}],"id":"2846ac6d-5d02-481d-8f31-e0fd7fe0d6f2","_postman_id":"2846ac6d-5d02-481d-8f31-e0fd7fe0d6f2","description":""},{"name":"Notes","item":[{"name":"List notes on item","id":"23b33f13-228d-4d65-a922-50585f9ce034","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","description":"<p>Get all notes and comments on a specific item.</p>\n<p><strong>Response includes:</strong></p>\n<ul>\n<li>Note content</li>\n<li>Author information</li>\n<li>Timestamps</li>\n<li>Edit history (if note was edited)</li>\n</ul>\n<p>Notes are returned in chronological order (oldest first).</p>\n","urlObject":{"path":["api","rooms",":room_id","items",":item_id","notes"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"08485e4f-d891-43a0-8520-f8e856e22c13","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"},{"id":"0311bf96-5382-461e-a50a-9e2c4bfabeaa","description":{"content":"<p>Item identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"item_id"}]}},"response":[{"id":"f46c18fb-66c0-43c3-bc06-3bbd1c2c99fe","name":"List of notes","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 6653,\n    \"content\": \"string\",\n    \"item_id\": 5426,\n    \"created_by\": {\n      \"id\": 1778,\n      \"email\": \"ZLDpP2Rpa@ookHCGjCbDrcPgglUjFXFZFEXFta.yzwa\",\n      \"first_name\": \"string\",\n      \"last_name\": \"string\",\n      \"full_name\": \"string\",\n      \"timezone\": \"America/New_York\",\n      \"created_at\": \"2022-03-21T07:48:31.859Z\"\n    },\n    \"created_at\": \"1985-01-05T08:43:21.930Z\",\n    \"updated_at\": \"1964-05-01T17:41:18.774Z\",\n    \"is_edited\": true\n  },\n  {\n    \"id\": 9319,\n    \"content\": \"string\",\n    \"item_id\": 6152,\n    \"created_by\": {\n      \"id\": 4128,\n      \"email\": \"xn6F5et-cQK@tZUWZQlKFypZxHjg.oyec\",\n      \"first_name\": \"string\",\n      \"last_name\": \"string\",\n      \"full_name\": \"string\",\n      \"timezone\": \"America/New_York\",\n      \"created_at\": \"1980-07-30T09:03:58.474Z\"\n    },\n    \"created_at\": \"1998-12-14T10:16:48.004Z\",\n    \"updated_at\": \"1957-11-23T07:28:24.985Z\",\n    \"is_edited\": true\n  }\n]"},{"id":"cb0c6aee-70cd-4d9c-8640-cbd0e155d0f3","name":"Invalid request or nested route inconsistency","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"NESTED_ROUTE_NOT_CONSISTENT\",\n  \"message\": \"The item does not belong to the specified room\"\n}"},{"id":"ce10391c-b0c2-4bb7-ad59-6a534f95617c","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"d9293d9c-003c-4d6f-8a58-8fedc57aa4a3","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"12775cc9-0952-4435-8521-10bd6d2134a2","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"23b33f13-228d-4d65-a922-50585f9ce034"},{"name":"Create note","id":"6ba5732d-df2f-4c55-af89-a514e69d28c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"This document needs review before approval\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","description":"<p>Add a note or comment to an item.</p>\n<p><strong>Use cases:</strong></p>\n<ul>\n<li>Document feedback and reviews</li>\n<li>Questions about item content</li>\n<li>Collaboration discussions</li>\n<li>Approval notes</li>\n</ul>\n<p>Notes support plain text and basic formatting.</p>\n","urlObject":{"path":["api","rooms",":room_id","items",":item_id","notes"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"5664fa63-b27d-4574-848b-c01304adbd76","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"},{"id":"d18de8df-95bb-427c-a5fe-fd4cb0727936","description":{"content":"<p>Item identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"item_id"}]}},"response":[{"id":"3b2a38b9-b711-42d8-b787-38c8be215b30","name":"Note created successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"This document needs review before approval\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 2098,\n  \"content\": \"string\",\n  \"item_id\": 5232,\n  \"created_by\": {\n    \"id\": 5751,\n    \"email\": \"Ebel@OEeKfoigXtkDJcOhjLjUOlEbSDiOb.nhhi\",\n    \"first_name\": \"string\",\n    \"last_name\": \"string\",\n    \"full_name\": \"string\",\n    \"timezone\": \"America/New_York\",\n    \"created_at\": \"1970-02-25T00:31:58.328Z\"\n  },\n  \"created_at\": \"2002-08-06T02:28:55.629Z\",\n  \"updated_at\": \"1974-02-25T17:48:11.223Z\",\n  \"is_edited\": true\n}"},{"id":"0bd5ce58-032a-49a8-ab94-28a4421a36ee","name":"Invalid request or nested route inconsistency","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"This document needs review before approval\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"NESTED_ROUTE_NOT_CONSISTENT\",\n  \"message\": \"The item does not belong to the specified room\"\n}"},{"id":"0fdcc23d-8b58-47e1-afb7-074cbf20ec31","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"This document needs review before approval\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"73390c7e-d0a0-495c-9519-ee445c65ad12","name":"Insufficient permissions to access resource","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"This document needs review before approval\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"bb42149f-24b8-4022-a806-a43ee4b5efde","name":"Resource not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"This document needs review before approval\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"},{"id":"e38c7b2a-255b-4cc1-a004-2eb578f16e8d","name":"Validation failed on one or more fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"This document needs review before approval\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\",\n  \"errors\": [\n    {\n      \"code\": \"required\",\n      \"field\": \"name\",\n      \"message\": \"can't be blank\"\n    },\n    {\n      \"code\": \"length\",\n      \"field\": \"description\",\n      \"message\": \"should be at most 500 character(s)\"\n    }\n  ]\n}"}],"_postman_id":"6ba5732d-df2f-4c55-af89-a514e69d28c1"},{"name":"Update note","id":"3ac48c08-a887-4cb1-9f81-ba4c5100ab32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","description":"<p>Update the content of an existing note.</p>\n<p><strong>Permissions:</strong></p>\n<ul>\n<li>Only note author can edit their note</li>\n<li>Room hosts can edit any note</li>\n</ul>\n<p>Edited notes show an \"edited\" indicator with timestamp.</p>\n","urlObject":{"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"9670e58b-ce19-4540-9cfb-44926c65d7a9","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"},{"id":"5c248111-f0a5-44bf-8dbb-7457216e1b12","description":{"content":"<p>Item identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"item_id"},{"id":"c8e39bf5-20cd-4268-a6e8-1cce369b26b2","description":{"content":"<p>Note identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"note_id"}]}},"response":[{"id":"f28f1de3-af7e-4339-9862-a9bdfd88c97b","name":"Note updated successfully","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 2098,\n  \"content\": \"string\",\n  \"item_id\": 5232,\n  \"created_by\": {\n    \"id\": 5751,\n    \"email\": \"Ebel@OEeKfoigXtkDJcOhjLjUOlEbSDiOb.nhhi\",\n    \"first_name\": \"string\",\n    \"last_name\": \"string\",\n    \"full_name\": \"string\",\n    \"timezone\": \"America/New_York\",\n    \"created_at\": \"1970-02-25T00:31:58.328Z\"\n  },\n  \"created_at\": \"2002-08-06T02:28:55.629Z\",\n  \"updated_at\": \"1974-02-25T17:48:11.223Z\",\n  \"is_edited\": true\n}"},{"id":"fab90c53-2ca9-463f-a145-48ed415edd4a","name":"Invalid request or nested route inconsistency","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"NESTED_ROUTE_NOT_CONSISTENT\",\n  \"message\": \"The item does not belong to the specified room\"\n}"},{"id":"b85ba9dc-9306-4c0b-8c05-a9e0ed21c8b3","name":"Authentication required or invalid credentials","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"d93e502d-e4c0-4345-b4ab-1eaee7bba420","name":"Insufficient permissions to access resource","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"043e1765-89ee-4cd0-9d19-c8e2696e13ac","name":"Resource not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"},{"id":"93cd8828-3523-4f72-a400-2dfb8af29e8d","name":"Validation failed on one or more fields","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"content\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\",\n  \"errors\": [\n    {\n      \"code\": \"required\",\n      \"field\": \"name\",\n      \"message\": \"can't be blank\"\n    },\n    {\n      \"code\": \"length\",\n      \"field\": \"description\",\n      \"message\": \"should be at most 500 character(s)\"\n    }\n  ]\n}"}],"_postman_id":"3ac48c08-a887-4cb1-9f81-ba4c5100ab32"},{"name":"Delete note","id":"c0b5f05c-e36c-4369-8f5c-ecc200515b7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","description":"<p>Delete a note permanently.</p>\n<p><strong>Permissions:</strong></p>\n<ul>\n<li>Only note author can delete their note</li>\n<li>Room hosts can delete any note</li>\n</ul>\n<p>This action cannot be undone.</p>\n","urlObject":{"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"c9c5ca85-6d3f-4686-958d-20946cdf6d11","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"},{"id":"a0b7fe5c-8b38-44f2-84fd-aec8211e093f","description":{"content":"<p>Item identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"item_id"},{"id":"78422ba6-a04c-435c-816c-d46923aa500d","description":{"content":"<p>Note identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"note_id"}]}},"response":[{"id":"1c166945-e1da-4fb0-a67e-c2e79a8113dc","name":"Note deleted successfully","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"4c214539-5376-43a3-9a7a-291cadadf099","name":"Invalid request or nested route inconsistency","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"NESTED_ROUTE_NOT_CONSISTENT\",\n  \"message\": \"The item does not belong to the specified room\"\n}"},{"id":"a2b0760d-2878-4b23-bf9b-aee4033aba9e","name":"Authentication required or invalid credentials","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"f312776c-f7b3-4cf9-82d6-cd2dd04b8cdb","name":"Insufficient permissions to access resource","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"f387e628-9ae4-457d-918b-3810cd777dd9","name":"Resource not found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/notes/:note_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","notes",":note_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"note_id","value":"3005","description":"Note identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"c0b5f05c-e36c-4369-8f5c-ecc200515b7f"}],"id":"ce062b38-d1d0-4c4c-992b-c53e573acbfd","_postman_id":"ce062b38-d1d0-4c4c-992b-c53e573acbfd","description":""},{"name":"Download","item":[{"name":"Download latest version","id":"6f743be7-37a3-4a15-856c-05432e777c2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/octet-stream"}],"url":"http://localhost:4000//api/rooms/:room_id/items/:item_id/download","description":"<p>Download the latest version of a document.</p>\n<p>Returns the file content as binary data with appropriate Content-Type\nand Content-Disposition headers for browser download.</p>\n<p><strong>Only works for document items</strong> (not folders).</p>\n","urlObject":{"path":["api","rooms",":room_id","items",":item_id","download"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"ada1c47a-165b-453a-8349-8baf5759a76c","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"},{"id":"29ef8beb-0a1d-40c5-9ad0-307b1f218357","description":{"content":"<p>Item identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"item_id"}]}},"response":[{"id":"5a27c93b-3495-491a-9e33-67afe77b994a","name":"File download","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/octet-stream"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/download","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","download"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/octet-stream"},{"disabled":false,"description":{"content":"Attachment filename","type":"text/plain"},"key":"Content-Disposition","value":"attachment; filename=\"document.pdf\""},{"disabled":false,"description":{"content":"File MIME type","type":"text/plain"},"key":"Content-Type","value":"application/pdf"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"084cd1d7-9e18-4399-b0fd-38c1abecf7a9","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/download","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","download"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"694fe788-34d3-4f4e-81a6-ae835a84283f","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/download","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","download"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"652519ea-a5bb-4f32-8531-47b0a3af7e56","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/download","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","download"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"6f743be7-37a3-4a15-856c-05432e777c2c"},{"name":"Download specific version","id":"cd5be3d9-b49f-4d40-af3e-7ba63b477e35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/octet-stream"}],"url":"http://localhost:4000//api/rooms/:room_id/items/:item_id/download/:file_version_id","description":"<p>Download a specific historical version of a document.</p>\n<p>Useful for:</p>\n<ul>\n<li>Accessing previous revisions</li>\n<li>Comparing document versions</li>\n<li>Recovering old content</li>\n</ul>\n<p>Returns the file content as binary data.</p>\n","urlObject":{"path":["api","rooms",":room_id","items",":item_id","download",":file_version_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"d33c5752-a863-4bda-9572-9db8813089f7","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"},{"id":"584612a3-7996-4419-8d7a-3c85fdac408b","description":{"content":"<p>Item identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"item_id"},{"id":"27f93de4-9be9-4780-ab3a-289a2c3a60bd","description":{"content":"<p>File version identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"file_version_id"}]}},"response":[{"id":"77935638-5160-42f8-b9eb-f2d82d15fbc5","name":"File download","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/octet-stream"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/download/:file_version_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","download",":file_version_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"file_version_id","value":"3005","description":"File version identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/octet-stream"},{"disabled":false,"description":{"content":"Attachment filename with version","type":"text/plain"},"key":"Content-Disposition","value":"attachment; filename=\"document_v2.pdf\""}],"cookie":[],"responseTime":null,"body":"string"},{"id":"467e0a82-283e-4801-9dde-4f67aa4ffebd","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/download/:file_version_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","download",":file_version_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"file_version_id","value":"3005","description":"File version identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"be50f663-f3a6-4f20-a4c7-53c59734511f","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/download/:file_version_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","download",":file_version_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"file_version_id","value":"3005","description":"File version identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"2c5d8764-2f85-4af7-833b-f24b2492893e","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/download/:file_version_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","download",":file_version_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"},{"key":"file_version_id","value":"3005","description":"File version identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"cd5be3d9-b49f-4d40-af3e-7ba63b477e35"},{"name":"List file versions","id":"c43f4386-507a-4273-971e-1a99e9569736","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:room_id/items/:item_id/versions","description":"<p>Get complete version history of a document.</p>\n<p><strong>Response includes for each version:</strong></p>\n<ul>\n<li>Version number</li>\n<li>File size and type</li>\n<li>Upload timestamp</li>\n<li>Uploader information</li>\n</ul>\n<p>Versions are returned in reverse chronological order (latest first).</p>\n","urlObject":{"path":["api","rooms",":room_id","items",":item_id","versions"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"0f4940db-35c1-410d-9810-c5626757c85d","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"},{"id":"03bf35ea-eb98-459b-b0bc-7b811db0de27","description":{"content":"<p>Item identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"item_id"}]}},"response":[{"id":"8020b908-a5ff-443c-9422-ea4540bcecde","name":"List of file versions","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/versions","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","versions"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1471,\n    \"version_number\": 772,\n    \"file_size\": 9383,\n    \"file_type\": \"string\",\n    \"created_by\": {\n      \"id\": 9887,\n      \"email\": \"Pxus1lPDtJY-8@VBXseuiIiAI.hg\",\n      \"first_name\": \"string\",\n      \"last_name\": \"string\",\n      \"full_name\": \"string\",\n      \"timezone\": \"America/New_York\",\n      \"created_at\": \"1981-09-02T21:41:36.775Z\"\n    },\n    \"created_at\": \"2022-02-12T08:28:54.301Z\"\n  },\n  {\n    \"id\": 5599,\n    \"version_number\": 6350,\n    \"file_size\": 7162,\n    \"file_type\": \"string\",\n    \"created_by\": {\n      \"id\": 5922,\n      \"email\": \"kfgMdi@wFpJdPyUDbywp.txa\",\n      \"first_name\": \"string\",\n      \"last_name\": \"string\",\n      \"full_name\": \"string\",\n      \"timezone\": \"America/New_York\",\n      \"created_at\": \"1987-08-13T13:56:58.954Z\"\n    },\n    \"created_at\": \"2005-02-27T08:30:24.506Z\"\n  }\n]"},{"id":"64aab3d6-4f95-4bfc-b424-23980e527c06","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/versions","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","versions"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"d3f41188-6adc-4a6c-9f63-4946df4aecb2","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/versions","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","versions"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"bc3bbd63-5141-40e6-9799-76931e51409c","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/versions","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","versions"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"c43f4386-507a-4273-971e-1a99e9569736"}],"id":"d52939dc-b3f2-4b90-9cdd-1473477ee4c3","_postman_id":"d52939dc-b3f2-4b90-9cdd-1473477ee4c3","description":""},{"name":"Bulk download","item":[{"name":"Create bulk download","id":"c13762f0-883a-4fb0-9300-743b6d840eed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    3582,\n    7113\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:room_id/items/bulk_download","description":"<p>Create a ZIP archive containing multiple items for download.</p>\n<p><strong>Process:</strong></p>\n<ol>\n<li>Submit item IDs for download</li>\n<li>Server creates ZIP archive asynchronously (returns 202)</li>\n<li>Poll download status endpoint</li>\n<li>Download ZIP when ready</li>\n</ol>\n<p><strong>Download includes:</strong></p>\n<ul>\n<li>All selected documents</li>\n<li>Folder structure preserved</li>\n<li>Original filenames maintained</li>\n</ul>\n<p>Large downloads may take several minutes to prepare.</p>\n","urlObject":{"path":["api","rooms",":room_id","items","bulk_download"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"441454e6-3c64-425b-9c23-65eb42a1a7da","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"}]}},"response":[{"id":"92f4eb7b-c808-4db9-966a-36f46a561bc7","name":"Download job created","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    3582,\n    7113\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/bulk_download","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","bulk_download"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"download_id\": \"dl_1234567890\",\n  \"status\": \"pending\"\n}"},{"id":"87042089-dce8-4d3c-beb4-f4ff9215b245","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    3582,\n    7113\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/bulk_download","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","bulk_download"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"3432805f-1ef7-42ba-9201-a1e790a3b281","name":"Insufficient permissions to access resource","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    3582,\n    7113\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/bulk_download","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","bulk_download"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"d5f4a45a-3bad-438f-874c-26c13aa8dc69","name":"Resource not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    3582,\n    7113\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/bulk_download","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","bulk_download"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"c13762f0-883a-4fb0-9300-743b6d840eed"},{"name":"Get bulk download status or file","id":"deb0660e-2ec0-443d-9399-c62dd753866f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:room_id/items/bulk_download/:id","description":"<p>Check the status of a bulk download job or download the ZIP file.</p>\n<p><strong>Status values:</strong></p>\n<ul>\n<li><code>pending</code>: Download queued</li>\n<li><code>processing</code>: Creating ZIP archive</li>\n<li><code>completed</code>: Ready for download</li>\n<li><code>failed</code>: Download failed</li>\n</ul>\n<p>When completed, returns ZIP file as binary data or provides download URL.</p>\n","urlObject":{"path":["api","rooms",":room_id","items","bulk_download",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"9b1ffa2e-ef5d-4b85-b143-5e30685f681c","description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"room_id"},{"id":"0eebc1e4-7157-4b82-aae9-524f8333a07b","description":{"content":"<p>Download job identifier</p>\n","type":"text/plain"},"type":"any","value":"string","key":"id"}]}},"response":[{"id":"742f471c-8728-4170-aac9-3aee5b7aba14","name":"Download file or status","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/bulk_download/:id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","bulk_download",":id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"id","value":"string","description":"Download job identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"completed\",\n  \"download_url\": \"http://gvcNohgmPiHyJTJOEqvxBubD.mukb6zZ3xw51IPVl3JQM8MTv.YBlNZD7Yw.JhvP9jyUK-TnFh5\",\n  \"error\": \"string\"\n}"},{"id":"314ac509-5b96-48b4-9ef3-dc4f78850b0c","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/bulk_download/:id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","bulk_download",":id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"id","value":"string","description":"Download job identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"44fdfeee-c1a1-4316-9ed4-42505499bd44","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/bulk_download/:id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items","bulk_download",":id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"id","value":"string","description":"Download job identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"deb0660e-2ec0-443d-9399-c62dd753866f"}],"id":"9807d23a-0657-4fcf-afa2-d269e04fa77f","_postman_id":"9807d23a-0657-4fcf-afa2-d269e04fa77f","description":""},{"name":"List items","id":"9171d6a6-7ec8-49e6-8143-d35107313870","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:id/items","description":"<p>Get a list of items (documents and folders) in a room.</p>\n<p><strong>General parameters:</strong></p>\n<ul>\n<li><p>Use <code>parent_id</code> parameter to list items in a specific folder</p>\n</li>\n<li><p>Use <code>parent_id=null</code> or omit it to list root-level items</p>\n</li>\n<li><p>Use <code>include_files=false</code> to exclude documents. (default <code>true</code>)</p>\n</li>\n<li><p>Use <code>include_children=true</code> to include children items for the folders. (default <code>false</code>)</p>\n</li>\n<li><p>Use <code>include_document_count=false</code> to not calculate the number of documents per each folder. (default <code>true</code>)</p>\n</li>\n<li><p>Use <code>include_access_level=false</code> to not calculate the access level of each accessible team per each folder. (default <code>true</code>)</p>\n</li>\n<li><p>Use <code>format=flat</code> to return the items in a flat list. (default <code>tree</code>)</p>\n</li>\n</ul>\n<p><strong>Sorting:</strong></p>\n<ul>\n<li><p>Use the <code>sort</code> parameter with comma-separated field names</p>\n</li>\n<li><p>Prefix field name with <code>-</code> for descending order</p>\n</li>\n<li><p>Available sort fields:</p>\n<ul>\n<li><p><code>id</code></p>\n</li>\n<li><p><code>name</code></p>\n</li>\n<li><p><code>parent_id</code></p>\n</li>\n<li><p><code>inserted_at</code></p>\n</li>\n<li><p><code>updated_at</code></p>\n</li>\n<li><p><code>manually_approved</code></p>\n</li>\n<li><p><code>rank</code></p>\n</li>\n<li><p><code>status</code></p>\n</li>\n<li><p><code>custom_value</code></p>\n</li>\n<li><p><code>due_date</code></p>\n</li>\n<li><p><code>type</code></p>\n</li>\n<li><p><code>creator_user_id</code></p>\n</li>\n<li><p><code>creator_team_id</code></p>\n</li>\n<li><p><code>room_id</code></p>\n</li>\n<li><p><code>current_file_version_id</code></p>\n</li>\n<li><p><code>legacy_document_id</code></p>\n</li>\n<li><p><code>deleted_at</code></p>\n</li>\n<li><p><code>path</code></p>\n</li>\n<li><p><code>full_path</code></p>\n</li>\n<li><p><code>uuid</code></p>\n</li>\n<li><p><code>sid</code></p>\n</li>\n<li><p><code>index</code></p>\n</li>\n<li><p><code>locked</code></p>\n</li>\n<li><p><code>file_status</code></p>\n</li>\n<li><p><code>original_name</code></p>\n</li>\n<li><p><code>due_date_reminder</code></p>\n</li>\n<li><p><code>updater_user_id</code></p>\n</li>\n<li><p><code>read_only</code></p>\n</li>\n<li><p><code>last_modified_at</code></p>\n</li>\n<li><p><code>last_modified_user_id</code></p>\n</li>\n<li><p><code>file_request_enabled</code></p>\n</li>\n<li><p><code>file_request_id</code></p>\n</li>\n<li><p><code>public_link_enabled</code></p>\n</li>\n</ul>\n</li>\n<li><p>Example: <code>sort=-last_modified_at,name</code> sorts by <code>last_modified_at</code> descending, then <code>name</code> ascending</p>\n</li>\n</ul>\n<p><strong>Filtering:</strong><br />All filter parameters should be passed in the query string.</p>\n<ul>\n<li><p>Filters available:</p>\n<ul>\n<li><p><code>items_ids</code>: comma-separated item ids</p>\n</li>\n<li><p><code>term</code>: wildcard search in sid and name fields</p>\n</li>\n<li><p><code>last_modified_at[ge]</code>: items modified after this date (ISO 8601 format)</p>\n</li>\n<li><p><code>last_modified_at[le]</code>: items modified before this date (ISO 8601 format)</p>\n</li>\n<li><p><code>type</code>: <code>folder</code> or <code>document</code></p>\n</li>\n<li><p><code>file_extension</code>: comma-separated documents extensions</p>\n</li>\n<li><p><code>status</code>: comma-separated item statuses</p>\n</li>\n<li><p><code>file_status</code>: <code>created</code>, <code>uploading</code>, <code>moving</code>, <code>converting</code>, <code>ready</code>, <code>error_uploading</code>, <code>error_moving</code> or <code>error_converting</code></p>\n</li>\n<li><p><code>unread</code>: <code>files</code> or <code>notes</code></p>\n</li>\n<li><p><code>responsible_teams_ids</code>: comma-separated team ids</p>\n</li>\n<li><p><code>responsible_users_ids</code>: comma-separated user ids</p>\n</li>\n<li><p><code>file_request</code>: <code>true</code> or <code>false</code></p>\n</li>\n</ul>\n</li>\n<li><p>Example: <code>type=document&amp;status=open</code> will return the documents with status = <code>open</code></p>\n</li>\n</ul>\n<p><strong>Response includes:</strong></p>\n<p>Each item in the response array is an object with the following fields:</p>\n<ul>\n<li><p><code>id</code> (number): Unique identifier of the item</p>\n</li>\n<li><p><code>uuid</code> (string): UUID of the item</p>\n</li>\n<li><p><code>sid</code> (string): Short identifier</p>\n</li>\n<li><p><code>name</code> (string): Name of the item</p>\n</li>\n<li><p><code>type</code> (string): Type of the item (<code>heading</code>, <code>line_item</code>, <code>folder</code> or <code>document</code>)</p>\n</li>\n<li><p><code>level</code> (integer): Nesting level</p>\n</li>\n<li><p><code>status</code> (string): Status of the item (e.g., <code>open</code>, <code>in_progress</code>)</p>\n</li>\n<li><p><code>fileStatus</code> (string): File status (<code>created</code>, <code>uploading</code>, <code>moving</code>, <code>converting</code>, <code>ready</code>, <code>error_uploading</code>, <code>error_moving</code> or <code>error_converting</code>)</p>\n</li>\n<li><p><code>fileRequestEnabled</code> (boolean): Whether file request is enabled</p>\n</li>\n<li><p><code>locked</code> (boolean): Whether the item is locked</p>\n</li>\n<li><p><code>readOnly</code> (boolean): Whether the item is read-only</p>\n</li>\n<li><p><code>unread</code> (boolean): Whether the item is unread</p>\n</li>\n<li><p><code>rank</code> (number): Sort rank</p>\n</li>\n<li><p><code>size</code> (number): File size</p>\n</li>\n<li><p><code>documentCount</code> (number): Number of documents inside this folder</p>\n</li>\n<li><p><code>newNotesCount</code> (number): Number of new notes</p>\n</li>\n<li><p><code>parentId</code> (number): ID of the parent item</p>\n</li>\n<li><p><code>parentUuid</code> (number): UUID of the parent item</p>\n</li>\n<li><p><code>dueDate</code> (string): Due date (ISO 8601)</p>\n</li>\n<li><p><code>dueDateReminder</code> (string): Due date reminder</p>\n</li>\n<li><p><code>lastNote</code> (string): Last note</p>\n</li>\n<li><p><code>lastModifiedAt</code> (string): Last modification date (ISO 8601)</p>\n</li>\n<li><p><code>lastModifiedUserId</code> (number): User ID of last modifier</p>\n</li>\n<li><p><code>lastModifiedUserName</code> (string): Username of last modifier</p>\n</li>\n<li><p><code>updatedAt</code> (string): Updated at date (ISO 8601)</p>\n</li>\n<li><p><code>updaterUserId</code> (number): User ID of updater</p>\n</li>\n<li><p><code>updaterUserName</code> (string): Username of updater</p>\n</li>\n<li><p><code>creatorUserId</code> (number): User ID of creator</p>\n</li>\n<li><p><code>creatorUserName</code> (string): Username of creator</p>\n</li>\n<li><p><code>children</code> (array): Child items (when <code>include_children=true</code>)</p>\n</li>\n<li><p><code>ancestors</code> (array): List of ancestor items with <code>id</code> and <code>name</code></p>\n</li>\n<li><p><code>responsibleTeamsAndUsers</code> (array): List of responsible teams and users</p>\n</li>\n<li><p><code>accessibleTeams</code> (array): List of teams with access, each containing:</p>\n<ul>\n<li><p><code>id</code> (number): Team ID</p>\n</li>\n<li><p><code>name</code> (string): Team name</p>\n</li>\n<li><p><code>abbreviation</code> (string): Team abbreviation</p>\n</li>\n<li><p><code>accessLevel</code> (string): Access level (<code>full</code>, <code>partial</code> or <code>none</code>)</p>\n</li>\n<li><p><code>roleId</code> (string): Role ID (<code>host_admin</code>, <code>admin</code>, <code>restricted</code> or <code>view_only</code>)</p>\n</li>\n<li><p><code>typeName</code> (string): Type name</p>\n</li>\n<li><p><code>accessibleItems</code> (array): Accessible items</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["api","rooms",":id","items"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"999","key":"id"}]}},"response":[{"id":"c4190615-aabf-438b-8ab3-b2ef0168d3cc","name":"List of items","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/items?parent_id=9798&page=1&per_page=50&sort=-created_at","host":["http://localhost:4000/"],"path":["api","rooms",":id","items"],"query":[{"key":"parent_id","value":"9798","description":"Parent folder ID (null or omit for root-level items)"},{"key":"page","value":"1","description":"Page number (1-indexed)"},{"key":"per_page","value":"50","description":"Items per page (1-100)"},{"key":"sort","value":"-created_at","description":"Sort order for items"}],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 6327,\n    \"name\": \"string\",\n    \"item_type\": \"document\",\n    \"parent_id\": 5885,\n    \"room_id\": 4614,\n    \"description\": \"string\",\n    \"file_size\": 8542,\n    \"file_type\": \"string\",\n    \"version_number\": 7514,\n    \"is_read\": true,\n    \"created_at\": \"2000-04-22T03:09:52.582Z\",\n    \"updated_at\": \"2014-07-28T17:38:41.939Z\",\n    \"created_by\": {\n      \"id\": 2679,\n      \"email\": \"qIyfz1C07k@Nl.tx\",\n      \"first_name\": \"string\",\n      \"last_name\": \"string\",\n      \"full_name\": \"string\",\n      \"timezone\": \"America/New_York\",\n      \"created_at\": \"1998-04-16T03:33:12.056Z\"\n    }\n  },\n  {\n    \"id\": 1915,\n    \"name\": \"string\",\n    \"item_type\": \"folder\",\n    \"parent_id\": 203,\n    \"room_id\": 9025,\n    \"description\": \"string\",\n    \"file_size\": 2900,\n    \"file_type\": \"string\",\n    \"version_number\": 3011,\n    \"is_read\": false,\n    \"created_at\": \"1997-05-30T12:24:58.350Z\",\n    \"updated_at\": \"1965-12-18T09:00:44.715Z\",\n    \"created_by\": {\n      \"id\": 5677,\n      \"email\": \"rXUrfQG9@dFBaWsIxhlvyivtftzzlbZZnG.zl\",\n      \"first_name\": \"string\",\n      \"last_name\": \"string\",\n      \"full_name\": \"string\",\n      \"timezone\": \"America/New_York\",\n      \"created_at\": \"1979-04-27T23:24:03.500Z\"\n    }\n  }\n]"},{"id":"17a5dedd-d844-4613-805d-faaa4cd68142","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/items?parent_id=9798&page=1&per_page=50&sort=-created_at","host":["http://localhost:4000/"],"path":["api","rooms",":id","items"],"query":[{"key":"parent_id","value":"9798","description":"Parent folder ID (null or omit for root-level items)"},{"key":"page","value":"1","description":"Page number (1-indexed)"},{"key":"per_page","value":"50","description":"Items per page (1-100)"},{"key":"sort","value":"-created_at","description":"Sort order for items"}],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"4471c61d-5caa-459d-987f-61cad7c82766","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:id/items?parent_id=9798&page=1&per_page=50&sort=-created_at","host":["http://localhost:4000/"],"path":["api","rooms",":id","items"],"query":[{"key":"parent_id","value":"9798","description":"Parent folder ID (null or omit for root-level items)"},{"key":"page","value":"1","description":"Page number (1-indexed)"},{"key":"per_page","value":"50","description":"Items per page (1-100)"},{"key":"sort","value":"-created_at","description":"Sort order for items"}],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"9171d6a6-7ec8-49e6-8143-d35107313870"},{"name":"Create items","id":"065e3697-7baa-4b69-a70a-d09688808e7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"name\": \"Legal Documents\"\n    }\n  ],\n  \"parent_id\": null,\n  \"rename_duplicates\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:id/items","description":"<p>Create one or more items in a room. Items must be provided inside an <code>items</code> array.</p>\n<p><strong>Item type is determined automatically</strong> based on the parent hierarchy:</p>\n<ul>\n<li><p>No parent (<code>parent_id: null</code>) → creates a <strong>heading</strong> (top-level item)</p>\n</li>\n<li><p>Parent is a <strong>heading</strong> → creates a <strong>line_item</strong></p>\n</li>\n<li><p>Parent is a <strong>line_item</strong> or <strong>folder</strong> → creates a <strong>folder</strong></p>\n</li>\n</ul>\n<p>To create a <strong>document</strong>, explicitly set <code>\"type\": \"document\"</code> on the item inside the <code>items</code> array.</p>\n<p><strong>Creating flat items in a parent:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"parent_id\": 1,\n  \"items\": [\n    { \"name\": \"Folder A\" },\n    { \"name\": \"Folder B\" }\n  ]\n}\n\n</code></pre>\n<p><strong>Creating nested items (with children):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"items\": [\n    {\n      \"name\": \"Heading 1\",\n      \"children\": [\n        {\n          \"name\": \"Line Item 1\",\n          \"children\": [\n            { \"name\": \"Folder 1\" }\n          ]\n        }\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p><strong>Optional parameters:</strong></p>\n<ul>\n<li><p><code>parent_id</code> : ID of the parent item. Omit or set to <code>null</code> for root-level items.</p>\n</li>\n<li><p><code>rename_duplicates</code> : If <code>true</code>, when a duplicated item name is encountered, it should rename appending a counter <code>(n)</code> or throw. (default <code>false</code>).</p>\n</li>\n</ul>\n<p>On success, the API returns an <strong>array of created item objects</strong>. Each object in the array represents a newly created item and contains the following properties:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>number</td>\n<td>Unique identifier of the created item.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>The name of the item as stored (may differ from the original if <code>rename_duplicates</code> is <code>true</code>, e.g. <code>\"Legal Documents (1)\"</code>).</td>\n</tr>\n<tr>\n<td><code>originalName</code></td>\n<td>string</td>\n<td>The original name provided in the request before any duplicate renaming.</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>The resolved item type: <code>\"heading\"</code>, <code>\"line_item\"</code>, <code>\"folder\"</code>, or <code>\"document\"</code>. Determined automatically based on parent hierarchy unless explicitly set as document.</td>\n</tr>\n<tr>\n<td><code>parentId</code></td>\n<td>number</td>\n<td>The ID of the parent item. <code>null</code> for root-level (top-level) items.</td>\n</tr>\n<tr>\n<td><code>ancestors</code></td>\n<td>array</td>\n<td>List of ancestor items in the hierarchy. Each entry contains <code>id</code> and <code>name</code> of the ancestor.</td>\n</tr>\n<tr>\n<td><code>level</code></td>\n<td>number</td>\n<td>Depth level in the hierarchy. <code>0</code> indicates a root-level item.</td>\n</tr>\n<tr>\n<td><code>fullPath</code></td>\n<td>string</td>\n<td>The full path of the item within the room hierarchy (e.g. <code>\"Legal Documents (1)\"</code>).</td>\n</tr>\n<tr>\n<td><code>deepness</code></td>\n<td>number</td>\n<td>Nesting depth of the item within its hierarchy branch.</td>\n</tr>\n<tr>\n<td><code>rank</code></td>\n<td>number</td>\n<td>Numeric value used for ordering items within the same level.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Current status of the item (e.g. <code>\"open\"</code>).</td>\n</tr>\n<tr>\n<td><code>empty</code></td>\n<td>boolean</td>\n<td>Whether the item has no children.</td>\n</tr>\n<tr>\n<td><code>readOnly</code></td>\n<td>boolean</td>\n<td>Whether the item is read-only.</td>\n</tr>\n<tr>\n<td><code>creatorUserId</code></td>\n<td>number</td>\n<td>ID of the user who created the item.</td>\n</tr>\n<tr>\n<td><code>creatorUserName</code></td>\n<td>string</td>\n<td>Display name of the creator, if available.</td>\n</tr>\n<tr>\n<td><code>updaterUserId</code></td>\n<td>number</td>\n<td>ID of the user who last updated the item.</td>\n</tr>\n<tr>\n<td><code>updaterUserName</code></td>\n<td>string</td>\n<td>Display name of the last updater, if available.</td>\n</tr>\n<tr>\n<td><code>lastModifiedAt</code></td>\n<td>string</td>\n<td>Date of the last modification in ISO 8601 (e.g. <code>\"2026-02-20T13:01:47.007256-05:00\"</code>).</td>\n</tr>\n<tr>\n<td><code>lastModifiedUserId</code></td>\n<td>number</td>\n<td>ID of the user who last modified the item.</td>\n</tr>\n<tr>\n<td><code>lastModifiedUserName</code></td>\n<td>string</td>\n<td>Display name of the last modifier, if available.</td>\n</tr>\n<tr>\n<td><code>dueDate</code></td>\n<td>string</td>\n<td>Due Date for the item, if set, in ISO 8601.</td>\n</tr>\n<tr>\n<td><code>dueDateReminder</code></td>\n<td>string</td>\n<td>Reminder setting for the due date, if configured.</td>\n</tr>\n<tr>\n<td><code>isOverdue</code></td>\n<td>boolean</td>\n<td>Whether the item's due date has passed.</td>\n</tr>\n<tr>\n<td><code>hasNotes</code></td>\n<td>boolean</td>\n<td>Whether the item has any notes attached.</td>\n</tr>\n<tr>\n<td><code>newNotesCount</code></td>\n<td>number</td>\n<td>Number of unread notes on the item.</td>\n</tr>\n<tr>\n<td><code>unread</code></td>\n<td>boolean</td>\n<td>Whether the item has unread activity.</td>\n</tr>\n<tr>\n<td><code>subscribed</code></td>\n<td>boolean</td>\n<td>Whether the current user is subscribed to notifications for this item.</td>\n</tr>\n<tr>\n<td><code>fileStatus</code></td>\n<td>string</td>\n<td>File processing status (e.g. <code>\"ready\"</code>).</td>\n</tr>\n<tr>\n<td><code>uploaderClientUid</code></td>\n<td>string</td>\n<td>Client UID of the uploader, if applicable.</td>\n</tr>\n<tr>\n<td><code>customColumnValue</code></td>\n<td>string</td>\n<td>Value for any custom column configured in the room.</td>\n</tr>\n<tr>\n<td><code>accessibleTeams</code></td>\n<td>array</td>\n<td>List of teams that have access to this item. Each entry includes <code>id</code>, <code>name</code>, <code>abbreviation</code>, <code>roleId</code>, and <code>typeName</code>.</td>\n</tr>\n<tr>\n<td><code>responsibleTeams</code></td>\n<td>array</td>\n<td>List of teams responsible for this item.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","rooms",":id","items"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"999","key":"id"}]}},"response":[{"id":"c61f93c5-14a8-4cf1-8c78-694f370365d1","name":"Items created successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"name\": \"Legal Documents\"\n    }\n  ],\n  \"parent_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 2661,\n    \"name\": \"Legal Documents\",\n    \"original_name\": \"Legal Documents\",\n    \"type\": \"heading\",\n    \"parent_id\": null,\n    \"rank\": 1000,\n    \"deepness\": 0,\n    \"level\": 0,\n    \"full_path\": null,\n    \"status\": null,\n    \"file_status\": \"ready\",\n    \"empty\": true,\n    \"read_only\": null,\n    \"unread\": false,\n    \"subscribed\": false,\n    \"has_notes\": false,\n    \"new_notes_count\": 0,\n    \"custom_column_value\": null,\n    \"due_date\": null,\n    \"is_overdue\": false,\n    \"due_date_reminder\": null,\n    \"creator_user_id\": 123,\n    \"creator_user_name\": \"John Doe\",\n    \"updater_user_id\": 123,\n    \"updater_user_name\": \"John Doe\",\n    \"last_modified_at\": \"2025-01-15T10:30:00.000Z\",\n    \"last_modified_user_id\": 123,\n    \"last_modified_user_name\": \"John Doe\",\n    \"uploader_client_uid\": null,\n    \"accessible_teams\": [\n      {\n        \"id\": 1,\n        \"name\": \"Host Admin Team\",\n        \"abbreviation\": \"HA\",\n        \"role_id\": 1,\n        \"type_name\": \"host_admin\"\n      }\n    ],\n    \"responsible_teams\": [],\n    \"ancestors\": []\n  }\n]"},{"id":"c019e199-d7c7-44ce-a47e-7a5d876fbb5a","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"name\": \"Legal Documents\"\n    }\n  ],\n  \"parent_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"cant_create_document_without_valid_parent\",\n  \"message\": \"Document items can't have children items.\"\n}"},{"id":"ff9e95f1-4dcb-40dd-860c-51760a66e161","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"name\": \"Legal Documents\"\n    }\n  ],\n  \"parent_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"6e86244d-523c-401a-a1f3-3a3281c93954","name":"Insufficient permissions to create items","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"name\": \"Legal Documents\"\n    }\n  ],\n  \"parent_id\": null\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"user_cant_create_items\",\n  \"message\": \"User can't create items in the given room.\"\n}"}],"_postman_id":"065e3697-7baa-4b69-a70a-d09688808e7d"},{"name":"Update items","id":"3c6876ad-f563-4864-8d23-b6b5f5492cca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": 340934,\n    \"name\": \"New heading name 2\"\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:id/items","description":"<p>Update one or more items in a room.</p>\n<p>The request body is a <strong>JSON array</strong> sent at the top level (not wrapped in an object).<br />Each element must include the item <code>id</code> and the fields to update.</p>\n<p><strong>Updatable fields (host_admin / admin):</strong></p>\n<ul>\n<li><p><code>name</code> — Item name (max 200 characters)</p>\n</li>\n<li><p><code>status</code> — Item status</p>\n</li>\n<li><p><code>custom_value</code> — Custom column value</p>\n</li>\n<li><p><code>due_date</code> — Due date</p>\n</li>\n<li><p><code>position</code> — Reorder item among its siblings (0-indexed)</p>\n</li>\n<li><p><code>due_date_reminder</code> — Due date reminder settings (embedded object)</p>\n</li>\n</ul>\n<p><strong>Updatable fields (guest):</strong></p>\n<ul>\n<li><p><code>name</code> — Only if the user is the creator of the item</p>\n</li>\n<li><p><code>status</code> — Only if <code>allow_guest_team_change_item_status</code> is enabled on the room</p>\n</li>\n<li><p><code>custom_value</code> — Only for folder-class items (heading, line_item, folder)</p>\n</li>\n</ul>\n<p><strong>Updatable fields (restricted):</strong></p>\n<ul>\n<li><code>status</code> — Item status only</li>\n</ul>\n<p><strong>Status bulk update:</strong><br />When all items in the request only contain <code>id</code> and <code>status</code> fields with the same status value,<br />a more efficient bulk update is performed.</p>\n<p><strong>Examples:</strong></p>\n<p>Update the name of a single item:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"id\": 10,\n    \"name\": \"New heading name\"\n  }\n]\n\n</code></pre>\n<p>Update the position of an item:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"id\": 15,\n    \"position\": 5\n  }\n]\n\n</code></pre>\n<p>Bulk update status for multiple items:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  { \"id\": 10, \"status\": \"approved\" },\n  { \"id\": 15, \"status\": \"approved\" }\n]\n\n</code></pre>\n<p>On success, the API returns an <strong>array of updated item objects</strong>. Each object in the array represents an updated item and contains the following properties:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>number</td>\n<td>Unique identifier of the item.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>The current name of the item.</td>\n</tr>\n<tr>\n<td><code>originalName</code></td>\n<td>string</td>\n<td>The original name of the item before any updates.</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>The item type: <code>\"heading\"</code>, <code>\"line_item\"</code>, <code>\"folder\"</code>, or <code>\"document\"</code>.</td>\n</tr>\n<tr>\n<td><code>parentId</code></td>\n<td>number</td>\n<td>The ID of the parent item. <code>null</code> for root-level (top-level) items.</td>\n</tr>\n<tr>\n<td><code>ancestors</code></td>\n<td>array</td>\n<td>List of ancestor items in the hierarchy. Each entry contains <code>id</code> and <code>name</code> of the ancestor.</td>\n</tr>\n<tr>\n<td><code>level</code></td>\n<td>number</td>\n<td>Depth level in the hierarchy. <code>0</code> indicates a root-level item.</td>\n</tr>\n<tr>\n<td><code>fullPath</code></td>\n<td>string</td>\n<td>The full path of the item within the room hierarchy (e.g. <code>\"Legal Documents\"</code>).</td>\n</tr>\n<tr>\n<td><code>deepness</code></td>\n<td>number</td>\n<td>Nesting depth of the item within its hierarchy branch.</td>\n</tr>\n<tr>\n<td><code>rank</code></td>\n<td>number</td>\n<td>Numeric value used for ordering items within the same level.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Current status of the item (e.g. <code>\"open\"</code>).</td>\n</tr>\n<tr>\n<td><code>empty</code></td>\n<td>boolean</td>\n<td>Whether the item has no children.</td>\n</tr>\n<tr>\n<td><code>readOnly</code></td>\n<td>boolean</td>\n<td>Whether the item is read-only.</td>\n</tr>\n<tr>\n<td><code>creatorUserId</code></td>\n<td>number</td>\n<td>ID of the user who created the item.</td>\n</tr>\n<tr>\n<td><code>creatorUserName</code></td>\n<td>string</td>\n<td>Display name of the creator, if available.</td>\n</tr>\n<tr>\n<td><code>updaterUserId</code></td>\n<td>number</td>\n<td>ID of the user who last updated the item.</td>\n</tr>\n<tr>\n<td><code>updaterUserName</code></td>\n<td>string</td>\n<td>Display name of the last updater, if available.</td>\n</tr>\n<tr>\n<td><code>lastModifiedAt</code></td>\n<td>string</td>\n<td>Date of the last modification in ISO 8601 (e.g. <code>\"2026-02-20T13:01:47.007256-05:00\"</code>).</td>\n</tr>\n<tr>\n<td><code>lastModifiedUserId</code></td>\n<td>number</td>\n<td>ID of the user who last modified the item.</td>\n</tr>\n<tr>\n<td><code>lastModifiedUserName</code></td>\n<td>string</td>\n<td>Display name of the last modifier, if available.</td>\n</tr>\n<tr>\n<td><code>dueDate</code></td>\n<td>string</td>\n<td>Due date for the item, if set, in ISO 8601.</td>\n</tr>\n<tr>\n<td><code>dueDateReminder</code></td>\n<td>string</td>\n<td>Reminder setting for the due date, if configured.</td>\n</tr>\n<tr>\n<td><code>isOverdue</code></td>\n<td>boolean</td>\n<td>Whether the item's due date has passed.</td>\n</tr>\n<tr>\n<td><code>hasNotes</code></td>\n<td>boolean</td>\n<td>Whether the item has any notes attached.</td>\n</tr>\n<tr>\n<td><code>newNotesCount</code></td>\n<td>number</td>\n<td>Number of unread notes on the item.</td>\n</tr>\n<tr>\n<td><code>unread</code></td>\n<td>boolean</td>\n<td>Whether the item has unread activity.</td>\n</tr>\n<tr>\n<td><code>subscribed</code></td>\n<td>boolean</td>\n<td>Whether the current user is subscribed to notifications for this item.</td>\n</tr>\n<tr>\n<td><code>fileStatus</code></td>\n<td>string</td>\n<td>File processing status (e.g. <code>\"ready\"</code>).</td>\n</tr>\n<tr>\n<td><code>uploaderClientUid</code></td>\n<td>string</td>\n<td>Client UID of the uploader, if applicable.</td>\n</tr>\n<tr>\n<td><code>customColumnValue</code></td>\n<td>string</td>\n<td>Value for any custom column configured in the room.</td>\n</tr>\n<tr>\n<td><code>accessibleTeams</code></td>\n<td>array</td>\n<td>List of teams that have access to this item. Each entry includes <code>id</code>, <code>name</code>, <code>abbreviation</code>, <code>roleId</code>, and <code>typeName</code>.</td>\n</tr>\n<tr>\n<td><code>responsibleTeams</code></td>\n<td>array</td>\n<td>List of teams responsible for this item.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","rooms",":id","items"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"999","key":"id"}]}},"response":[{"id":"a4da5562-8dcb-4f21-aa30-015b38fb0e65","name":"Items updated successfully","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": 10,\n    \"name\": \"New heading name\"\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 10,\n    \"name\": \"New heading name\",\n    \"original_name\": null,\n    \"type\": \"heading\",\n    \"parent_id\": null,\n    \"rank\": 1000,\n    \"deepness\": 0,\n    \"level\": 0,\n    \"full_path\": null,\n    \"status\": null,\n    \"file_status\": \"ready\",\n    \"empty\": false,\n    \"read_only\": null,\n    \"unread\": false,\n    \"subscribed\": false,\n    \"has_notes\": false,\n    \"new_notes_count\": 0,\n    \"custom_column_value\": null,\n    \"due_date\": null,\n    \"is_overdue\": false,\n    \"due_date_reminder\": null,\n    \"creator_user_id\": 123,\n    \"creator_user_name\": \"John Doe\",\n    \"updater_user_id\": 123,\n    \"updater_user_name\": \"John Doe\",\n    \"last_modified_at\": \"2025-01-15T10:30:00.000Z\",\n    \"last_modified_user_id\": 123,\n    \"last_modified_user_name\": \"John Doe\",\n    \"uploader_client_uid\": null,\n    \"accessible_teams\": [\n      {\n        \"id\": 1,\n        \"name\": \"Host Admin Team\",\n        \"abbreviation\": \"HA\",\n        \"role_id\": 1,\n        \"type_name\": \"host_admin\"\n      }\n    ],\n    \"responsible_teams\": [],\n    \"ancestors\": []\n  }\n]"},{"id":"4626bbb1-3b69-4a90-9131-e518d672eb89","name":"Bad request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": 10,\n    \"name\": \"New heading name\"\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"cant_update_items_name_already_exists\",\n  \"message\": \"Item name already exists in the given path.\"\n}"},{"id":"39149495-81eb-40b6-a1b7-daba11b998bf","name":"Authentication required or invalid credentials","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": 10,\n    \"name\": \"New heading name\"\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"a00e6ca6-30b5-46f2-b72a-f5ffbc66c9fb","name":"Insufficient permissions to update items","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": 10,\n    \"name\": \"New heading name\"\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"user_cant_update_items\",\n  \"message\": \"User can't update items in the given room.\"\n}"}],"_postman_id":"3c6876ad-f563-4864-8d23-b6b5f5492cca"},{"name":"Get item","id":"d1d30394-d528-48e9-bf1a-5bdd78ec2ff1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:room_id/items/:item_id","description":"<p>Retrieve detailed information about a specific item.</p>\n<p>NOTE: Getting an item marks it as read for the current user.</p>\n<p>On success, the API returns an item object containing the following properties:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>number</td>\n<td>Unique identifier of the item.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>The current name of the item.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>The item type: <code>\"heading\"</code>, <code>\"line_item\"</code>, <code>\"folder\"</code>, or <code>\"document\"</code>.</td>\n</tr>\n<tr>\n<td>parentId</td>\n<td>number</td>\n<td>The ID of the parent item. <code>null</code> for root-level (top-level) items.</td>\n</tr>\n<tr>\n<td>ancestors</td>\n<td>array</td>\n<td>List of ancestor items in the hierarchy. Each entry contains <code>id</code> and <code>name</code> of the ancestor.</td>\n</tr>\n<tr>\n<td>fullPath</td>\n<td>string</td>\n<td>The full path of the item within the room hierarchy (e.g. <code>\"Legal Documents\"</code>).</td>\n</tr>\n<tr>\n<td>deepness</td>\n<td>number</td>\n<td>Nesting depth of the item within its hierarchy branch.</td>\n</tr>\n<tr>\n<td>rank</td>\n<td>number</td>\n<td>Numeric value used for ordering items within the same level.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Current status of the item (e.g. <code>\"open\"</code>).</td>\n</tr>\n<tr>\n<td>empty</td>\n<td>boolean</td>\n<td>Whether the item has no children.</td>\n</tr>\n<tr>\n<td>readOnly</td>\n<td>boolean</td>\n<td>Whether the item is read-only.</td>\n</tr>\n<tr>\n<td>creatorUserId</td>\n<td>number</td>\n<td>ID of the user who created the item.</td>\n</tr>\n<tr>\n<td>creatorUserName</td>\n<td>string</td>\n<td>Display name of the creator, if available.</td>\n</tr>\n<tr>\n<td>updaterUserId</td>\n<td>number</td>\n<td>ID of the user who last updated the item.</td>\n</tr>\n<tr>\n<td>updaterUserName</td>\n<td>string</td>\n<td>Display name of the last updater, if available.</td>\n</tr>\n<tr>\n<td>lastModifiedAt</td>\n<td>string</td>\n<td>Date of the last modification in ISO 8601 (e.g. <code>\"2026-02-20T13:01:47.007256-05:00\"</code>).</td>\n</tr>\n<tr>\n<td>lastModifiedUserId</td>\n<td>number</td>\n<td>ID of the user who last modified the item.</td>\n</tr>\n<tr>\n<td>lastModifiedUserName</td>\n<td>string</td>\n<td>Display name of the last modifier, if available.</td>\n</tr>\n<tr>\n<td>dueDate</td>\n<td>string</td>\n<td>Due date for the item, if set, in ISO 8601.</td>\n</tr>\n<tr>\n<td>dueDateReminder</td>\n<td>string</td>\n<td>Reminder setting for the due date, if configured.</td>\n</tr>\n<tr>\n<td>isOverdue</td>\n<td>boolean</td>\n<td>Whether the item's due date has passed.</td>\n</tr>\n<tr>\n<td>hasNotes</td>\n<td>boolean</td>\n<td>Whether the item has any notes attached.</td>\n</tr>\n<tr>\n<td>newNotesCount</td>\n<td>number</td>\n<td>Number of unread notes on the item.</td>\n</tr>\n<tr>\n<td>unread</td>\n<td>boolean</td>\n<td>Whether the item has unread activity.</td>\n</tr>\n<tr>\n<td>subscribed</td>\n<td>boolean</td>\n<td>Whether the current user is subscribed to notifications for this item.</td>\n</tr>\n<tr>\n<td>customColumnValue</td>\n<td>string</td>\n<td>Value for any custom column configured in the room.</td>\n</tr>\n<tr>\n<td>accessibleTeams</td>\n<td>array</td>\n<td>List of teams that have access to this item. Each entry includes <code>id</code>, <code>name</code>, <code>abbreviation</code>, <code>roleId</code>, and <code>typeName</code>.</td>\n</tr>\n<tr>\n<td>responsibleTeams</td>\n<td>array</td>\n<td>List of teams responsible for this item.</td>\n</tr>\n<tr>\n<td>responsibleUsers</td>\n<td>array</td>\n<td>List of users responsible for this item.</td>\n</tr>\n<tr>\n<td>responsibleTeamsAndUsers</td>\n<td>array</td>\n<td>Combined list of teams and users responsible for this item.</td>\n</tr>\n<tr>\n<td>fileRequestEnabled</td>\n<td>boolean</td>\n<td>Whether file requests are enabled for this item.</td>\n</tr>\n<tr>\n<td>conversionState</td>\n<td>string</td>\n<td>State of any file conversion (e.g. <code>\"error\"</code>).</td>\n</tr>\n<tr>\n<td>currentFileVersionId</td>\n<td>number</td>\n<td>ID of the current file version, if applicable.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","rooms",":room_id","items",":item_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"999","key":"room_id"},{"description":{"content":"<p>Item identifier</p>\n","type":"text/plain"},"type":"any","value":"340930","key":"item_id"}]}},"response":[{"id":"adf00b43-28bd-426a-84d6-29d945082f71","name":"Item details","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 2661,\n  \"name\": \"string\",\n  \"item_type\": \"document\",\n  \"parent_id\": 639,\n  \"room_id\": 3348,\n  \"description\": \"string\",\n  \"file_size\": 9474,\n  \"file_type\": \"string\",\n  \"version_number\": 6993,\n  \"is_read\": true,\n  \"created_at\": \"1991-08-05T03:51:15.206Z\",\n  \"updated_at\": \"1985-08-02T16:26:35.921Z\",\n  \"created_by\": {\n    \"id\": 3771,\n    \"email\": \"cQF@buSZvNaedlEePNObCeRjrzx.cxt\",\n    \"first_name\": \"string\",\n    \"last_name\": \"string\",\n    \"full_name\": \"string\",\n    \"timezone\": \"America/New_York\",\n    \"created_at\": \"2004-07-07T16:43:54.436Z\"\n  }\n}"},{"id":"b5d00d82-a69c-4fe5-8a99-95fea22a3d30","name":"Invalid request or nested route inconsistency","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"NESTED_ROUTE_NOT_CONSISTENT\",\n  \"message\": \"The item does not belong to the specified room\"\n}"},{"id":"567d0a46-c3b8-4e81-8738-4d30fedab4bf","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"e92def68-effa-485c-8a45-b3ff5d89495d","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"92bbf489-04b2-4208-a2ea-7c297b7555f0","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"d1d30394-d528-48e9-bf1a-5bdd78ec2ff1"},{"name":"Delete items","id":"ba6ad7b5-063d-4f11-8639-5ffd5c4673b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    340927,\n    340926\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:id/items","description":"<p>Delete multiple items at once.</p>\n<p>The request body must contain an <code>item_ids</code> array with the IDs of the items to delete.</p>\n<p><strong>Permissions:</strong></p>\n<ul>\n<li><p><strong>Host admins</strong> and <strong>admins</strong> can delete any item.</p>\n</li>\n<li><p><strong>Guests</strong> can only delete items they created (<code>creator_user_id</code> matches their user ID).</p>\n</li>\n<li><p><strong>Restricted</strong> users cannot delete items.</p>\n</li>\n<li><p>If any item in the list fails the permission check, the entire request is rejected.</p>\n</li>\n</ul>\n<p><strong>Example curl:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl -X DELETE /api/rooms/123/items \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"item_ids\": [886, 9087]}'\n\n</code></pre>","urlObject":{"path":["api","rooms",":id","items"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"999","key":"id"}]}},"response":[{"id":"94d8971f-f82a-4db8-b48f-fb1f7bea3dfb","name":"Items deleted successfully (empty response body)","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    886,\n    9087\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"8c557599-861d-474e-aae0-2684f0596701","name":"User does not have permission to delete the given items","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    886,\n    9087\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"user_cant_delete_items\",\n  \"message\": \"User can't delete given items.\"\n}"},{"id":"84689a11-7e6e-4e6c-9ec7-2ed5e3d0431d","name":"Unexpected error during deletion","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"item_ids\": [\n    886,\n    9087\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/api/rooms/:id/items","host":["{{baseUrl}}"],"path":["api","rooms",":id","items"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"item_delete_failed\",\n  \"message\": \"Failed to delete given items.\"\n}"}],"_postman_id":"ba6ad7b5-063d-4f11-8639-5ffd5c4673b6"},{"name":"Get view URL","id":"6f724b8a-baa7-44f2-bf96-af0a485baa20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:room_id/items/:item_id/view","description":"<p>Get a URL for viewing the document in a browser viewer.</p>\n<p><strong>Response includes:</strong></p>\n<ul>\n<li><code>view_url</code>: URL to view document online</li>\n<li>Viewer supports: PDF, Office documents, images</li>\n<li>View-only access (no download required)</li>\n</ul>\n<p>Useful for document preview functionality.</p>\n","urlObject":{"path":["api","rooms",":room_id","items",":item_id","view"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"999","key":"room_id"},{"description":{"content":"<p>Item identifier</p>\n","type":"text/plain"},"type":"any","value":"340889","key":"item_id"}]}},"response":[{"id":"d5219ccc-e961-4cb3-8897-4bb9f14d65ba","name":"View URL","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/view","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","view"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"view_url\": \"https://viewer.prodeal360.com/files/abc123\"\n}"},{"id":"a5333903-9ae3-4192-ac0c-ef3e5f6e2999","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/view","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","view"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"3557353f-557c-4c23-bade-84090dc71eac","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/view","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","view"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"bfde567c-3137-4f0e-b4a4-ff0b9a6b3d85","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/rooms/:room_id/items/:item_id/view","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","items",":item_id","view"],"variable":[{"key":"room_id","value":"3005","description":"Room identifier"},{"key":"item_id","value":"3005","description":"Item identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"6f724b8a-baa7-44f2-bf96-af0a485baa20"}],"id":"606aec13-90f3-4c0f-9d47-d1fe6d8185f9","_postman_id":"606aec13-90f3-4c0f-9d47-d1fe6d8185f9","description":""},{"name":"Import","item":[{"name":"Import rooms from S3 bucket","id":"1362184d-c976-400e-b153-a4db70dda297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bucket\": \"prodeal360-dev-external-2\",\n  \"templateId\": 42,\n  \"roomKind\": \"folder_view\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/import","description":"<p>Start an asynchronous room import workflow from an S3 bucket.</p>\n<p>Each top-level folder under the configured prefix in the bucket becomes a new room, with the folder name used as the room name. Any nested structure under that folder is imported into the corresponding room.</p>\n<p><strong>Bucket folder semantics:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>/\n  Deal 1/              &lt;- Room \"Deal 1\"\n    Sub Folder 1/\n      Document 1\n    Sub Folder 2/\n    Sub Folder 4/\n  Deal 2/              &lt;- Room \"Deal 2\"\n    Sub Folder 3/\n    Sub Folder 4/\n\n</code></pre><p>The import runs in the background. Use <code>GET /api/rooms/import/{id}</code> with the returned <code>workflowId</code> to poll for progress.</p>\n","urlObject":{"path":["api","rooms","import"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"fac4bfdc-a6d4-4ba9-aff0-de667d6bf98c","name":"Import workflow started successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bucket\": \"prodeal360-dev-external-2\",\n  \"templateId\": 42,\n  \"roomKind\": \"folder_view\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/api/rooms/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"bucket\": \"prodeal360-dev-external-2\",\n  \"roomKind\": \"folder_view\",\n  \"state\": \"executing\",\n  \"workflowId\": \"019cae9b-b81a-7a82-935b-7f8db3402736\"\n}"},{"id":"c04aae61-f09d-4b66-9875-70b83b2ee548","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bucket\": \"prodeal360-dev-external-2\",\n  \"templateId\": 42,\n  \"roomKind\": \"folder_view\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/api/rooms/import"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"987904a7-92ab-4339-a4a9-cc6fc18c23f0","name":"Validation failed on one or more fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bucket\": \"prodeal360-dev-external-2\",\n  \"templateId\": 42,\n  \"roomKind\": \"folder_view\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/api/rooms/import"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\",\n  \"errors\": [\n    {\n      \"code\": \"required\",\n      \"field\": \"bucket\",\n      \"message\": \"can't be blank\"\n    }\n  ]\n}"}],"_postman_id":"1362184d-c976-400e-b153-a4db70dda297"},{"name":"Get room import status","id":"d2721a25-eccd-4bec-ba83-08dc82d233e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{baseUrl}}/api/rooms/import/:id","description":"<p>Retrieve the current status of a room import workflow previously started via <code>POST /api/rooms/import</code>.</p>\n<p>Poll this endpoint to track the progress of the import. The <code>state</code> field indicates the current phase of the workflow (e.g. <code>executing</code>, <code>completed</code>, <code>failed</code>).</p>\n","urlObject":{"path":["api","rooms","import",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"id":"29dcd4d9-ea9e-47cd-93df-197235ac13e4","description":{"content":"<p>The workflow ID returned from the import request</p>\n","type":"text/plain"},"type":"any","value":"019caeb8-c494-7b00-a497-fb1a533fa5e3","key":"id"}]}},"response":[{"id":"6ee79ba9-631b-411c-9d84-ee8033e629e9","name":"Import workflow status retrieved successfully","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/rooms/import/:id","host":["{{baseUrl}}"],"path":["api","rooms","import",":id"],"variable":[{"key":"id","value":"019caeb8-c494-7b00-a497-fb1a533fa5e3","description":"The workflow ID returned from the import request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"bucket\": \"prodeal360-dev-external-2\",\n  \"roomKind\": \"folder_view\",\n  \"state\": \"executing\",\n  \"workflowId\": \"019caeb8-c494-7b00-a497-fb1a533fa5e3\"\n}"},{"id":"11ca42cb-e70f-4e4e-814d-f2a4b69cb4cf","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/rooms/import/:id","host":["{{baseUrl}}"],"path":["api","rooms","import",":id"],"variable":[{"key":"id","value":"019caeb8-c494-7b00-a497-fb1a533fa5e3","description":"The workflow ID returned from the import request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"7d1d5707-b2c3-48c5-b1ba-9b880397d0bd","name":"Import workflow not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/rooms/import/:id","host":["{{baseUrl}}"],"path":["api","rooms","import",":id"],"variable":[{"key":"id","value":"019caeb8-c494-7b00-a497-fb1a533fa5e3","description":"The workflow ID returned from the import request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Import workflow not found\"\n}"}],"_postman_id":"d2721a25-eccd-4bec-ba83-08dc82d233e9"}],"id":"473009b8-ee5d-4947-8e09-d2db69b9224e","_postman_id":"473009b8-ee5d-4947-8e09-d2db69b9224e","description":""},{"name":"List rooms","id":"cb23eac8-dfb5-416d-9dea-0bb9fef00877","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms","description":"<p>Get list of rooms accessible to the current user based on their permissions.</p>\n<p>The endpoint supports filtering, pagination, and sorting. Results are automatically filtered<br />to only include rooms the authenticated user has access to. Training/deal rooms are excluded<br />by default unless explicitly included via filters.</p>\n<p><strong>Pagination:</strong></p>\n<ul>\n<li><p>Pagination params are passed by query params: page-number, per-page, total, total-pages</p>\n</li>\n<li><p>Results are paginated with a default page size of 50 items</p>\n</li>\n<li><p>Maximum page size is 100 items</p>\n</li>\n<li><p>Minimum page size is 1 item</p>\n</li>\n<li><p>Pagination headers are included in the response (page-number, per-page, total, total-pages)</p>\n</li>\n</ul>\n<p><strong>Filtering:</strong><br />All filter parameters should be passed in the query string. Multiple values can be provided as comma-separated strings.</p>\n<ul>\n<li><p><code>state</code>: Filter by room state. Valid values: <code>open</code> (active), <code>closed</code> (inactive), <code>archived</code></p>\n</li>\n<li><p><code>division_id</code>: Filter by division ID(s). Comma-separated for multiple values</p>\n</li>\n<li><p><code>workspace_id</code>: Filter by workspace ID. Use <code>null</code> to get rooms without a workspace</p>\n</li>\n<li><p><code>room_type</code>: Filter by room type (e.g., \"real_estate_-_acquisition\", \"aviation\", \"energy\")</p>\n</li>\n<li><p><code>room_kind</code>: Filter by room kind. Valid values: <code>checklist_view</code>, <code>folder_view</code></p>\n</li>\n<li><p><code>template</code>: Filter by template status. Valid values: <code>true</code>, <code>false</code>, <code>all</code> (to include both)</p>\n</li>\n<li><p><code>name</code>: Search rooms by name (partial match, case-insensitive)</p>\n</li>\n<li><p><code>name_or_id</code>: Search by room name or ID</p>\n</li>\n<li><p><code>search_term</code>: General search term for room name</p>\n</li>\n<li><p><code>id</code>: Filter by specific room ID(s). Comma-separated for multiple values</p>\n</li>\n<li><p><code>bookmarked</code>: Filter by bookmarked status. Valid values: <code>true</code>, <code>false</code></p>\n</li>\n<li><p><code>roles</code>: Filter by user's role in the room. Comma-separated values: <code>host_admin</code>, <code>admin</code>, <code>guest</code>, <code>restricted</code></p>\n</li>\n<li><p><code>creators</code>: Filter by creator user ID(s). Comma-separated for multiple values</p>\n</li>\n<li><p><code>cost_center_id</code>: Filter by cost center ID(s). Comma-separated for multiple values</p>\n</li>\n<li><p><code>asset_type</code> or <code>building_type</code>: Filter by asset/building type</p>\n</li>\n<li><p><code>inserted_at_min</code>: Filter rooms created after this date (ISO 8601 format)</p>\n</li>\n<li><p><code>inserted_at_max</code>: Filter rooms created before this date (ISO 8601 format)</p>\n</li>\n<li><p><code>meta_\\\\\\*</code>: Filter by custom metadata fields. Replace <code>\\\\\\*</code> with the metadata key name</p>\n</li>\n</ul>\n<p><strong>Sorting:</strong></p>\n<ul>\n<li><p>Use the <code>sort</code> parameter with comma-separated field names</p>\n</li>\n<li><p>Prefix field name with <code>-</code> for descending order</p>\n</li>\n<li><p>Default sorting: by name and ID (ascending)</p>\n</li>\n<li><p>Available sort fields: <code>name</code>, <code>created_date</code>, <code>interacted_at</code>, <code>division</code>, <code>workspace</code>, <code>room_creator</code>, <code>type</code>, <code>closing_date</code>, <code>transaction_amount</code></p>\n</li>\n<li><p>Example: <code>sort=-created_date,name</code> sorts by created_date descending, then name ascending</p>\n</li>\n</ul>\n<p><strong>Response:</strong><br />Returns an array of room objects with metadata including creator, teams, division, organization,<br />progress details, and user-specific information like role and favorite status.</p>\n","urlObject":{"path":["api","rooms"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"c2788204-2744-4ce7-a4ec-455b62e50afb","name":"List of rooms successfully retrieved","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/rooms?page=1&per_page=50&sort=-created_at,name&filter[state]=open&filter[division_id]=123&filter[workspace_id]=456&filter[room_type]=real_estate_-_acquisition&filter[room_kind]=checklist_view&filter[template]=false&filter[name]=Acquisition Deal&filter[name_or_id]=123&filter[search_term]=real estate&filter[id]=123,456,789&filter[bookmarked]=true&filter[roles]=host_admin,admin&filter[creators]=123,456&filter[cost_center_id]=789&filter[asset_type]=commercial&filter[inserted_at_min]=2024-01-01T00:00:00Z&filter[inserted_at_max]=2024-12-31T23:59:59Z","host":["{{baseUrl}}"],"path":["api","rooms"],"query":[{"description":"Page number (1-indexed). Default is 1.","key":"page","value":"1"},{"description":"Number of items per page. Default is 50. Maximum is 100, minimum is 1.","key":"per_page","value":"50"},{"description":"Sort order. Comma-separated field names. Prefix with `-` for descending.\nExample: `-created_at,name` sorts by created_at desc, then name asc.\nAvailable fields: `name`, `created_at`, `updated_at`, `state`, `id`\n","key":"sort","value":"-created_at,name"},{"description":"Filter by room state. Valid values `open` (active), `closed` (inactive), `archived`","key":"filter[state]","value":"open"},{"description":"Filter by division ID(s). Comma-separated for multiple values.","key":"filter[division_id]","value":"123"},{"description":"Filter by workspace ID. Use `null` to get rooms without a workspace.","key":"filter[workspace_id]","value":"456"},{"description":"Filter by room type (e.g., \"real_estate_-_acquisition\", \"aviation\", \"energy\")","key":"filter[room_type]","value":"real_estate_-_acquisition"},{"description":"Filter by room kind","key":"filter[room_kind]","value":"checklist_view"},{"description":"Filter by template status. Use `all` to include both templates and non-templates.","key":"filter[template]","value":"false"},{"description":"Search rooms by name (partial match, case-insensitive)","key":"filter[name]","value":"Acquisition Deal"},{"description":"Search by room name or ID","key":"filter[name_or_id]","value":"123"},{"description":"General search term for room name","key":"filter[search_term]","value":"real estate"},{"description":"Filter by specific room ID(s). Comma-separated for multiple values.","key":"filter[id]","value":"123,456,789"},{"description":"Filter by bookmarked status","key":"filter[bookmarked]","value":"true"},{"description":"Filter by user's role in the room. Comma-separated values `host_admin`, `admin`, `guest`, `restricted`","key":"filter[roles]","value":"host_admin,admin"},{"description":"Filter by creator user ID(s). Comma-separated for multiple values.","key":"filter[creators]","value":"123,456"},{"description":"Filter by cost center ID(s). Comma-separated for multiple values.","key":"filter[cost_center_id]","value":"789"},{"description":"Filter by asset type (alias for building_type)","key":"filter[asset_type]","value":"commercial"},{"description":"Filter rooms created after this date (ISO 8601 format)","key":"filter[inserted_at_min]","value":"2024-01-01T00:00:00Z"},{"description":"Filter rooms created before this date (ISO 8601 format)","key":"filter[inserted_at_max]","value":"2024-12-31T23:59:59Z"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"Total number of rooms matching the filters","type":"text/plain"},"key":"X-Total-Count","value":"6416"},{"disabled":false,"description":{"content":"Current page number","type":"text/plain"},"key":"X-Page","value":"6416"},{"disabled":false,"description":{"content":"Number of items per page","type":"text/plain"},"key":"X-Per-Page","value":"6416"},{"disabled":false,"description":{"content":"Total number of pages","type":"text/plain"},"key":"X-Total-Pages","value":"6416"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1465,\n    \"name\": \"Real Estate Acquisition - Downtown Office\",\n    \"state\": \"open\",\n    \"role_id\": \"host_admin\",\n    \"room_kind\": \"checklist_view\",\n    \"favorite\": false,\n    \"completed_percentage\": 0.75,\n    \"progress_detail\": {\n      \"percentage\": 0.75,\n      \"open\": 5,\n      \"in_progress\": 10,\n      \"closed\": 15\n    },\n    \"actual_close_date\": \"2024-12-31\",\n    \"estimated_close_date\": \"2024-12-31\",\n    \"total_transaction_amount\": 5000000,\n    \"division\": {\n      \"id\": 9902,\n      \"name\": \"Commercial Real Estate\"\n    },\n    \"organization\": {\n      \"id\": 5700,\n      \"name\": \"Acme Corporation\",\n      \"room_deletion_enabled\": true\n    },\n    \"teams\": [\n      {\n        \"id\": 9934,\n        \"name\": \"Host Team\",\n        \"abbreviation\": \"HT\",\n        \"type_name\": \"Host\",\n        \"is_member\": true\n      }\n    ]\n  },\n  {\n    \"id\": 3447,\n    \"name\": \"Aviation Deal - Regional Airport\",\n    \"state\": \"open\",\n    \"role_id\": \"admin\",\n    \"room_kind\": \"folder_view\",\n    \"favorite\": true,\n    \"completed_percentage\": 0.5,\n    \"progress_detail\": {\n      \"percentage\": 0.5,\n      \"open\": 10,\n      \"in_progress\": 5,\n      \"closed\": 5\n    },\n    \"actual_close_date\": null,\n    \"estimated_close_date\": \"2025-06-30\",\n    \"total_transaction_amount\": 10000000,\n    \"division\": {\n      \"id\": 986,\n      \"name\": \"Aviation Division\"\n    },\n    \"organization\": {\n      \"id\": 5700,\n      \"name\": \"Acme Corporation\",\n      \"room_deletion_enabled\": true\n    },\n    \"teams\": [\n      {\n        \"id\": 4473,\n        \"name\": \"Admin Team\",\n        \"abbreviation\": \"AT\",\n        \"type_name\": \"Admin\",\n        \"is_member\": true\n      }\n    ]\n  }\n]"},{"id":"02ee18f6-0e38-4eda-a5d8-23f581573cec","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/rooms?page=1&per_page=50&sort=-created_at,name&filter[state]=open&filter[division_id]=123&filter[workspace_id]=456&filter[room_type]=real_estate_-_acquisition&filter[room_kind]=checklist_view&filter[template]=false&filter[name]=Acquisition Deal&filter[name_or_id]=123&filter[search_term]=real estate&filter[id]=123,456,789&filter[bookmarked]=true&filter[roles]=host_admin,admin&filter[creators]=123,456&filter[cost_center_id]=789&filter[asset_type]=commercial&filter[inserted_at_min]=2024-01-01T00:00:00Z&filter[inserted_at_max]=2024-12-31T23:59:59Z","host":["{{baseUrl}}"],"path":["api","rooms"],"query":[{"description":"Page number (1-indexed). Default is 1.","key":"page","value":"1"},{"description":"Number of items per page. Default is 50. Maximum is 100, minimum is 1.","key":"per_page","value":"50"},{"description":"Sort order. Comma-separated field names. Prefix with `-` for descending.\nExample: `-created_at,name` sorts by created_at desc, then name asc.\nAvailable fields: `name`, `created_at`, `updated_at`, `state`, `id`\n","key":"sort","value":"-created_at,name"},{"description":"Filter by room state. Valid values `open` (active), `closed` (inactive), `archived`","key":"filter[state]","value":"open"},{"description":"Filter by division ID(s). Comma-separated for multiple values.","key":"filter[division_id]","value":"123"},{"description":"Filter by workspace ID. Use `null` to get rooms without a workspace.","key":"filter[workspace_id]","value":"456"},{"description":"Filter by room type (e.g., \"real_estate_-_acquisition\", \"aviation\", \"energy\")","key":"filter[room_type]","value":"real_estate_-_acquisition"},{"description":"Filter by room kind","key":"filter[room_kind]","value":"checklist_view"},{"description":"Filter by template status. Use `all` to include both templates and non-templates.","key":"filter[template]","value":"false"},{"description":"Search rooms by name (partial match, case-insensitive)","key":"filter[name]","value":"Acquisition Deal"},{"description":"Search by room name or ID","key":"filter[name_or_id]","value":"123"},{"description":"General search term for room name","key":"filter[search_term]","value":"real estate"},{"description":"Filter by specific room ID(s). Comma-separated for multiple values.","key":"filter[id]","value":"123,456,789"},{"description":"Filter by bookmarked status","key":"filter[bookmarked]","value":"true"},{"description":"Filter by user's role in the room. Comma-separated values `host_admin`, `admin`, `guest`, `restricted`","key":"filter[roles]","value":"host_admin,admin"},{"description":"Filter by creator user ID(s). Comma-separated for multiple values.","key":"filter[creators]","value":"123,456"},{"description":"Filter by cost center ID(s). Comma-separated for multiple values.","key":"filter[cost_center_id]","value":"789"},{"description":"Filter by asset type (alias for building_type)","key":"filter[asset_type]","value":"commercial"},{"description":"Filter rooms created after this date (ISO 8601 format)","key":"filter[inserted_at_min]","value":"2024-01-01T00:00:00Z"},{"description":"Filter rooms created before this date (ISO 8601 format)","key":"filter[inserted_at_max]","value":"2024-12-31T23:59:59Z"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"}],"_postman_id":"cb23eac8-dfb5-416d-9dea-0bb9fef00877"},{"name":"Create presigned upload URL","id":"f18835b6-bc26-4cc4-94b7-17408719c542","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"<p>Only accept JSON documents</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Return JSON document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"file_name\": \"document.pdf\",\n  \"parent_id\": 123,\n  \"accessible_team_ids\": [1, 2, 3]\n}"},"url":"http://localhost:4000//api/rooms/:room_id/presigned-upload-url","description":"<h1 id=\"create-presigned-upload-url\">Create Presigned Upload URL</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint generates a presigned URL for uploading a file directly to the room.</p>\n<h3 id=\"presigned-url-flow\">Presigned URL Flow</h3>\n<ol>\n<li><p><strong>Request presigned URL</strong>: Call this endpoint with the file metadata (name, destination folder, team access).</p>\n</li>\n<li><p><strong>Receive presigned URL</strong>: The server returns a time-limited presigned URL.</p>\n</li>\n<li><p><strong>Upload file</strong>: Use the presigned URL to make a <code>PUT</code> request with the file content. Example using curl: <code>curl -X PUT \"https://storage.example.com/...\" --data-binary @/path/to/document.pdf -H \"Content-Type: application/pdf\"</code></p>\n</li>\n<li><p><strong>File processing</strong>: After a successful upload, the file is processed and made available in the room once processing is complete.</p>\n</li>\n</ol>\n<h2 id=\"request-body-json\">Request Body (JSON)</h2>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>file_name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The name of the file to be uploaded.</td>\n</tr>\n<tr>\n<td><code>parent_id</code></td>\n<td>integer</td>\n<td>No</td>\n<td>The unique identifier of the folder where the file will be uploaded. If not provided, the file will be uploaded to the root of the room.</td>\n</tr>\n<tr>\n<td><code>accessible_team_ids</code></td>\n<td>array of integers</td>\n<td>No</td>\n<td>Array of team IDs that should have access to this file. The teams must already have access to the folder where the file is being uploaded.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\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>url</code></td>\n<td>string</td>\n<td>The presigned URL to use for uploading the file via <code>PUT</code> request.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"notes\">Notes</h2>\n<ul>\n<li><p>The presigned URL is valid for 1 hour after generation.</p>\n</li>\n<li><p>When uploading to the presigned URL, use <code>PUT</code> method with the file content as the request body.</p>\n</li>\n<li><p>Set the appropriate <code>Content-Type</code> header when uploading to match the file type.</p>\n</li>\n</ul>\n<h2 id=\"roles-and-permissions\">Roles and Permissions</h2>\n<ul>\n<li>Only users with access to the room can create presigned upload URLs.</li>\n</ul>\n","urlObject":{"path":["api","rooms",":room_id","presigned-upload-url"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"21a35974-38b1-4c02-b0fd-020971179c07","type":"any","value":"1","key":"room_id"}]}},"response":[{"id":"273c7d30-6238-4e6a-999b-5340d975ac0c","name":"Presigned URL created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","description":"Only accept JSON documents"},{"key":"Content-Type","value":"application/json","description":"Return JSON document"}],"body":{"mode":"raw","raw":"{\n  \"file_name\": \"document.pdf\",\n  \"parent_id\": 123,\n  \"accessible_team_ids\": [1, 2]\n}"},"url":{"raw":"http://localhost:4000//api/rooms/:room_id/presigned-upload-url","host":["http://localhost:4000/"],"path":["api","rooms",":room_id","presigned-upload-url"],"variable":[{"key":"room_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://storage.example.com/uploads/abc123?signature=xyz&expires=3600\"\n}"}],"_postman_id":"f18835b6-bc26-4cc4-94b7-17408719c542"},{"name":"Update room","id":"4905607f-2273-49a3-8a2e-b261983948ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"state\": \"open\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/rooms/:id","description":"<p>Update room properties and settings.</p>\n<p><strong>Permissions:</strong></p>\n<ul>\n<li><p>Room hosts can update all properties</p>\n</li>\n<li><p>Room admins can update most properties</p>\n</li>\n<li><p>Other users cannot update rooms</p>\n</li>\n</ul>\n","urlObject":{"path":["api","rooms",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"926","key":"id"}]}},"response":[{"id":"d3ae6789-4b9f-4a4d-a4a7-624fb1418a6b","name":"Room updated successfully","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"state\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id","host":["http://localhost:4000/"],"path":["api","rooms",":id"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 5652,\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"state\": \"archived\",\n  \"division\": {\n    \"id\": 8055,\n    \"name\": \"string\",\n    \"organization_id\": 9761\n  },\n  \"teams\": [\n    {\n      \"id\": 3641,\n      \"name\": \"string\",\n      \"description\": \"string\",\n      \"room_id\": 6935,\n      \"role\": \"admin\",\n      \"members\": [\n        {\n          \"id\": 9099,\n          \"email\": \"BGO1PPg@x.qqq\",\n          \"first_name\": \"string\",\n          \"last_name\": \"string\",\n          \"full_name\": \"string\",\n          \"timezone\": \"America/New_York\",\n          \"created_at\": \"2008-12-13T07:50:36.185Z\"\n        },\n        {\n          \"id\": 9963,\n          \"email\": \"Q0YE3@sWqJbmVhtgGpqsIEPaFXYipDnxWwDW.sb\",\n          \"first_name\": \"string\",\n          \"last_name\": \"string\",\n          \"full_name\": \"string\",\n          \"timezone\": \"America/New_York\",\n          \"created_at\": \"1968-10-11T18:28:35.773Z\"\n        }\n      ]\n    },\n    {\n      \"id\": 9169,\n      \"name\": \"string\",\n      \"description\": \"string\",\n      \"room_id\": 730,\n      \"role\": \"guest\",\n      \"members\": [\n        {\n          \"id\": 6629,\n          \"email\": \"1nMCRVW@uaYhTlJBHgyeQFLShbxQQjXsx.vvdy\",\n          \"first_name\": \"string\",\n          \"last_name\": \"string\",\n          \"full_name\": \"string\",\n          \"timezone\": \"America/New_York\",\n          \"created_at\": \"1982-10-16T00:48:37.228Z\"\n        },\n        {\n          \"id\": 4604,\n          \"email\": \"eH1HP@ilfliNRlbkkXwewUTmPwczPweUy.wnw\",\n          \"first_name\": \"string\",\n          \"last_name\": \"string\",\n          \"full_name\": \"string\",\n          \"timezone\": \"America/New_York\",\n          \"created_at\": \"2021-08-12T12:40:50.947Z\"\n        }\n      ]\n    }\n  ],\n  \"created_at\": \"1966-09-27T19:27:43.913Z\",\n  \"updated_at\": \"1991-01-12T21:03:56.925Z\"\n}"},{"id":"e85c0fce-4c41-4c09-a5fa-07b3b71dac49","name":"Authentication required or invalid credentials","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"state\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id","host":["http://localhost:4000/"],"path":["api","rooms",":id"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"ec98469a-945b-40a2-8fe3-9a2c986e68b7","name":"Insufficient permissions to access resource","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"state\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id","host":["http://localhost:4000/"],"path":["api","rooms",":id"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"63897802-3936-432c-a327-65262429f64c","name":"Resource not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"state\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id","host":["http://localhost:4000/"],"path":["api","rooms",":id"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"},{"id":"d37fd41d-39fb-46e6-844e-ffc0dae18584","name":"Validation failed on one or more fields","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"state\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/rooms/:id","host":["http://localhost:4000/"],"path":["api","rooms",":id"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\",\n  \"errors\": [\n    {\n      \"code\": \"required\",\n      \"field\": \"name\",\n      \"message\": \"can't be blank\"\n    },\n    {\n      \"code\": \"length\",\n      \"field\": \"description\",\n      \"message\": \"should be at most 500 character(s)\"\n    }\n  ]\n}"}],"_postman_id":"4905607f-2273-49a3-8a2e-b261983948ba"},{"name":"Delete room","id":"99cd7669-dfbf-47c7-a318-e81633ad2e6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/rooms/:id","description":"<p><strong>Requirements:</strong></p>\n<ul>\n<li><p>The user must be a <strong>host_admin</strong> of the room.</p>\n</li>\n<li><p>The user must belong to the <strong>same organization</strong> that owns the room.</p>\n</li>\n<li><p>Room deletion must be <strong>enabled</strong> for the user's organization (<code>room_deletion_enabled</code> setting).</p>\n</li>\n</ul>\n","urlObject":{"path":["api","rooms",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>Room identifier</p>\n","type":"text/plain"},"type":"any","value":"926","key":"id"}]}},"response":[{"id":"6f9ae07e-56e4-41c6-b4cc-810609c88c02","name":"Room successfully deleted (soft delete). No content returned.","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/rooms/:id","host":["{{baseUrl}}"],"path":["api","rooms",":id"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"777df152-5673-4736-9d65-9e581b0237f5","name":"Authentication required or invalid credentials","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/rooms/:id","host":["{{baseUrl}}"],"path":["api","rooms",":id"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"709bccfe-38c8-4a54-9a85-6855cf271026","name":"Insufficient permissions to delete the room","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/rooms/:id","host":["{{baseUrl}}"],"path":["api","rooms",":id"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"room_not_found\",\n  \"message\": \"Room ID 3005 not found.\"\n}"},{"id":"5c624def-0984-41e0-be0a-56f52e44583d","name":"Unexpected server error during deletion","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/rooms/:id","host":["{{baseUrl}}"],"path":["api","rooms",":id"],"variable":[{"key":"id","value":"3005","description":"Room identifier"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"room_delete_failed\",\n  \"message\": \"Failed to delete room ID 3005.\"\n}"}],"_postman_id":"99cd7669-dfbf-47c7-a318-e81633ad2e6a"}],"id":"470f6779-f75c-49e9-8e27-48c6cfd71cdd","_postman_id":"470f6779-f75c-49e9-8e27-48c6cfd71cdd","description":""},{"name":"Organizations","item":[{"name":"Rooms","item":[{"name":"List organization rooms","id":"a81721f8-cf7e-49d7-b31a-fd787f51d592","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/organizations/:organization_id/rooms?page=1&per_page=50","description":"<p>Get all rooms in an organization (organization admin only).</p>\n<p>Provides comprehensive view of all rooms regardless of user's\nindividual room memberships. Useful for administration and reporting.</p>\n","urlObject":{"path":["api","organizations",":organization_id","rooms"],"host":["http://localhost:4000/"],"query":[{"description":{"content":"<p>Page number (1-indexed)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Items per page (1-100)</p>\n","type":"text/plain"},"key":"per_page","value":"50"}],"variable":[{"id":"4c60550f-15bf-45f5-8868-b0b32fcd2cc9","description":{"content":"<p>Organization identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"organization_id"}]}},"response":[{"id":"be0e0439-2fcd-4c3d-a1b4-2cb9903f8e2b","name":"List of rooms","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:organization_id/rooms?page=1&per_page=50","host":["http://localhost:4000/"],"path":["api","organizations",":organization_id","rooms"],"query":[{"key":"page","value":"1","description":"Page number (1-indexed)"},{"key":"per_page","value":"50","description":"Items per page (1-100)"}],"variable":[{"key":"organization_id","value":"3005","description":"Organization identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1465,\n    \"name\": \"string\",\n    \"description\": \"string\",\n    \"state\": \"archived\",\n    \"division\": {\n      \"id\": 9902,\n      \"name\": \"string\",\n      \"organization_id\": 5700\n    },\n    \"teams\": [\n      {\n        \"id\": 9934,\n        \"name\": \"string\",\n        \"description\": \"string\",\n        \"room_id\": 1739,\n        \"role\": \"host\",\n        \"members\": [\n          {\n            \"id\": 7239,\n            \"email\": \"EZQMaqLzTddxL@XUYqVYitvuRiKjrhZGGf.chvy\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"1963-07-16T14:53:33.899Z\"\n          },\n          {\n            \"id\": 8983,\n            \"email\": \"KfBp0s8lCSmOsy@aZFipKGTuuEstyScmaidMurScQLP.ghk\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"1971-09-04T05:56:40.189Z\"\n          }\n        ]\n      },\n      {\n        \"id\": 6166,\n        \"name\": \"string\",\n        \"description\": \"string\",\n        \"room_id\": 7432,\n        \"role\": \"restricted\",\n        \"members\": [\n          {\n            \"id\": 2038,\n            \"email\": \"TgSOK8og1@XAZuHFNwTwcKs.zuku\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"1946-07-02T02:34:55.190Z\"\n          },\n          {\n            \"id\": 9806,\n            \"email\": \"6o5t0vr8bGjVB@lYIoyQpmjacRNJHmqhfKWIwo.fvue\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"2021-07-26T15:22:32.917Z\"\n          }\n        ]\n      }\n    ],\n    \"created_at\": \"2019-10-25T13:02:19.042Z\",\n    \"updated_at\": \"2002-09-30T12:24:36.837Z\"\n  },\n  {\n    \"id\": 3447,\n    \"name\": \"string\",\n    \"description\": \"string\",\n    \"state\": \"archived\",\n    \"division\": {\n      \"id\": 986,\n      \"name\": \"string\",\n      \"organization_id\": 4038\n    },\n    \"teams\": [\n      {\n        \"id\": 4473,\n        \"name\": \"string\",\n        \"description\": \"string\",\n        \"room_id\": 6450,\n        \"role\": \"member\",\n        \"members\": [\n          {\n            \"id\": 6927,\n            \"email\": \"CIzRIQG1JyB@GLE.ot\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"2022-05-15T13:58:59.377Z\"\n          },\n          {\n            \"id\": 9108,\n            \"email\": \"XdOjN8H@esxtFygEBJdBuSJUZUQyoJ.rfh\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"1953-07-21T21:59:09.942Z\"\n          }\n        ]\n      },\n      {\n        \"id\": 1662,\n        \"name\": \"string\",\n        \"description\": \"string\",\n        \"room_id\": 5437,\n        \"role\": \"restricted\",\n        \"members\": [\n          {\n            \"id\": 1374,\n            \"email\": \"ej2bVU695o2p@MjZmyBq.uyyz\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"1961-01-21T00:33:02.259Z\"\n          },\n          {\n            \"id\": 5167,\n            \"email\": \"9rJVoyYnWz@hcnMMRlkOQcDq.cxnj\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"2024-04-14T19:22:56.862Z\"\n          }\n        ]\n      }\n    ],\n    \"created_at\": \"1984-05-08T22:33:18.140Z\",\n    \"updated_at\": \"1982-02-11T20:12:42.174Z\"\n  }\n]"},{"id":"8309ecf5-8f73-4604-8182-132d1c3e02d6","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:organization_id/rooms?page=1&per_page=50","host":["http://localhost:4000/"],"path":["api","organizations",":organization_id","rooms"],"query":[{"key":"page","value":"1","description":"Page number (1-indexed)"},{"key":"per_page","value":"50","description":"Items per page (1-100)"}],"variable":[{"key":"organization_id","value":"3005","description":"Organization identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"da1f4c2f-a016-4c44-ae5a-4f06d5c8fdc7","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:organization_id/rooms?page=1&per_page=50","host":["http://localhost:4000/"],"path":["api","organizations",":organization_id","rooms"],"query":[{"key":"page","value":"1","description":"Page number (1-indexed)"},{"key":"per_page","value":"50","description":"Items per page (1-100)"}],"variable":[{"key":"organization_id","value":"3005","description":"Organization identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"}],"_postman_id":"a81721f8-cf7e-49d7-b31a-fd787f51d592"}],"id":"e3c3ab93-f6fa-4caf-9f61-7a81453ba9f7","_postman_id":"e3c3ab93-f6fa-4caf-9f61-7a81453ba9f7","description":""},{"name":"Users","item":[{"name":"List organization users","id":"387a13f7-58d6-4b26-a67d-5ad4291f129e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/organizations/:id/users","description":"<p>Get all users in an organization (organization admin only).</p>\n<p><strong>Response includes:</strong></p>\n<ul>\n<li>User profile information</li>\n<li>Organization role</li>\n<li>Division memberships</li>\n<li>Last activity timestamp</li>\n</ul>\n<p>Useful for user management and reporting.</p>\n","urlObject":{"path":["api","organizations",":id","users"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"a85fc90d-7d94-469a-9856-c3fab9eca82a","description":{"content":"<p>Organization identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"630e3894-8e6b-4a7a-8f61-737f20cdfa26","name":"List of users","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:id/users","host":["http://localhost:4000/"],"path":["api","organizations",":id","users"],"variable":[{"key":"id","value":"3005","description":"Organization identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 9959,\n    \"email\": \"K1otBTYA@MKujdVbm.qut\",\n    \"first_name\": \"string\",\n    \"last_name\": \"string\",\n    \"full_name\": \"string\",\n    \"timezone\": \"America/New_York\",\n    \"created_at\": \"1951-01-22T17:32:51.064Z\"\n  },\n  {\n    \"id\": 571,\n    \"email\": \"rer9ud5YZ2PGa@CRXWnNzOybqaQkEiR.or\",\n    \"first_name\": \"string\",\n    \"last_name\": \"string\",\n    \"full_name\": \"string\",\n    \"timezone\": \"America/New_York\",\n    \"created_at\": \"1951-03-05T03:59:59.449Z\"\n  }\n]"},{"id":"28ac11a0-51db-4d1c-891b-aab5849def41","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:id/users","host":["http://localhost:4000/"],"path":["api","organizations",":id","users"],"variable":[{"key":"id","value":"3005","description":"Organization identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"93753847-f92c-4814-8d10-6626975c1564","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:id/users","host":["http://localhost:4000/"],"path":["api","organizations",":id","users"],"variable":[{"key":"id","value":"3005","description":"Organization identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"}],"_postman_id":"387a13f7-58d6-4b26-a67d-5ad4291f129e"},{"name":"Get organization invite","id":"8174fd46-c94c-4120-a4e1-83fb3e0b8d6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4000//api/organizations/invite?token=a2f83aa02c5c4491aa3fa3dc4212e919","description":"<h1 id=\"get-organization-invite\">Get Organization Invite</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint retrieves detailed information about an organization invitation using a unique invite token. It allows users to view the details of an invitation before accepting or declining it.</p>\n<h2 id=\"purpose\">Purpose</h2>\n<p>The primary purpose of this endpoint is to validate and fetch organization invite details when a user receives an invitation link. This is typically used in the invitation acceptance flow to display relevant information about the organization and the invitation itself.</p>\n<h2 id=\"query-parameters\">Query Parameters</h2>\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>Required</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>Yes</td>\n<td>A unique invitation token that identifies the specific organization invite. This token is typically included in the invitation email or link sent to the invitee.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"token-parameter-details\">Token Parameter Details</h3>\n<ul>\n<li><p>The token is a unique identifier generated when an organization invitation is created</p>\n</li>\n<li><p>Tokens are typically long alphanumeric strings (e.g., <code>a2f83aa02c5c4491aa3fa3dc4212e919</code>)</p>\n</li>\n<li><p>Each token corresponds to a specific invitation and can only be used to retrieve that particular invite's details</p>\n</li>\n</ul>\n<h2 id=\"expected-response\">Expected Response</h2>\n<p>The response returns comprehensive information about the organization invitation, which may include:</p>\n<ul>\n<li><p>Organization details (name, ID, type)</p>\n</li>\n<li><p>Inviter information (who sent the invitation)</p>\n</li>\n<li><p>Invitee details (email address, role being offered)</p>\n</li>\n<li><p>Invitation status (pending, completed or deleted)</p>\n</li>\n<li><p>Invitation metadata (creation date, expiration date)</p>\n</li>\n</ul>\n<h2 id=\"common-use-cases\">Common Use Cases</h2>\n<h3 id=\"1-invitation-link-click-flow\">1. <strong>Invitation Link Click Flow</strong></h3>\n<p>When a user clicks on an organization invitation link from their email, this endpoint is called to:</p>\n<ul>\n<li><p>Validate that the invitation token is valid</p>\n</li>\n<li><p>Display organization information to the user</p>\n</li>\n<li><p>Present accept/decline options</p>\n</li>\n</ul>\n<h3 id=\"2-pre-acceptance-validation\">2. <strong>Pre-acceptance Validation</strong></h3>\n<p>Before allowing a user to accept an invitation, the application can:</p>\n<ul>\n<li><p>Verify the token hasn't expired</p>\n</li>\n<li><p>Check if the invitation is still pending</p>\n</li>\n<li><p>Ensure the invitation hasn't been revoked</p>\n</li>\n</ul>\n<h3 id=\"3-invitation-status-check\">3. <strong>Invitation Status Check</strong></h3>\n<p>Users can check the current status of an invitation using the token.</p>\n","urlObject":{"path":["api","organizations","invite"],"host":["http://localhost:4000/"],"query":[{"key":"token","value":"a2f83aa02c5c4491aa3fa3dc4212e919"}],"variable":[]}},"response":[],"_postman_id":"8174fd46-c94c-4120-a4e1-83fb3e0b8d6f"},{"name":"Invite users","id":"913ceb51-cd04-487a-a223-4bb493d68fb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"emails\": [\"user-to-invite@example.com\"]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000//api/organizations/:id/users","description":"<h1 id=\"invite-users-to-organization\">Invite Users to Organization</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint allows you to invite one or more users to join a specific organization. The invited users will receive an invitation to access the organization based on the provided email addresses.</p>\n<h2 id=\"path-parameters\">Path Parameters</h2>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>The unique identifier of the organization to which users will be invited</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request Body</h2>\n<p>The request body must be a JSON object with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"emails\": [\"user1@example.com\", \"user2@example.com\"]\n}\n\n</code></pre>\n<h3 id=\"body-parameters\">Body Parameters</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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>emails</code></td>\n<td>array of strings</td>\n<td>Yes</td>\n<td>An array containing email addresses of users to invite. Each email must be a valid email format.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-codes\">Response Codes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>200 OK</code></td>\n<td>Emails that were successfully invited.</td>\n</tr>\n<tr>\n<td><code>400 Bad Request</code></td>\n<td>Invalid request format, missing required fields (e.g., empty emails array, invalid email format), e-mail belongs to an existing user, e-mail belongs to a deactivated user or e-mail domain does not belongs to the organization.</td>\n</tr>\n<tr>\n<td><code>401 Unauthorized</code></td>\n<td>Authentication credentials are missing or invalid or requesting user can't cancel invites/users for the given organization.</td>\n</tr>\n<tr>\n<td><code>500 Internal Server Error</code></td>\n<td>An unexpected error occurred on the server</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"authentication--permissions\">Authentication &amp; Permissions</h2>\n<ul>\n<li><p>Authentication is required to access this endpoint</p>\n</li>\n<li><p>The authenticated user must be an organization administrator</p>\n</li>\n</ul>\n<h2 id=\"notes\">Notes</h2>\n<ul>\n<li><p>Multiple email addresses can be invited in a single request by including them in the <code>emails</code> array</p>\n</li>\n<li><p>Invalid email formats may result in an error response</p>\n</li>\n<li><p>If the organization ID does not exist or the user lacks permissions, the request will fail with an appropriate error code</p>\n</li>\n</ul>\n","urlObject":{"path":["api","organizations",":id","users"],"host":["http://localhost:4000/"],"query":[],"variable":[{"type":"any","value":"2","key":"id"}]}},"response":[],"_postman_id":"913ceb51-cd04-487a-a223-4bb493d68fb0"},{"name":"Remove users","id":"90708e5f-8008-4ffe-a989-203cba133000","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"emails\": [\"user-to-remove@example.com\"]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000//api/organizations/:id/users?force=true","description":"<h1 id=\"remove-users-from-organization\">Remove Users from Organization</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint removes one or more users from an organization. It allows administrators to revoke user access by providing a list of email addresses to be removed from the specified organization.</p>\n<h2 id=\"path-parameters\">Path Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>The unique identifier of the organization from which users will be removed</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong> <code>/api/organizations/2/users</code></p>\n<h2 id=\"query-parameters\">Query Parameters</h2>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>force</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>When set to <code>true</code>, forces the removal of users even if they are guests in other organizations.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong> <code>?force=true</code></p>\n<h2 id=\"request-body\">Request Body</h2>\n<p>The request body must be a JSON object containing an array of user email addresses to remove.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"emails\": [\n    \"user1@example.com\",\n    \"user2@example.com\"\n  ]\n}\n\n</code></pre>\n<h3 id=\"fields\">Fields</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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>emails</code></td>\n<td>array[string]</td>\n<td>Yes</td>\n<td>An array of email addresses (strings) representing the users and/or pending organization invites to be removed.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-codes\">Response Codes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>204 No Content</code></td>\n<td>Users/invites were successfully removed.</td>\n</tr>\n<tr>\n<td><code>400 Bad Request</code></td>\n<td>Invalid request format or missing required fields (e.g., empty emails array, invalid email format).</td>\n</tr>\n<tr>\n<td><code>401 Unauthorized</code></td>\n<td>Authentication credentials are missing or invalid, requesting user can't cancel invites/users for the given organization or user is a guest in another organization (requires <code>force</code> parameter to be <code>true</code>).</td>\n</tr>\n<tr>\n<td><code>500 Internal Server Error</code></td>\n<td>An unexpected error occurred on the server</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"permissions--requirements\">Permissions &amp; Requirements</h2>\n<ul>\n<li><p><strong>Required Permission:</strong> Organization administrator</p>\n</li>\n<li><p><strong>Authentication:</strong> Valid authentication token must be provided</p>\n</li>\n<li><p><strong>User Validation:</strong> All email addresses in the request must not exists in Prodeal</p>\n</li>\n</ul>\n","urlObject":{"path":["api","organizations",":id","users"],"host":["http://localhost:4000/"],"query":[{"key":"force","value":"true"}],"variable":[{"type":"any","value":"2","key":"id"}]}},"response":[],"_postman_id":"90708e5f-8008-4ffe-a989-203cba133000"},{"name":"Get organization user","id":"58259efb-1f01-413b-984b-580ebc0b242e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/v260323/organizations/:organization_id/users/:user_id","description":"<p>Returns detailed information about a single user within an organization.\nThe requesting user must have an <code>org_admin</code> or <code>support</code> organization role\nand must belong to the same organization.</p>\n<h5 id=\"parameters\">Parameters</h5>\n<ul>\n<li><code>organization_id</code> (required): The ID of the organization.</li>\n<li><code>user_id</code> (required): The ID of the user to retrieve.</li>\n</ul>\n<h5 id=\"response\">Response</h5>\n<p>Returns the user's profile information including name, email, contact details,\norganization role, MFA settings, divisions, and organization membership.</p>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li><code>401</code> — Authentication required</li>\n<li><code>403</code> — Requesting user is not an org admin / support, or does not belong to the organization</li>\n<li><code>404</code> — Target user not found or belongs to a different organization</li>\n</ul>\n","urlObject":{"path":["api","v260323","organizations",":organization_id","users",":user_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>The ID of the organization the user belongs to</p>\n","type":"text/plain"},"type":"any","value":"6927","key":"organization_id"},{"description":{"content":"<p>The ID of the user to retrieve</p>\n","type":"text/plain"},"type":"any","value":"6927","key":"user_id"}]}},"response":[{"id":"3850d6e4-942b-4b85-a62f-2bc6e4782f91","name":"User details returned successfully","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v260323/organizations/:organization_id/users/:user_id","host":["{{baseUrl}}"],"path":["api","v260323","organizations",":organization_id","users",":user_id"],"variable":[{"key":"organization_id","value":"6927","description":"The ID of the organization the user belongs to"},{"key":"user_id","value":"6927","description":"The ID of the user to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 42,\n  \"calendarIdentifier\": \"abc123\",\n  \"contactDetails\": [\n    {\n      \"id\": \"1\",\n      \"label\": \"Mobile\",\n      \"number\": \"+1234567890\"\n    }\n  ],\n  \"email\": \"jane.doe@example.com\",\n  \"emails\": [\n    \"jane.doe@example.com\"\n  ],\n  \"firstName\": \"Jane\",\n  \"fullName\": \"Jane Doe\",\n  \"insertedAt\": \"2024-01-15T10:30:00\",\n  \"isCertified\": false,\n  \"isGuestAccessApprover\": false,\n  \"isOrgAdmin\": true,\n  \"organizationRole\": \"org_admin\",\n  \"jobTitle\": \"VP of Finance\",\n  \"lastName\": \"Doe\",\n  \"lastSeenUtc\": null,\n  \"location\": null,\n  \"membershipStatus\": \"active\",\n  \"mfaType\": null,\n  \"newChecklistEnabled\": true,\n  \"timezone\": \"America/New_York\",\n  \"acceptProductUpdates\": true,\n  \"publicEmail\": false,\n  \"inAppMarketingEnabled\": true,\n  \"organization\": {\n    \"id\": 1,\n    \"name\": \"Acme Corp\"\n  },\n  \"divisions\": [\n    {\n      \"id\": 10,\n      \"name\": \"M&A Advisory\"\n    }\n  ]\n}"},{"id":"526e6338-ad32-4e16-a66a-c37b135a008b","name":"Unauthorized — missing or invalid authentication","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v260323/organizations/:organization_id/users/:user_id","host":["{{baseUrl}}"],"path":["api","v260323","organizations",":organization_id","users",":user_id"],"variable":[{"key":"organization_id","value":"6927","description":"The ID of the organization the user belongs to"},{"key":"user_id","value":"6927","description":"The ID of the user to retrieve"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"fda8dbae-5cee-486a-874a-5c05fce0d7c2","name":"Forbidden — user is not an org_admin or support user, or does not belong to the requested organization","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v260323/organizations/:organization_id/users/:user_id","host":["{{baseUrl}}"],"path":["api","v260323","organizations",":organization_id","users",":user_id"],"variable":[{"key":"organization_id","value":"6927","description":"The ID of the organization the user belongs to"},{"key":"user_id","value":"6927","description":"The ID of the user to retrieve"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"User is not an organization admin or a support user.\"\n}"},{"id":"52c85370-b962-4b35-b4a3-812000014abc","name":"User not found or does not belong to the organization","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v260323/organizations/:organization_id/users/:user_id","host":["{{baseUrl}}"],"path":["api","v260323","organizations",":organization_id","users",":user_id"],"variable":[{"key":"organization_id","value":"6927","description":"The ID of the organization the user belongs to"},{"key":"user_id","value":"6927","description":"The ID of the user to retrieve"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Couldn't find the given user.\"\n}"}],"_postman_id":"58259efb-1f01-413b-984b-580ebc0b242e"}],"id":"56f80718-0901-4e26-8d1f-515bce90b4ee","_postman_id":"56f80718-0901-4e26-8d1f-515bce90b4ee","description":""},{"name":"Divisions","item":[{"name":"List divisions","id":"b2c99d90-24a5-47ad-a878-ee42a7be0b4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/organizations/:id/divisions","description":"<p>Get list of divisions in an organization that the current user has access to.</p>\n<p><strong>Important Notes:</strong></p>\n<ul>\n<li>Only returns divisions where the current user is a member</li>\n<li>Results are automatically sorted by division name (ascending)</li>\n<li>User must be a member of the specified organization</li>\n<li>Returns an empty array if the user is not a member of any divisions in the organization</li>\n</ul>\n<p><strong>Divisions:</strong>\nDivisions provide organizational hierarchy and are used to organize rooms and users within\nan organization. Users can be assigned to one or more divisions, and rooms can be\nassociated with divisions for better organization and access control.</p>\n<p><strong>Access Control:</strong></p>\n<ul>\n<li>The authenticated user must be a member of the organization specified by the <code>id</code> parameter</li>\n<li>Only divisions where the user has membership (regardless of role) are returned</li>\n<li>If the user is not a member of the organization, a 403 Forbidden error is returned</li>\n</ul>\n","urlObject":{"path":["api","organizations",":id","divisions"],"host":["http://localhost:4000/"],"query":[],"variable":[{"description":{"content":"<p>Organization identifier. Must match the organization the authenticated user belongs to.</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"5d5bdb78-9d94-459b-8a45-1e67a649151f","name":"List of divisions successfully retrieved","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/organizations/:id/divisions","host":["{{baseUrl}}"],"path":["api","organizations",":id","divisions"],"variable":[{"key":"id","value":"3005","description":"Organization identifier. Must match the organization the authenticated user belongs to."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 4611,\n    \"name\": \"Commercial Real Estate\"\n  },\n  {\n    \"id\": 5366,\n    \"name\": \"Residential Real Estate\"\n  },\n  {\n    \"id\": 7890,\n    \"name\": \"Aviation Division\"\n  }\n]"},{"id":"cb36a881-9340-4f66-a433-b22bf9ed6f8c","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/organizations/:id/divisions","host":["{{baseUrl}}"],"path":["api","organizations",":id","divisions"],"variable":[{"key":"id","value":"3005","description":"Organization identifier. Must match the organization the authenticated user belongs to."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"a6aa4fda-07ad-4876-ac1e-69c64eeeae78","name":"User is not a member of the specified organization or lacks permission to read divisions","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/organizations/:id/divisions","host":["{{baseUrl}}"],"path":["api","organizations",":id","divisions"],"variable":[{"key":"id","value":"3005","description":"Organization identifier. Must match the organization the authenticated user belongs to."}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"user_cant_read_divisions\",\n  \"message\": \"User can't read divisions for the given organization.\"\n}"}],"_postman_id":"b2c99d90-24a5-47ad-a878-ee42a7be0b4b"}],"id":"84da13c6-66ff-4840-bb6f-c87e8bc2115c","_postman_id":"84da13c6-66ff-4840-bb6f-c87e8bc2115c","description":""},{"name":"Activity Report","item":[{"name":"Get activity report","id":"31e2ffc7-818c-46b3-bf33-6bf6cd99e1fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/organizations/:id/activity-report?start_date=2023-01-01&end_date=2023-12-31","description":"<p>Retrieve detailed activity report for an organization.</p>\n<p><strong>Report includes:</strong></p>\n<ul>\n<li>User actions (uploads, downloads, views)</li>\n<li>Room activity</li>\n<li>Date range statistics</li>\n<li>User participation metrics</li>\n</ul>\n<p><strong>Filtering:</strong></p>\n<ul>\n<li>Use <code>start_date</code> and <code>end_date</code> to limit time range</li>\n<li>Defaults to last 30 days if not specified</li>\n</ul>\n<p>Useful for compliance, auditing, and usage analytics.</p>\n","urlObject":{"path":["api","organizations",":id","activity-report"],"host":["http://localhost:4000/"],"query":[{"description":{"content":"<p>Report start date (ISO 8601)</p>\n","type":"text/plain"},"key":"start_date","value":"2023-01-01"},{"description":{"content":"<p>Report end date (ISO 8601)</p>\n","type":"text/plain"},"key":"end_date","value":"2023-12-31"}],"variable":[{"id":"1cfb7dcf-bdf9-4bc8-92b2-eedbbb58d489","description":{"content":"<p>Organization identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"c038d4e3-6d22-4bd0-a2b5-57f172f9196e","name":"Activity report data","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:id/activity-report?start_date=2023-01-01&end_date=2023-12-31","host":["http://localhost:4000/"],"path":["api","organizations",":id","activity-report"],"query":[{"key":"start_date","value":"2023-01-01","description":"Report start date (ISO 8601)"},{"key":"end_date","value":"2023-12-31","description":"Report end date (ISO 8601)"}],"variable":[{"key":"id","value":"3005","description":"Organization identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 2762,\n    \"user\": {\n      \"id\": 2553,\n      \"email\": \"K89yD9lkaQOM@svzXHrBwVxiBWhlhuYp.lkto\",\n      \"first_name\": \"string\",\n      \"last_name\": \"string\",\n      \"full_name\": \"string\",\n      \"timezone\": \"America/New_York\",\n      \"created_at\": \"1949-05-18T02:16:02.698Z\"\n    },\n    \"action\": \"document_uploaded\",\n    \"resource_type\": \"item\",\n    \"resource_id\": 1258,\n    \"resource_name\": \"string\",\n    \"room\": {\n      \"id\": 2583,\n      \"name\": \"string\",\n      \"description\": \"string\",\n      \"state\": \"archived\",\n      \"division\": {\n        \"id\": 4022,\n        \"name\": \"string\",\n        \"organization_id\": 7726\n      },\n      \"teams\": [\n        {\n          \"id\": 9928,\n          \"name\": \"string\",\n          \"description\": \"string\",\n          \"room_id\": 8298,\n          \"role\": \"restricted\",\n          \"members\": [\n            {\n              \"id\": 2734,\n              \"email\": \"lPTWIGs6W3OOxaD@bSrPOMYKs.pxu\",\n              \"first_name\": \"string\",\n              \"last_name\": \"string\",\n              \"full_name\": \"string\",\n              \"timezone\": \"America/New_York\",\n              \"created_at\": \"2002-09-19T22:09:33.644Z\"\n            },\n            {\n              \"id\": 8743,\n              \"email\": \"dJb2@TStfpMxTIlDgQuKGRXbNNH.tq\",\n              \"first_name\": \"string\",\n              \"last_name\": \"string\",\n              \"full_name\": \"string\",\n              \"timezone\": \"America/New_York\",\n              \"created_at\": \"1990-08-03T15:52:45.782Z\"\n            }\n          ]\n        },\n        {\n          \"id\": 9271,\n          \"name\": \"string\",\n          \"description\": \"string\",\n          \"room_id\": 8753,\n          \"role\": \"restricted\",\n          \"members\": [\n            {\n              \"id\": 3446,\n              \"email\": \"jPcUcEpsQNof@ObrBseUMrOoFfVvDOjlh.bmo\",\n              \"first_name\": \"string\",\n              \"last_name\": \"string\",\n              \"full_name\": \"string\",\n              \"timezone\": \"America/New_York\",\n              \"created_at\": \"2005-11-16T11:51:13.331Z\"\n            },\n            {\n              \"id\": 5748,\n              \"email\": \"Xo3R4z7W@tUWhFmI.xate\",\n              \"first_name\": \"string\",\n              \"last_name\": \"string\",\n              \"full_name\": \"string\",\n              \"timezone\": \"America/New_York\",\n              \"created_at\": \"1955-04-08T19:26:09.377Z\"\n            }\n          ]\n        }\n      ],\n      \"created_at\": \"1985-04-24T18:56:02.478Z\",\n      \"updated_at\": \"1983-06-26T13:33:37.650Z\"\n    },\n    \"created_at\": \"1960-08-17T22:51:45.505Z\"\n  },\n  {\n    \"id\": 3365,\n    \"user\": {\n      \"id\": 7633,\n      \"email\": \"0IhbPsQwsmJKu1@YOewTuNSFUmMYcGxYRh.owc\",\n      \"first_name\": \"string\",\n      \"last_name\": \"string\",\n      \"full_name\": \"string\",\n      \"timezone\": \"America/New_York\",\n      \"created_at\": \"1975-01-11T01:07:27.337Z\"\n    },\n    \"action\": \"document_uploaded\",\n    \"resource_type\": \"item\",\n    \"resource_id\": 9940,\n    \"resource_name\": \"string\",\n    \"room\": {\n      \"id\": 6547,\n      \"name\": \"string\",\n      \"description\": \"string\",\n      \"state\": \"archived\",\n      \"division\": {\n        \"id\": 4803,\n        \"name\": \"string\",\n        \"organization_id\": 2634\n      },\n      \"teams\": [\n        {\n          \"id\": 4151,\n          \"name\": \"string\",\n          \"description\": \"string\",\n          \"room_id\": 4455,\n          \"role\": \"view_only\",\n          \"members\": [\n            {\n              \"id\": 4860,\n              \"email\": \"KJwfXoyF@TJDRFtqGvCtgZ.nsb\",\n              \"first_name\": \"string\",\n              \"last_name\": \"string\",\n              \"full_name\": \"string\",\n              \"timezone\": \"America/New_York\",\n              \"created_at\": \"1994-10-31T00:31:59.783Z\"\n            },\n            {\n              \"id\": 5402,\n              \"email\": \"oX84PjY-mRsO@aUOzMmSDKOU.hr\",\n              \"first_name\": \"string\",\n              \"last_name\": \"string\",\n              \"full_name\": \"string\",\n              \"timezone\": \"America/New_York\",\n              \"created_at\": \"2004-01-10T18:57:27.683Z\"\n            }\n          ]\n        },\n        {\n          \"id\": 8448,\n          \"name\": \"string\",\n          \"description\": \"string\",\n          \"room_id\": 2252,\n          \"role\": \"restricted\",\n          \"members\": [\n            {\n              \"id\": 5504,\n              \"email\": \"t8gyIDTTj@ncjynnqtWoWyezeLU.ubxo\",\n              \"first_name\": \"string\",\n              \"last_name\": \"string\",\n              \"full_name\": \"string\",\n              \"timezone\": \"America/New_York\",\n              \"created_at\": \"1955-12-31T16:41:14.765Z\"\n            },\n            {\n              \"id\": 3261,\n              \"email\": \"ffR4CboycojDzGC@NAPGcnIpcSfPNBesQWGA.xqwa\",\n              \"first_name\": \"string\",\n              \"last_name\": \"string\",\n              \"full_name\": \"string\",\n              \"timezone\": \"America/New_York\",\n              \"created_at\": \"2013-12-15T20:53:01.172Z\"\n            }\n          ]\n        }\n      ],\n      \"created_at\": \"2019-09-10T02:33:41.113Z\",\n      \"updated_at\": \"1978-01-30T14:13:18.260Z\"\n    },\n    \"created_at\": \"2009-05-23T07:56:28.108Z\"\n  }\n]"},{"id":"72b79858-00ad-4b61-950a-13e1b0964736","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:id/activity-report?start_date=2023-01-01&end_date=2023-12-31","host":["http://localhost:4000/"],"path":["api","organizations",":id","activity-report"],"query":[{"key":"start_date","value":"2023-01-01","description":"Report start date (ISO 8601)"},{"key":"end_date","value":"2023-12-31","description":"Report end date (ISO 8601)"}],"variable":[{"key":"id","value":"3005","description":"Organization identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"26c95328-792f-4226-853d-04d73a073ffc","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:id/activity-report?start_date=2023-01-01&end_date=2023-12-31","host":["http://localhost:4000/"],"path":["api","organizations",":id","activity-report"],"query":[{"key":"start_date","value":"2023-01-01","description":"Report start date (ISO 8601)"},{"key":"end_date","value":"2023-12-31","description":"Report end date (ISO 8601)"}],"variable":[{"key":"id","value":"3005","description":"Organization identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"}],"_postman_id":"31e2ffc7-818c-46b3-bf33-6bf6cd99e1fa"},{"name":"Export activity report","id":"2d0c7cb3-3d43-47d4-b9fb-aecf56414572","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"text/csv"}],"url":"http://localhost:4000//api/organizations/:id/activity-report/export?format=xlsx&start_date=1974-04-17&end_date=1974-04-17","description":"<p>Export organization activity report to CSV or XLSX format.</p>\n<p><strong>Export includes:</strong></p>\n<ul>\n<li>All activity entries in date range</li>\n<li>User information</li>\n<li>Room details</li>\n<li>Action types and timestamps</li>\n</ul>\n<p>Returns file directly as download (not async job).</p>\n","urlObject":{"path":["api","organizations",":id","activity-report","export"],"host":["http://localhost:4000/"],"query":[{"description":{"content":"<p>Export file format</p>\n","type":"text/plain"},"key":"format","value":"xlsx"},{"description":{"content":"<p>Report start date</p>\n","type":"text/plain"},"key":"start_date","value":"1974-04-17"},{"description":{"content":"<p>Report end date</p>\n","type":"text/plain"},"key":"end_date","value":"1974-04-17"}],"variable":[{"id":"0ebeb281-f192-46f1-940e-c41e17d16ed8","description":{"content":"<p>Organization identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"7b95773b-6f4c-4a6e-a53d-36e951c4f283","name":"Exported report file","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/csv"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:id/activity-report/export?format=xlsx&start_date=1974-04-17&end_date=1974-04-17","host":["http://localhost:4000/"],"path":["api","organizations",":id","activity-report","export"],"query":[{"key":"format","value":"xlsx","description":"Export file format"},{"key":"start_date","value":"1974-04-17","description":"Report start date"},{"key":"end_date","value":"1974-04-17","description":"Report end date"}],"variable":[{"key":"id","value":"3005","description":"Organization identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/csv"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"afa179eb-87f1-4c7a-8a61-7c78b347b0fa","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:id/activity-report/export?format=xlsx&start_date=1974-04-17&end_date=1974-04-17","host":["http://localhost:4000/"],"path":["api","organizations",":id","activity-report","export"],"query":[{"key":"format","value":"xlsx","description":"Export file format"},{"key":"start_date","value":"1974-04-17","description":"Report start date"},{"key":"end_date","value":"1974-04-17","description":"Report end date"}],"variable":[{"key":"id","value":"3005","description":"Organization identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"de6d10cc-b145-4621-aac1-20f116a876cc","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/organizations/:id/activity-report/export?format=xlsx&start_date=1974-04-17&end_date=1974-04-17","host":["http://localhost:4000/"],"path":["api","organizations",":id","activity-report","export"],"query":[{"key":"format","value":"xlsx","description":"Export file format"},{"key":"start_date","value":"1974-04-17","description":"Report start date"},{"key":"end_date","value":"1974-04-17","description":"Report end date"}],"variable":[{"key":"id","value":"3005","description":"Organization identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"}],"_postman_id":"2d0c7cb3-3d43-47d4-b9fb-aecf56414572"}],"id":"3616eabe-c2ae-4fe5-8f14-85b7502ad088","_postman_id":"3616eabe-c2ae-4fe5-8f14-85b7502ad088","description":""}],"id":"df6faea1-40bf-4b28-b522-4d42572d5faf","_postman_id":"df6faea1-40bf-4b28-b522-4d42572d5faf","description":""},{"name":"Divisions","item":[{"name":"Rooms","item":[{"name":"List division rooms","id":"3bb84f6f-8f17-4854-9d72-2d44e3c97a8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/divisions/:id/rooms?page=1&per_page=50","description":"<p>Get all rooms in a specific division.</p>\n<p><strong>Permissions:</strong></p>\n<ul>\n<li>Division members can view all division rooms</li>\n<li>Organization admins can view any division</li>\n</ul>\n<p>Results are paginated.</p>\n","urlObject":{"path":["api","divisions",":id","rooms"],"host":["http://localhost:4000/"],"query":[{"description":{"content":"<p>Page number (1-indexed)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Items per page (1-100)</p>\n","type":"text/plain"},"key":"per_page","value":"50"}],"variable":[{"id":"927dbbf6-1f14-4a6b-b5c4-b38b0d6c8348","description":{"content":"<p>Division identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"60aa0b2a-e4a6-4158-af57-abd3e935ccfd","name":"List of rooms in division","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:id/rooms?page=1&per_page=50","host":["http://localhost:4000/"],"path":["api","divisions",":id","rooms"],"query":[{"key":"page","value":"1","description":"Page number (1-indexed)"},{"key":"per_page","value":"50","description":"Items per page (1-100)"}],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 1465,\n    \"name\": \"string\",\n    \"description\": \"string\",\n    \"state\": \"archived\",\n    \"division\": {\n      \"id\": 9902,\n      \"name\": \"string\",\n      \"organization_id\": 5700\n    },\n    \"teams\": [\n      {\n        \"id\": 9934,\n        \"name\": \"string\",\n        \"description\": \"string\",\n        \"room_id\": 1739,\n        \"role\": \"host\",\n        \"members\": [\n          {\n            \"id\": 7239,\n            \"email\": \"EZQMaqLzTddxL@XUYqVYitvuRiKjrhZGGf.chvy\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"1963-07-16T14:53:33.899Z\"\n          },\n          {\n            \"id\": 8983,\n            \"email\": \"KfBp0s8lCSmOsy@aZFipKGTuuEstyScmaidMurScQLP.ghk\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"1971-09-04T05:56:40.189Z\"\n          }\n        ]\n      },\n      {\n        \"id\": 6166,\n        \"name\": \"string\",\n        \"description\": \"string\",\n        \"room_id\": 7432,\n        \"role\": \"restricted\",\n        \"members\": [\n          {\n            \"id\": 2038,\n            \"email\": \"TgSOK8og1@XAZuHFNwTwcKs.zuku\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"1946-07-02T02:34:55.190Z\"\n          },\n          {\n            \"id\": 9806,\n            \"email\": \"6o5t0vr8bGjVB@lYIoyQpmjacRNJHmqhfKWIwo.fvue\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"2021-07-26T15:22:32.917Z\"\n          }\n        ]\n      }\n    ],\n    \"created_at\": \"2019-10-25T13:02:19.042Z\",\n    \"updated_at\": \"2002-09-30T12:24:36.837Z\"\n  },\n  {\n    \"id\": 3447,\n    \"name\": \"string\",\n    \"description\": \"string\",\n    \"state\": \"archived\",\n    \"division\": {\n      \"id\": 986,\n      \"name\": \"string\",\n      \"organization_id\": 4038\n    },\n    \"teams\": [\n      {\n        \"id\": 4473,\n        \"name\": \"string\",\n        \"description\": \"string\",\n        \"room_id\": 6450,\n        \"role\": \"member\",\n        \"members\": [\n          {\n            \"id\": 6927,\n            \"email\": \"CIzRIQG1JyB@GLE.ot\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"2022-05-15T13:58:59.377Z\"\n          },\n          {\n            \"id\": 9108,\n            \"email\": \"XdOjN8H@esxtFygEBJdBuSJUZUQyoJ.rfh\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"1953-07-21T21:59:09.942Z\"\n          }\n        ]\n      },\n      {\n        \"id\": 1662,\n        \"name\": \"string\",\n        \"description\": \"string\",\n        \"room_id\": 5437,\n        \"role\": \"restricted\",\n        \"members\": [\n          {\n            \"id\": 1374,\n            \"email\": \"ej2bVU695o2p@MjZmyBq.uyyz\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"1961-01-21T00:33:02.259Z\"\n          },\n          {\n            \"id\": 5167,\n            \"email\": \"9rJVoyYnWz@hcnMMRlkOQcDq.cxnj\",\n            \"first_name\": \"string\",\n            \"last_name\": \"string\",\n            \"full_name\": \"string\",\n            \"timezone\": \"America/New_York\",\n            \"created_at\": \"2024-04-14T19:22:56.862Z\"\n          }\n        ]\n      }\n    ],\n    \"created_at\": \"1984-05-08T22:33:18.140Z\",\n    \"updated_at\": \"1982-02-11T20:12:42.174Z\"\n  }\n]"},{"id":"88808a1c-3cf9-4174-a18c-cab39c33175b","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:id/rooms?page=1&per_page=50","host":["http://localhost:4000/"],"path":["api","divisions",":id","rooms"],"query":[{"key":"page","value":"1","description":"Page number (1-indexed)"},{"key":"per_page","value":"50","description":"Items per page (1-100)"}],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"2047e356-e5ef-4f79-8595-c26d02ad1920","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:id/rooms?page=1&per_page=50","host":["http://localhost:4000/"],"path":["api","divisions",":id","rooms"],"query":[{"key":"page","value":"1","description":"Page number (1-indexed)"},{"key":"per_page","value":"50","description":"Items per page (1-100)"}],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"79c45813-f43b-41f7-8cf6-80d434f64b43","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:id/rooms?page=1&per_page=50","host":["http://localhost:4000/"],"path":["api","divisions",":id","rooms"],"query":[{"key":"page","value":"1","description":"Page number (1-indexed)"},{"key":"per_page","value":"50","description":"Items per page (1-100)"}],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"3bb84f6f-8f17-4854-9d72-2d44e3c97a8f"}],"id":"fef1ae64-88d6-4c3d-a25b-cc3ba99264d9","_postman_id":"fef1ae64-88d6-4c3d-a25b-cc3ba99264d9","description":""},{"name":"Users","item":[{"name":"List division users","id":"95c1921f-7f09-4e2d-851a-e19862c65ecd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/divisions/:id/users","description":"<p>Get all users in a specific division with their roles.</p>\n<p><strong>Response includes:</strong></p>\n<ul>\n<li>User profile information</li>\n<li>Division role (admin, member, etc.)</li>\n<li>Join date</li>\n</ul>\n","urlObject":{"path":["api","divisions",":id","users"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"f99ac059-b196-4323-85ae-ac2514ece571","description":{"content":"<p>Division identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"9e1e8626-9c13-431b-b518-0bef8abd7f42","name":"List of division users","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"user\": {\n      \"id\": 9865,\n      \"email\": \"7xU8v-ZN1dWwbv@UaQgQGYnkQB.npn\",\n      \"first_name\": \"string\",\n      \"last_name\": \"string\",\n      \"full_name\": \"string\",\n      \"timezone\": \"America/New_York\",\n      \"created_at\": \"1994-04-21T15:43:54.979Z\"\n    },\n    \"role\": \"admin\",\n    \"joined_at\": \"1967-10-16T20:27:46.556Z\"\n  },\n  {\n    \"user\": {\n      \"id\": 5926,\n      \"email\": \"OCRDLp82cHU@WyDiHC.lz\",\n      \"first_name\": \"string\",\n      \"last_name\": \"string\",\n      \"full_name\": \"string\",\n      \"timezone\": \"America/New_York\",\n      \"created_at\": \"1964-04-11T16:37:24.517Z\"\n    },\n    \"role\": \"admin\",\n    \"joined_at\": \"1951-01-26T03:09:36.734Z\"\n  }\n]"},{"id":"56264617-affd-4e80-84c4-ae784e01a0f9","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"86df7a9a-bd20-4171-8fe6-05688aa90b8b","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"494f1c6e-b15c-4814-8fa2-1401a6afa21c","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"95c1921f-7f09-4e2d-851a-e19862c65ecd"},{"name":"Add user to division","id":"a7d39a1a-97f6-4c71-a45e-8ae6d6b45173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 7544,\n  \"role\": \"admin\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/divisions/:id/users","description":"<p>Add a user to a division with specified role.</p>\n<p><strong>Permissions:</strong></p>\n<ul>\n<li>Division admins can add users</li>\n<li>Organization admins can add users to any division</li>\n</ul>\n<p><strong>Available roles:</strong></p>\n<ul>\n<li><code>admin</code>: Division administrator</li>\n<li><code>member</code>: Regular division member</li>\n</ul>\n","urlObject":{"path":["api","divisions",":id","users"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"027e14b0-c718-466c-8de9-55eb41f33c97","description":{"content":"<p>Division identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"c5cfe628-16a6-44aa-83ea-c4d9d7fe7c35","name":"User added to division successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 7544,\n  \"role\": \"admin\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"user\": {\n    \"id\": 7754,\n    \"email\": \"7Li51RTp9pdW@scYqGuVUR.sogw\",\n    \"first_name\": \"string\",\n    \"last_name\": \"string\",\n    \"full_name\": \"string\",\n    \"timezone\": \"America/New_York\",\n    \"created_at\": \"1969-08-04T12:17:22.285Z\"\n  },\n  \"role\": \"member\",\n  \"joined_at\": \"2019-09-29T09:02:38.203Z\"\n}"},{"id":"a5da1466-ad0d-4f23-859d-7cea0fd10996","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 7544,\n  \"role\": \"admin\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"139be5c2-ff42-4c65-8268-a4fff26c8eb7","name":"Insufficient permissions to access resource","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 7544,\n  \"role\": \"admin\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"05a00e4d-69f3-4146-995a-66b807c5ea2d","name":"Resource not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 7544,\n  \"role\": \"admin\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"},{"id":"8408e0cd-d0ab-4cd9-9b9c-f342187b4e23","name":"Validation failed on one or more fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": 7544,\n  \"role\": \"admin\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\",\n  \"errors\": [\n    {\n      \"code\": \"required\",\n      \"field\": \"name\",\n      \"message\": \"can't be blank\"\n    },\n    {\n      \"code\": \"length\",\n      \"field\": \"description\",\n      \"message\": \"should be at most 500 character(s)\"\n    }\n  ]\n}"}],"_postman_id":"a7d39a1a-97f6-4c71-a45e-8ae6d6b45173"},{"name":"Update division users","id":"eb773d7b-7dca-48ce-b505-b6360ebbab71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"users\": [\n    {\n      \"user_id\": 4591,\n      \"role\": \"string\"\n    },\n    {\n      \"user_id\": 9123,\n      \"role\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/divisions/:id/users","description":"<p>Bulk update or replace division users and their roles.</p>\n<p><strong>Use cases:</strong></p>\n<ul>\n<li>Sync division membership with external system</li>\n<li>Update multiple user roles at once</li>\n<li>Replace entire division membership</li>\n</ul>\n<p>Requires division admin or organization admin permissions.</p>\n","urlObject":{"path":["api","divisions",":id","users"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"f7d9aae8-6ad1-427a-b41c-48f4b1f08804","description":{"content":"<p>Division identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"3e834966-bf9a-4b9d-8103-fd0a282f3f94","name":"Division users updated successfully","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"users\": [\n    {\n      \"user_id\": 4591,\n      \"role\": \"string\"\n    },\n    {\n      \"user_id\": 9123,\n      \"role\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"updated_count\": 7917\n}"},{"id":"fe4210fe-2b59-48dd-9371-77b66f8b8b43","name":"Authentication required or invalid credentials","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"users\": [\n    {\n      \"user_id\": 4591,\n      \"role\": \"string\"\n    },\n    {\n      \"user_id\": 9123,\n      \"role\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"5f8596bc-6a73-43ab-a7e2-532bdf8d7925","name":"Insufficient permissions to access resource","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"users\": [\n    {\n      \"user_id\": 4591,\n      \"role\": \"string\"\n    },\n    {\n      \"user_id\": 9123,\n      \"role\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"c9c6f8e8-ccc2-4cd9-8682-5a77fdeb0633","name":"Resource not found","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"users\": [\n    {\n      \"user_id\": 4591,\n      \"role\": \"string\"\n    },\n    {\n      \"user_id\": 9123,\n      \"role\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/divisions/:id/users","host":["http://localhost:4000/"],"path":["api","divisions",":id","users"],"variable":[{"key":"id","value":"3005","description":"Division identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"eb773d7b-7dca-48ce-b505-b6360ebbab71"},{"name":"Remove user from division","id":"e6eead31-df41-4883-8743-120323ea9c58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/divisions/:division_id/users/:user_id","description":"<p>Remove a user from a division.</p>\n<p><strong>Important:</strong></p>\n<ul>\n<li>User loses access to division-specific rooms</li>\n<li>User's room memberships are evaluated</li>\n<li>Cannot remove last division admin</li>\n</ul>\n<p>Requires division admin or organization admin permissions.</p>\n","urlObject":{"path":["api","divisions",":division_id","users",":user_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"925a806e-c234-4dfb-a519-edd2dfc1ce95","description":{"content":"<p>Division identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"division_id"},{"id":"77ab6dfc-7f8a-450f-8749-1f68f7126937","description":{"content":"<p>User identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"user_id"}]}},"response":[{"id":"404757b2-18d6-408f-b0f4-ec5ff70bf78a","name":"User removed from division successfully","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:division_id/users/:user_id","host":["http://localhost:4000/"],"path":["api","divisions",":division_id","users",":user_id"],"variable":[{"key":"division_id","value":"3005","description":"Division identifier"},{"key":"user_id","value":"3005","description":"User identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"4f74faba-952b-44e1-ad67-0e2ba342fa04","name":"Invalid request or nested route inconsistency","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:division_id/users/:user_id","host":["http://localhost:4000/"],"path":["api","divisions",":division_id","users",":user_id"],"variable":[{"key":"division_id","value":"3005","description":"Division identifier"},{"key":"user_id","value":"3005","description":"User identifier"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"NESTED_ROUTE_NOT_CONSISTENT\",\n  \"message\": \"The item does not belong to the specified room\"\n}"},{"id":"e51fe767-29c9-4f3d-a4d7-868f19b032d5","name":"Authentication required or invalid credentials","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:division_id/users/:user_id","host":["http://localhost:4000/"],"path":["api","divisions",":division_id","users",":user_id"],"variable":[{"key":"division_id","value":"3005","description":"Division identifier"},{"key":"user_id","value":"3005","description":"User identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"df527a28-e424-48ed-853e-89ae1712cb5d","name":"Insufficient permissions to access resource","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:division_id/users/:user_id","host":["http://localhost:4000/"],"path":["api","divisions",":division_id","users",":user_id"],"variable":[{"key":"division_id","value":"3005","description":"Division identifier"},{"key":"user_id","value":"3005","description":"User identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"77e3ba38-aab4-4ddb-ac3a-3a8bc3b53c27","name":"Resource not found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/divisions/:division_id/users/:user_id","host":["http://localhost:4000/"],"path":["api","divisions",":division_id","users",":user_id"],"variable":[{"key":"division_id","value":"3005","description":"Division identifier"},{"key":"user_id","value":"3005","description":"User identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"e6eead31-df41-4883-8743-120323ea9c58"}],"id":"6b2c64e0-ed7a-47cd-abdc-9ba9e6901f69","_postman_id":"6b2c64e0-ed7a-47cd-abdc-9ba9e6901f69","description":""}],"id":"c25099ff-2929-4a0b-b455-83cd72318875","_postman_id":"c25099ff-2929-4a0b-b455-83cd72318875","description":""},{"name":"Teams","item":[{"name":"Columns","item":[{"name":"Get team column preferences","id":"b0234f18-8ba6-4100-9ac6-f1e045ce30fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/teams/:id/columns","description":"<p>Get column preferences configured for a specific team.</p>\n<p>Team column preferences override room defaults for team members.\nUseful for customizing views per team role.</p>\n","urlObject":{"path":["api","teams",":id","columns"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"2fac4af5-1917-44a9-8133-b1bf1d462597","description":{"content":"<p>Team identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"3ced6207-3e9b-45fb-b914-14d740a7b05b","name":"Team column preferences","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/teams/:id/columns","host":["http://localhost:4000/"],"path":["api","teams",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Team identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 1860,\n    \"order\": 8365\n  },\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 4663,\n    \"order\": 1394\n  }\n]"},{"id":"305f6169-5fe7-4113-a9ce-7ea3a1fe6617","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/teams/:id/columns","host":["http://localhost:4000/"],"path":["api","teams",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Team identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"8f6d2c18-990c-45b3-8088-6c9f8ace543c","name":"Insufficient permissions to access resource","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/teams/:id/columns","host":["http://localhost:4000/"],"path":["api","teams",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Team identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"facc91f2-4021-4c73-ae2b-5998b7a0365d","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/teams/:id/columns","host":["http://localhost:4000/"],"path":["api","teams",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Team identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"b0234f18-8ba6-4100-9ac6-f1e045ce30fa"},{"name":"Update team column preferences","id":"43c102f5-60b5-47ec-80bb-6e4327b6e189","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 1860,\n    \"order\": 8365\n  },\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 4663,\n    \"order\": 1394\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/teams/:id/columns","description":"<p>Update column preferences for a team.</p>\n<p><strong>Permissions:</strong></p>\n<ul>\n<li>Requires room host or admin role</li>\n<li>Affects all team members who haven't customized individually</li>\n</ul>\n<p>Use to standardize column views for specific team roles.</p>\n","urlObject":{"path":["api","teams",":id","columns"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"4e133746-6e96-48db-8526-0a4604d7475a","description":{"content":"<p>Team identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"8a3671f3-a32f-48de-aa09-a9c2d98b1958","name":"Team columns updated successfully","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 1860,\n    \"order\": 8365\n  },\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 4663,\n    \"order\": 1394\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/teams/:id/columns","host":["http://localhost:4000/"],"path":["api","teams",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Team identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 1860,\n    \"order\": 8365\n  },\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 4663,\n    \"order\": 1394\n  }\n]"},{"id":"3f710c72-eaea-44d2-9463-7923e096a87f","name":"Authentication required or invalid credentials","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 1860,\n    \"order\": 8365\n  },\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 4663,\n    \"order\": 1394\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/teams/:id/columns","host":["http://localhost:4000/"],"path":["api","teams",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Team identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"c7382fe7-b409-4f55-88ef-9fd7e60b43a4","name":"Insufficient permissions to access resource","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 1860,\n    \"order\": 8365\n  },\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 4663,\n    \"order\": 1394\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/teams/:id/columns","host":["http://localhost:4000/"],"path":["api","teams",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Team identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"67a48345-4732-4dcd-9c57-f305a90a66dc","name":"Resource not found","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"[\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 1860,\n    \"order\": 8365\n  },\n  {\n    \"id\": \"name\",\n    \"name\": \"Name\",\n    \"visible\": true,\n    \"width\": 4663,\n    \"order\": 1394\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/teams/:id/columns","host":["http://localhost:4000/"],"path":["api","teams",":id","columns"],"variable":[{"key":"id","value":"3005","description":"Team identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"43c102f5-60b5-47ec-80bb-6e4327b6e189"}],"id":"ff0cada3-4394-457d-bdfb-ffeb48e290fd","_postman_id":"ff0cada3-4394-457d-bdfb-ffeb48e290fd","description":""},{"name":"List teams","id":"3be58bc5-ef37-45a7-a0f9-141c1f782706","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/teams","description":"<p>Get list of teams accessible to the current user.</p>\n<p>Teams are room-specific and control access and permissions\nwithin rooms. Users can be members of multiple teams.</p>\n","urlObject":{"path":["api","teams"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"4095263b-684e-416d-90c0-5bcd05b823f5","name":"List of teams","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":"http://localhost:4000//api/teams"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 7635,\n    \"name\": \"string\",\n    \"description\": \"string\",\n    \"room_id\": 1215,\n    \"role\": \"guest\",\n    \"members\": [\n      {\n        \"id\": 6448,\n        \"email\": \"q9EgFylWYODQt@CgLeVkgyUnGAHxfDLPqxKhberOsmXLs.mb\",\n        \"first_name\": \"string\",\n        \"last_name\": \"string\",\n        \"full_name\": \"string\",\n        \"timezone\": \"America/New_York\",\n        \"created_at\": \"2016-10-10T01:01:18.837Z\"\n      },\n      {\n        \"id\": 9065,\n        \"email\": \"OUoYN@ITwjKt.suf\",\n        \"first_name\": \"string\",\n        \"last_name\": \"string\",\n        \"full_name\": \"string\",\n        \"timezone\": \"America/New_York\",\n        \"created_at\": \"1968-09-02T15:31:55.846Z\"\n      }\n    ]\n  },\n  {\n    \"id\": 5632,\n    \"name\": \"string\",\n    \"description\": \"string\",\n    \"room_id\": 9749,\n    \"role\": \"view_only\",\n    \"members\": [\n      {\n        \"id\": 9731,\n        \"email\": \"oko@nXyuAEATyrIXGd.eyg\",\n        \"first_name\": \"string\",\n        \"last_name\": \"string\",\n        \"full_name\": \"string\",\n        \"timezone\": \"America/New_York\",\n        \"created_at\": \"1972-06-28T08:41:09.537Z\"\n      },\n      {\n        \"id\": 7150,\n        \"email\": \"OIALkx@wnuCqhKPj.fpt\",\n        \"first_name\": \"string\",\n        \"last_name\": \"string\",\n        \"full_name\": \"string\",\n        \"timezone\": \"America/New_York\",\n        \"created_at\": \"2000-03-08T23:49:41.190Z\"\n      }\n    ]\n  }\n]"},{"id":"1c9fd30d-7174-4296-ae4c-9018374d5029","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":"http://localhost:4000//api/teams"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"}],"_postman_id":"3be58bc5-ef37-45a7-a0f9-141c1f782706"}],"id":"21c06dea-3641-4b9b-96be-b6b68d549e31","_postman_id":"21c06dea-3641-4b9b-96be-b6b68d549e31","description":""},{"name":"Users","item":[{"name":"Me","item":[{"name":"Metadata","item":[{"name":"Get all user metadata","id":"3224def4-cfc1-4631-811a-5765d5a28cbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/users/me/metadata","description":"<p>Retrieve all metadata key-value pairs for the current user.</p>\n<p>Metadata provides flexible storage for user-specific settings,\npreferences, and application state.</p>\n","urlObject":{"path":["api","users","me","metadata"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"2287780e-563e-444e-8ed9-2702abd2807d","name":"User metadata","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":"http://localhost:4000//api/users/me/metadata"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"ui_theme\": \"dark\",\n  \"default_view\": \"list\",\n  \"sidebar_collapsed\": \"true\"\n}"},{"id":"c99a6929-440c-4932-8a01-e23a9ccd71c9","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":"http://localhost:4000//api/users/me/metadata"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"}],"_postman_id":"3224def4-cfc1-4631-811a-5765d5a28cbe"},{"name":"Get metadata value","id":"a67a1db4-db46-4e91-b31d-67f35828d204","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/users/me/metadata/:key","description":"<p>Retrieve a specific metadata value by key</p>\n","urlObject":{"path":["api","users","me","metadata",":key"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"31ef275f-20c7-433c-9748-56ee84c7a689","description":{"content":"<p>Metadata key</p>\n","type":"text/plain"},"type":"any","value":"string","key":"key"}]}},"response":[{"id":"f8ea3537-5ee8-4a69-ac0c-77c7e4885288","name":"Metadata value","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/users/me/metadata/:key","host":["http://localhost:4000/"],"path":["api","users","me","metadata",":key"],"variable":[{"key":"key","value":"string","description":"Metadata key"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"value\": \"string\"\n}"},{"id":"8067bf28-3263-464b-9014-ded95e167cf0","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/users/me/metadata/:key","host":["http://localhost:4000/"],"path":["api","users","me","metadata",":key"],"variable":[{"key":"key","value":"string","description":"Metadata key"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"57518c0f-e614-4df6-adf3-c2bcb1de1220","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/users/me/metadata/:key","host":["http://localhost:4000/"],"path":["api","users","me","metadata",":key"],"variable":[{"key":"key","value":"string","description":"Metadata key"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"a67a1db4-db46-4e91-b31d-67f35828d204"},{"name":"Set metadata value","id":"2fcfae4f-bf21-4256-8aaa-19864460de4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/users/me/metadata/:key","description":"<p>Set or update a metadata key-value pair.</p>\n<p>Creates the key if it doesn't exist, updates if it does.\nUseful for storing user preferences and application state.</p>\n","urlObject":{"path":["api","users","me","metadata",":key"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"115a20bd-0781-4f95-a2d2-99214e7c4f88","description":{"content":"<p>Metadata key</p>\n","type":"text/plain"},"type":"any","value":"string","key":"key"}]}},"response":[{"id":"8674d3de-273b-4e2f-9501-fa379042648b","name":"Metadata updated successfully","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/users/me/metadata/:key","host":["http://localhost:4000/"],"path":["api","users","me","metadata",":key"],"variable":[{"key":"key","value":"string","description":"Metadata key"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"key\": \"string\",\n  \"value\": \"string\"\n}"},{"id":"cf147acf-250a-4ead-8423-207ec40ec42e","name":"Authentication required or invalid credentials","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/users/me/metadata/:key","host":["http://localhost:4000/"],"path":["api","users","me","metadata",":key"],"variable":[{"key":"key","value":"string","description":"Metadata key"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"}],"_postman_id":"2fcfae4f-bf21-4256-8aaa-19864460de4a"},{"name":"Delete metadata key","id":"14d2da90-ffe5-48fb-b186-8002eb73733c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/users/me/metadata/:key","description":"<p>Remove a metadata key-value pair</p>\n","urlObject":{"path":["api","users","me","metadata",":key"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"ec06822b-2007-469e-a057-d00f54cb5449","description":{"content":"<p>Metadata key</p>\n","type":"text/plain"},"type":"any","value":"string","key":"key"}]}},"response":[{"id":"bfb27a52-ebf1-4e0e-b63a-fd20b2446620","name":"Metadata deleted successfully","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/users/me/metadata/:key","host":["http://localhost:4000/"],"path":["api","users","me","metadata",":key"],"variable":[{"key":"key","value":"string","description":"Metadata key"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"1475d1ef-1d42-4062-bb47-c23c2fe9f790","name":"Authentication required or invalid credentials","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/users/me/metadata/:key","host":["http://localhost:4000/"],"path":["api","users","me","metadata",":key"],"variable":[{"key":"key","value":"string","description":"Metadata key"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"15a4844b-6098-48b8-bddf-236267a3e39d","name":"Resource not found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/users/me/metadata/:key","host":["http://localhost:4000/"],"path":["api","users","me","metadata",":key"],"variable":[{"key":"key","value":"string","description":"Metadata key"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"14d2da90-ffe5-48fb-b186-8002eb73733c"}],"id":"753ff0b1-7a70-4c95-8e7a-eda48ff574b4","_postman_id":"753ff0b1-7a70-4c95-8e7a-eda48ff574b4","description":""}],"id":"3983c741-5ded-4498-91f8-28b761492da0","_postman_id":"3983c741-5ded-4498-91f8-28b761492da0","description":""},{"name":"List users","id":"a1d7ed05-26cc-4c70-b2bd-e66fbad59a01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/users","description":"<p>Get list of users in the current organization.</p>\n<p>Returns basic user information visible to the current user\nbased on organizational permissions.</p>\n","urlObject":{"path":["api","users"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"4cef20ac-2ecb-4a3c-ba9d-b85ce844f5d1","name":"List of users","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":"http://localhost:4000//api/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 9959,\n    \"email\": \"K1otBTYA@MKujdVbm.qut\",\n    \"first_name\": \"string\",\n    \"last_name\": \"string\",\n    \"full_name\": \"string\",\n    \"timezone\": \"America/New_York\",\n    \"created_at\": \"1951-01-22T17:32:51.064Z\"\n  },\n  {\n    \"id\": 571,\n    \"email\": \"rer9ud5YZ2PGa@CRXWnNzOybqaQkEiR.or\",\n    \"first_name\": \"string\",\n    \"last_name\": \"string\",\n    \"full_name\": \"string\",\n    \"timezone\": \"America/New_York\",\n    \"created_at\": \"1951-03-05T03:59:59.449Z\"\n  }\n]"},{"id":"0302f025-8894-4127-80c8-99da7a92aff1","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":"http://localhost:4000//api/users"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"}],"_postman_id":"a1d7ed05-26cc-4c70-b2bd-e66fbad59a01"},{"name":"Update user profile","id":"f9b24a59-cac7-4b39-9fc1-656224549f2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"string\",\n  \"last_name\": \"string\",\n  \"timezone\": \"America/New_York\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/users/:id","description":"<p>Update user profile information.</p>\n<p><strong>Permissions:</strong></p>\n<ul>\n<li>Users can update their own profile</li>\n<li>Organization admins can update any user profile</li>\n</ul>\n<p><strong>Updatable fields:</strong></p>\n<ul>\n<li>Personal information (name, timezone)</li>\n<li>Contact details</li>\n<li>Preferences</li>\n</ul>\n","urlObject":{"path":["api","users",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"59481ef2-51cd-43a5-aff3-f331f6abee6b","description":{"content":"<p>User identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"e2274d17-c65b-48ba-9324-497e436b26fd","name":"User updated successfully","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"string\",\n  \"last_name\": \"string\",\n  \"timezone\": \"America/New_York\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/users/:id","host":["http://localhost:4000/"],"path":["api","users",":id"],"variable":[{"key":"id","value":"3005","description":"User identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 9706,\n  \"email\": \"5sOnY@ZdoyGeisLKexwfflkjzvKwUNjDrHLQGcW.zeu\",\n  \"first_name\": \"string\",\n  \"last_name\": \"string\",\n  \"full_name\": \"string\",\n  \"timezone\": \"America/New_York\",\n  \"created_at\": \"1967-09-09T04:23:23.673Z\"\n}"},{"id":"796ea0cd-9ad3-4056-b0ed-109c16c3b4a8","name":"Authentication required or invalid credentials","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"string\",\n  \"last_name\": \"string\",\n  \"timezone\": \"America/New_York\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/users/:id","host":["http://localhost:4000/"],"path":["api","users",":id"],"variable":[{"key":"id","value":"3005","description":"User identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"8e5f2784-1777-400f-a655-a2454222f065","name":"Insufficient permissions to access resource","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"string\",\n  \"last_name\": \"string\",\n  \"timezone\": \"America/New_York\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/users/:id","host":["http://localhost:4000/"],"path":["api","users",":id"],"variable":[{"key":"id","value":"3005","description":"User identifier"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"You don't have permission to perform this action\"\n}"},{"id":"8a5a9872-e581-4a2c-b0d1-17407f793ba9","name":"Resource not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"string\",\n  \"last_name\": \"string\",\n  \"timezone\": \"America/New_York\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/users/:id","host":["http://localhost:4000/"],"path":["api","users",":id"],"variable":[{"key":"id","value":"3005","description":"User identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"},{"id":"cface974-a93b-4db8-bb51-82b1514feff2","name":"Validation failed on one or more fields","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"first_name\": \"string\",\n  \"last_name\": \"string\",\n  \"timezone\": \"America/New_York\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/users/:id","host":["http://localhost:4000/"],"path":["api","users",":id"],"variable":[{"key":"id","value":"3005","description":"User identifier"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\",\n  \"errors\": [\n    {\n      \"code\": \"required\",\n      \"field\": \"name\",\n      \"message\": \"can't be blank\"\n    },\n    {\n      \"code\": \"length\",\n      \"field\": \"description\",\n      \"message\": \"should be at most 500 character(s)\"\n    }\n  ]\n}"}],"_postman_id":"f9b24a59-cac7-4b39-9fc1-656224549f2f"}],"id":"bca52c92-7346-4ff0-aa97-d9391f4f1e12","_postman_id":"bca52c92-7346-4ff0-aa97-d9391f4f1e12","description":""},{"name":"Search","item":[{"name":"Global search","id":"ba9c372e-b37b-474b-812c-72542e0d8056","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/search?q=contract","description":"<p>Full-text search across all accessible content in the platform. Results are scoped to the authenticated user's team memberships and division access.</p>\n<p><strong>Search scope:</strong></p>\n<ul>\n<li>Rooms — matched by name and room detail fields</li>\n<li>Templates — matched by name and detail fields (only returned when user has direct team membership)</li>\n<li>Documents — matched by name, document detail fields, and file attachment content</li>\n<li>Items — matched by name and item detail fields</li>\n<li>Notes — matched by message content</li>\n</ul>\n<p><strong>Relevance scoring:</strong>\nResults are boosted by type: rooms (9x), templates (7x), documents (5x), notes (3x), items (1x). Within rooms, exact wildcard matches on name receive an additional boost.</p>\n<p><strong>Filtering:</strong></p>\n<ul>\n<li><code>type</code> — restrict which Elasticsearch indices are searched (comma-separated)</li>\n<li><code>room_id</code> — restrict results to one or more rooms (comma-separated)</li>\n<li><code>updated_at_min</code> / <code>updated_at_max</code> — date range filter on <code>updated_at</code> (ISO 8601)</li>\n</ul>\n<p><strong>Pagination:</strong></p>\n<ul>\n<li>Use <code>page</code> and <code>per_page</code> query parameters</li>\n<li>Default page size is 50, minimum 1, maximum 100</li>\n<li>Pagination metadata is returned in response headers: <code>total</code>, <code>page-number</code>, <code>per-page</code>, <code>total-pages</code>, <code>link</code></li>\n</ul>\n<p><strong>Response:</strong>\nReturns a flat JSON array of search result objects. Each object includes a <code>result_type</code> field indicating the source index. The remaining fields vary by result type — see the response schema for details.</p>\n","urlObject":{"path":["api","search"],"host":["http://localhost:4000/"],"query":[{"description":{"content":"<p>Full-text search query. Searched across names, room/item/document detail fields, file attachment content, and note messages. Supports simple query string syntax (AND/OR operators).</p>\n","type":"text/plain"},"key":"q","value":"contract"}],"variable":[]}},"response":[{"id":"23707202-4c00-4892-aaa2-42280d712556","name":"Search results","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/search?q=contract&type=documents,notes&room_id=42&updated_at_min=2025-01-01&updated_at_max=2025-12-31&page=1&per_page=25","host":["{{baseUrl}}"],"path":["api","search"],"query":[{"description":"Full-text search query. Searched across names, room/item/document detail fields, file attachment content, and note messages. Supports simple query string syntax (AND/OR operators).","key":"q","value":"contract"},{"description":"Elasticsearch index name(s) to restrict the search to. When omitted all indices are searched. Comma-separated for multiple values.","key":"type","value":"documents,notes"},{"description":"Filter results to a specific room. Accepts a single room ID or comma-separated IDs.","key":"room_id","value":"42"},{"description":"Filter results updated on or after this date (ISO 8601 format, e.g. 2025-01-01).","key":"updated_at_min","value":"2025-01-01"},{"description":"Filter results updated on or before this date (ISO 8601 format, e.g. 2025-12-31).","key":"updated_at_max","value":"2025-12-31"},{"description":"Page number for pagination (1-indexed). Defaults to 1.","key":"page","value":"1"},{"description":"Number of results per page. Defaults to 50. Minimum 1, maximum 100.","key":"per_page","value":"25"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"Total number of matching results across all pages","type":"text/plain"},"key":"total","value":"128"},{"disabled":false,"description":{"content":"Current page number","type":"text/plain"},"key":"page-number","value":"1"},{"disabled":false,"description":{"content":"Number of results per page","type":"text/plain"},"key":"per-page","value":"50"},{"disabled":false,"description":{"content":"Total number of pages","type":"text/plain"},"key":"total-pages","value":"3"},{"disabled":false,"description":{"content":"RFC 5988 link header with pagination URLs (first, last, prev, next)","type":"text/plain"},"key":"link","value":"<https://app.prodeal360.com/api/search?q=contract&page=1>; rel=\"first\", <https://app.prodeal360.com/api/search?q=contract&page=3>; rel=\"last\""}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"es_abc123\",\n    \"result_type\": \"rooms\",\n    \"description\": \"<em>Contract</em> Review Room\",\n    \"matched_field\": \"name\",\n    \"room_id\": 42,\n    \"room_name\": \"Contract Review Room\",\n    \"room_type\": \"corporate\",\n    \"room_kind\": \"checklist_view\",\n    \"organization_name\": \"Acme Corp\",\n    \"has_direct_access\": true\n  },\n  {\n    \"id\": \"es_def456\",\n    \"result_type\": \"documents\",\n    \"description\": \"Section 3.1 of the <em>contract</em> states that...\",\n    \"matched_field\": \"attachment.content\",\n    \"room_id\": 42,\n    \"room_name\": \"Contract Review Room\",\n    \"room_type\": \"corporate\",\n    \"room_kind\": \"checklist_view\",\n    \"document_id\": 789,\n    \"document_name\": \"Master Agreement.pdf\",\n    \"full_path\": \"Legal/Agreements\"\n  },\n  {\n    \"id\": \"es_ghi789\",\n    \"result_type\": \"notes\",\n    \"description\": \"Please review the <em>contract</em> terms\",\n    \"matched_field\": \"message\",\n    \"room_id\": 42,\n    \"room_name\": \"Contract Review Room\",\n    \"room_type\": \"corporate\",\n    \"item_id\": 101,\n    \"note_id\": 202,\n    \"full_path\": \"Legal/Agreements/Master Agreement.pdf\",\n    \"user_fullname\": \"Jane Smith\"\n  },\n  {\n    \"id\": \"es_jkl012\",\n    \"result_type\": \"items\",\n    \"description\": \"<em>Contract</em> Checklist\",\n    \"matched_field\": \"name\",\n    \"room_id\": 42,\n    \"room_name\": \"Contract Review Room\",\n    \"room_type\": \"corporate\",\n    \"room_kind\": \"checklist_view\",\n    \"item_id\": 303,\n    \"item_name\": \"Contract Checklist\",\n    \"full_path\": \"Legal\"\n  }\n]"},{"id":"35eb86d9-a9f4-45e7-8f3f-ff7b18fa5507","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/search?q=contract&type=documents,notes&room_id=42&updated_at_min=2025-01-01&updated_at_max=2025-12-31&page=1&per_page=25","host":["{{baseUrl}}"],"path":["api","search"],"query":[{"description":"Full-text search query. Searched across names, room/item/document detail fields, file attachment content, and note messages. Supports simple query string syntax (AND/OR operators).","key":"q","value":"contract"},{"description":"Elasticsearch index name(s) to restrict the search to. When omitted all indices are searched. Comma-separated for multiple values.","key":"type","value":"documents,notes"},{"description":"Filter results to a specific room. Accepts a single room ID or comma-separated IDs.","key":"room_id","value":"42"},{"description":"Filter results updated on or after this date (ISO 8601 format, e.g. 2025-01-01).","key":"updated_at_min","value":"2025-01-01"},{"description":"Filter results updated on or before this date (ISO 8601 format, e.g. 2025-12-31).","key":"updated_at_max","value":"2025-12-31"},{"description":"Page number for pagination (1-indexed). Defaults to 1.","key":"page","value":"1"},{"description":"Number of results per page. Defaults to 50. Minimum 1, maximum 100.","key":"per_page","value":"25"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"a15b7c85-3aef-42a3-9a44-e77b47ad960a","name":"Access denied by Elasticsearch security","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/search?q=contract&type=documents,notes&room_id=42&updated_at_min=2025-01-01&updated_at_max=2025-12-31&page=1&per_page=25","host":["{{baseUrl}}"],"path":["api","search"],"query":[{"description":"Full-text search query. Searched across names, room/item/document detail fields, file attachment content, and note messages. Supports simple query string syntax (AND/OR operators).","key":"q","value":"contract"},{"description":"Elasticsearch index name(s) to restrict the search to. When omitted all indices are searched. Comma-separated for multiple values.","key":"type","value":"documents,notes"},{"description":"Filter results to a specific room. Accepts a single room ID or comma-separated IDs.","key":"room_id","value":"42"},{"description":"Filter results updated on or after this date (ISO 8601 format, e.g. 2025-01-01).","key":"updated_at_min","value":"2025-01-01"},{"description":"Filter results updated on or before this date (ISO 8601 format, e.g. 2025-12-31).","key":"updated_at_max","value":"2025-12-31"},{"description":"Page number for pagination (1-indexed). Defaults to 1.","key":"page","value":"1"},{"description":"Number of results per page. Defaults to 50. Minimum 1, maximum 100.","key":"per_page","value":"25"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"forbidden\",\n  \"message\": \"Access denied\"\n}"}],"_postman_id":"ba9c372e-b37b-474b-812c-72542e0d8056"}],"id":"66fcf26f-004b-43d3-a236-4330cd7f1f48","_postman_id":"66fcf26f-004b-43d3-a236-4330cd7f1f48","description":""},{"name":"REST Hooks","item":[{"name":"List subscriptions","id":"7324993a-2c06-4c58-93cc-160f580e9f40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/resthooks/subscriptions","description":"<p>Get all subscriptions for the current user.</p>\n<p><strong>Subscriptions include:</strong></p>\n<ul>\n<li><p>Event type</p>\n</li>\n<li><p>Target URL</p>\n</li>\n<li><p>Active status</p>\n</li>\n<li><p>Signing secret (if configured)</p>\n</li>\n<li><p>Subscription metadata</p>\n</li>\n</ul>\n","urlObject":{"path":["api","resthooks","subscriptions"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"37e8d004-3c43-45b6-8ba0-5f9abe3de67b","name":"List of subscriptions","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":"http://localhost:4000//api/resthooks/subscriptions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 2233,\n    \"event\": \"document_upload\",\n    \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n    \"filter\": \"roomIds=1,2,3\",\n    \"active\": true\n  },\n  {\n    \"id\": 4092,\n    \"event\": \"document_update\",\n    \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n    \"filter\": \"roomIds=5&attributes=status\",\n    \"active\": true,\n    \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n  }\n]"},{"id":"1b78ddb2-d013-40f3-9f94-0268ac6d6870","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":"http://localhost:4000//api/resthooks/subscriptions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"}],"_postman_id":"7324993a-2c06-4c58-93cc-160f580e9f40"},{"name":"Create subscription","id":"d2d950c6-05e4-4068-9f2d-3f65a91a1c5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"document_upload\",\n  \"target_url\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=1,2,3\",\n  \"signing_secret\": \"a3Bf9cK2mN7pQ...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/resthooks/subscriptions","description":"<p>Create a subscription to receive notifications when a given event occurs.</p>\n<h2 id=\"request-body-json\">Request Body (JSON)</h2>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>event</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The event type to subscribe to. See available events below.</td>\n</tr>\n<tr>\n<td><code>targetUrl</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The URL that will receive the webhook POST requests.</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>string</td>\n<td>No</td>\n<td>Filter criteria for the event (e.g., <code>roomIds=1,2,3</code> or <code>attributes=status</code>).</td>\n</tr>\n<tr>\n<td><code>active</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Whether the subscription is active. Defaults to <code>true</code>.</td>\n</tr>\n<tr>\n<td><code>signingSecret</code></td>\n<td>string</td>\n<td>No</td>\n<td>A secret key used to sign webhook requests via HMAC-SHA256. If provided, an <code>X-Signature</code> header will be included in every webhook request.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"available-events\">Available events</h2>\n<ul>\n<li><p><code>document_upload</code>: Document uploaded</p>\n</li>\n<li><p><code>document_update</code>: Document updated</p>\n</li>\n<li><p><code>document_delete</code>: Document deleted</p>\n</li>\n<li><p><code>folder_create</code>: Folder created</p>\n</li>\n<li><p><code>folder_update</code>: Folder updated</p>\n</li>\n<li><p><code>folder_delete</code>: Folder deleted</p>\n</li>\n<li><p><code>bulk_action_copy_items</code>: Items copied between rooms</p>\n</li>\n<li><p><code>bulk_action_move_items</code>: Items moved between rooms</p>\n</li>\n</ul>\n<h2 id=\"available-filters\">Available filters</h2>\n<ul>\n<li><p><code>roomIds</code>: Filter by room IDs (e.g., <code>roomIds=1,2,3</code>)</p>\n</li>\n<li><p><code>attributes</code>: Filter by changed attributes, only for update events (e.g., <code>attributes=status,name</code>)</p>\n</li>\n<li><p><code>sourceRoomIds</code> / <code>targetRoomIds</code>: Filter bulk actions by source/target room</p>\n</li>\n</ul>\n<h2 id=\"webhook-payload\">Webhook payload</h2>\n<ul>\n<li><p>POST request to <code>targetUrl</code></p>\n</li>\n<li><p>JSON body with event data</p>\n</li>\n</ul>\n<p>Your endpoint must return 2xx status code.</p>\n","urlObject":{"path":["api","resthooks","subscriptions"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"80222b05-3f57-482e-af07-47d57369f943","name":"Subscription created successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"document_upload\",\n  \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=1,2,3\",\n  \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/resthooks/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 2210,\n  \"event\": \"document_upload\",\n  \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=1,2,3\",\n  \"active\": true,\n  \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n}"},{"id":"a80ad76f-7444-494b-8956-16fc28c6409d","name":"Authentication required or invalid credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"document_upload\",\n  \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=1,2,3\",\n  \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/resthooks/subscriptions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"adef193f-655c-45f3-adbb-34dab1757f8f","name":"Validation failed on one or more fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"document_upload\",\n  \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=1,2,3\",\n  \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/resthooks/subscriptions"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\",\n  \"errors\": [\n    {\n      \"code\": \"required\",\n      \"field\": \"name\",\n      \"message\": \"can't be blank\"\n    },\n    {\n      \"code\": \"length\",\n      \"field\": \"description\",\n      \"message\": \"should be at most 500 character(s)\"\n    }\n  ]\n}"}],"_postman_id":"d2d950c6-05e4-4068-9f2d-3f65a91a1c5a"},{"name":"Get subscription","id":"966234dc-2144-4aef-ba77-6903b903a92b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/resthooks/subscriptions/:id","description":"<p>Retrieve details of a given subscription.</p>\n","urlObject":{"path":["api","resthooks","subscriptions",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"84a4992a-bdeb-45d6-843c-4ef7b93d88e6","description":{"content":"<p>Subscription identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"3c1e88af-bd98-4acc-953f-97f30fffb021","name":"Subscription details","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/resthooks/subscriptions/:id","host":["http://localhost:4000/"],"path":["api","resthooks","subscriptions",":id"],"variable":[{"key":"id","value":"3005","description":"Subscription identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 2210,\n  \"event\": \"document_upload\",\n  \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=1,2,3\",\n  \"active\": true,\n  \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n}"},{"id":"f995e967-359e-4ce3-8e87-e16225a395a1","name":"Authentication required or invalid credentials","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/resthooks/subscriptions/:id","host":["http://localhost:4000/"],"path":["api","resthooks","subscriptions",":id"],"variable":[{"key":"id","value":"3005","description":"Subscription identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"1fd80518-0cba-49f0-b5c9-88619137943c","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/resthooks/subscriptions/:id","host":["http://localhost:4000/"],"path":["api","resthooks","subscriptions",":id"],"variable":[{"key":"id","value":"3005","description":"Subscription identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"966234dc-2144-4aef-ba77-6903b903a92b"},{"name":"Update subscription","id":"89d5a35b-c3a5-4020-a4b9-7e3962e16b80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"document_update\",\n  \"target_url\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=10,20&attributes=status\",\n  \"signing_secret\": \"a3Bf9cK2mN7pQ...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/resthooks/subscriptions/:id","description":"<p>Update subscription settings.</p>\n<h2 id=\"request-body-json\">Request Body (JSON)</h2>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>event</code></td>\n<td>string</td>\n<td>No</td>\n<td>The event type to subscribe to.</td>\n</tr>\n<tr>\n<td><code>targetUrl</code></td>\n<td>string</td>\n<td>No</td>\n<td>The URL that will receive the webhook POST requests.</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>string</td>\n<td>No</td>\n<td>Filter criteria for the event (e.g., <code>roomIds=1,2,3</code> or <code>attributes=status</code>).</td>\n</tr>\n<tr>\n<td><code>active</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Whether the subscription is active.</td>\n</tr>\n<tr>\n<td><code>signingSecret</code></td>\n<td>string</td>\n<td>No</td>\n<td>A secret key used to sign webhook requests via HMAC-SHA256. If provided, an <code>X-Signature</code> header will be included in every webhook request.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","resthooks","subscriptions",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"385c8976-1ad2-4cfd-b361-a32ca838cf41","description":{"content":"<p>Subscription identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"b2bae001-e1e4-4c9a-9772-3bddd214d418","name":"Subscription updated successfully","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"document_update\",\n  \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=10,20&attributes=status\",\n  \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/resthooks/subscriptions/:id","host":["http://localhost:4000/"],"path":["api","resthooks","subscriptions",":id"],"variable":[{"key":"id","value":"3005","description":"Subscription identifier"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 2210,\n  \"event\": \"document_upload\",\n  \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=1,2,3\",\n  \"active\": true,\n  \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n}"},{"id":"7cd6859b-c039-4eb0-b51e-a4eeaa649993","name":"Authentication required or invalid credentials","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"document_update\",\n  \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=10,20&attributes=status\",\n  \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/resthooks/subscriptions/:id","host":["http://localhost:4000/"],"path":["api","resthooks","subscriptions",":id"],"variable":[{"key":"id","value":"3005","description":"Subscription identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"b4be9809-37d7-4fea-bbc5-e154d364972f","name":"Resource not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"document_update\",\n  \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=10,20&attributes=status\",\n  \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/resthooks/subscriptions/:id","host":["http://localhost:4000/"],"path":["api","resthooks","subscriptions",":id"],"variable":[{"key":"id","value":"3005","description":"Subscription identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"},{"id":"71908660-d627-4b1f-b609-432b569b72c9","name":"Validation failed on one or more fields","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"document_update\",\n  \"targetUrl\": \"https://api.example.com/webhooks/prodeal\",\n  \"filter\": \"roomIds=10,20&attributes=status\",\n  \"signingSecret\": \"a3Bf9cK2mN7pQ...\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"http://localhost:4000//api/resthooks/subscriptions/:id","host":["http://localhost:4000/"],"path":["api","resthooks","subscriptions",":id"],"variable":[{"key":"id","value":"3005","description":"Subscription identifier"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\",\n  \"errors\": [\n    {\n      \"code\": \"required\",\n      \"field\": \"name\",\n      \"message\": \"can't be blank\"\n    },\n    {\n      \"code\": \"length\",\n      \"field\": \"description\",\n      \"message\": \"should be at most 500 character(s)\"\n    }\n  ]\n}"}],"_postman_id":"89d5a35b-c3a5-4020-a4b9-7e3962e16b80"},{"name":"Delete subscription","id":"106affff-c02b-4f61-ab47-b926708cc925","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/resthooks/subscriptions/:id","description":"<p>Unsubscribe from webhook events.</p>\n<p>Permanently removes the subscription. No further events will\nbe sent to the target URL.</p>\n","urlObject":{"path":["api","resthooks","subscriptions",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"39057280-c89d-48c3-826e-087013245fd8","description":{"content":"<p>Subscription identifier</p>\n","type":"text/plain"},"type":"any","value":"3005","key":"id"}]}},"response":[{"id":"8d88fb3e-7b08-4b76-9409-22779a1a1a51","name":"Subscription deleted successfully","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/resthooks/subscriptions/:id","host":["http://localhost:4000/"],"path":["api","resthooks","subscriptions",":id"],"variable":[{"key":"id","value":"3005","description":"Subscription identifier"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"2c33684e-4386-40f6-ac38-5d020c1dc156","name":"Authentication required or invalid credentials","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/resthooks/subscriptions/:id","host":["http://localhost:4000/"],"path":["api","resthooks","subscriptions",":id"],"variable":[{"key":"id","value":"3005","description":"Subscription identifier"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"unauthorized\",\n  \"message\": \"Authentication required\"\n}"},{"id":"1a51c775-588a-4164-8aaf-5d687a395a63","name":"Resource not found","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/resthooks/subscriptions/:id","host":["http://localhost:4000/"],"path":["api","resthooks","subscriptions",":id"],"variable":[{"key":"id","value":"3005","description":"Subscription identifier"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"106affff-c02b-4f61-ab47-b926708cc925"}],"id":"854e234a-ad42-491a-b654-f2344162d23e","description":"<p>REST Hooks allow your application to receive real-time data updates (via HTTP POST) when specific events occur, rather than constantly polling for changes.</p>\n<p>Subscriptions are associated with the user who created them, and events are only sent based on that user's permissions.</p>\n<p><strong>Available events:</strong></p>\n<ul>\n<li><p><code>document_upload</code> - Document uploaded</p>\n</li>\n<li><p><code>document_update</code> - Document updated</p>\n</li>\n<li><p><code>document_delete</code> - Document deleted</p>\n</li>\n<li><p><code>folder_create</code> - Folder created</p>\n</li>\n<li><p><code>folder_update</code> - Folder updated</p>\n</li>\n<li><p><code>folder_delete</code> - Folder deleted</p>\n</li>\n<li><p><code>bulk_action_copy_items</code> - Items copied between rooms</p>\n</li>\n<li><p><code>bulk_action_move_items</code> - Items moved between rooms</p>\n</li>\n</ul>\n<p><strong>Filters:</strong></p>\n<ul>\n<li><p><code>roomIds</code> - Filter events by room IDs</p>\n</li>\n<li><p><code>attributes</code> - Filter update events by changed attributes</p>\n</li>\n<li><p><code>sourceRoomIds</code> / <code>targetRoomIds</code> - Filter bulk actions by source/target room</p>\n</li>\n</ul>\n<p><strong>Examples:</strong> To receive notifications for all document uploads in room with ID 10, create a subscription with <code>event=document_upload</code> and <code>filter=roomIds=10</code>. To receive notifications when a document's <code>status</code> or <code>name</code> changes, use <code>event=document_update</code> and <code>filter=attributes=status,name</code>.</p>\n<hr />\n<h2 id=\"signed-webhooks\">Signed webhooks</h2>\n<p>If you want Prodeal to sign the webhook requests so your server can verify their authenticity, provide a <code>signingSecret</code> when creating or updating a subscription.</p>\n<p>When a signing secret is configured, every webhook request will include an <code>X-Signature</code> HTTP header containing the HMAC-SHA256 hex digest of the request body.</p>\n<p>To verify the signature on your server, compute the HMAC-SHA256 of the raw request body using your signing secret and compare it with the <code>X-Signature</code> header value.</p>\n<p><strong>Example verification (Python):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-python\">import hashlib\nimport hmac\n\ndef verify_signature(body: bytes, secret: str, signature: str) -&gt; bool:\n    expected = hmac.new(\n        secret.encode('utf-8'),\n        body,\n        hashlib.sha256\n    ).hexdigest()\n    return hmac.compare_digest(expected, signature)\n</code></pre>\n","_postman_id":"854e234a-ad42-491a-b654-f2344162d23e"},{"name":"File Requests","item":[{"name":"Get file request details","id":"aac53147-7268-4f25-bf49-ec3fee4d141a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"http://localhost:4000//api/file-requests/:token","description":"<p>Retrieve file request information by token.</p>\n<p><strong>Public endpoint</strong> - no authentication required.\nUsed to display file request form to external users.</p>\n<p><strong>Response includes:</strong></p>\n<ul>\n<li>Request name and description</li>\n<li>Required files or file types</li>\n<li>Uploader instructions</li>\n<li>Expiration information</li>\n</ul>\n","urlObject":{"path":["api","file-requests",":token"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"7e7ed472-04d7-4d3b-a40a-7837f21e3b50","description":{"content":"<p>File request token (from invitation link)</p>\n","type":"text/plain"},"type":"any","value":"string","key":"token"}]}},"response":[{"id":"faab2665-75d3-407d-bdb7-17dd8b0aa0c0","name":"File request details","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/file-requests/:token","host":["http://localhost:4000/"],"path":["api","file-requests",":token"],"variable":[{"key":"token","value":"string","description":"File request token (from invitation link)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 1554,\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"room_name\": \"string\",\n  \"expires_at\": \"1983-02-20T13:35:04.969Z\"\n}"},{"id":"bb94b5f0-e1ed-4ae7-9bd7-fe2efd0dda61","name":"Resource not found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"url":{"raw":"http://localhost:4000//api/file-requests/:token","host":["http://localhost:4000/"],"path":["api","file-requests",":token"],"variable":[{"key":"token","value":"string","description":"File request token (from invitation link)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"not_found\",\n  \"message\": \"Resource not found\"\n}"}],"_postman_id":"aac53147-7268-4f25-bf49-ec3fee4d141a"},{"name":"Get presigned upload URL","id":"9815602d-0f07-48a8-87c3-c1a2fda01119","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"filename\": \"contract.pdf\",\n  \"content_type\": \"application/pdf\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/file-requests/presigned-upload-url","description":"<p>Get a presigned URL for uploading files directly to storage.</p>\n<p><strong>Usage:</strong></p>\n<ol>\n<li>Call this endpoint to get upload URL</li>\n<li>PUT file to the presigned URL</li>\n<li>Use returned <code>file_id</code> when creating item</li>\n</ol>\n<p><strong>No authentication required</strong> - works for public file requests.</p>\n","urlObject":{"path":["api","file-requests","presigned-upload-url"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"84f76fd7-d1f2-4aef-a4bd-cf6966fcf8e7","name":"Presigned upload URL","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"filename\": \"contract.pdf\",\n  \"content_type\": \"application/pdf\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/file-requests/presigned-upload-url"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"upload_url\": \"http://TfbrrKovoHuByGZLRDFNiEoBEVV.gnvyuMn0OfQPeTMAB,CRW2phb9QicbcQ\",\n  \"file_id\": \"string\",\n  \"expires_at\": \"1964-03-18T14:30:56.697Z\"\n}"},{"id":"90771742-baf8-45cd-b4b4-2fa2a900067d","name":"Validation failed on one or more fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"}],"body":{"mode":"raw","raw":"{\n  \"filename\": \"contract.pdf\",\n  \"content_type\": \"application/pdf\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:4000//api/file-requests/presigned-upload-url"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"validation_failed\",\n  \"message\": \"Validation failed\",\n  \"errors\": [\n    {\n      \"code\": \"required\",\n      \"field\": \"name\",\n      \"message\": \"can't be blank\"\n    },\n    {\n      \"code\": \"length\",\n      \"field\": \"description\",\n      \"message\": \"should be at most 500 character(s)\"\n    }\n  ]\n}"}],"_postman_id":"9815602d-0f07-48a8-87c3-c1a2fda01119"}],"id":"db75c2dc-46a7-4b6c-bcf2-266915141b7e","_postman_id":"db75c2dc-46a7-4b6c-bcf2-266915141b7e","description":""}],"id":"1efe6cc2-8091-4d59-b554-3e5b68a3063b","_postman_id":"1efe6cc2-8091-4d59-b554-3e5b68a3063b","description":""},{"name":"Legacy","item":[{"name":"Authentication","item":[{"name":"Session","item":[{"name":"Create session (Sign in)","id":"e7ccab41-7841-46ed-9e9a-ea9e973d543d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"test@acme.com\",\n       \"password\": \"q1w2e3r4Q!W@E#R$\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session","description":"<h5 id=\"response-types\">Response types</h5>\n<p>When a new session is created, the return code is <code>201</code>, and the value of the <code>state</code> attribute is \"success\".</p>\n<p>When the user has MFA enabled, the return code is <code>200</code> and the value of the <code>state</code> attribute is \"mfa_required\". To authenticate, you need to perform another request - <code>Validate OTP code</code>.</p>\n<h5 id=\"errors\">Errors</h5>\n<p>Code <code>422</code> is returned when invalid credentials are entered.</p>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>User and organization objects are included in the response.</p>\n","urlObject":{"path":["api","v2","session"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"c813cc81-57c4-4231-8935-744d8f14c67a","name":"MFA required response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"jdoe@example.com\",\n       \"password\": \"mfa required\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"content-length","key":"content-length","value":"131","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json; charset=utf-8","description":"The mime type of this content"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Mon Aug 12 2019 14:10:57 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"luis%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAACbQAAAAdhdXRoX2lkYQRtAAAAB3VzZXJfaWRhAQ.LwfLEUKK8YgG5yZe4Hphbfo204iJarVeCUOCWvQkivE","key":"_prodeal360_key"}],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"data\": {\n        \"type\": \"session\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"state\": \"mfa_required\",\n            \"email\": \"jdoe@example.com\"\n        }\n    }\n}"},{"id":"d967ea4c-c255-4286-a418-ef29e9c391db","name":"Authentication failure","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"jdoe@example.com\",\n       \"password\": \"wrong password\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"169"},{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"invalid credentials\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/email\"\n            },\n            \"detail\": \"Email invalid credentials\"\n        }\n    ]\n}"},{"id":"62993582-f8e7-4022-8061-a96df1038f08","name":"Authentication successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"jdoe@example.com\",\n       \"password\": \"password\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"684"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"organization\",\n            \"id\": \"1\",\n            \"attributes\": {    \n                \"status-merged-enabled\": false,\n                \"name\": \"Example Organization\",\n                \"mfa-required\": false,\n                \"file-counter-enabled\": true,\n                \"esignature-annotations-enabled\": false,\n                \"domains\": null,\n                \"default\": true,\n                \"sso-enabled\": false\n            }\n        },\n        {\n            \"type\": \"user\",\n            \"relationships\": {\n                \"organization\": {\n                    \"data\": {\n                        \"type\": \"organization\",\n                        \"id\": \"1\"\n                    }\n                }\n            },\n            \"id\": \"3\",\n            \"attributes\": {\n                \"workspaces-flag-enabled\": false,\n                \"online\": true,\n                \"location\": null,\n                \"last-name\": \"Doe\",\n                \"job-title\": \"Seller\",\n                \"is-org-admin\": true,\n                \"is-certified\": true,\n                \"full-name\": \"John Doe\",\n                \"first-name\": \"Doe\",\n                \"otp-enabled\": false,\n                \"emails\": [\n                    \"jdoe@example.com\"\n                ]\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"session\",\n        \"relationships\": {\n            \"user\": {\n                \"data\": {\n                    \"type\": \"user\",\n                    \"id\": \"3\"\n                }\n            }\n        },\n        \"id\": \"\",\n        \"attributes\": {\n            \"state\": \"success\",\n            \"email\": \"jdoe@example.com\"\n        }\n    }\n}"}],"_postman_id":"e7ccab41-7841-46ed-9e9a-ea9e973d543d"},{"name":"Delete session (Sign out)","id":"6779c2b4-714e-4f2f-becc-fa2f5597eec6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/session","urlObject":{"path":["api","v2","session"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"d55b80c3-db12-484f-b25b-f4c756985121","name":"Sign out successful","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/session"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6779c2b4-714e-4f2f-becc-fa2f5597eec6"}],"id":"9dc206fe-5547-4802-b082-e0655699d109","event":[{"listen":"prerequest","script":{"id":"cc7e5fbe-922d-4ad8-a6f7-58c492dbfb7f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9bde24e3-2658-4904-b9d8-eff139b779fa","type":"text/javascript","exec":[""]}}],"_postman_id":"9dc206fe-5547-4802-b082-e0655699d109","description":""},{"name":"Multi-Factor Authentication (MFA)","item":[{"name":"Validate MFA OTP code","id":"9ba38e03-b69c-4eb9-8700-8f4bb6344236","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n  \"type\": \"mfa\",\n    \"attributes\": {\n       \"otp\": \"123456\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/mfa","description":"<p>When a new session is created, the return code is <code>201</code> and the status is \"success\".</p>\n<h5 id=\"errors\">Errors</h5>\n<p>Code <code>422</code> is returned when invalid OTP code is entered. If the OTP validation fails, <strong>it is necessary to create a new session</strong> to try again.</p>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>User and organization objects are included in the response.</p>\n","urlObject":{"path":["api","v2","session","mfa"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"1ecd1f74-ef11-44fc-a732-3fa421850107","name":"MFA Validation successful","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n  \"type\": \"mfa\",\n    \"attributes\": {\n       \"otp\": \"123456\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/mfa"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"name":"content-length","key":"content-length","value":"126","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json; charset=utf-8","description":"The mime type of this content"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Mon Aug 12 2019 14:10:57 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"luis%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAACbQAAAAdhdXRoX2lkYQRtAAAAB3VzZXJfaWRhBA.F98DrJa9Fi3H4iDhNP1RxXtchcyavf4XTYLsiN_wRqs","key":"_prodeal360_key"}],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"organization\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"status-merged-enabled\": false,\n                \"name\": \"Example Organization\",\n                \"mfa-required\": false,\n                \"file-counter-enabled\": true,\n                \"esignature-annotations-enabled\": false,\n                \"domains\": null,\n                \"default\": true,\n                \"sso-enabled\": false\n            }\n        },\n        {\n            \"type\": \"user\",\n            \"relationships\": {\n                \"organization\": {\n                    \"data\": {\n                        \"type\": \"organization\",\n                        \"id\": \"1\"\n                    }\n                }\n            },\n            \"id\": \"3\",\n            \"attributes\": {\n                \"workspaces-flag-enabled\": false,\n                \"online\": true,\n                \"location\": null,\n                \"last-name\": \"Doe\",\n                \"job-title\": \"Seller\",\n                \"is-org-admin\": true,\n                \"is-certified\": true,\n                \"full-name\": \"John Doe\",\n                \"first-name\": \"Doe\",\n                \"otp-enabled\": true,\n                \"emails\": [\n                    \"user@prodeal360.com\"\n                ]\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"session\",\n        \"id\": \"\",\n        \"attributes\": {\n            \"state\": \"success\",\n            \"email\": \"user@prodeal360.com\"\n        }\n    }\n}"},{"id":"6b0cb511-81f7-4fbd-9442-4f5073b12d31","name":"MFA Validation failed","originalRequest":{"method":"GET","header":[]},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"name":"content-length","key":"content-length","value":"169","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":"The mime type of this content"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Mon Aug 12 2019 14:10:57 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"luis%40prodeal360.com","key":"last_email_loggedin"}],"responseTime":null,"body":"{\n    \"jsonapi\": {\"version\":\"2.0\"},\n    \"errors\":[\n        {\n            \"title\":\"Invalid credentials\",\n            \"status\":\"422\",\n            \"source\": {\n                \"pointer\":\"data/attributes/email\"\n            },\n            \"detail\":\"Email Invalid credentials\"\n        }\n    ]\n}"}],"_postman_id":"9ba38e03-b69c-4eb9-8700-8f4bb6344236"},{"name":"Start MFA enrollment","id":"8bc827f8-dd1e-4beb-9dfa-22bd4ed4c52c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"otp-auth\"\n  }\n}"},"url":"http://localhost:4000//api/v2/me/mfa/otp-auth","description":"<p>Used to activate MFA for the current account. The flow of enabling MFA consists of 2 steps - starting and confirming the enrollment.</p>\n<p>The most important attributes are <code>secret</code>, <code>uri</code> and <code>qrcode</code> - all of them used for configuring the account in the authenticator app (manually, by using app link, or by scanning QR code).</p>\n","urlObject":{"path":["api","v2","me","mfa","otp-auth"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"213db901-a565-4d65-ac49-a1693e541106","name":"Start MFA enrollment success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"otp-auth\"\n  }\n}"},"url":"http://localhost:4000//api/v2/me/mfa/otp-auth"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"content-length","key":"content-length","value":"8732","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json; charset=utf-8","description":"The mime type of this content"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Mon Aug 12 2019 14:10:57 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"luis%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAADbQAAAAtfY3NyZl90b2tlbm0AAAAYcmk4VWZXZU1qSUh6VGZPaDg5R2VMdz09bQAAAAxyZWRpcmVjdF91cmxtAAAAHi91c2VyX3NldHRpbmdzL2F1dGhlbnRpY2F0aW9uP20AAAAHdXNlcl9pZGEB.PPKU_s3FqybD4v3KbEd0P2T1zsHfQ7p2wH_vPTvcOi4","key":"_prodeal360_key"}],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\":\"2.0\"\n    },\n    \"data\": {\n        \"type\":\"otp-auth\",\n        \"id\":\"\",\n        \"attributes\": {\n            \"uri\": \"otpauth://totp/ProDeal360:user@example.com?period=30&secret=usersecret\",\n            \"secret\":\"anothersecret\",\n            \"qrcode\":\"base64encodedimage\"\n        }\n    }\n}"}],"_postman_id":"8bc827f8-dd1e-4beb-9dfa-22bd4ed4c52c"},{"name":"Finalize MFA enrollment","id":"ddbcc04a-010e-4a67-aad1-2235fc3541b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n  \"type\": \"mfa-enrollment\",\n    \"attributes\": {\n       \"code\": \"123456\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/me/mfa","description":"<p>The second step for setting up the MFA - confirming with the OTP code.</p>\n<p>Code <code>204</code> is returned on success.</p>\n<h5 id=\"errors\">Errors</h5>\n<p>Code <code>422</code> is returned when invalid OTP code is entered.</p>\n","urlObject":{"path":["api","v2","me","mfa"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"3bca4081-425b-45bd-8b92-10409466b88b","name":"MFA enabled successfuly","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n  \"type\": \"mfa-enrollment\",\n    \"attributes\": {\n       \"code\": \"123456\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/me/mfa"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"name":"content-length","key":"content-length","value":"0","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json","description":"The mime type of this content"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Mon Aug 12 2019 14:10:57 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"luis%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAADbQAAAAtfY3NyZl90b2tlbm0AAAAYcmk4VWZXZU1qSUh6VGZPaDg5R2VMdz09bQAAAAxyZWRpcmVjdF91cmxtAAAAHi91c2VyX3NldHRpbmdzL2F1dGhlbnRpY2F0aW9uP20AAAAHdXNlcl9pZGEB.PPKU_s3FqybD4v3KbEd0P2T1zsHfQ7p2wH_vPTvcOi4","key":"_prodeal360_key"}],"responseTime":null,"body":""},{"id":"1cc31b5c-7751-478c-922b-b51539900dac","name":"MFA activation failed (Wrong code)","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n  \"type\": \"mfa-enrollment\",\n    \"attributes\": {\n       \"code\": \"wrong\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/me/mfa"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"name":"content-length","key":"content-length","value":"165","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":"The mime type of this content"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Mon Aug 12 2019 14:10:57 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"luis%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAADbQAAAAtfY3NyZl90b2tlbm0AAAAYcmk4VWZXZU1qSUh6VGZPaDg5R2VMdz09bQAAAAxyZWRpcmVjdF91cmxtAAAAHi91c2VyX3NldHRpbmdzL2F1dGhlbnRpY2F0aW9uP20AAAAHdXNlcl9pZGEB.PPKU_s3FqybD4v3KbEd0P2T1zsHfQ7p2wH_vPTvcOi4","key":"_prodeal360_key"}],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"errors\":[\n        {\n            \"title\": \"422 Unprocessable Entity\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"/data/attributes/code\"\n            },\n            \"detail\": \"Invalid OTP code\"\n        }\n    ]\n}"}],"_postman_id":"ddbcc04a-010e-4a67-aad1-2235fc3541b2"},{"name":"Disable MFA","id":"9a947138-dc17-4355-b16a-9ad0cbf67b7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/me/mfa","description":"<p>Used to turn off the MFA for the current account. On success, returns status code <code>204</code>.</p>\n","urlObject":{"path":["api","v2","me","mfa"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"0b52f91a-d977-463f-b796-fb28abf4a576","name":"Disable MFA","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"url":"http://localhost:4000//api/v2/me/mfa"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"name":"content-length","key":"content-length","value":"0","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json","description":"The mime type of this content"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Mon Aug 12 2019 14:10:57 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"luis%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAADbQAAAAtfY3NyZl90b2tlbm0AAAAYcmk4VWZXZU1qSUh6VGZPaDg5R2VMdz09bQAAAAxyZWRpcmVjdF91cmxtAAAAHi91c2VyX3NldHRpbmdzL2F1dGhlbnRpY2F0aW9uP20AAAAHdXNlcl9pZGEB.PPKU_s3FqybD4v3KbEd0P2T1zsHfQ7p2wH_vPTvcOi4","key":"_prodeal360_key"}],"responseTime":null,"body":""}],"_postman_id":"9a947138-dc17-4355-b16a-9ad0cbf67b7b"}],"id":"79976cad-275a-40ee-9d1f-115517bdb99b","description":"<p>MFA increases the security by asking users to provide a unique time-based PIN (OTP code) every time they want to sign in. Users that have MFA enabled, have one extra step during sign in - validating the OTP code.</p>\n","_postman_id":"79976cad-275a-40ee-9d1f-115517bdb99b"},{"name":"Single Sign-On (SSO)","item":[{"name":"Get SSO login URL","id":"96e76eae-6427-4b7e-bdcb-2c36ee9fc552","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"user@prodeal360.com\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/sso_url","description":"<p>Returns the URL that opens the SSO page.</p>\n","urlObject":{"path":["api","v2","session","sso_url"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"637611e2-7c4a-461a-aee0-5286976611cc","name":"Get SSO URL Success","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"user@prodeal360.com\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/sso_url"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"data\": {\n        \"type\": \"sso\",\n        \"id\": \"\",\n        \"attributes\": {\n            \"url\": \"http://localhost:4000/sso/example\"\n        }\n    }\n}"}],"_postman_id":"96e76eae-6427-4b7e-bdcb-2c36ee9fc552"},{"name":"Get SSO login URL via email","id":"dfb638d9-4427-4f8e-b0ef-f3a06d539235","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"user@prodeal360.com\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/send_sso_url","description":"<p>Similar to the request above, except this one <strong>does not contain</strong> SSO URL in the response. It is used to send the email to the given email address, that will contain the SSO URL. </p>\n","urlObject":{"path":["api","v2","session","send_sso_url"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"68713921-6020-434d-a3bd-db3113f685e2","name":"Email with SSO login URL sent","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"user@prodeal360.com\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/send_sso_url"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"dfb638d9-4427-4f8e-b0ef-f3a06d539235"}],"id":"dfc16fcc-093a-494f-aec2-0f0b5ca7e7aa","description":"<p>Some organizations use a single sign-on. For them, the authentication process is different, since they use their own authentication provider.</p>\n","event":[{"listen":"prerequest","script":{"id":"a73a215c-e5e0-43d2-aedd-11b763a479dd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6d282278-7431-41f8-8f89-9cbde29d1762","type":"text/javascript","exec":[""]}}],"_postman_id":"dfc16fcc-093a-494f-aec2-0f0b5ca7e7aa"},{"name":"Update Password","item":[{"name":"Request password reset link","id":"2dae073d-c275-4ce4-b949-eb1e8de43aa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"user@prodeal360.com\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/password/reset-request","description":"<p>Used for sending the \"reset password link\" via email. The link contains token, that is necessary for the second step of the resetting password.</p>\n<p>On success, returns status code <code>204</code>.</p>\n","urlObject":{"path":["api","v2","session","password","reset-request"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"a4a9c0a6-9374-4f43-bdf1-308a34f211e7","name":"Email with password reset link sent","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"user@prodeal360.com\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/password/reset-request"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"0"},{"key":"content-type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2dae073d-c275-4ce4-b949-eb1e8de43aa8"},{"name":"Confirm password reset","id":"76a80279-f12d-46b9-8b74-2fb0ff93a7e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"user@prodeal360.com\",\n       \"confirmation-code\": \"token\",\n       \"password\": \"new password\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/password/reset-confirm","description":"<p>Used for setting up a new password in the reset password flow. After resetting the password, the user either stays logged in, or OTP code verification is required.</p>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>User and organization objects are included in the response.</p>\n","urlObject":{"path":["api","v2","session","password","reset-confirm"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"86bd1740-5eba-4ab4-b0df-877a32478a25","name":"Invalid password reset token or weak password","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"user@prodeal360.com\",\n       \"confirmation-code\": \"token\",\n       \"password\": \"new password\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/password/reset-confirm"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"FORBIDDEN\"\n        }\n    ]\n}"},{"id":"941a0b7b-b84c-41b8-86ce-94ba827c1c65","name":"Password reset confirmation success","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"attributes\": {\n       \"email\": \"user@prodeal360.com\",\n       \"confirmation-code\": \"...\",\n       \"password\": \"NewPassw0rd!\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/session/password/reset-confirm"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"620"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAFbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAAHdXNlcl9pZGEB.Wxs7IuqyfeirqIoDIuKnjTqddaY6LX1Iwf_4KCFjvrY; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"user\",\n            \"relationships\": {\n                \"organization\": {\n                    \"data\": {\n                        \"type\": \"organization\",\n                        \"id\": \"2\"\n                    }\n                }\n            },\n            \"id\": \"1\",\n            \"attributes\": {\n                \"otp-enabled\": false,\n                \"workspaces-flag-enabled\": false,\n                \"job-title\": \"User at ProDeal360\",\n                \"is-org-admin\": true,\n                \"is-certified\": true,\n                \"full-name\": \"John Doe\",\n                \"emails\": [\n                    \"user@prodeal360.com\"\n                ],\n                \"contact-details\": null\n            }\n        },\n        {\n            \"type\": \"organization\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"name\": \"RandomCoolName Company (OH)\",\n                \"default\": false\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"session\",\n        \"relationships\": {\n            \"user\": {\n                \"data\": {\n                    \"type\": \"user\",\n                    \"id\": \"1\"\n                }\n            }\n        },\n        \"id\": \"\",\n        \"attributes\": {\n            \"state\": \"success\",\n            \"email\": \"user@prodeal360.com\"\n        }\n    }\n}"}],"_postman_id":"76a80279-f12d-46b9-8b74-2fb0ff93a7e6"},{"name":"Update user password","id":"609d354d-6765-4623-a30d-6d4fa9970ccb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"user-password\",\n      \"attributes\":{  \n         \"current-password\":\"Passw0rd!\",\n         \"password\":\"weak password!\"\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/me/password","description":"<p>Change the user password for the currently signed-in user.</p>\n<h5 id=\"errors\">Errors</h5>\n<p>On error, status code <code>422</code> is returned. In addition, the error <code>code</code> parameter is used to differentiate the following scenarios:</p>\n<ul>\n<li><code>INVALID_FIELD_FORMAT</code> - indicates that the password validation rules were not satisfied (e.g. \"new password does not contain a number\")</li>\n<li><code>INVALID_FIELD_INVALID_CURRENT_PASSWORD</code> - indicates that the current password is incorrect</li>\n</ul>\n","urlObject":{"path":["api","v2","me","password"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"fcbac5c7-7817-4a1b-8f21-9c8dbee4d851","name":"Weak password","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"user-password\",\n      \"attributes\":{  \n         \"current-password\":\"Passw0rd!\",\n         \"password\":\"weak password!\"\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/me/password"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"384"},{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"must contain at least one number\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/password\"\n            },\n            \"detail\": \"Password must contain at least one number\",\n            \"code\": \"INVALID_FIELD_FORMAT\"\n        },\n        {\n            \"title\": \"must contain at least one upper case letter\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/password\"\n            },\n            \"detail\": \"Password must contain at least one upper case letter\",\n            \"code\": \"INVALID_FIELD_FORMAT\"\n        }\n    ]\n}"},{"id":"0aa53206-4db4-416d-b895-8dfd80e173bd","name":"Wrong current password","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"user-password\",\n      \"attributes\":{  \n         \"current-password\":\"PaSSW0rd!\",\n         \"password\":\"Passw0rd!\"\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/me/password"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"181"},{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"does not match\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/current-password\"\n            },\n            \"detail\": \"Current password does not match\"\n        }\n    ]\n}"},{"id":"0d271dc9-f27e-453c-b888-34eb721245c8","name":"Successful password update","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"user-password\",\n      \"attributes\":{  \n         \"current-password\":\"Passw0rd!\",\n         \"password\":\"NewPassw0rd!\"\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/me/password"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"0"},{"key":"content-type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"609d354d-6765-4623-a30d-6d4fa9970ccb"}],"id":"355e4b1b-ea8a-4ed5-acc6-f7d8d4217dee","description":"<p>If the user is logged in, the password can be changed using <code>Update user password</code> endpoint. Otherwise, the reset flow is used, which contains 2 steps: request reset link and confirm password reset.</p>\n","event":[{"listen":"prerequest","script":{"id":"abf87201-6a89-4b67-85a2-24870454367b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cf8a04e8-70ad-4926-a434-4ed8ac4b1afe","type":"text/javascript","exec":[""]}}],"_postman_id":"355e4b1b-ea8a-4ed5-acc6-f7d8d4217dee"}],"id":"94532189-742c-43dc-9c53-ee785a22c4f9","description":"<p>ProDeal uses \"cookie-based\" authentication. Every successful authentication request produces a cookie that can be used to authorize the following requests to the API.</p>\n","event":[{"listen":"prerequest","script":{"id":"c549f452-7cf3-4592-b3f5-b942da88ebb3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"04fb59a9-d031-4284-81de-8253aface5d2","type":"text/javascript","exec":[""]}}],"_postman_id":"94532189-742c-43dc-9c53-ee785a22c4f9"},{"name":"Users","item":[{"name":"Get organization  users","id":"322a92a6-2a25-4d7d-86a4-fc65aaee4f51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","type":"text","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/organization/users?page[number]=1&page[size]=25","description":"<p>Get all users from an organization.</p>\n<p>The following user attributes will be returned: <code>active</code>, <code>email</code>, <code>full-name</code>, <code>is-guest-approver</code>, <code>is-org-admin</code>, <code>job-title</code>, <code>last-seen</code>, <code>mfa-type</code>, and <code>role</code>.</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>It's important to note that only organization admins, due to their elevated permissions, can see the list of all users in the organization.</p>\n","urlObject":{"path":["api","v2","organization","users"],"host":["http://localhost:4000/"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"}],"variable":[]}},"response":[{"id":"70b9f976-0000-4d8d-8ea1-abce4796db44","name":"Get organization users success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"url":{"raw":"http://localhost:4000//api/v2/organization/users?page[number]=1&page[size]=25","host":["http://localhost:4000/"],"path":["api","v2","organization","users"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 04 Feb 2020 13:45:21 GMT"},{"key":"content-length","value":"454"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2no3duq1e1ps1p55j4001ks1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/organization/users?page[number]=1&page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"user\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"active\": true,\n                \"email\": \"user1org2@prodeal360.com\",\n                \"full-name\": \"Dominique Roberts\",\n                \"is-guest-approver\": false,\n                \"is-org-admin\": true,\n                \"job-title\": \"Manager\",\n                \"last-seen\": \"2021-03-01T19:31:12.703091\",\n                \"mfa-type\": \"software\",\n                \"role\": \"org_admin\"\n            }\n        }\n    ]\n}"}],"_postman_id":"322a92a6-2a25-4d7d-86a4-fc65aaee4f51"},{"name":"Get a user","id":"7e4742ab-0aae-42b4-b6d5-0b9f7dc50863","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"url":"http://localhost:4000//api/v2/users/:user_id","urlObject":{"path":["api","v2","users",":user_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"ff550770-da85-44d2-ae8e-d830b5e4791c","type":"string","value":"me","key":"user_id"}]}},"response":[{"id":"f44b8835-42d6-4c8c-937e-24aca12ac75b","name":"Get a user","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"url":{"raw":"http://localhost:4000//api/v2/users/:user_id","host":["http://localhost:4000/"],"path":["api","v2","users",":user_id"],"variable":[{"id":"ff550770-da85-44d2-ae8e-d830b5e4791c","key":"user_id","value":"me","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 May 2020 16:14:12 GMT"},{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"414"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=/XKiPqKCGJnYh3ynKDhUt/4WysJzIh4Kv9rEURrLXc+Pnnpkj37An+M97+PLlrx+0gWUTpnGqBalkX8wzStE6VTA0Bue9ckk1QWNjt4dt9Dihcc4cWtyET9enbr7; Expires=Thu, 21 May 2020 16:14:12 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=/XKiPqKCGJnYh3ynKDhUt/4WysJzIh4Kv9rEURrLXc+Pnnpkj37An+M97+PLlrx+0gWUTpnGqBalkX8wzStE6VTA0Bue9ckk1QWNjt4dt9Dihcc4cWtyET9enbr7; Expires=Thu, 21 May 2020 16:14:12 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx"},{"key":"content-encoding","value":"gzip"},{"key":"set-cookie","value":"_prodeal360=session_kXnB4tmlksBh+wqbCNVSa/tT+e2soRMhdefRev7zlndde2E/1sthCJ0iJOz9i3GnMpuU6INw9sjq09fC+f1xHoYtGNZ9eZPwCT1Y2skwMtns1heQr3jDtvqBGnvy7EqI; path=/; domain=staging.prodeal.dev; HttpOnly"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o7f28r7q5f8iod71o004rk1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, private, must-revalidate"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"organization\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"name\": \"Generic Org\",\n                \"default\": true\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"user\",\n        \"relationships\": {\n            \"organization\": {\n                \"data\": {\n                    \"type\": \"organization\",\n                    \"id\": \"1\"\n                }\n            }\n        },\n        \"id\": \"7\",\n        \"attributes\": {\n            \"otp-enabled\": false,\n            \"workspaces-flag-enabled\": true,\n            \"online\": true,\n            \"location\": {\n                \"state\": null,\n                \"address\": null\n            },\n            \"last-seen-utc\": \"2020-05-14T16:14:12.879366\",\n            \"last-name\": \"Doe\",\n            \"job-title\": \"Developer\",\n            \"is-org-admin\": false,\n            \"is-certified\": true,\n            \"ios-intercom-user-hash\": \"E4F6DE493DA1E926CF519F84F7469B63FD2AC753865BA9FC8C735646579F8AEF\",\n            \"full-name\": \"John Doe\",\n            \"first-name\": \"John\",\n            \"emails\": [\n                \"user@example.com\"\n            ],\n            \"contact-details\": []\n        }\n    }\n}"}],"_postman_id":"7e4742ab-0aae-42b4-b6d5-0b9f7dc50863"},{"name":"Get me (current user)","id":"f3b56e29-414e-4aaf-a8de-b45ae14aab86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"url":"http://localhost:4000//api/v2/users/me","description":"<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>By default, user's organization is included.</p>\n","urlObject":{"path":["api","v2","users","me"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"74e0fc20-9017-4f03-8256-46c176f98e19","name":"Get me","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"url":"http://localhost:4000//api/v2/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"414"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"organization\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"name\": \"Generic Org\",\n                \"default\": true\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"user\",\n        \"relationships\": {\n            \"organization\": {\n                \"data\": {\n                    \"type\": \"organization\",\n                    \"id\": \"1\"\n                }\n            }\n        },\n        \"id\": \"7\",\n        \"attributes\": {\n            \"otp-enabled\": false,\n            \"workspaces-flag-enabled\": true,\n            \"online\": true,\n            \"location\": {\n                \"state\": null,\n                \"address\": null\n            },\n            \"last-seen-utc\": \"2020-05-14T16:14:12.879366\",\n            \"last-name\": \"Doe\",\n            \"job-title\": \"Developer\",\n            \"is-org-admin\": false,\n            \"is-certified\": true,\n            \"ios-intercom-user-hash\": \"E4F6DE493DA1E926CF519F84F7469B63FD2AC753865BA9FC8C735646579F8AEF\",\n            \"full-name\": \"John Doe\",\n            \"first-name\": \"John\",\n            \"emails\": [\n                \"user@example.com\"\n            ],\n            \"contact-details\": []\n        }\n    }\n}"}],"_postman_id":"f3b56e29-414e-4aaf-a8de-b45ae14aab86"},{"name":"Create user with invite","id":"ada4d466-ab5f-4b9a-aea4-fa3bb76983c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"user\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Doe\",\n            \"job_title\": \"Developer\",\n            \n            \"token\": \"d7acd6a7fd38414dafb4aaa6e0e2a674\",\n            \"terms_of_service_flag\": true,\n            \"contact_details\": {\n                \"0\": {\n                    \"label\": \"cell\",\n                    \"number\": \"1231211\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000//api/v2/users","description":"<p><strong>Required fields:</strong></p>\n<ul>\n<li>First name</li>\n<li>Last name</li>\n<li>Job title</li>\n<li>Token</li>\n<li>Terms of service flag</li>\n</ul>\n<p><strong>Note:</strong> Phone numbers must contain at least 7 digits.</p>\n","urlObject":{"path":["api","v2","users"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"58236996-1943-48d2-bd03-bcd28460e871","name":"Create user with invite","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"user\",\n        \"attributes\": {\n            \"first_name\": \"Amadeo\",\n            \"last_name\": \"Buric\",\n            \"job_title\": \"Developer\",\n            \"email\": \"invited.user@prodeal360.com\",\n            \"password\": \"P4ssword!\",\n            \"password_confirmation\": \"P4ssword!\",\n            \"token\": \"1cca6c562ccf498db3134ccff4891205\",\n            \"terms_of_service_flag\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000//api/v2/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Wed, 11 Mar 2020 11:10:53 GMT"},{"key":"content-length","value":"380"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2ntjmsdqnjusiq816s004deb"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"user\",\n        \"id\": \"9\",\n        \"attributes\": {\n            \"workspaces-flag-enabled\": false,\n            \"online\": false,\n            \"location\": {\n                \"state\": null,\n                \"address\": null\n            },\n            \"last-seen-utc\": null,\n            \"last-name\": \"Buric\",\n            \"job-title\": \"Developer\",\n            \"is-org-admin\": null,\n            \"is-certified\": null,\n            \"full-name\": \"Amadeo Buric\",\n            \"first-name\": \"Amadeo\",\n            \"emails\": [\n                \"invited.user@prodeal360.com\"\n            ],\n            \"contact-details\": []\n        }\n    }\n}"}],"_postman_id":"ada4d466-ab5f-4b9a-aea4-fa3bb76983c5"},{"name":"Update a user","id":"9ea48402-02ce-4128-bb42-6e617e4cc008","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{  \n\t\"data\": {  \n\t\t\"type\":\"user\",\n\t\t\"id\": \"3\",\n\t\t\"attributes\": {\n\t\t\t\"first-name\": \"John\",\n\t\t\t\"last-name\": \"Doe\",\n\t\t\t\"job-title\": \"Seller\",\n\t\t\t\"location\": {\n\t\t\t  \"address\": \"234 Main St.\",\n\t\t\t  \"state\": \"TX\"\n\t\t\t},\n\t\t\t\"contact-details\": [\n\t\t\t\t{\n            \t    \"number\": \"123456789\",\n                    \"label\": \"work\",\n                    \"id\": 12\n                },\n                {\n                    \"number\": \"123456789\",\n                    \"label\": \"cell\",\n                    \"id\": 9\n                }\n\t\t\t]\n\t    }\n    }\n}"},"url":"http://localhost:4000//api/v2/users/:user_id","description":"<p><strong>Required fields:</strong></p>\n<ul>\n<li>First name</li>\n<li>Last name</li>\n<li>Job title</li>\n</ul>\n<p><strong>Note:</strong> Phone numbers must contain at least 7 digits.</p>\n","urlObject":{"path":["api","v2","users",":user_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"d4011a9e-e1a8-4bd7-8d54-7ac73012856e","type":"string","value":"me","key":"user_id"}]}},"response":[{"id":"31ae0580-6e87-4a1c-bbe8-edd94b0f8a58","name":"Update current user","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{  \n\t\"data\": {  \n\t\t\"type\":\"user\",\n\t\t\"id\": \"3\",\n\t\t\"attributes\": {\n\t\t\t\"first-name\": \"John2\",\n\t\t\t\"last-name\": \"Doe2\",\n\t\t\t\"job-title\": \"Tester at Example.com2\",\n\t\t\t\"location\": {\n\t\t\t  \"address\": \"Fake Street 123\",\n\t\t\t  \"state\": \"TX\"\n\t\t\t},\n\t\t\t\"contact-details\": [\n\t\t\t\t{\n            \t    \"number\": \"123456789\",\n                    \"label\": \"work\",\n                    \"id\": 12\n                },\n                {\n                    \"number\": \"123456789\",\n                    \"label\": \"cell\",\n                    \"id\": 9\n                }\n\t\t\t]\n\t    }\n    }\n}"},"url":"http://localhost:4000//api/v2/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Mon, 03 Jun 2019 13:58:38 GMT"},{"key":"content-length","value":"407"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2mib9safq0fj975v7g0024m1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"data\": {\n        \"type\": \"user\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"otp-enabled\": false,\n            \"workspaces-flag-enabled\": false,\n            \"first-name\": \"John2\",\n            \"last-name\": \"Doe2\",\n            \"job-title\": \"Tester at Example.com2\",\n            \"is-org-admin\": true,\n            \"is-certified\": true,\n            \"full-name\": \"John2 Doe2\",\n            \"emails\": [\n                \"test@example.com\"\n            ],\n            \"contact-details\": [\n                {\n                    \"number\": \"9298081234\",\n                    \"label\": \"work\",\n                    \"id\": \"1\"\n                }\n            ],\n            \"location\": {\n                \"state\": \"TX\",\n                \"address\": \"Fake Street 123\"\n            }\n        }\n    }\n}"}],"_postman_id":"9ea48402-02ce-4128-bb42-6e617e4cc008"},{"name":"Activate / deactivate multiple users","id":"1c7e3f1a-9287-4020-b75a-7f53a8ae2ecd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"type\": \"user\",\n            \"id\": \"4\",\n            \"attributes\": {\n                \"active\": false\n            }\n        }\n    ]\n}"},"url":"http://localhost:4000//api/v2/organization/users","description":"<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Only organization admins can activate/deactivate users.</p>\n","urlObject":{"path":["api","v2","organization","users"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"a3e5c0cd-aee2-413e-9a4b-1f12cc04ec65","name":"Activate and deactivate multiple usesr","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"type\": \"user\",\n            \"id\": \"4\",\n            \"attributes\": {\n                \"active\": false\n            }\n        },\n        {\n            \"type\": \"user\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"active\": true\n            }\n        }\n    ]\n}"},"url":"http://localhost:4000//api/v2/organization/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 04 Feb 2020 15:19:38 GMT"},{"key":"content-length","value":"380"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2no3o8222f9btgcbi8007ai1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"user\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"last-seen\": \"2020-02-04T15:19:38.454595\",\n                \"job-title\": \"Manager\",\n                \"full-name\": \"Dominique Roberts\",\n                \"email\": \"user1org2@prodeal360.com\",\n                \"active\": true\n            }\n        },\n        {\n            \"type\": \"user\",\n            \"id\": \"4\",\n            \"attributes\": {\n                \"last-seen\": null,\n                \"job-title\": \"Assistent\",\n                \"full-name\": \"John Simpson\",\n                \"email\": \"user2org2@prodeal360.com\",\n                \"active\": false\n            }\n        }\n    ]\n}"}],"_postman_id":"1c7e3f1a-9287-4020-b75a-7f53a8ae2ecd"},{"name":"Get calendar","id":"82308878-17f7-4fa7-aa6d-4078039c8eff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4000//api/v2/users/calendar/16b2288a4","description":"<p>iCalendar feed of the user's due dates.</p>\n","urlObject":{"path":["api","v2","users","calendar","16b2288a4"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"26c9ddc9-5bed-4e61-b9d1-2bd367c5d298","name":"Get iCalendar feed","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4000//api/v2/users/calendar/16b2288a4"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 10 Dec 2020 14:10:16 GMT"},{"key":"content-length","value":"464"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"Fk9gP03JnIi2-rsAAOQB"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"content-type","value":"text/calendar; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"BEGIN:VCALENDAR\nCALSCALE:GREGORIAN\nVERSION:2.0\nPRODID:-//Elixir ICalendar//Elixir ICalendar//EN\nBEGIN:VEVENT\nDESCRIPTION:The item lin on room Confidential Room is due. http://localhost:4000/dashboard/2?_target=f_3\nDTSTART:20201231\nSUMMARY:Confidential Room: lin\nEND:VEVENT\nBEGIN:VEVENT\nDESCRIPTION:The item fff on room Confidential Room is due. http://localhost:4000/dashboard/2?_target=f_4\nDTSTART:20210128\nSUMMARY:Confidential Room: fff\nEND:VEVENT\nEND:VCALENDAR\n"}],"_postman_id":"82308878-17f7-4fa7-aa6d-4078039c8eff"}],"id":"5572c7a0-2d81-45ab-9dd1-5f7ae52b533c","description":"<p>Every person that can log in to the system is referred to as a \"User\".</p>\n<p>User contains the following attributes:</p>\n<p>Details:</p>\n<ul>\n<li><code>id</code> - ID (auto-generated, read-only)</li>\n<li><code>last-name</code> - Last name</li>\n<li><code>first-name</code> - First name</li>\n<li><code>full-name</code> - Full name (First name + Last name)</li>\n<li><code>job-title</code> - Job title</li>\n<li><code>emails</code> - Array of emails</li>\n<li><code>contact-details</code> - An array of objects representing the phone number. Phone numbers must contain at least 7 digits.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"contact-details\": [\n  {\n    \"number\": \"12234556\",\n    \"label\": \"cell\",\n    \"id\": \"55\"\n  },\n  {\n    \"number\": \"12222222\",\n    \"label\": \"work\",\n    \"id\": \"56\"\n  }\n]\n</code></pre><p>Flags:</p>\n<ul>\n<li><code>otp-enabled</code> - Whether the user has MFA enabled or not</li>\n<li><code>online</code> - Whether the user is currently online or not</li>\n<li><code>last-seen-utc</code> - When was the user last time online</li>\n<li><code>is-org-admin</code> - Organization admin have more permissions</li>\n<li><code>is-certified</code> - Certified users can create new rooms</li>\n<li><code>workspaces-flag-enabled</code> - Workspace user</li>\n<li><code>active</code> - Inactive users cannot log in</li>\n</ul>\n","_postman_id":"5572c7a0-2d81-45ab-9dd1-5f7ae52b533c"},{"name":"Rooms","item":[{"name":"List, Create, Update, Delete","item":[{"name":"Get all rooms","id":"2b688ac9-1404-456c-a882-4b891668f788","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/rooms?page[number]=1&page[size]=25&filter[state]=open","description":"<p>Returns the list of all rooms <strong>the current user is invited to</strong>.</p>\n<h5 id=\"filters\">Filters</h5>\n<ul>\n<li><strong>bookmarked</strong>: Favorite deals. Can take values <code>true</code> or <code>false</code>.</li>\n<li><strong>search_term</strong>: A string containing terms to search</li>\n<li><strong>state</strong>: Active/inactive deals. Can take values <ul>\n<li><code>\"open\"</code> for active deals</li>\n<li><code>\"closed\"</code> for inactive deals</li>\n</ul>\n</li>\n<li><strong>room_type</strong>:<ul>\n<li><code>\"real_estate_-_acquisition\"</code> for Real Estate - Acquisition</li>\n<li><code>\"real_estate_-_refinance\"</code> for Real Estate - Refinance</li>\n<li><code>\"real_estate_-_development\"</code> for Real Estate - Development</li>\n<li><code>\"real_estate_-_asset_management\"</code> for Real Estate - Asset Management.</li>\n<li><code>\"real_estate_-_leasing\"</code> for Real Estate - Leasing</li>\n<li><code>\"real_estate_-_syndication\"</code> for Real Estate - Syndication</li>\n<li><code>\"real_estate_-_leasehold\"</code> for Real Estate - Leasehold</li>\n<li><code>\"real_estate_-_other\"</code> for Real Estate - Other</li>\n<li><code>\"energy\"</code> for Energy</li>\n<li><code>\"infrastructure\"</code> for Infrastructure</li>\n<li><code>\"aviation\"</code> for Aviation</li>\n<li><code>\"corporate\"</code> for Corporate</li>\n<li><code>\"litigation\"</code> for Litigation</li>\n<li><code>\"litigation_financing\"</code> for Litigation Financing</li>\n<li><code>\"other\"</code> for Other</li>\n</ul>\n</li>\n<li><strong>building_type</strong>: Asset type<ul>\n<li><code>\"Hospitality\"</code></li>\n<li><code>\"Industrial\"</code></li>\n<li><code>\"Land\"</code></li>\n<li><code>\"Mixed-Use\"</code></li>\n<li><code>\"Multifamily\"</code></li>\n<li><code>\"Office\"</code></li>\n<li><code>\"Retail\"</code></li>\n<li><code>\"Self-Storage\"</code></li>\n<li><code>\"Single Family Home\"</code></li>\n<li><code>\"Specialty Use\"</code></li>\n<li><code>\"Student Housing\"</code></li>\n</ul>\n</li>\n<li><strong>meta_{metadata-field}</strong>: A string containing the metadata value to match. Eg. for a metadata field named <code>external_id</code> we can use <code>filter[meta_external_id]=123456</code>.</li>\n<li><strong>workspace_id</strong>: Integer, ID of the workspace.</li>\n</ul>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>organization</code></li>\n<li><code>creator</code></li>\n<li><code>whitelisted_organizations</code></li>\n<li><code>parties</code> (teams)</li>\n<li><code>workspace</code></li>\n</ul>\n<p>By default, if nothing is specified, teams are included. However, if the <code>include</code> parameter is added, then <strong>only the specified entities are included</strong>.</p>\n","urlObject":{"path":["api","v2","rooms"],"host":["http://localhost:4000/"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"},{"key":"filter[state]","value":"open"}],"variable":[]}},"response":[{"id":"14ac3f52-0251-44c3-bc8c-92d0d98dff8a","name":"Filtered by metadata","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/rooms?filter[meta_external_id]=1234","host":["http://localhost:4000/"],"path":["api","v2","rooms"],"query":[{"key":"filter[meta_external_id]","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"2634"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"included\": [\n    {\n      \"type\": \"team\",\n      \"id\": \"7\",\n      \"attributes\": {\n        \"type-name\": \"Other\",\n        \"role-id\": null,\n        \"name\": \"Capital Bancshares 1\",\n        \"abbreviation\": \"O\"\n      }\n    }\n  ],\n  \"data\": {\n    \"type\": \"room\",\n    \"relationships\": {\n      \"parties\": {\n        \"data\": [\n          {\n            \"type\": \"team\",\n            \"id\": \"7\"\n          }\n        ]\n      },\n      \"creator\": {\n        \"data\": {\n          \"type\": \"user\",\n          \"id\": \"1\"\n        }\n      }\n    },\n    \"meta\": {\n      \"link\": \"https://prodeal360.com/dashboard/3\"\n    },\n    \"id\": \"3\",\n    \"attributes\": {\n      \"construction-loan-amount\": null,\n      \"lender\": null,\n      \"agent-1031\": null,\n      \"co-insurance-1-title-number\": null,\n      \"mortgage-broker\": null,\n      \"custom-column-label\": \"Custom\",\n      \"co-insurance-percentage\": null,\n      \"seller-counsel\": null,\n      \"actual-close-date\": null,\n      \"additional-information\": null,\n      \"co-insurance-1-percentage\": null,\n      \"co-insurance-2-underwriter-name\": null,\n      \"building-type\": null,\n      \"advisor\": null,\n      \"user-team-abbreviation\": null,\n      \"co-insurance-1-underwriter-name\": null,\n      \"metadata\": {\n        \"external_id\": \"666\"\n      },\n      \"notes-enabled\": true,\n      \"lng\": null,\n      \"lender-counsel\": null,\n      \"co-insurance-3-title-company\": null,\n      \"purchase-amount\": null,\n      \"city\": null,\n      \"room-details-flag-enabled\": false,\n      \"name\": \"Open B\",\n      \"state\": \"open\",\n      \"co-insurance-2-title-policy-number\": null,\n      \"co-insurance-1-title-company\": null,\n      \"purchaser\": null,\n      \"completed-percentage\": 0.0,\n      \"role-id\": null,\n      \"creator-party-id\": null,\n      \"user-team-type\": null,\n      \"co-insurance-1-title-policy-number\": null,\n      \"custom-column-enabled\": true,\n      \"loan-amount\": null,\n      \"mezzanine-loan-amount\": null,\n      \"property-and-casuality-insurance-provider\": null,\n      \"surveyor\": null,\n      \"co-insurance-2-percentage\": null,\n      \"favorite\": null,\n      \"lat\": null,\n      \"total-transaction-amount\": null,\n      \"changelog-enabled\": true,\n      \"address-autocomplete\": null,\n      \"unread-notes-count\": null,\n      \"borrower\": null,\n      \"address\": null,\n      \"other-financing-amount\": null,\n      \"second-mortgage-loan-amount\": null,\n      \"permission-type\": \"open\",\n      \"property-manager\": null,\n      \"lead-title-company\": null,\n      \"room-type\": \"Real Estate - Acquisition\",\n      \"borrower-counsel\": null,\n      \"country\": null,\n      \"user-team-name\": null,\n      \"unseen-changelog-entries-count\": null,\n      \"co-insurance-3-title-number\": null,\n      \"purchaser-counsel\": null,\n      \"seller\": null,\n      \"co-insurance-3-percentage\": null,\n      \"nick-name\": null,\n      \"co-insurance-2-title-number\": null,\n      \"unread-docs-count\": null,\n      \"estimated-close-date\": null,\n      \"title-number\": null,\n      \"prodeal-number\": \"D-000-0003\",\n      \"underwriter-name\": null,\n      \"title-policy-number\": null,\n      \"investment-sales-broker\": null,\n      \"notes\": null,\n      \"engineer\": null,\n      \"zip-code\": null,\n      \"flood-insurance-provider\": null,\n      \"appraiser\": null,\n      \"co-insurance-2-title-company\": null,\n      \"co-insurance-3-underwriter-name\": null,\n      \"co-insurance-3-title-policy-number\": null,\n      \"folders-inbox-enabled\": false\n    }\n  }\n}"},{"id":"401d4c40-5c4f-44d2-9029-e27430d8eb8d","name":"All open rooms","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/rooms?page[number]=1&page[size]=25&filter[state]=open","host":["http://localhost:4000/"],"path":["api","v2","rooms"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"},{"key":"filter[state]","value":"open"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"7509"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"links\": {\n    \"self\": \"/api/v2/rooms?filter[bookmarked]=false&filter[state]=open&page[number]=1&page[size]=10\"\n  },\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"included\": [{\n    \"type\": \"team\",\n    \"id\": \"1\",\n    \"attributes\": {\n      \"type-name\": \"Buyer\",\n      \"role-id\": \"host_admin\",\n      \"name\": \"Capital Bancshares\",\n      \"abbreviation\": \"CBA\"\n    }\n  }, {\n    \"type\": \"team\",\n    \"id\": \"2\",\n    \"attributes\": {\n      \"type-name\": \"Buyer\",\n      \"role-id\": \"host_admin\",\n      \"name\": \"Capital Bancshares\",\n      \"abbreviation\": \"CBA\"\n    }\n  }, {\n    \"type\": \"team\",\n    \"id\": \"3\",\n    \"attributes\": {\n      \"type-name\": \"Seller\",\n      \"role-id\": \"admin\",\n      \"name\": \"Trustcorp Financial\",\n      \"abbreviation\": \"TFI\"\n    }\n  }, {\n    \"type\": \"team\",\n    \"id\": \"4\",\n    \"attributes\": {\n      \"type-name\": \"Seller\",\n      \"role-id\": \"admin\",\n      \"name\": \"Trustcorp Financial\",\n      \"abbreviation\": \"TFI\"\n    }\n  }, {\n    \"type\": \"team\",\n    \"id\": \"5\",\n    \"attributes\": {\n      \"type-name\": \"Other\",\n      \"role-id\": \"guest\",\n      \"name\": \"Azure Trust\",\n      \"abbreviation\": \"AZT\"\n    }\n  }, {\n    \"type\": \"team\",\n    \"id\": \"6\",\n    \"attributes\": {\n      \"type-name\": \"Other\",\n      \"role-id\": \"guest\",\n      \"name\": \"Azure Trust\",\n      \"abbreviation\": \"AZT\"\n    }\n  }],\n  \"data\": [{\n    \"type\": \"room\",\n    \"relationships\": {\n      \"workspace\": {\n        \"data\": null\n      },\n      \"parties\": {\n        \"data\": [{\n          \"type\": \"team\",\n          \"id\": \"2\"\n        }, {\n          \"type\": \"team\",\n          \"id\": \"4\"\n        }, {\n          \"type\": \"team\",\n          \"id\": \"6\"\n        }]\n      },\n      \"creator\": {\n        \"data\": {\n          \"type\": \"user\",\n          \"id\": \"3\"\n        }\n      }\n    },\n    \"meta\": {\n      \"link\": \"https://prodeal360.com/dashboard/2\"\n    },\n    \"id\": \"2\",\n    \"attributes\": {\n      \"construction-loan-amount\": null,\n      \"lender\": null,\n      \"agent-1031\": null,\n      \"co-insurance-1-title-number\": null,\n      \"mortgage-broker\": null,\n      \"custom-column-label\": \"Custom\",\n      \"co-insurance-percentage\": null,\n      \"seller-counsel\": null,\n      \"actual-close-date\": null,\n      \"additional-information\": null,\n      \"co-insurance-1-percentage\": null,\n      \"co-insurance-2-underwriter-name\": null,\n      \"building-type\": null,\n      \"advisor\": null,\n      \"user-team-abbreviation\": null,\n      \"co-insurance-1-underwriter-name\": null,\n      \"metadata\": {},\n      \"notes-enabled\": true,\n      \"lng\": null,\n      \"lender-counsel\": null,\n      \"co-insurance-3-title-company\": null,\n      \"purchase-amount\": null,\n      \"city\": \"Manhattan\",\n      \"room-details-flag-enabled\": false,\n      \"name\": \"Confidential Room\",\n      \"state\": \"open\",\n      \"co-insurance-2-title-policy-number\": null,\n      \"co-insurance-1-title-company\": null,\n      \"purchaser\": null,\n      \"completed-percentage\": 0.0,\n      \"role-id\": \"host_admin\",\n      \"creator-party-id\": null,\n      \"user-team-type\": null,\n      \"co-insurance-1-title-policy-number\": null,\n      \"custom-column-enabled\": false,\n      \"loan-amount\": null,\n      \"mezzanine-loan-amount\": null,\n      \"property-and-casuality-insurance-provider\": null,\n      \"surveyor\": null,\n      \"co-insurance-2-percentage\": null,\n      \"favorite\": false,\n      \"lat\": null,\n      \"total-transaction-amount\": null,\n      \"changelog-enabled\": true,\n      \"address-autocomplete\": null,\n      \"unread-notes-count\": 0,\n      \"borrower\": null,\n      \"address\": \"Broadway 1384\",\n      \"other-financing-amount\": null,\n      \"second-mortgage-loan-amount\": null,\n      \"permission-type\": \"confidential\",\n      \"property-manager\": null,\n      \"lead-title-company\": null,\n      \"room-type\": \"Real Estate - Acquisition\",\n      \"borrower-counsel\": null,\n      \"country\": null,\n      \"user-team-name\": null,\n      \"unseen-changelog-entries-count\": null,\n      \"co-insurance-3-title-number\": null,\n      \"purchaser-counsel\": null,\n      \"seller\": null,\n      \"co-insurance-3-percentage\": null,\n      \"nick-name\": null,\n      \"co-insurance-2-title-number\": null,\n      \"unread-docs-count\": 0,\n      \"estimated-close-date\": \"Aug 15, 2017\",\n      \"title-number\": null,\n      \"prodeal-number\": \"D-000-0002\",\n      \"underwriter-name\": null,\n      \"title-policy-number\": null,\n      \"investment-sales-broker\": null,\n      \"notes\": \"Some notes over here.\",\n      \"engineer\": null,\n      \"zip-code\": null,\n      \"flood-insurance-provider\": null,\n      \"appraiser\": null,\n      \"co-insurance-2-title-company\": null,\n      \"co-insurance-3-underwriter-name\": null,\n      \"co-insurance-3-title-policy-number\": null,\n      \"folders-inbox-enabled\": false\n    }\n  }, {\n    \"type\": \"room\",\n    \"relationships\": {\n      \"workspace\": {\n        \"data\": null\n      },\n      \"parties\": {\n        \"data\": [{\n          \"type\": \"team\",\n          \"id\": \"1\"\n        }, {\n          \"type\": \"team\",\n          \"id\": \"3\"\n        }, {\n          \"type\": \"team\",\n          \"id\": \"5\"\n        }]\n      },\n      \"creator\": {\n        \"data\": {\n          \"type\": \"user\",\n          \"id\": \"3\"\n        }\n      }\n    },\n    \"meta\": {\n      \"link\": \"https://prodeal360.com/dashboard/1\"\n    },\n    \"id\": \"1\",\n    \"attributes\": {\n      \"construction-loan-amount\": null,\n      \"lender\": null,\n      \"agent-1031\": null,\n      \"co-insurance-1-title-number\": null,\n      \"mortgage-broker\": null,\n      \"custom-column-label\": \"Custom\",\n      \"co-insurance-percentage\": null,\n      \"seller-counsel\": null,\n      \"actual-close-date\": null,\n      \"additional-information\": null,\n      \"co-insurance-1-percentage\": null,\n      \"co-insurance-2-underwriter-name\": null,\n      \"building-type\": null,\n      \"advisor\": null,\n      \"user-team-abbreviation\": null,\n      \"co-insurance-1-underwriter-name\": null,\n      \"metadata\": {},\n      \"notes-enabled\": true,\n      \"lng\": null,\n      \"lender-counsel\": null,\n      \"co-insurance-3-title-company\": null,\n      \"purchase-amount\": null,\n      \"city\": \"Manhattan\",\n      \"room-details-flag-enabled\": false,\n      \"name\": \"Open Room\",\n      \"state\": \"open\",\n      \"co-insurance-2-title-policy-number\": null,\n      \"co-insurance-1-title-company\": null,\n      \"purchaser\": null,\n      \"completed-percentage\": 0,\n      \"role-id\": \"host_admin\",\n      \"creator-party-id\": null,\n      \"user-team-type\": null,\n      \"co-insurance-1-title-policy-number\": null,\n      \"custom-column-enabled\": false,\n      \"loan-amount\": null,\n      \"mezzanine-loan-amount\": null,\n      \"property-and-casuality-insurance-provider\": null,\n      \"surveyor\": null,\n      \"co-insurance-2-percentage\": null,\n      \"favorite\": false,\n      \"lat\": null,\n      \"total-transaction-amount\": null,\n      \"changelog-enabled\": true,\n      \"address-autocomplete\": null,\n      \"unread-notes-count\": 0,\n      \"borrower\": null,\n      \"address\": \"Broadway 1384\",\n      \"other-financing-amount\": null,\n      \"second-mortgage-loan-amount\": null,\n      \"permission-type\": \"open\",\n      \"property-manager\": null,\n      \"lead-title-company\": null,\n      \"room-type\": \"Real Estate - Acquisition\",\n      \"borrower-counsel\": null,\n      \"country\": null,\n      \"user-team-name\": null,\n      \"unseen-changelog-entries-count\": null,\n      \"co-insurance-3-title-number\": null,\n      \"purchaser-counsel\": null,\n      \"seller\": null,\n      \"co-insurance-3-percentage\": null,\n      \"nick-name\": null,\n      \"co-insurance-2-title-number\": null,\n      \"unread-docs-count\": 0,\n      \"estimated-close-date\": \"Aug 15, 2017\",\n      \"title-number\": null,\n      \"prodeal-number\": \"D-000-0001\",\n      \"underwriter-name\": null,\n      \"title-policy-number\": null,\n      \"investment-sales-broker\": null,\n      \"notes\": \"Some notes over here.\",\n      \"engineer\": null,\n      \"zip-code\": null,\n      \"flood-insurance-provider\": null,\n      \"appraiser\": null,\n      \"co-insurance-2-title-company\": null,\n      \"co-insurance-3-underwriter-name\": null,\n      \"co-insurance-3-title-policy-number\": null,\n      \"folders-inbox-enabled\": false\n    }\n  }]\n}"},{"id":"8662143d-2dd6-41f1-92e8-90f8cf227616","name":"Filtered by workspace_id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/rooms?page[number]=1&page[size]=25&filter[state]=open&filter[workspace_id]=1","host":["http://localhost:4000/"],"path":["api","v2","rooms"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"},{"key":"filter[state]","value":"open"},{"key":"filter[workspace_id]","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"2696"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/rooms?filter[state]=open&filter[workspace_id]=1&page[number]=1&page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"team\",\n            \"id\": \"7\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"role-id\": \"host_admin\",\n                \"name\": \"Trustcorp Financial 2\",\n                \"abbreviation\": \"O\"\n            }\n        }\n    ],\n    \"data\": [\n        {\n            \"type\": \"room\",\n            \"relationships\": {\n                \"workspace\": {\n                    \"data\": {\n                        \"type\": \"workspace\",\n                        \"id\": \"1\"\n                    }\n                },\n                \"parties\": {\n                    \"data\": [\n                        {\n                            \"type\": \"team\",\n                            \"id\": \"7\"\n                        }\n                    ]\n                },\n                \"creator\": {\n                    \"data\": {\n                        \"type\": \"user\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"meta\": {\n                \"link\": \"http://localhost:4000/dashboard/3\"\n            },\n            \"id\": \"3\",\n            \"attributes\": {\n                \"construction-loan-amount\": null,\n                \"lender\": null,\n                \"agent-1031\": null,\n                \"co-insurance-1-title-number\": null,\n                \"mortgage-broker\": null,\n                \"custom-column-label\": \"Custom\",\n                \"co-insurance-percentage\": null,\n                \"seller-counsel\": null,\n                \"actual-close-date\": null,\n                \"additional-information\": null,\n                \"co-insurance-1-percentage\": null,\n                \"co-insurance-2-underwriter-name\": null,\n                \"building-type\": null,\n                \"advisor\": null,\n                \"user-team-abbreviation\": null,\n                \"co-insurance-1-underwriter-name\": null,\n                \"metadata\": {},\n                \"notes-enabled\": true,\n                \"lng\": null,\n                \"lender-counsel\": null,\n                \"co-insurance-3-title-company\": null,\n                \"purchase-amount\": null,\n                \"city\": null,\n                \"room-details-flag-enabled\": false,\n                \"name\": \"Soba X\",\n                \"state\": \"open\",\n                \"co-insurance-2-title-policy-number\": null,\n                \"co-insurance-1-title-company\": null,\n                \"purchaser\": null,\n                \"completed-percentage\": 0,\n                \"role-id\": \"host_admin\",\n                \"creator-party-id\": 7,\n                \"user-team-type\": null,\n                \"co-insurance-1-title-policy-number\": null,\n                \"custom-column-enabled\": false,\n                \"loan-amount\": null,\n                \"mezzanine-loan-amount\": null,\n                \"property-and-casuality-insurance-provider\": null,\n                \"surveyor\": null,\n                \"co-insurance-2-percentage\": null,\n                \"favorite\": false,\n                \"lat\": null,\n                \"total-transaction-amount\": null,\n                \"changelog-enabled\": true,\n                \"address-autocomplete\": null,\n                \"unread-notes-count\": 0,\n                \"borrower\": null,\n                \"address\": null,\n                \"other-financing-amount\": null,\n                \"progress-detail\": {\n                    \"percentage\": 0,\n                    \"open\": 230,\n                    \"in_progress\": 0,\n                    \"closed\": 0\n                },\n                \"second-mortgage-loan-amount\": null,\n                \"permission-type\": \"confidential\",\n                \"property-manager\": null,\n                \"lead-title-company\": null,\n                \"room-type\": \"Real Estate - Acquisition\",\n                \"borrower-counsel\": null,\n                \"country\": null,\n                \"user-team-name\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"co-insurance-3-title-number\": null,\n                \"purchaser-counsel\": null,\n                \"seller\": null,\n                \"co-insurance-3-percentage\": null,\n                \"nick-name\": null,\n                \"co-insurance-2-title-number\": null,\n                \"unread-docs-count\": 0,\n                \"estimated-close-date\": null,\n                \"title-number\": null,\n                \"folders-inbox-enabled\": false,\n                \"prodeal-number\": \"D-000-0003\",\n                \"underwriter-name\": null,\n                \"title-policy-number\": null,\n                \"investment-sales-broker\": null,\n                \"notes\": null,\n                \"engineer\": null,\n                \"zip-code\": null,\n                \"flood-insurance-provider\": null,\n                \"appraiser\": null,\n                \"co-insurance-2-title-company\": null,\n                \"co-insurance-3-underwriter-name\": null,\n                \"co-insurance-3-title-policy-number\": null\n            }\n        }\n    ]\n}"},{"id":"ab81c2e7-dec8-4970-8ec6-6d0e766513f2","name":"Get template rooms","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/rooms?page[number]=1&page[size]=25&filter[state]=open&filter[template]=true","host":["http://localhost:4000/"],"path":["api","v2","rooms"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"},{"key":"filter[state]","value":"open"},{"key":"filter[template]","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 16 Feb 2021 10:42:16 GMT"},{"key":"content-length","value":"3696"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0YmAs8whtAAAAB3VzZXJfaWRhAQ.GYuQrqoeYVkZRuuPR2FKzHJy6nF9MoPNoDo27jGi1YE; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"FmQ0XCD-HAAGCgkAACvB"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/rooms?filter[state]=open&filter[template]=true&page[number]=1&page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"organization\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"status-merged-enabled\": false,\n                \"sso-enabled\": false,\n                \"public-email-to-folder-enabled\": false,\n                \"name\": \"Capital Bancshares 1\",\n                \"mfa-required\": false,\n                \"file-counter-enabled\": true,\n                \"domains\": null,\n                \"default\": true\n            }\n        },\n        {\n            \"type\": \"user\",\n            \"relationships\": {\n                \"organization\": {\n                    \"data\": null\n                }\n            },\n            \"id\": \"1\",\n            \"attributes\": {\n                \"workspaces-flag-enabled\": false,\n                \"timezone\": \"US/Eastern\",\n                \"online\": true,\n                \"location\": null,\n                \"last-seen-utc\": \"2021-02-16T10:42:16.803312\",\n                \"last-name\": \"Merritt\",\n                \"job-title\": \"Manager\",\n                \"is-org-admin\": true,\n                \"is-certified\": true,\n                \"full-name\": \"Alvin Merritt\",\n                \"first-name\": \"Alvin\",\n                \"emails\": [\n                    \"user1org1@prodeal360.com\"\n                ],\n                \"contact-details\": null,\n                \"calendar-identifier\": \"Whfp_H8oRQ8TefkQBA6Sah50UVkpnXel3f_tZf4Z\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"8\",\n            \"attributes\": {\n                \"users-count\": null,\n                \"type-name\": \"Other\",\n                \"role-id\": \"host_admin\",\n                \"name\": \"Capital Bancshares 1\",\n                \"is-member\": null,\n                \"invites-count\": null,\n                \"abbreviation\": \"O\"\n            }\n        }\n    ],\n    \"data\": [\n        {\n            \"type\": \"room\",\n            \"relationships\": {\n                \"workspace\": {\n                    \"data\": null\n                },\n                \"whitelisted-organizations\": {\n                    \"data\": []\n                },\n                \"parties\": {\n                    \"data\": [\n                        {\n                            \"type\": \"team\",\n                            \"id\": \"8\"\n                        }\n                    ]\n                },\n                \"organization\": {\n                    \"data\": {\n                        \"type\": \"organization\",\n                        \"id\": \"1\"\n                    }\n                },\n                \"creator\": {\n                    \"data\": {\n                        \"type\": \"user\",\n                        \"id\": \"1\"\n                    }\n                }\n            },\n            \"meta\": {\n                \"link\": \"http://localhost:4000/dashboard/4\"\n            },\n            \"id\": \"4\",\n            \"attributes\": {\n                \"construction-loan-amount\": null,\n                \"lender\": null,\n                \"agent-1031\": null,\n                \"co-insurance-1-title-number\": null,\n                \"mortgage-broker\": null,\n                \"custom-column-label\": \"Custom\",\n                \"co-insurance-percentage\": null,\n                \"documents-watermark-enabled\": false,\n                \"seller-counsel\": null,\n                \"actual-close-date\": null,\n                \"additional-information\": null,\n                \"co-insurance-1-percentage\": null,\n                \"co-insurance-2-underwriter-name\": null,\n                \"building-type\": null,\n                \"advisor\": null,\n                \"user-team-abbreviation\": null,\n                \"co-insurance-1-underwriter-name\": null,\n                \"metadata\": {},\n                \"notes-enabled\": true,\n                \"lng\": null,\n                \"disable-select-all\": false,\n                \"lender-counsel\": null,\n                \"co-insurance-3-title-company\": null,\n                \"purchase-amount\": null,\n                \"city\": null,\n                \"room-details-flag-enabled\": true,\n                \"name\": \"TEMP\",\n                \"state\": \"open\",\n                \"co-insurance-2-title-policy-number\": null,\n                \"co-insurance-1-title-company\": null,\n                \"purchaser\": null,\n                \"completed-percentage\": 0,\n                \"role-id\": \"host_admin\",\n                \"creator-party-id\": 8,\n                \"org-private\": false,\n                \"user-team-type\": null,\n                \"co-insurance-1-title-policy-number\": null,\n                \"custom-column-enabled\": true,\n                \"loan-amount\": null,\n                \"mezzanine-loan-amount\": null,\n                \"property-and-casuality-insurance-provider\": null,\n                \"surveyor\": null,\n                \"co-insurance-2-percentage\": null,\n                \"favorite\": false,\n                \"lat\": null,\n                \"total-transaction-amount\": null,\n                \"changelog-enabled\": true,\n                \"address-autocomplete\": null,\n                \"unread-notes-count\": 0,\n                \"borrower\": null,\n                \"address\": null,\n                \"other-financing-amount\": null,\n                \"progress-detail\": {\n                    \"percentage\": 0,\n                    \"open\": 1,\n                    \"in_progress\": 0,\n                    \"closed\": 0\n                },\n                \"second-mortgage-loan-amount\": null,\n                \"permission-type\": \"confidential\",\n                \"property-manager\": null,\n                \"lead-title-company\": null,\n                \"room-type\": \"Other\",\n                \"borrower-counsel\": null,\n                \"country\": null,\n                \"user-team-name\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"co-insurance-3-title-number\": null,\n                \"purchaser-counsel\": null,\n                \"seller\": null,\n                \"co-insurance-3-percentage\": null,\n                \"nick-name\": null,\n                \"co-insurance-2-title-number\": null,\n                \"unread-docs-count\": 0,\n                \"template\": true,\n                \"estimated-close-date\": null,\n                \"title-number\": null,\n                \"folders-inbox-enabled\": true,\n                \"prodeal-number\": \"D-000-0004\",\n                \"underwriter-name\": null,\n                \"title-policy-number\": null,\n                \"documents-watermark-text\": null,\n                \"investment-sales-broker\": null,\n                \"created-at-utc\": \"2021-02-16T10:41:22.351480\",\n                \"notes\": null,\n                \"engineer\": null,\n                \"zip-code\": null,\n                \"flood-insurance-provider\": null,\n                \"appraiser\": null,\n                \"co-insurance-2-title-company\": null,\n                \"co-insurance-3-underwriter-name\": null,\n                \"co-insurance-3-title-policy-number\": null\n            }\n        }\n    ]\n}"},{"id":"f52a007a-7468-4289-9751-8aa6053e6617","name":"Fltered by workspace_id null, included creator and teams","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/rooms?page[number]=1&page[size]=25&filter[state]=open&filter[workspace_id]=null&include=creator,parties","host":["http://localhost:4000/"],"path":["api","v2","rooms"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"},{"key":"filter[state]","value":"open"},{"key":"filter[workspace_id]","value":"null"},{"key":"include","value":"creator,parties"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"5980"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/rooms?filter[state]=open&filter[workspace_id]=null&page[number]=1&page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n    \t{\n            \"type\": \"user\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"workspaces-flag-enabled\": false,\n                \"timezone\": \"US/Eastern\",\n                \"online\": true,\n                \"location\": null,\n                \"last-seen-utc\": \"2020-06-22T21:51:24.082309\",\n                \"last-name\": \"Doe\",\n                \"job-title\": \"\",\n                \"is-org-admin\": true,\n                \"is-certified\": true,\n                \"full-name\": \"John Doe\",\n                \"first-name\": \"John\",\n                \"emails\": [\n                    \"user@prodeal360.com\"\n                ]\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"type-name\": \"Buyer\",\n                \"role-id\": \"host_admin\",\n                \"name\": \"Capital Bancshares\",\n                \"abbreviation\": \"CBA\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"type-name\": \"Buyer\",\n                \"role-id\": \"host_admin\",\n                \"name\": \"Capital Bancshares\",\n                \"abbreviation\": \"CBA\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"type-name\": \"Seller\",\n                \"role-id\": \"admin\",\n                \"name\": \"Trustcorp Financial\",\n                \"abbreviation\": \"TFI\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"4\",\n            \"attributes\": {\n                \"type-name\": \"Seller\",\n                \"role-id\": \"admin\",\n                \"name\": \"Trustcorp Financial\",\n                \"abbreviation\": \"TFI\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"5\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"role-id\": \"guest\",\n                \"name\": \"Azure Trust\",\n                \"abbreviation\": \"AZT\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"6\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"role-id\": \"guest\",\n                \"name\": \"Azure Trust\",\n                \"abbreviation\": \"AZT\"\n            }\n        }\n    ],\n    \"data\": [\n        {\n            \"type\": \"room\",\n            \"relationships\": {\n                \"workspace\": {\n                    \"data\": null\n                },\n                \"whitelisted-organizations\": {},\n                \"parties\": {},\n                \"organization\": {\n                    \"data\": {\n                        \"type\": \"organization\",\n                        \"id\": \"1\"\n                    }\n                },\n                \"creator\": {\n                    \"data\": {\n                        \"type\": \"user\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"meta\": {\n                \"link\": \"http://localhost:4000/dashboard/2\"\n            },\n            \"id\": \"2\",\n            \"attributes\": {\n                \"construction-loan-amount\": null,\n                \"lender\": null,\n                \"agent-1031\": null,\n                \"co-insurance-1-title-number\": null,\n                \"mortgage-broker\": null,\n                \"custom-column-label\": \"Custom\",\n                \"co-insurance-percentage\": null,\n                \"seller-counsel\": null,\n                \"actual-close-date\": null,\n                \"additional-information\": null,\n                \"co-insurance-1-percentage\": null,\n                \"co-insurance-2-underwriter-name\": null,\n                \"building-type\": null,\n                \"advisor\": null,\n                \"user-team-abbreviation\": null,\n                \"co-insurance-1-underwriter-name\": null,\n                \"metadata\": {},\n                \"notes-enabled\": true,\n                \"lng\": null,\n                \"lender-counsel\": null,\n                \"co-insurance-3-title-company\": null,\n                \"purchase-amount\": null,\n                \"city\": \"Manhattan\",\n                \"room-details-flag-enabled\": false,\n                \"name\": \"Confidential Room\",\n                \"state\": \"open\",\n                \"co-insurance-2-title-policy-number\": null,\n                \"co-insurance-1-title-company\": null,\n                \"purchaser\": null,\n                \"completed-percentage\": 0,\n                \"role-id\": \"host_admin\",\n                \"creator-party-id\": null,\n                \"user-team-type\": null,\n                \"co-insurance-1-title-policy-number\": null,\n                \"custom-column-enabled\": false,\n                \"loan-amount\": null,\n                \"mezzanine-loan-amount\": null,\n                \"property-and-casuality-insurance-provider\": null,\n                \"surveyor\": null,\n                \"co-insurance-2-percentage\": null,\n                \"favorite\": false,\n                \"lat\": null,\n                \"total-transaction-amount\": null,\n                \"changelog-enabled\": true,\n                \"address-autocomplete\": null,\n                \"unread-notes-count\": 0,\n                \"borrower\": null,\n                \"address\": \"Broadway 1384\",\n                \"other-financing-amount\": null,\n                \"progress-detail\": {\n                    \"percentage\": 0,\n                    \"open\": 0,\n                    \"in_progress\": 0,\n                    \"closed\": 0\n                },\n                \"second-mortgage-loan-amount\": null,\n                \"permission-type\": \"confidential\",\n                \"property-manager\": null,\n                \"lead-title-company\": null,\n                \"room-type\": \"Real Estate - Acquisition\",\n                \"borrower-counsel\": null,\n                \"country\": null,\n                \"user-team-name\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"co-insurance-3-title-number\": null,\n                \"purchaser-counsel\": null,\n                \"seller\": null,\n                \"co-insurance-3-percentage\": null,\n                \"nick-name\": null,\n                \"co-insurance-2-title-number\": null,\n                \"unread-docs-count\": 0,\n                \"estimated-close-date\": \"Aug 15, 2017\",\n                \"title-number\": null,\n                \"folders-inbox-enabled\": false,\n                \"prodeal-number\": \"D-000-0002\",\n                \"underwriter-name\": null,\n                \"title-policy-number\": null,\n                \"investment-sales-broker\": null,\n                \"created-at-utc\": \"2020-03-02T09:20:49.402857\",\n                \"notes\": \"Some notes over here.\",\n                \"engineer\": null,\n                \"zip-code\": null,\n                \"flood-insurance-provider\": null,\n                \"appraiser\": null,\n                \"co-insurance-2-title-company\": null,\n                \"co-insurance-3-underwriter-name\": null,\n                \"co-insurance-3-title-policy-number\": null\n            }\n        },\n        {\n            \"type\": \"room\",\n            \"relationships\": {\n                \"workspace\": {\n                    \"data\": null\n                },\n                \"parties\": {\n                    \"data\": [\n                        {\n                            \"type\": \"team\",\n                            \"id\": \"1\"\n                        },\n                        {\n                            \"type\": \"team\",\n                            \"id\": \"3\"\n                        },\n                        {\n                            \"type\": \"team\",\n                            \"id\": \"5\"\n                        }\n                    ]\n                },\n                \"whitelisted-organizations\": {},\n                \"organization\": {\n                    \"data\": {\n                        \"type\": \"organization\",\n                        \"id\": \"1\"\n                    }\n                },\n                \"creator\": {\n                    \"data\": {\n                        \"type\": \"user\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"meta\": {\n                \"link\": \"http://localhost:4000/dashboard/1\"\n            },\n            \"id\": \"1\",\n            \"attributes\": {\n                \"construction-loan-amount\": null,\n                \"lender\": null,\n                \"agent-1031\": null,\n                \"co-insurance-1-title-number\": null,\n                \"mortgage-broker\": null,\n                \"custom-column-label\": \"Custom\",\n                \"co-insurance-percentage\": null,\n                \"seller-counsel\": null,\n                \"actual-close-date\": null,\n                \"additional-information\": null,\n                \"co-insurance-1-percentage\": null,\n                \"co-insurance-2-underwriter-name\": null,\n                \"building-type\": null,\n                \"advisor\": null,\n                \"user-team-abbreviation\": null,\n                \"co-insurance-1-underwriter-name\": null,\n                \"metadata\": {},\n                \"notes-enabled\": true,\n                \"lng\": null,\n                \"lender-counsel\": null,\n                \"co-insurance-3-title-company\": null,\n                \"purchase-amount\": null,\n                \"city\": \"Manhattan\",\n                \"room-details-flag-enabled\": false,\n                \"name\": \"Open Room\",\n                \"state\": \"open\",\n                \"co-insurance-2-title-policy-number\": null,\n                \"co-insurance-1-title-company\": null,\n                \"purchaser\": null,\n                \"completed-percentage\": 0,\n                \"role-id\": \"host_admin\",\n                \"creator-party-id\": null,\n                \"user-team-type\": null,\n                \"co-insurance-1-title-policy-number\": null,\n                \"custom-column-enabled\": false,\n                \"loan-amount\": null,\n                \"mezzanine-loan-amount\": null,\n                \"property-and-casuality-insurance-provider\": null,\n                \"surveyor\": null,\n                \"co-insurance-2-percentage\": null,\n                \"favorite\": false,\n                \"lat\": null,\n                \"total-transaction-amount\": null,\n                \"changelog-enabled\": true,\n                \"address-autocomplete\": null,\n                \"unread-notes-count\": 0,\n                \"borrower\": null,\n                \"address\": \"Broadway 1384\",\n                \"other-financing-amount\": null,\n                \"progress-detail\": {\n                    \"percentage\": 0,\n                    \"open\": 0,\n                    \"in_progress\": 0,\n                    \"closed\": 0\n                },\n                \"second-mortgage-loan-amount\": null,\n                \"permission-type\": \"open\",\n                \"property-manager\": null,\n                \"lead-title-company\": null,\n                \"room-type\": \"Real Estate - Acquisition\",\n                \"borrower-counsel\": null,\n                \"country\": null,\n                \"user-team-name\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"co-insurance-3-title-number\": null,\n                \"purchaser-counsel\": null,\n                \"seller\": null,\n                \"co-insurance-3-percentage\": null,\n                \"nick-name\": null,\n                \"co-insurance-2-title-number\": null,\n                \"unread-docs-count\": 0,\n                \"estimated-close-date\": \"Aug 15, 2017\",\n                \"title-number\": null,\n                \"folders-inbox-enabled\": false,\n                \"prodeal-number\": \"D-000-0001\",\n                \"underwriter-name\": null,\n                \"title-policy-number\": null,\n                \"investment-sales-broker\": null,\n                \"created-at-utc\": \"2020-03-02T09:20:49.395172\",\n                \"notes\": \"Some notes over here.\",\n                \"engineer\": null,\n                \"zip-code\": null,\n                \"flood-insurance-provider\": null,\n                \"appraiser\": null,\n                \"co-insurance-2-title-company\": null,\n                \"co-insurance-3-underwriter-name\": null,\n                \"co-insurance-3-title-policy-number\": null\n            }\n        }\n    ]\n}"}],"_postman_id":"2b688ac9-1404-456c-a882-4b891668f788"},{"name":"Get all organization rooms","id":"69893a0f-b4ba-4942-8ded-f2240dd82a4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/organization/rooms?page[number]=1&page[size]=25","description":"<p>The list of all rooms that belong to the user's organization together with all rooms organization members are invited to.</p>\n<h5 id=\"filters\">Filters</h5>\n<ul>\n<li><strong>bookmarked</strong>: Favorite deals. Can take values <code>true</code> or <code>false</code>.</li>\n<li><strong>search_term</strong>: A string containing terms to search</li>\n<li><strong>state</strong>: Active/inactive deals. Can take values <ul>\n<li><code>\"open\"</code> for active deals</li>\n<li><code>\"closed\"</code> for inactive deals</li>\n</ul>\n</li>\n<li><strong>room_type</strong>: for rooms that have specific type. List of available labels can be fetched via <code>api/v2/room-types</code></li>\n<li><strong>building_type</strong>: Asset type<ul>\n<li><code>\"Hospitality\"</code></li>\n<li><code>\"Industrial\"</code></li>\n<li><code>\"Land\"</code></li>\n<li><code>\"Mixed-Use\"</code></li>\n<li><code>\"Multifamily\"</code></li>\n<li><code>\"Office\"</code></li>\n<li><code>\"Retail\"</code></li>\n<li><code>\"Self-Storage\"</code></li>\n<li><code>\"Single Family Home\"</code></li>\n<li><code>\"Specialty Use\"</code></li>\n<li><code>\"Student Housing\"</code></li>\n</ul>\n</li>\n<li><strong>meta_{metadata-field}</strong>: A string containing the metadata value to match. Eg. for a metadata field named <code>external_id</code> we can use <code>filter[meta_external_id]=123456</code>.</li>\n<li><strong>workspace_id</strong>: Integer, ID of the workspace.</li>\n</ul>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>organization</code></li>\n<li><code>creator</code></li>\n<li><code>whitelisted_organizations</code></li>\n<li><code>parties</code> (teams)</li>\n<li><code>workspace</code></li>\n</ul>\n<p>By default, if nothing is specified, teams are included. However, if the <code>include</code> parameter is added, then <strong>only the specified entities are included</strong>.</p>\n<h5 id=\"roles-and-permissions\">Roles and Permissions</h5>\n<p>Only Organization admins have permission to use this endpoint.</p>\n","urlObject":{"path":["api","v2","organization","rooms"],"host":["http://localhost:4000/"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"}],"variable":[]}},"response":[{"id":"148bb3fa-1576-450e-9ac4-f85cf6261442","name":"Get organization rooms success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/organization/rooms?page[number]=1&page[size]=25","host":["http://localhost:4000/"],"path":["api","v2","organization","rooms"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 04 Feb 2020 10:20:55 GMT"},{"key":"content-length","value":"355"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2no2nkquaa40gs4r74001be1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/organization/rooms?page[number]=1&page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"room\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"state\": \"open\",\n                \"name\": \"Confidential Room\",\n                \"inserted-at\": \"2020-01-30T10:17:30.250131\"\n            }\n        },\n        {\n            \"type\": \"room\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"state\": \"open\",\n                \"name\": \"Open Room\",\n                \"inserted-at\": \"2020-01-30T10:17:30.242603\"\n            }\n        }\n    ]\n}"}],"_postman_id":"69893a0f-b4ba-4942-8ded-f2240dd82a4d"},{"name":"Get all related organization rooms","id":"a9920e63-adbc-4ccc-b2eb-1ebc97374fa0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/organization/rooms?page[number]=1&page[size]=25","description":"<p>The list of all rooms that belong to the user's organization together with all rooms organization members are invited to.</p>\n<h5 id=\"filters\">Filters</h5>\n<ul>\n<li><strong>bookmarked</strong>: Favorite deals. Can take values <code>true</code> or <code>false</code>.</li>\n<li><strong>search_term</strong>: A string containing terms to search</li>\n<li><strong>state</strong>: Active/inactive deals. Can take values <ul>\n<li><code>\"open\"</code> for active deals</li>\n<li><code>\"closed\"</code> for inactive deals</li>\n</ul>\n</li>\n<li><strong>room_type</strong>: for rooms that have specific type. List of available labels can be fetched via <code>api/v2/room-types</code></li>\n<li><strong>building_type</strong>: Asset type<ul>\n<li><code>\"Hospitality\"</code></li>\n<li><code>\"Industrial\"</code></li>\n<li><code>\"Land\"</code></li>\n<li><code>\"Mixed-Use\"</code></li>\n<li><code>\"Multifamily\"</code></li>\n<li><code>\"Office\"</code></li>\n<li><code>\"Retail\"</code></li>\n<li><code>\"Self-Storage\"</code></li>\n<li><code>\"Single Family Home\"</code></li>\n<li><code>\"Specialty Use\"</code></li>\n<li><code>\"Student Housing\"</code></li>\n</ul>\n</li>\n<li><strong>meta_{metadata-field}</strong>: A string containing the metadata value to match. Eg. for a metadata field named <code>external_id</code> we can use <code>filter[meta_external_id]=123456</code>.</li>\n<li><strong>workspace_id</strong>: Integer, ID of the workspace.</li>\n</ul>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>organization</code></li>\n<li><code>creator</code></li>\n<li><code>whitelisted_organizations</code></li>\n<li><code>parties</code> (teams)</li>\n<li><code>workspace</code></li>\n</ul>\n<p>By default, if nothing is specified, teams are included. However, if the <code>include</code> parameter is added, then <strong>only the specified entities are included</strong>.</p>\n<h5 id=\"roles-and-permissions\">Roles and Permissions</h5>\n<p>Only Organization admins have permission to use this endpoint.</p>\n","urlObject":{"path":["api","v2","organization","rooms"],"host":["http://localhost:4000/"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"}],"variable":[]}},"response":[{"id":"963c4a7d-5539-41f0-9b4c-f7fefe84bcf4","name":"Get organization rooms success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/organization/rooms?page[number]=1&page[size]=25","host":["http://localhost:4000/"],"path":["api","v2","organization","rooms"],"query":[{"key":"page[number]","value":"1"},{"key":"page[size]","value":"25"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 04 Feb 2020 10:20:55 GMT"},{"key":"content-length","value":"355"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2no2nkquaa40gs4r74001be1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/organization/rooms?page[number]=1&page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"room\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"state\": \"open\",\n                \"name\": \"Confidential Room\",\n                \"inserted-at\": \"2020-01-30T10:17:30.250131\"\n            }\n        },\n        {\n            \"type\": \"room\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"state\": \"open\",\n                \"name\": \"Open Room\",\n                \"inserted-at\": \"2020-01-30T10:17:30.242603\"\n            }\n        }\n    ]\n}"}],"_postman_id":"a9920e63-adbc-4ccc-b2eb-1ebc97374fa0"},{"name":"Get all organization rooms stats","id":"9d424c3b-9c1e-4e55-b611-4d10077248bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/organization/rooms/stats","description":"<p>State statistics of all rooms that belong to the user's organization.</p>\n","urlObject":{"path":["api","v2","organization","rooms","stats"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d424c3b-9c1e-4e55-b611-4d10077248bc"},{"name":"Get all rooms stats","id":"ce2a7dae-6ff2-46c3-ad75-4df3893594a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/rooms/stats","description":"<p>State statistics of all rooms where user is member of excluding those of his organization</p>\n","urlObject":{"path":["api","v2","rooms","stats"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce2a7dae-6ff2-46c3-ad75-4df3893594a0"},{"name":"Get room types","id":"33aa4da4-8b37-4027-97e5-f89f886386d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/room-types","urlObject":{"path":["api","v2","room-types"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"4f2ab7f0-620f-4b2c-85b6-340fdbda5f42","name":"Returns room types","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/room-types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"room-type\",\n            \"id\": \"0\",\n            \"attributes\": {\n                \"value\": \"real_estate_-_acquisition\",\n                \"label\": \"Real Estate - Acquisition\",\n                \"id\": 0\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"value\": \"real_estate_-_refinance\",\n                \"label\": \"Real Estate - Refinance\",\n                \"id\": 1\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"value\": \"real_estate_-_development\",\n                \"label\": \"Real Estate - Development\",\n                \"id\": 2\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"value\": \"real_estate_-_asset_management\",\n                \"label\": \"Real Estate - Asset Management\",\n                \"id\": 3\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"4\",\n            \"attributes\": {\n                \"value\": \"real_estate_-_leasing\",\n                \"label\": \"Real Estate - Leasing\",\n                \"id\": 4\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"5\",\n            \"attributes\": {\n                \"value\": \"real_estate_-_syndication\",\n                \"label\": \"Real Estate - Syndication\",\n                \"id\": 5\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"6\",\n            \"attributes\": {\n                \"value\": \"real_estate_-_leasehold\",\n                \"label\": \"Real Estate - Leasehold\",\n                \"id\": 6\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"7\",\n            \"attributes\": {\n                \"value\": \"real_estate_-_other\",\n                \"label\": \"Real Estate - Other\",\n                \"id\": 7\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"8\",\n            \"attributes\": {\n                \"value\": \"energy\",\n                \"label\": \"Energy\",\n                \"id\": 8\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"9\",\n            \"attributes\": {\n                \"value\": \"infrastructure\",\n                \"label\": \"Infrastructure\",\n                \"id\": 9\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"10\",\n            \"attributes\": {\n                \"value\": \"aviation\",\n                \"label\": \"Aviation\",\n                \"id\": 10\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"11\",\n            \"attributes\": {\n                \"value\": \"corporate\",\n                \"label\": \"Corporate\",\n                \"id\": 11\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"12\",\n            \"attributes\": {\n                \"value\": \"litigation\",\n                \"label\": \"Litigation\",\n                \"id\": 12\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"13\",\n            \"attributes\": {\n                \"value\": \"litigation_financing\",\n                \"label\": \"Litigation Financing\",\n                \"id\": 13\n            }\n        },\n        {\n            \"type\": \"room-type\",\n            \"id\": \"14\",\n            \"attributes\": {\n                \"value\": \"other\",\n                \"label\": \"Other\",\n                \"id\": 14\n            }\n        }\n    ]\n}"}],"_postman_id":"33aa4da4-8b37-4027-97e5-f89f886386d7"},{"name":"Get room templates (deprecated)","id":"6f39f5c8-9835-4897-b289-c29add9583b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/room-templates","description":"<p>Returns names and IDs of all available room templates.</p>\n","urlObject":{"path":["api","v2","room-templates"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"8ae8999b-f6dc-4454-a683-8b2dad3d05be","name":"Returns room templates","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/room-templates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"room-template\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"name\": \"Example template 2\"\n            }\n        },\n        {\n            \"type\": \"room-template\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"name\": \"Example template 1\"\n            }\n        }\n    ]\n}"}],"_postman_id":"6f39f5c8-9835-4897-b289-c29add9583b2"},{"name":"Get room","id":"0bb0d33e-80bd-4f82-87af-b97fd911c0c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/rooms/:room_id","description":"<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>organization</code></li>\n<li><code>creator</code></li>\n<li><code>whitelisted_organizations</code></li>\n<li><code>parties</code> (teams)</li>\n<li><code>workspace</code></li>\n</ul>\n<p>By default, if nothing is specified, teams are included. However, if the <code>include</code> parameter is added, then <strong>only the specified entities are included</strong>.</p>\n","urlObject":{"path":["api","v2","rooms",":room_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"c7577a14-c4bc-41d4-ad51-11c26804499c","type":"string","value":"4","key":"room_id"}]}},"response":[{"id":"e3a38f9b-8b06-4b47-8d6b-feb03a479998","name":"Returns a room","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id"],"variable":[{"key":"room_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 04 Apr 2019 13:41:21 GMT"},{"key":"content-length","value":"2528"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2m94ibdhtfqmc90et8001401"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"included\": [\n    {\n      \"type\": \"team\",\n      \"id\": \"2\",\n      \"attributes\": {\n        \"type-name\": \"Buyer\",\n        \"role-id\": \"host_admin\",\n        \"name\": \"Capital Bancshares\",\n        \"is-member\": true,\n        \"abbreviation\": \"CBA\"\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"4\",\n      \"attributes\": {\n        \"type-name\": \"Seller\",\n        \"role-id\": \"admin\",\n        \"name\": \"Trustcorp Financial\",\n        \"is-member\": false,\n        \"abbreviation\": \"TFI\"\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"6\",\n      \"attributes\": {\n        \"type-name\": \"Other\",\n        \"role-id\": \"guest\",\n        \"name\": \"Azure Trust\",\n        \"is-member\": false,\n        \"abbreviation\": \"AZT\"\n      }\n    }\n  ],\n  \"data\": {\n    \"type\": \"room\",\n    \"relationships\": {\n      \"workspace\": {\n        \"data\": null\n      },\n      \"parties\": {\n        \"data\": [\n          {\n            \"type\": \"team\",\n            \"id\": \"2\"\n          },\n          {\n            \"type\": \"team\",\n            \"id\": \"4\"\n          },\n          {\n            \"type\": \"team\",\n            \"id\": \"6\"\n          }\n        ]\n      },\n      \"creator\": {\n        \"data\": {\n          \"type\": \"user\",\n          \"id\": \"3\"\n        }\n      }\n    },\n    \"meta\": {\n      \"link\": \"https://prodeal360.com/dashboard/2\"\n    },\n    \"id\": \"2\",\n    \"attributes\": {\n      \"construction-loan-amount\": null,\n      \"lender\": null,\n      \"agent-1031\": null,\n      \"co-insurance-1-title-number\": null,\n      \"mortgage-broker\": null,\n      \"custom-column-label\": \"Custom\",\n      \"co-insurance-percentage\": null,\n      \"seller-counsel\": null,\n      \"actual-close-date\": null,\n      \"additional-information\": null,\n      \"co-insurance-1-percentage\": null,\n      \"co-insurance-2-underwriter-name\": null,\n      \"building-type\": null,\n      \"advisor\": null,\n      \"user-team-abbreviation\": \"CBA\",\n      \"co-insurance-1-underwriter-name\": null,\n      \"metadata\": {},\n      \"notes-enabled\": true,\n      \"lng\": null,\n      \"lender-counsel\": null,\n      \"co-insurance-3-title-company\": null,\n      \"purchase-amount\": null,\n      \"city\": \"Manhattan\",\n      \"room-details-flag-enabled\": false,\n      \"name\": \"Confidential Room\",\n      \"state\": \"open\",\n      \"co-insurance-2-title-policy-number\": null,\n      \"co-insurance-1-title-company\": null,\n      \"purchaser\": null,\n      \"completed-percentage\": 0.0,\n      \"role-id\": \"host_admin\",\n      \"creator-party-id\": null,\n      \"user-team-type\": \"Buyer\",\n      \"co-insurance-1-title-policy-number\": null,\n      \"custom-column-enabled\": false,\n      \"loan-amount\": null,\n      \"mezzanine-loan-amount\": null,\n      \"property-and-casuality-insurance-provider\": null,\n      \"surveyor\": null,\n      \"co-insurance-2-percentage\": null,\n      \"favorite\": false,\n      \"lat\": null,\n      \"total-transaction-amount\": null,\n      \"changelog-enabled\": true,\n      \"address-autocomplete\": null,\n      \"unread-notes-count\": 0,\n      \"borrower\": null,\n      \"address\": \"Broadway 1384\",\n      \"other-financing-amount\": null,\n      \"second-mortgage-loan-amount\": null,\n      \"permission-type\": \"confidential\",\n      \"property-manager\": null,\n      \"lead-title-company\": null,\n      \"room-type\": \"Real Estate - Acquisition\",\n      \"borrower-counsel\": null,\n      \"country\": null,\n      \"user-team-name\": \"Capital Bancshares\",\n      \"unseen-changelog-entries-count\": 1,\n      \"co-insurance-3-title-number\": null,\n      \"purchaser-counsel\": null,\n      \"seller\": null,\n      \"co-insurance-3-percentage\": null,\n      \"nick-name\": null,\n      \"co-insurance-2-title-number\": null,\n      \"unread-docs-count\": 0,\n      \"estimated-close-date\": \"Aug 15, 2017\",\n      \"title-number\": null,\n      \"prodeal-number\": \"D-000-0002\",\n      \"underwriter-name\": null,\n      \"title-policy-number\": null,\n      \"investment-sales-broker\": null,\n      \"notes\": \"Some notes over here.\",\n      \"engineer\": null,\n      \"zip-code\": null,\n      \"flood-insurance-provider\": null,\n      \"appraiser\": null,\n      \"co-insurance-2-title-company\": null,\n      \"co-insurance-3-underwriter-name\": null,\n      \"co-insurance-3-title-policy-number\": null,\n      \"folders-inbox-enabled\": false\n    }\n  }\n}"}],"_postman_id":"0bb0d33e-80bd-4f82-87af-b97fd911c0c8"},{"name":"Create room","id":"23136622-3f46-44ab-ae73-281a32065e31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"attributes\":{  \n         \"name\":\"My new data room\",\n         \"changelog-enabled\":true,\n         \"notes-enabled\":true,\n         \"custom-column-enabled\":true,\n         \"custom-column-label\":\"Custom\",\n         \"document-restrictions\":\"restricted_visible\",\n         \"room-type\":\"real_estate_-_acquisition\",\n         \"actual-close-date\": \"2019-10-10\",\n         \"total-transaction-amount\": 100000,\n         \"metadata\": {\n           \"any_meta_field\": \"meta value\"\n         },\n         \"folders_inbox_enabled\": false\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/rooms","description":"<h5 id=\"required-fields\">Required Fields</h5>\n<ul>\n<li><code>name</code>: The name of the room. (255 characters max)</li>\n<li><code>document-restrictions</code>: Checklist access management. Can take the next values:<ul>\n<li><code>no_restrictions</code> for <code>Open Room</code></li>\n<li><code>restricted_invisible</code> for <code>Confidential Room</code> (default)</li>\n</ul>\n</li>\n</ul>\n<p>In open rooms, everyone can see every document. In confidential rooms, team access can be set later. <strong>Checklist access management can be set only once, during the room creation, and cannot be changed later.</strong></p>\n<ul>\n<li><code>room-type</code>: The Room type. Can take the next values:<ul>\n<li><code>real_estate_-_acquisition</code> for <code>Real Estate - Acquisition</code></li>\n<li><code>real_estate_-_refinance</code> for <code>Real Estate - Refinance</code></li>\n<li><code>real_estate_-_development</code> for <code>Real Estate - Development</code></li>\n<li><code>real_estate_-_asset_management</code> for <code>Real Estate - Asset Management</code></li>\n<li><code>real_estate_-_leasing</code> for <code>Real Estate - Leasing</code></li>\n<li><code>real_estate_-_syndication</code> for <code>Real Estate - Syndication</code></li>\n<li><code>real_estate_-_refinance</code> for <code>Real Estate - Leasehold</code>  </li>\n<li><code>real_estate_-_syndication</code> for <code>Real Estate - Financing/Refinancing</code></li>\n<li><code>   real_estate_-_disposition</code> for <code>Real Estate - Disposition</code></li>\n<li><code>real_estate_-_other</code> for <code>Real Estate - Other</code></li>\n<li><code>energy</code> for <code>Energy</code></li>\n<li><code>infrastructure</code> for <code>Infrastructure</code></li>\n<li><code>aviation</code> for <code>Aviation</code></li>\n<li><code>corporate</code> for <code>Corporate</code></li>\n<li><code>litigation</code> for <code>Litigation</code></li>\n<li><code>litigation_financing</code> for <code>Litigation Financing</code></li>\n<li><code>other</code> for <code>Other</code></li>\n</ul>\n</li>\n</ul>\n<h5 id=\"optional-fields\">Optional fields</h5>\n<p>All other fields explained in the <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#43d9141c-383d-4694-9cf3-51637b1fe7cc\">room definition</a> can also be set while creating the room</p>\n<p><strong>Note:</strong> There are limitations on certain fields: </p>\n<ul>\n<li>Custom column label can have max 20 characters</li>\n<li>Watermark text has can have 50 characters</li>\n<li>Total transaction amount cannot be higher than 999,999,999,999.</li>\n</ul>\n<h5 id=\"metadata\">Metadata</h5>\n<p>The metadata attribute is an object that contains the fields in a key/value way. </p>\n<p>Keys are custom and can be anything you want. But they <strong>must start with a letter, followed by letters, numbers, dashes and underscores</strong>.</p>\n<p>Values cannot be null, all the keys with null values will be ignored.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"data\": {\n    \"type\": \"room\",\n    \"attributes\": {\n        \"name\": \"Room name\",\n        \"room-type\": \"real_estate_-_acquisition\",\n        \"document-restrictions\": \"restricted_visible\",\n        \"metadata\": {\n            \"custom_key\": \"custom_value\",\n            \"custom_key2\": \"custom_value2\"\n        }\n    }\n}\n</code></pre><p><strong>Note:</strong> In the response, do not confuse <code>meta</code>, with <code>attributes &gt; metadata</code>.</p>\n<h5 id=\"checklist-template\">Checklist template</h5>\n<p>To create a new room based on a checklist template you have to provide the checklist template relationship:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"data\": {\n    \"type\": \"room\",\n    \"attributes\": {\n        ...\n    },\n    \"relationships\": {\n        \"checklist-template\": {\n            \"data\": { \"id\": \"123\", \"type\": \"checklist-template\" }\n        }\n    }\n}\n</code></pre><h5 id=\"formats\">Formats</h5>\n<ul>\n<li>Dates should be entered in <a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">ISO date format</a> (<code>actual-close-date: \"2019-10-10\"</code>).</li>\n<li>Total transaction amount should be entered as a number, without a currency symbol.</li>\n</ul>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>While creating a room, an initial host team is created for that room, too, and the current user is added to that team. The team is included in the response.</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Only Certified users can create rooms.</p>\n","urlObject":{"path":["api","v2","rooms"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"267e5046-7820-4d1b-b003-74de14841689","name":"Create room invalid date format","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"attributes\":{  \n         \"name\":\"My new data room\",\n         \"actual-close-date\": \"Oct 10, 2019\",\n         \"document-restrictions\":\"restricted_visible\",\n         \"room-type\":\"real_estate_-_acquisition\",\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/rooms"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"203"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"is invalid\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/actual-close-date\"\n            },\n            \"detail\": \"Actual close date is invalid\",\n            \"code\": \"INVALID_FIELD_CAST\"\n        }\n    ]\n}"},{"id":"e42ec6f6-f2b7-4c47-97d2-d61dd7daa738","name":"Create room success","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"attributes\":{  \n         \"name\":\"My new data room\",\n         \"changelog-enabled\":true,\n         \"notes-enabled\":true,\n         \"custom-column-enabled\":true,\n         \"custom-column-label\":\"Custom\",\n         \"document-restrictions\":\"restricted_visible\",\n         \"room-type\":\"real_estate_-_acquisition\",\n         \"actual-close-date\": \"2019-10-10\",\n         \"total-transaction-amount\": 1000000,\n         \"metadata\": {\n           \"any_meta_field\": \"meta value\"\n         }\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/rooms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 04 Apr 2019 13:40:16 GMT"},{"key":"content-length","value":"2448"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2m94i7jej9j1rd4eec0013v1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"team\",\n            \"id\": \"4\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"name\": \"RandomCoolName Company (OH)\",\n                \"abbreviation\": \"O\"\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"room\",\n        \"relationships\": {\n            \"parties\": {\n                \"data\": [\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"4\"\n                    }\n                ]\n            },\n            \"creator\": {\n                \"data\": {\n                    \"type\": \"user\",\n                    \"id\": \"1\"\n                }\n            }\n        },\n        \"meta\": {\n            \"link\": \"https://prodeal360.com/dashboard/5\"\n        },\n        \"id\": \"5\",\n        \"attributes\": {\n            \"construction-loan-amount\": null,\n            \"lender\": null,\n            \"agent-1031\": null,\n            \"co-insurance-1-title-number\": null,\n            \"mortgage-broker\": null,\n            \"custom-column-label\": \"Custom\",\n            \"co-insurance-percentage\": null,\n            \"seller-counsel\": null,\n            \"actual-close-date\": \"Oct 10, 2019\",\n            \"additional-information\": null,\n            \"co-insurance-1-percentage\": null,\n            \"co-insurance-2-underwriter-name\": null,\n            \"building-type\": null,\n            \"advisor\": null,\n            \"user-team-abbreviation\": null,\n            \"document-restrictions\": \"restricted_visible\",\n            \"co-insurance-1-underwriter-name\": null,\n            \"metadata\": {\n                \"any_meta_field\": \"meta value\"\n            },\n            \"notes-enabled\": true,\n            \"lng\": null,\n            \"lender-counsel\": null,\n            \"co-insurance-3-title-company\": null,\n            \"purchase-amount\": null,\n            \"city\": null,\n            \"room-details-flag-enabled\": false,\n            \"name\": \"My new data room\",\n            \"state\": \"open\",\n            \"co-insurance-2-title-policy-number\": null,\n            \"co-insurance-1-title-company\": null,\n            \"purchaser\": null,\n            \"completed-percentage\": 0,\n            \"user-team-type\": null,\n            \"co-insurance-1-title-policy-number\": null,\n            \"custom-column-enabled\": true,\n            \"loan-amount\": null,\n            \"mezzanine-loan-amount\": null,\n            \"property-and-casuality-insurance-provider\": null,\n            \"surveyor\": null,\n            \"co-insurance-2-percentage\": null,\n            \"favorite\": false,\n            \"lat\": null,\n            \"total-transaction-amount\": \"$1,000,000\",\n            \"changelog-enabled\": true,\n            \"address-autocomplete\": null,\n            \"unread-notes-count\": null,\n            \"borrower\": null,\n            \"address\": null,\n            \"other-financing-amount\": null,\n            \"second-mortgage-loan-amount\": null,\n            \"property-manager\": null,\n            \"lead-title-company\": null,\n            \"room-type\": \"Real Estate - Acquisition\",\n            \"borrower-counsel\": null,\n            \"country\": null,\n            \"role\": null,\n            \"user-team-name\": null,\n            \"unseen-changelog-entries-count\": null,\n            \"co-insurance-3-title-number\": null,\n            \"purchaser-counsel\": null,\n            \"seller\": null,\n            \"co-insurance-3-percentage\": null,\n            \"nick-name\": null,\n            \"co-insurance-2-title-number\": null,\n            \"unread-docs-count\": null,\n            \"estimated-close-date\": null,\n            \"title-number\": null,\n            \"prodeal-number\": \"D-000-0005\",\n            \"underwriter-name\": null,\n            \"title-policy-number\": null,\n            \"investment-sales-broker\": null,\n            \"notes\": null,\n            \"engineer\": null,\n            \"zip-code\": null,\n            \"flood-insurance-provider\": null,\n            \"appraiser\": null,\n            \"co-insurance-2-title-company\": null,\n            \"co-insurance-3-underwriter-name\": null,\n            \"co-insurance-3-title-policy-number\": null,\n            \"folders-inbox-enabled\": false\n        }\n    }\n}"},{"id":"ec7b7ec9-85a2-4934-b0c2-7ee1e79a42c7","name":"Create room from template success","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"attributes\":{  \n         \"name\":\"My new data room\",\n         \"changelog-enabled\":true,\n         \"notes-enabled\":true,\n         \"custom-column-enabled\":true,\n         \"custom-column-label\":\"Custom\",\n         \"document-restrictions\":\"restricted_visible\",\n         \"room-type\":\"real_estate_-_acquisition\",\n         \"metadata\": {\n           \"any_meta_field\": \"meta value\"\n         },\n         \"folders_inbox_enabled\": false\n      },\n      \"relationships\": {\n         \"checklist-template\": {\n            \"data\": {\n               \"id\": \"5\", \n               \"type\": \"checklist-template\" \n            }\n        }\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/rooms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"1180"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"team\",\n            \"id\": \"1575\",\n            \"attributes\": {\n                \"type-name\": \"Purchaser\",\n                \"role-id\": \"host_admin\",\n                \"name\": \"ProDeal\",\n                \"is-member\": true,\n                \"abbreviation\": \"P\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"1576\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"role-id\": \"guest\",\n                \"name\": \"Other\",\n                \"is-member\": false,\n                \"abbreviation\": \"O\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"1577\",\n            \"attributes\": {\n                \"type-name\": \"Title Company\",\n                \"role-id\": \"guest\",\n                \"name\": \"Title Company\",\n                \"is-member\": false,\n                \"abbreviation\": \"TC\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"1578\",\n            \"attributes\": {\n                \"type-name\": \"Surveyor\",\n                \"role-id\": \"guest\",\n                \"name\": \"Surveyor\",\n                \"is-member\": false,\n                \"abbreviation\": \"SU\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"1579\",\n            \"attributes\": {\n                \"type-name\": \"Borrower Counsel\",\n                \"role-id\": \"guest\",\n                \"name\": \"Borrower Counsel\",\n                \"is-member\": false,\n                \"abbreviation\": \"BC\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"1580\",\n            \"attributes\": {\n                \"type-name\": \"Seller\",\n                \"role-id\": \"guest\",\n                \"name\": \"Seller\",\n                \"is-member\": false,\n                \"abbreviation\": \"SE\"\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"room\",\n        \"relationships\": {\n            \"workspace\": {\n                \"data\": null\n            },\n            \"whitelisted-organizations\": {},\n            \"parties\": {\n                \"data\": [\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"1575\"\n                    },\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"1579\"\n                    },\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"1576\"\n                    },\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"1580\"\n                    },\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"1578\"\n                    },\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"1577\"\n                    }\n                ]\n            },\n            \"organization\": {\n                \"data\": {\n                    \"type\": \"organization\",\n                    \"id\": \"1\"\n                }\n            },\n            \"creator\": {\n                \"data\": {\n                    \"type\": \"user\",\n                    \"id\": \"19\"\n                }\n            }\n        },\n        \"meta\": {\n            \"link\": \"https://staging.prodeal.dev/dashboard/750\"\n        },\n        \"id\": \"750\",\n        \"attributes\": {\n            \"construction-loan-amount\": null,\n            \"lender\": null,\n            \"agent-1031\": null,\n            \"co-insurance-1-title-number\": null,\n            \"mortgage-broker\": null,\n            \"custom-column-label\": \"Custom\",\n            \"co-insurance-percentage\": null,\n            \"documents-watermark-enabled\": false,\n            \"seller-counsel\": null,\n            \"actual-close-date\": null,\n            \"additional-information\": null,\n            \"co-insurance-1-percentage\": null,\n            \"co-insurance-2-underwriter-name\": null,\n            \"building-type\": null,\n            \"advisor\": null,\n            \"user-team-abbreviation\": \"P\",\n            \"co-insurance-1-underwriter-name\": null,\n            \"metadata\": {\n                \"any_meta_field\": \"meta value\"\n            },\n            \"notes-enabled\": true,\n            \"lng\": null,\n            \"lender-counsel\": null,\n            \"co-insurance-3-title-company\": null,\n            \"purchase-amount\": null,\n            \"city\": null,\n            \"room-details-flag-enabled\": false,\n            \"name\": \"My new data room\",\n            \"state\": \"open\",\n            \"co-insurance-2-title-policy-number\": null,\n            \"co-insurance-1-title-company\": null,\n            \"purchaser\": null,\n            \"completed-percentage\": 0,\n            \"role-id\": \"host_admin\",\n            \"creator-party-id\": 1575,\n            \"org-private\": false,\n            \"user-team-type\": \"Purchaser\",\n            \"co-insurance-1-title-policy-number\": null,\n            \"custom-column-enabled\": true,\n            \"loan-amount\": null,\n            \"mezzanine-loan-amount\": null,\n            \"property-and-casuality-insurance-provider\": null,\n            \"surveyor\": null,\n            \"co-insurance-2-percentage\": null,\n            \"favorite\": false,\n            \"lat\": null,\n            \"total-transaction-amount\": null,\n            \"changelog-enabled\": true,\n            \"address-autocomplete\": null,\n            \"unread-notes-count\": 0,\n            \"borrower\": null,\n            \"address\": null,\n            \"other-financing-amount\": null,\n            \"progress-detail\": {\n                \"percentage\": 0,\n                \"open\": 46,\n                \"in_progress\": 0,\n                \"closed\": 0\n            },\n            \"second-mortgage-loan-amount\": null,\n            \"permission-type\": \"confidential\",\n            \"property-manager\": null,\n            \"lead-title-company\": null,\n            \"room-type\": \"Real Estate - Acquisition\",\n            \"borrower-counsel\": null,\n            \"country\": null,\n            \"user-team-name\": \"ProDeal\",\n            \"unseen-changelog-entries-count\": 0,\n            \"co-insurance-3-title-number\": null,\n            \"purchaser-counsel\": null,\n            \"seller\": null,\n            \"co-insurance-3-percentage\": null,\n            \"nick-name\": null,\n            \"co-insurance-2-title-number\": null,\n            \"unread-docs-count\": 0,\n            \"estimated-close-date\": null,\n            \"title-number\": null,\n            \"folders-inbox-enabled\": false,\n            \"prodeal-number\": \"D-000-0750\",\n            \"underwriter-name\": null,\n            \"title-policy-number\": null,\n            \"documents-watermark-text\": null,\n            \"investment-sales-broker\": null,\n            \"created-at-utc\": \"2020-06-23T07:02:37.119260\",\n            \"notes\": null,\n            \"engineer\": null,\n            \"zip-code\": null,\n            \"flood-insurance-provider\": null,\n            \"appraiser\": null,\n            \"co-insurance-2-title-company\": null,\n            \"co-insurance-3-underwriter-name\": null,\n            \"co-insurance-3-title-policy-number\": null\n        }\n    }\n}"}],"_postman_id":"23136622-3f46-44ab-ae73-281a32065e31"},{"name":"Clone room","id":"100ca51f-6d0a-4752-adda-49a860c2e92f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\": {  \n      \"type\": \"room\",\n      \"attributes\": {\n         \"name\": \"New cloned room\"\n      },\n      \"relationships\": {\n         \"source-room\": {\n            \"data\": { \n               \"id\": \"256\", \n               \"type\": \"room\" \n            }\n         }\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/rooms","description":"<p>To create a new room based on the existing one you have to provide source room ID in the <code>\"relationships\"</code> section of the body.</p>\n<p>All fields in <code>\"attributes\"</code> section except name are ignored when cloning a room.</p>\n<p>Since room cloning for large rooms might take time, users are informed when cloning is finished via email and response with status code <code>201</code>. </p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Only Certified users can clone rooms; and only the rooms in which they are hosts.</p>\n","urlObject":{"path":["api","v2","rooms"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"000d7a73-84cd-4779-aefb-7830f2c3c04f","name":"Clone room success","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\": {  \n      \"type\":\"room\",\n      \"attributes\": {\n         \"name\": \"New cloned room\"\n      },\n      \"relationships\": {\n         \"source-room\": {\n            \"data\": { \n               \"id\": \"256\", \n               \"type\": \"room\" \n            }\n         }\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/rooms"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null},{"id":"97107247-86db-4eb5-949f-4a2880ef0f06","name":"Clone room wrong ID","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"relationships\": {\n         \"source-room\": {\n            \"data\": { \n               \"id\": \"256\", \n               \"type\": \"room\" \n            }\n         }\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/rooms"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"404 Not Found\",\n            \"status\": 404,\n            \"detail\": \"404 Not Found\"\n        }\n    ]\n}"}],"_postman_id":"100ca51f-6d0a-4752-adda-49a860c2e92f"},{"name":"Update room","id":"5cbbfc87-35ad-4758-b63c-c2aa223607fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"id\": \"4\",\n      \"attributes\":{  \n         \"name\":\"My new data room\",\n         \"changelog-enabled\":true,\n         \"notes-enabled\":true,\n         \"custom-column-enabled\":true,\n         \"custom-column-label\":\"Custom\",\n         \"room-type\":\"real_estate_-_acquisition\",\n         \"user-team-name\":null,\n         \"unseen-changelog-entries-count\":null,\n         \"co-insurance-3-title-number\":\"1234567\",\n         \"purchaser-counsel\":\"purchaser\",\n         \"seller\":\"seller\",\n         \"co-insurance-3-percentage\":\"13%\",\n         \"nick-name\":\"New Room\",\n         \"co-insurance-2-title-number\":\"12345\",\n         \"estimated-close-date\":\"2020-03-19\",\n         \"metadata\": {\n        \t  \"external_id\": \"123456\"\n         },\n         \"folders-inbox-enabled\": false\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/rooms/:room_id","description":"<p>You can update 1 or more room attributes in a single request. Only specify the attributes you wish to change.</p>\n<p><strong>Note:</strong> Checklist access management (<code>permission-type</code>) cannot be changed.</p>\n<h5 id=\"metadata-field\">Metadata field</h5>\n<p>To add or update a metadata entry, send an object with the desired key/value.</p>\n<p>To delete an entry, send an object with the key assigned to null.</p>\n<p><em>Example</em>:</p>\n<p>To delete the metadata field <code>external_id</code>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"data\":{  \n  \"type\": \"room\",\n  \"id\": \"4\",\n  \"attributes\": {  \n    \"metadata\": {\n      \"external_id\": null\n    }\n  }\n}\n</code></pre><h5 id=\"errors\">Errors</h5>\n<ul>\n<li>If field format is incorrect, <code>422</code> is returned and the error code is <code>INVALID_FIELD_CAST</code></li>\n<li>If a room cannot be converted to \"Private room\" (if it contains people from different organizations), <code>409</code> is returned and the error code is <code>TRANSITION_TO_PRIVATE_ROOM_NOT_ALLOWED</code>.</li>\n</ul>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Only room Hosts can update the room.</p>\n","urlObject":{"path":["api","v2","rooms",":room_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"d1fc213f-1d57-41f0-98a9-248096b890fc","type":"string","value":"4","key":"room_id"}]}},"response":[{"id":"3b8d5ec6-e109-49e7-9b01-0415dfce17c6","name":"Update a room","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"id\": \"4\",\n      \"attributes\":{  \n         \"name\":\"My new data room\",\n         \"changelog-enabled\":true,\n         \"notes-enabled\":true,\n         \"custom-column-enabled\":true,\n         \"custom-column-label\":\"Custom\",\n         \"document-restrictions\":\"restricted_visible\",\n         \"room-type\":\"real_estate_-_acquisition\",\n         \"user-team-name\":null,\n         \"unseen-changelog-entries-count\":null,\n         \"co-insurance-3-title-number\":\"1234567\",\n         \"purchaser-counsel\":\"purchaser\",\n         \"seller\":\"seller\",\n         \"co-insurance-3-percentage\":\"13%\",\n         \"nick-name\":\"New Room\",\n         \"co-insurance-2-title-number\":\"12345\",\n         \"estimated-close-date\":\"2020-03-19\",\n         \"metadata\": {\n        \t  \"external_id\": \"123456\"\n         }\n      }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id"],"variable":[{"key":"room_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"2528"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"team\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"name\": \"RandomCoolName Company (OH)\",\n                \"abbreviation\": \"O\"\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"room\",\n        \"relationships\": {\n            \"parties\": {\n                \"data\": [\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"3\"\n                    }\n                ]\n            },\n            \"creator\": {\n                \"data\": {\n                    \"type\": \"user\",\n                    \"id\": \"1\"\n                }\n            }\n        },\n        \"meta\": {\n            \"link\": \"https://prodeal360.com/dashboard/4\"\n        },\n        \"id\": \"4\",\n        \"attributes\": {\n            \"construction-loan-amount\": null,\n            \"lender\": null,\n            \"agent-1031\": null,\n            \"co-insurance-1-title-number\": null,\n            \"mortgage-broker\": null,\n            \"custom-column-label\": \"Custom\",\n            \"co-insurance-percentage\": null,\n            \"seller-counsel\": null,\n            \"actual-close-date\": \"Apr 15, 2019\",\n            \"additional-information\": null,\n            \"co-insurance-1-percentage\": null,\n            \"co-insurance-2-underwriter-name\": null,\n            \"building-type\": null,\n            \"advisor\": null,\n            \"user-team-abbreviation\": \"O\",\n            \"document-restrictions\": \"restricted_visible\",\n            \"co-insurance-1-underwriter-name\": null,\n            \"metadata\": {\n                \"external_id\": \"123456\"\n            },\n            \"notes-enabled\": true,\n            \"lng\": null,\n            \"lender-counsel\": null,\n            \"co-insurance-3-title-company\": null,\n            \"purchase-amount\": null,\n            \"city\": null,\n            \"room-details-flag-enabled\": false,\n            \"name\": \"My new data room\",\n            \"state\": \"open\",\n            \"co-insurance-2-title-policy-number\": null,\n            \"co-insurance-1-title-company\": null,\n            \"purchaser\": null,\n            \"completed-percentage\": 0,\n            \"user-team-type\": \"Other\",\n            \"co-insurance-1-title-policy-number\": null,\n            \"custom-column-enabled\": true,\n            \"loan-amount\": null,\n            \"mezzanine-loan-amount\": null,\n            \"property-and-casuality-insurance-provider\": null,\n            \"surveyor\": null,\n            \"co-insurance-2-percentage\": null,\n            \"favorite\": false,\n            \"lat\": null,\n            \"total-transaction-amount\": \"$200,000,000\",\n            \"changelog-enabled\": true,\n            \"address-autocomplete\": null,\n            \"unread-notes-count\": 0,\n            \"borrower\": null,\n            \"address\": null,\n            \"other-financing-amount\": null,\n            \"second-mortgage-loan-amount\": null,\n            \"property-manager\": null,\n            \"lead-title-company\": null,\n            \"room-type\": \"Real Estate - Development\",\n            \"borrower-counsel\": null,\n            \"country\": null,\n            \"role\": \"host_admin\",\n            \"user-team-name\": \"RandomCoolName Company (OH)\",\n            \"unseen-changelog-entries-count\": 0,\n            \"co-insurance-3-title-number\": \"1234567\",\n            \"purchaser-counsel\": \"purchaser\",\n            \"seller\": \"seller\",\n            \"co-insurance-3-percentage\": \"13%\",\n            \"nick-name\": \"New Room\",\n            \"co-insurance-2-title-number\": \"12345\",\n            \"unread-docs-count\": 0,\n            \"estimated-close-date\": \"Mar 19, 2020\",\n            \"title-number\": null,\n            \"prodeal-number\": \"D-000-0004\",\n            \"underwriter-name\": null,\n            \"title-policy-number\": null,\n            \"investment-sales-broker\": null,\n            \"notes\": null,\n            \"engineer\": null,\n            \"zip-code\": null,\n            \"flood-insurance-provider\": null,\n            \"appraiser\": null,\n            \"co-insurance-2-title-company\": null,\n            \"co-insurance-3-underwriter-name\": null,\n            \"co-insurance-3-title-policy-number\": null,\n            \"folders-inbox-enabled\": false\n        }\n    }\n}"},{"id":"88154923-bb1e-4f59-9577-0d9b0c14289d","name":"Cannot convert to private room","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"id\": \"311\",\n      \"attributes\":{  \n         \"org-private\":true\n      }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id"],"variable":[{"key":"room_id","type":"string","value":"311"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"246"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"409 Conflict\",\n            \"status\": \"409\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"Can't make room org private when members do not belong to approved organizations\",\n            \"code\": \"TRANSITION_TO_PRIVATE_ROOM_NOT_ALLOWED\"\n        }\n    ]\n}"},{"id":"b24b8b5b-b21d-4e2e-9930-ce6b93fe313b","name":"Invalid room field format","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"id\": \"256\",\n      \"attributes\":{  \n         \"estimated-close-date\":\"Oct 20, 2019\"\n      }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id"],"variable":[{"key":"room_id","type":"string","value":"256"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"209"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"is invalid\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/estimated-close-date\"\n            },\n            \"detail\": \"Estimated close date is invalid\",\n            \"code\": \"INVALID_FIELD_CAST\"\n        }\n    ]\n}"},{"id":"cbdc6f4f-3d9c-4fad-b791-46cec94a3a93","name":"Update room metadata","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"id\": \"4\",\n      \"attributes\":{  \n         \"metadata\": {\n        \t  \"external_id\": \"665544\"\n         }\n      }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id"],"variable":[{"key":"room_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"2528"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"team\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"name\": \"RandomCoolName Company (OH)\",\n                \"abbreviation\": \"O\"\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"room\",\n        \"relationships\": {\n            \"parties\": {\n                \"data\": [\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"3\"\n                    }\n                ]\n            },\n            \"creator\": {\n                \"data\": {\n                    \"type\": \"user\",\n                    \"id\": \"1\"\n                }\n            }\n        },\n        \"meta\": {\n            \"link\": \"https://prodeal360.com/dashboard/4\"\n        },\n        \"id\": \"4\",\n        \"attributes\": {\n            \"construction-loan-amount\": null,\n            \"lender\": null,\n            \"agent-1031\": null,\n            \"co-insurance-1-title-number\": null,\n            \"mortgage-broker\": null,\n            \"custom-column-label\": \"Custom\",\n            \"co-insurance-percentage\": null,\n            \"seller-counsel\": null,\n            \"actual-close-date\": \"Apr 15, 2019\",\n            \"additional-information\": null,\n            \"co-insurance-1-percentage\": null,\n            \"co-insurance-2-underwriter-name\": null,\n            \"building-type\": null,\n            \"advisor\": null,\n            \"user-team-abbreviation\": \"O\",\n            \"document-restrictions\": \"restricted_visible\",\n            \"co-insurance-1-underwriter-name\": null,\n            \"metadata\": {\n                \"external_id\": \"665544\"\n            },\n            \"notes-enabled\": true,\n            \"lng\": null,\n            \"lender-counsel\": null,\n            \"co-insurance-3-title-company\": null,\n            \"purchase-amount\": null,\n            \"city\": null,\n            \"room-details-flag-enabled\": false,\n            \"name\": \"My new data room\",\n            \"state\": \"open\",\n            \"co-insurance-2-title-policy-number\": null,\n            \"co-insurance-1-title-company\": null,\n            \"purchaser\": null,\n            \"completed-percentage\": 0,\n            \"user-team-type\": \"Other\",\n            \"co-insurance-1-title-policy-number\": null,\n            \"custom-column-enabled\": true,\n            \"loan-amount\": null,\n            \"mezzanine-loan-amount\": null,\n            \"property-and-casuality-insurance-provider\": null,\n            \"surveyor\": null,\n            \"co-insurance-2-percentage\": null,\n            \"favorite\": false,\n            \"lat\": null,\n            \"total-transaction-amount\": \"$200,000,000\",\n            \"changelog-enabled\": true,\n            \"address-autocomplete\": null,\n            \"unread-notes-count\": 0,\n            \"borrower\": null,\n            \"address\": null,\n            \"other-financing-amount\": null,\n            \"second-mortgage-loan-amount\": null,\n            \"property-manager\": null,\n            \"lead-title-company\": null,\n            \"room-type\": \"Real Estate - Development\",\n            \"borrower-counsel\": null,\n            \"country\": null,\n            \"role\": \"host_admin\",\n            \"user-team-name\": \"RandomCoolName Company (OH)\",\n            \"unseen-changelog-entries-count\": 0,\n            \"co-insurance-3-title-number\": \"1234567\",\n            \"purchaser-counsel\": \"purchaser\",\n            \"seller\": \"seller\",\n            \"co-insurance-3-percentage\": \"13%\",\n            \"nick-name\": \"New Room\",\n            \"co-insurance-2-title-number\": \"12345\",\n            \"unread-docs-count\": 0,\n            \"estimated-close-date\": \"Mar 19, 2020\",\n            \"title-number\": null,\n            \"prodeal-number\": \"D-000-0004\",\n            \"underwriter-name\": null,\n            \"title-policy-number\": null,\n            \"investment-sales-broker\": null,\n            \"notes\": null,\n            \"engineer\": null,\n            \"zip-code\": null,\n            \"flood-insurance-provider\": null,\n            \"appraiser\": null,\n            \"co-insurance-2-title-company\": null,\n            \"co-insurance-3-underwriter-name\": null,\n            \"co-insurance-3-title-policy-number\": null,\n            \"folders-inbox-enabled\": false\n        }\n    }\n}"}],"_postman_id":"5cbbfc87-35ad-4758-b63c-c2aa223607fd"},{"name":"Update room state as the organization admin","id":"0fee445d-f07c-4c5c-8d32-74ceb2648848","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"id\": \"1\",\n      \"attributes\":{  \n         \"state\":\"closed\"\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/organization/rooms/:room_id","description":"<p>Update room state as the organization admin</p>\n<h5 id=\"roles-and-permissions\">Roles and Permissions</h5>\n<p>Room state can be updated only by the users that belong to the same organization as room itself</p>\n","urlObject":{"path":["api","v2","organization","rooms",":room_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"9bf82a99-7dc1-4b4e-95d4-ff38e42fc416","type":"string","value":"1","key":"room_id"}]}},"response":[{"id":"77bb1665-c6b7-4ba2-96ef-eb7424148abd","name":"Room state updated","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"id\": \"1\",\n      \"attributes\":{  \n         \"state\":\"closed\"\n      }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/organization/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","organization","rooms",":room_id"],"variable":[{"key":"room_id","type":"string","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 04 Feb 2020 12:18:43 GMT"},{"key":"content-length","value":"155"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2no34g92q1edg7ns9c006mq5"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"room\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"state\": \"closed\",\n            \"name\": \"Open Room\",\n            \"inserted-at\": \"2020-01-30T10:17:30.242603\"\n        }\n    }\n}"}],"_postman_id":"0fee445d-f07c-4c5c-8d32-74ceb2648848"},{"name":"Update room-workspace relationship","id":"013e941a-b99e-4e0e-8fde-5316ad1167d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"workspace\",\n\t\t\"id\": \"1\"\n\t}\n}\n\n"},"url":"http://localhost:4000//api/v2/rooms/:room_id/relationships/workspace","description":"<p>Organize Rooms by grouping them together in a workspace. Use this endpoint to move rooms from one workspace to another, or to remove rooms from the workspaces.</p>\n<p>On success, the response returns the workspace to which the room is now assigned.</p>\n<h5 id=\"roles-and-permissions\">Roles and Permissions</h5>\n<p>Only Hosts of the room that are Workspace users too can change the room's workspace.</p>\n","urlObject":{"path":["api","v2","rooms",":room_id","relationships","workspace"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"003d8e71-2b8b-49d7-baeb-f0bf3b761952","type":"string","value":"4","key":"room_id"}]}},"response":[{"id":"08509461-dc67-409a-b2cd-52e39b492e01","name":"Delete room workspace relationship","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": null\n}\n\n"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/relationships/workspace","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","relationships","workspace"],"variable":[{"key":"room_id","value":"4"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"0"},{"key":"content-type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":null},{"id":"a2300110-d577-407c-ae3f-9e693c24f14d","name":"Update room workspace relationship","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"workspace\",\n\t\t\"id\": \"1\"\n\t}\n}\n\n"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/relationships/workspace","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","relationships","workspace"],"variable":[{"key":"room_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"114"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"data\": {\n        \"type\": \"workspace\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"name\": \"workspace 1\",\n            \"description\": \"workspace description 1\"\n        }\n    }\n}"}],"_postman_id":"013e941a-b99e-4e0e-8fde-5316ad1167d1"},{"name":"Add room to favorites","id":"70ea7ae9-357c-4948-b597-a13d4baea29d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"favorite-room\",\n    \"relationships\": {\n      \"room\": {\n        \"data\": {\n          \"type\": \"room\",\n          \"id\": \"12\"\n        }\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/me/favorite-rooms","description":"<h5 id=\"errors\">Errors</h5>\n<p>Error <code>422</code> is returned when user tries to add a room that is already in favorites.</p>\n","urlObject":{"path":["api","v2","me","favorite-rooms"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"3c6d4532-46bd-4e25-9efc-3cdd88380688","name":"Already added","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"favorite-room\",\n    \"relationships\": {\n      \"room\": {\n        \"data\": {\n          \"type\": \"room\",\n          \"id\": \"256\"\n        }\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/me/favorite-rooms"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"188"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"has already been taken\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/deal-id\"\n            },\n            \"detail\": \"Deal has already been taken\",\n            \"code\": null\n        }\n    ]\n}"},{"id":"d1a24d52-af3a-4b11-a95a-0f61f6838c23","name":"Add Room to favorites success","originalRequest":{"method":"GET","header":[]},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"name":"cache-control","key":"cache-control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"name":"content-length","key":"content-length","value":"0","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json","description":"The mime type of this content"},{"name":"date","key":"date","value":"Wed, 31 Oct 2018 19:03:29 GMT","description":"The date and time that the message was sent"},{"name":"server","key":"server","value":"Cowboy","description":"A name for the server"},{"name":"x-request-id","key":"x-request-id","value":"2o7v7aru4db0v1fbgavlpsr1385htmjl","description":"Custom header"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Sat Jul 20 2019 19:18:45 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"gabriel%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAADbQAAAAtfY3NyZl90b2tlbm0AAAAYR3R4ditTL1Z0Y3NCNVZ4dHE5alZIdz09bQAAAA9maWx0ZXJzX2RlYWxfaWRhA20AAAAHdXNlcl9pZGEB.nCwK994N9iReC1nftq__C0SZyrSsBm4I_F4_u67bNMM","key":"_prodeal360_key"}],"responseTime":null,"body":""}],"_postman_id":"70ea7ae9-357c-4948-b597-a13d4baea29d"},{"name":"Remove room from favorites","id":"3a30ca6e-4969-4104-bef7-d9cf8240ed3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/me/favorite-rooms/:room_id","description":"<h5 id=\"errors\">Errors</h5>\n<p>Error <code>404</code> is returned when a user tries to remove a room that was already removed.</p>\n","urlObject":{"path":["api","v2","me","favorite-rooms",":room_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"6b5b5d07-732c-4a1d-8757-5e2b7814f5b6","type":"string","value":"4","key":"room_id"}]}},"response":[{"id":"5cccd684-ca73-4111-82c7-8b7121764a02","name":"Remove Room from favorites","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/me/favorite-rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","me","favorite-rooms",":room_id"],"variable":[{"id":"6b5b5d07-732c-4a1d-8757-5e2b7814f5b6","key":"room_id","value":"4","type":"string"}]},"description":"##### Errors\n\nError `404` is returned when a user tries to remove a room that was already removed."},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"name":"cache-control","key":"cache-control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"name":"content-length","key":"content-length","value":"0","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json","description":"The mime type of this content"},{"name":"date","key":"date","value":"Wed, 31 Oct 2018 19:04:22 GMT","description":"The date and time that the message was sent"},{"name":"server","key":"server","value":"Cowboy","description":"A name for the server"},{"name":"x-request-id","key":"x-request-id","value":"f7fllb1ui8pk8c0agd725jelovqo1sbh","description":"Custom header"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Sat Jul 20 2019 19:18:45 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"gabriel%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAADbQAAAAtfY3NyZl90b2tlbm0AAAAYR3R4ditTL1Z0Y3NCNVZ4dHE5alZIdz09bQAAAA9maWx0ZXJzX2RlYWxfaWRhA20AAAAHdXNlcl9pZGEB.nCwK994N9iReC1nftq__C0SZyrSsBm4I_F4_u67bNMM","key":"_prodeal360_key"}],"responseTime":null,"body":""},{"id":"e20b59ca-7f18-466a-8807-b0b240560b0c","name":"Already removed from favorites","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/me/favorite-rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","me","favorite-rooms",":room_id"],"variable":[{"key":"room_id","value":"256","type":"string"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"404 Not Found\",\n            \"status\": 404,\n            \"detail\": \"404 Not Found\"\n        }\n    ]\n}"}],"_postman_id":"3a30ca6e-4969-4104-bef7-d9cf8240ed3a"},{"name":"Join to an room organization room as organization admin","id":"1869adf1-8c80-47a7-b605-3da8117446a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/organization/rooms/:room_id/join","urlObject":{"path":["api","v2","organization","rooms",":room_id","join"],"host":["http://localhost:4000/"],"query":[],"variable":[{"type":"string","value":"12","key":"room_id"}]}},"response":[{"id":"f38b2d79-8dc6-48aa-9c47-1d2c27fa775b","name":"Join to an room organization room as organization admin","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/organization/rooms/:room_id/join","host":["http://localhost:4000/"],"path":["api","v2","organization","rooms",":room_id","join"],"variable":[{"key":"room_id","value":"6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 09 Jun 2020 18:52:40 GMT"},{"key":"content-length","value":"2989"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl7hK_ltAAAAB3VzZXJfaWRhAQ.JKYR6wVlAF2LnfrU7g5k5PG043X1NxCuc_h7aK6QgEg; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2ob8m7kfdo8hk6rfs0014421"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"team\",\n            \"id\": \"10\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"role-id\": \"host_admin\",\n                \"name\": \"Stark Industries\",\n                \"is-member\": true,\n                \"abbreviation\": \"O\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"11\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"role-id\": \"admin\",\n                \"name\": \"fawefw\",\n                \"is-member\": false,\n                \"abbreviation\": \"O\"\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"room\",\n        \"relationships\": {\n            \"workspace\": {\n                \"data\": null\n            },\n            \"whitelisted-organizations\": {},\n            \"parties\": {\n                \"data\": [\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"10\"\n                    },\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"11\"\n                    }\n                ]\n            },\n            \"organization\": {\n                \"data\": {\n                    \"type\": \"organization\",\n                    \"id\": \"1\"\n                }\n            },\n            \"creator\": {\n                \"data\": {\n                    \"type\": \"user\",\n                    \"id\": \"7\"\n                }\n            }\n        },\n        \"meta\": {\n            \"link\": \"http://prodeal360.com:4000/dashboard/6\"\n        },\n        \"id\": \"6\",\n        \"attributes\": {\n            \"construction-loan-amount\": null,\n            \"lender\": null,\n            \"agent-1031\": null,\n            \"co-insurance-1-title-number\": null,\n            \"mortgage-broker\": null,\n            \"custom-column-label\": \"Custom\",\n            \"co-insurance-percentage\": null,\n            \"documents-watermark-enabled\": false,\n            \"seller-counsel\": null,\n            \"actual-close-date\": null,\n            \"additional-information\": null,\n            \"co-insurance-1-percentage\": null,\n            \"co-insurance-2-underwriter-name\": null,\n            \"building-type\": null,\n            \"advisor\": null,\n            \"user-team-abbreviation\": \"O\",\n            \"co-insurance-1-underwriter-name\": null,\n            \"metadata\": {},\n            \"notes-enabled\": true,\n            \"lng\": null,\n            \"lender-counsel\": null,\n            \"co-insurance-3-title-company\": null,\n            \"purchase-amount\": null,\n            \"city\": null,\n            \"room-details-flag-enabled\": false,\n            \"name\": \"A new Room\",\n            \"state\": \"open\",\n            \"is-member\": true,\n            \"co-insurance-2-title-policy-number\": null,\n            \"co-insurance-1-title-company\": null,\n            \"purchaser\": null,\n            \"completed-percentage\": 0,\n            \"role-id\": \"host_admin\",\n            \"creator-party-id\": 10,\n            \"org-private\": false,\n            \"user-team-type\": \"Other\",\n            \"co-insurance-1-title-policy-number\": null,\n            \"custom-column-enabled\": false,\n            \"loan-amount\": null,\n            \"mezzanine-loan-amount\": null,\n            \"property-and-casuality-insurance-provider\": null,\n            \"surveyor\": null,\n            \"co-insurance-2-percentage\": null,\n            \"favorite\": false,\n            \"lat\": null,\n            \"total-transaction-amount\": null,\n            \"changelog-enabled\": true,\n            \"address-autocomplete\": null,\n            \"unread-notes-count\": 0,\n            \"borrower\": null,\n            \"address\": null,\n            \"other-financing-amount\": null,\n            \"progress-detail\": {\n                \"percentage\": 0,\n                \"open\": 1,\n                \"in_progress\": 0,\n                \"closed\": 0\n            },\n            \"second-mortgage-loan-amount\": null,\n            \"permission-type\": \"confidential\",\n            \"property-manager\": null,\n            \"lead-title-company\": null,\n            \"room-type\": \"Real Estate - Refinance\",\n            \"borrower-counsel\": null,\n            \"country\": null,\n            \"user-team-name\": \"Stark Industries\",\n            \"unseen-changelog-entries-count\": 6,\n            \"co-insurance-3-title-number\": null,\n            \"purchaser-counsel\": null,\n            \"seller\": null,\n            \"co-insurance-3-percentage\": null,\n            \"nick-name\": null,\n            \"co-insurance-2-title-number\": null,\n            \"unread-docs-count\": 0,\n            \"estimated-close-date\": null,\n            \"title-number\": null,\n            \"folders-inbox-enabled\": true,\n            \"prodeal-number\": \"D-000-0006\",\n            \"underwriter-name\": null,\n            \"title-policy-number\": null,\n            \"documents-watermark-text\": null,\n            \"investment-sales-broker\": null,\n            \"created-at-utc\": \"2020-06-09T18:10:59.805711\",\n            \"notes\": null,\n            \"engineer\": null,\n            \"zip-code\": null,\n            \"flood-insurance-provider\": null,\n            \"appraiser\": null,\n            \"co-insurance-2-title-company\": null,\n            \"co-insurance-3-underwriter-name\": null,\n            \"co-insurance-3-title-policy-number\": null\n        }\n    }\n}\n"}],"_postman_id":"1869adf1-8c80-47a7-b605-3da8117446a0"},{"name":"Returns room notifications settings","id":"182090fc-43f4-4f20-87d0-e1f1af450a46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/rooms/:room_id/notifications-settings","urlObject":{"path":["api","v2","rooms",":room_id","notifications-settings"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"03e43be6-e01d-44ae-a2ed-1368f25af899","type":"string","value":"1","key":"room_id"}]}},"response":[{"id":"99e2adbc-eff6-4cbf-bc1a-f086a44bfa66","name":"Returns room notifications settings","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/notifications-settings","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","notifications-settings"],"variable":[{"key":"room_id","type":"string","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 16 Jun 2020 07:58:30 GMT"},{"key":"content-length","value":"541"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl7pzSZtAAAAB3VzZXJfaWRhAQ.7EmyW_t9GEhGROjcT2_GLxmY4iW2k2obbiaezVpZ-o0; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2ocfef8ndiq01ulaf40002e1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"room-notifications-settings\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"new-line-item-note\": {\n                \"realtime\": \"all\",\n                \"daily-recap\": true\n            },\n            \"line-item-status-changed\": {\n                \"realtime\": \"my_responsibility\",\n                \"daily-recap\": false\n            },\n            \"file-version-upload\": {\n                \"realtime\": \"all\",\n                \"daily-recap\": true\n            },\n            \"document-approved\": {\n                \"realtime\": \"none\",\n                \"daily-recap\": true\n            },\n            \"custom-column-updated\": {\n                \"realtime\": \"none\",\n                \"daily-recap\": true\n            },\n            \"checklist-item-deletion\": {\n                \"realtime\": \"none\",\n                \"daily-recap\": true\n            },\n            \"access-changed\": {\n                \"realtime\": \"none\",\n                \"daily-recap\": true\n            }\n        }\n    }\n}"},{"id":"da8ffad8-a16c-4306-a192-5b2897b2c729","name":"Returns a room","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id"],"variable":[{"key":"room_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 04 Apr 2019 13:41:21 GMT"},{"key":"content-length","value":"2528"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2m94ibdhtfqmc90et8001401"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"included\": [\n    {\n      \"type\": \"team\",\n      \"id\": \"2\",\n      \"attributes\": {\n        \"type-name\": \"Buyer\",\n        \"role-id\": \"host_admin\",\n        \"name\": \"Capital Bancshares\",\n        \"is-member\": true,\n        \"abbreviation\": \"CBA\"\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"4\",\n      \"attributes\": {\n        \"type-name\": \"Seller\",\n        \"role-id\": \"admin\",\n        \"name\": \"Trustcorp Financial\",\n        \"is-member\": false,\n        \"abbreviation\": \"TFI\"\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"6\",\n      \"attributes\": {\n        \"type-name\": \"Other\",\n        \"role-id\": \"guest\",\n        \"name\": \"Azure Trust\",\n        \"is-member\": false,\n        \"abbreviation\": \"AZT\"\n      }\n    }\n  ],\n  \"data\": {\n    \"type\": \"room\",\n    \"relationships\": {\n      \"workspace\": {\n        \"data\": null\n      },\n      \"parties\": {\n        \"data\": [\n          {\n            \"type\": \"team\",\n            \"id\": \"2\"\n          },\n          {\n            \"type\": \"team\",\n            \"id\": \"4\"\n          },\n          {\n            \"type\": \"team\",\n            \"id\": \"6\"\n          }\n        ]\n      },\n      \"creator\": {\n        \"data\": {\n          \"type\": \"user\",\n          \"id\": \"3\"\n        }\n      }\n    },\n    \"meta\": {\n      \"link\": \"https://prodeal360.com/dashboard/2\"\n    },\n    \"id\": \"2\",\n    \"attributes\": {\n      \"construction-loan-amount\": null,\n      \"lender\": null,\n      \"agent-1031\": null,\n      \"co-insurance-1-title-number\": null,\n      \"mortgage-broker\": null,\n      \"custom-column-label\": \"Custom\",\n      \"co-insurance-percentage\": null,\n      \"seller-counsel\": null,\n      \"actual-close-date\": null,\n      \"additional-information\": null,\n      \"co-insurance-1-percentage\": null,\n      \"co-insurance-2-underwriter-name\": null,\n      \"building-type\": null,\n      \"advisor\": null,\n      \"user-team-abbreviation\": \"CBA\",\n      \"co-insurance-1-underwriter-name\": null,\n      \"metadata\": {},\n      \"notes-enabled\": true,\n      \"lng\": null,\n      \"lender-counsel\": null,\n      \"co-insurance-3-title-company\": null,\n      \"purchase-amount\": null,\n      \"city\": \"Manhattan\",\n      \"room-details-flag-enabled\": false,\n      \"name\": \"Confidential Room\",\n      \"state\": \"open\",\n      \"co-insurance-2-title-policy-number\": null,\n      \"co-insurance-1-title-company\": null,\n      \"purchaser\": null,\n      \"completed-percentage\": 0.0,\n      \"role-id\": \"host_admin\",\n      \"creator-party-id\": null,\n      \"user-team-type\": \"Buyer\",\n      \"co-insurance-1-title-policy-number\": null,\n      \"custom-column-enabled\": false,\n      \"loan-amount\": null,\n      \"mezzanine-loan-amount\": null,\n      \"property-and-casuality-insurance-provider\": null,\n      \"surveyor\": null,\n      \"co-insurance-2-percentage\": null,\n      \"favorite\": false,\n      \"lat\": null,\n      \"total-transaction-amount\": null,\n      \"changelog-enabled\": true,\n      \"address-autocomplete\": null,\n      \"unread-notes-count\": 0,\n      \"borrower\": null,\n      \"address\": \"Broadway 1384\",\n      \"other-financing-amount\": null,\n      \"second-mortgage-loan-amount\": null,\n      \"permission-type\": \"confidential\",\n      \"property-manager\": null,\n      \"lead-title-company\": null,\n      \"room-type\": \"Real Estate - Acquisition\",\n      \"borrower-counsel\": null,\n      \"country\": null,\n      \"user-team-name\": \"Capital Bancshares\",\n      \"unseen-changelog-entries-count\": 1,\n      \"co-insurance-3-title-number\": null,\n      \"purchaser-counsel\": null,\n      \"seller\": null,\n      \"co-insurance-3-percentage\": null,\n      \"nick-name\": null,\n      \"co-insurance-2-title-number\": null,\n      \"unread-docs-count\": 0,\n      \"estimated-close-date\": \"Aug 15, 2017\",\n      \"title-number\": null,\n      \"prodeal-number\": \"D-000-0002\",\n      \"underwriter-name\": null,\n      \"title-policy-number\": null,\n      \"investment-sales-broker\": null,\n      \"notes\": \"Some notes over here.\",\n      \"engineer\": null,\n      \"zip-code\": null,\n      \"flood-insurance-provider\": null,\n      \"appraiser\": null,\n      \"co-insurance-2-title-company\": null,\n      \"co-insurance-3-underwriter-name\": null,\n      \"co-insurance-3-title-policy-number\": null,\n      \"folders-inbox-enabled\": false\n    }\n  }\n}"}],"_postman_id":"182090fc-43f4-4f20-87d0-e1f1af450a46"},{"name":"Update room notifications settings","id":"dde38f87-24dd-47ea-8acc-68e99a12f6a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"user-notifications-settings\",\n        \"attributes\": {\n            \"new-line-item-note\": {\n                \"realtime\": \"all\",\n                \"daily_recap\": true\n            },\n            \"line-item-status-changed\": {\n                \"realtime\": \"all\",\n                \"daily_recap\": false\n            },\n            \"file-version-upload\": {\n                \"realtime\": \"all\",\n                \"daily_recap\": true\n            }\n        }\n    }\n}"},"url":"http://localhost:4000//api/v2/rooms/:room_id/notifications-settings","description":"<h6 id=\"metadata-field\">Metadata field</h6>\n<p>The metadata attribute is an object that contains the fields in a key/value way.</p>\n<p>Values cannot be null, all the keys with null values will be ignored.</p>\n<p>To add or update a metadata entry, send an object with the desired key/value.</p>\n<p>To delete an entry, send an object with the key assigned to null.</p>\n<p><em>Example</em>:</p>\n<p>To delete the metadata field <code>external_id</code>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>   ...\n   \"metadata\": {\n      \"external_id\": null\n   },\n   ...\n</code></pre>","urlObject":{"path":["api","v2","rooms",":room_id","notifications-settings"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"72406b39-8d47-4fa9-b25a-f05df2a273a1","type":"string","value":"1","key":"room_id"}]}},"response":[{"id":"5885aae4-6a56-4d42-a2fd-3111e17e30e4","name":"Update a room","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"id\": \"4\",\n      \"attributes\":{  \n         \"name\":\"My new data room\",\n         \"changelog-enabled\":true,\n         \"notes-enabled\":true,\n         \"custom-column-enabled\":true,\n         \"custom-column-label\":\"Custom\",\n         \"document-restrictions\":\"restricted_visible\",\n         \"room-type\":\"real_estate_-_acquisition\",\n         \"user-team-name\":null,\n         \"unseen-changelog-entries-count\":null,\n         \"co-insurance-3-title-number\":\"1234567\",\n         \"purchaser-counsel\":\"purchaser\",\n         \"seller\":\"seller\",\n         \"co-insurance-3-percentage\":\"13%\",\n         \"nick-name\":\"New Room\",\n         \"co-insurance-2-title-number\":\"12345\",\n         \"estimated-close-date\":\"2020-03-19\",\n         \"metadata\": {\n        \t\"external_id\": \"123456\"\n         }\n\n      }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id"],"variable":[{"key":"room_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 04 Apr 2019 13:38:34 GMT"},{"key":"content-length","value":"2528"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2m94i1mbjmgp8edebg0013u1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"team\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"name\": \"RandomCoolName Company (OH)\",\n                \"abbreviation\": \"O\"\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"room\",\n        \"relationships\": {\n            \"parties\": {\n                \"data\": [\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"3\"\n                    }\n                ]\n            },\n            \"creator\": {\n                \"data\": {\n                    \"type\": \"user\",\n                    \"id\": \"1\"\n                }\n            }\n        },\n        \"meta\": {\n            \"link\": \"https://prodeal360.com/dashboard/4\"\n        },\n        \"id\": \"4\",\n        \"attributes\": {\n            \"construction-loan-amount\": null,\n            \"lender\": null,\n            \"agent-1031\": null,\n            \"co-insurance-1-title-number\": null,\n            \"mortgage-broker\": null,\n            \"custom-column-label\": \"Custom\",\n            \"co-insurance-percentage\": null,\n            \"seller-counsel\": null,\n            \"actual-close-date\": \"Apr 15, 2019\",\n            \"additional-information\": null,\n            \"co-insurance-1-percentage\": null,\n            \"co-insurance-2-underwriter-name\": null,\n            \"building-type\": null,\n            \"advisor\": null,\n            \"user-team-abbreviation\": \"O\",\n            \"document-restrictions\": \"restricted_visible\",\n            \"co-insurance-1-underwriter-name\": null,\n            \"metadata\": {\n                \"external_id\": \"123456\"\n            },\n            \"notes-enabled\": true,\n            \"lng\": null,\n            \"lender-counsel\": null,\n            \"co-insurance-3-title-company\": null,\n            \"purchase-amount\": null,\n            \"city\": null,\n            \"room-details-flag-enabled\": false,\n            \"name\": \"My new data room\",\n            \"state\": \"open\",\n            \"co-insurance-2-title-policy-number\": null,\n            \"co-insurance-1-title-company\": null,\n            \"purchaser\": null,\n            \"completed-percentage\": 0,\n            \"user-team-type\": \"Other\",\n            \"co-insurance-1-title-policy-number\": null,\n            \"custom-column-enabled\": true,\n            \"loan-amount\": null,\n            \"mezzanine-loan-amount\": null,\n            \"property-and-casuality-insurance-provider\": null,\n            \"surveyor\": null,\n            \"co-insurance-2-percentage\": null,\n            \"favorite\": false,\n            \"lat\": null,\n            \"total-transaction-amount\": \"$200,000,000\",\n            \"changelog-enabled\": true,\n            \"address-autocomplete\": null,\n            \"unread-notes-count\": 0,\n            \"borrower\": null,\n            \"address\": null,\n            \"other-financing-amount\": null,\n            \"second-mortgage-loan-amount\": null,\n            \"property-manager\": null,\n            \"lead-title-company\": null,\n            \"room-type\": \"Real Estate - Development\",\n            \"borrower-counsel\": null,\n            \"country\": null,\n            \"role\": \"host_admin\",\n            \"user-team-name\": \"RandomCoolName Company (OH)\",\n            \"unseen-changelog-entries-count\": 0,\n            \"co-insurance-3-title-number\": \"1234567\",\n            \"purchaser-counsel\": \"purchaser\",\n            \"seller\": \"seller\",\n            \"co-insurance-3-percentage\": \"13%\",\n            \"nick-name\": \"New Room\",\n            \"co-insurance-2-title-number\": \"12345\",\n            \"unread-docs-count\": 0,\n            \"estimated-close-date\": \"Mar 19, 2020\",\n            \"title-number\": null,\n            \"prodeal-number\": \"D-000-0004\",\n            \"underwriter-name\": null,\n            \"title-policy-number\": null,\n            \"investment-sales-broker\": null,\n            \"notes\": null,\n            \"engineer\": null,\n            \"zip-code\": null,\n            \"flood-insurance-provider\": null,\n            \"appraiser\": null,\n            \"co-insurance-2-title-company\": null,\n            \"co-insurance-3-underwriter-name\": null,\n            \"co-insurance-3-title-policy-number\": null,\n            \"folders-inbox-enabled\": false\n        }\n    }\n}"},{"id":"becd85ba-c3bb-4e0f-8630-838904120925","name":"Update a room metadata","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{  \n   \"data\":{  \n      \"type\":\"room\",\n      \"id\": \"4\",\n      \"attributes\":{  \n         \"metadata\": {\n        \t\"external_id\": \"665544\"\n         }\n      }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id"],"variable":[{"key":"room_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 04 Apr 2019 13:34:36 GMT"},{"key":"content-length","value":"2528"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2m94hjslnmgg0s4r740013t1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"team\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"name\": \"RandomCoolName Company (OH)\",\n                \"abbreviation\": \"O\"\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"room\",\n        \"relationships\": {\n            \"parties\": {\n                \"data\": [\n                    {\n                        \"type\": \"team\",\n                        \"id\": \"3\"\n                    }\n                ]\n            },\n            \"creator\": {\n                \"data\": {\n                    \"type\": \"user\",\n                    \"id\": \"1\"\n                }\n            }\n        },\n        \"meta\": {\n            \"link\": \"https://prodeal360.com/dashboard/4\"\n        },\n        \"id\": \"4\",\n        \"attributes\": {\n            \"construction-loan-amount\": null,\n            \"lender\": null,\n            \"agent-1031\": null,\n            \"co-insurance-1-title-number\": null,\n            \"mortgage-broker\": null,\n            \"custom-column-label\": \"Custom\",\n            \"co-insurance-percentage\": null,\n            \"seller-counsel\": null,\n            \"actual-close-date\": \"Apr 15, 2019\",\n            \"additional-information\": null,\n            \"co-insurance-1-percentage\": null,\n            \"co-insurance-2-underwriter-name\": null,\n            \"building-type\": null,\n            \"advisor\": null,\n            \"user-team-abbreviation\": \"O\",\n            \"document-restrictions\": \"restricted_visible\",\n            \"co-insurance-1-underwriter-name\": null,\n            \"metadata\": {\n                \"external_id\": \"665544\"\n            },\n            \"notes-enabled\": true,\n            \"lng\": null,\n            \"lender-counsel\": null,\n            \"co-insurance-3-title-company\": null,\n            \"purchase-amount\": null,\n            \"city\": null,\n            \"room-details-flag-enabled\": false,\n            \"name\": \"My new data room\",\n            \"state\": \"open\",\n            \"co-insurance-2-title-policy-number\": null,\n            \"co-insurance-1-title-company\": null,\n            \"purchaser\": null,\n            \"completed-percentage\": 0,\n            \"user-team-type\": \"Other\",\n            \"co-insurance-1-title-policy-number\": null,\n            \"custom-column-enabled\": true,\n            \"loan-amount\": null,\n            \"mezzanine-loan-amount\": null,\n            \"property-and-casuality-insurance-provider\": null,\n            \"surveyor\": null,\n            \"co-insurance-2-percentage\": null,\n            \"favorite\": false,\n            \"lat\": null,\n            \"total-transaction-amount\": \"$200,000,000\",\n            \"changelog-enabled\": true,\n            \"address-autocomplete\": null,\n            \"unread-notes-count\": 0,\n            \"borrower\": null,\n            \"address\": null,\n            \"other-financing-amount\": null,\n            \"second-mortgage-loan-amount\": null,\n            \"property-manager\": null,\n            \"lead-title-company\": null,\n            \"room-type\": \"Real Estate - Development\",\n            \"borrower-counsel\": null,\n            \"country\": null,\n            \"role\": \"host_admin\",\n            \"user-team-name\": \"RandomCoolName Company (OH)\",\n            \"unseen-changelog-entries-count\": 0,\n            \"co-insurance-3-title-number\": \"1234567\",\n            \"purchaser-counsel\": \"purchaser\",\n            \"seller\": \"seller\",\n            \"co-insurance-3-percentage\": \"13%\",\n            \"nick-name\": \"New Room\",\n            \"co-insurance-2-title-number\": \"12345\",\n            \"unread-docs-count\": 0,\n            \"estimated-close-date\": \"Mar 19, 2020\",\n            \"title-number\": null,\n            \"prodeal-number\": \"D-000-0004\",\n            \"underwriter-name\": null,\n            \"title-policy-number\": null,\n            \"investment-sales-broker\": null,\n            \"notes\": null,\n            \"engineer\": null,\n            \"zip-code\": null,\n            \"flood-insurance-provider\": null,\n            \"appraiser\": null,\n            \"co-insurance-2-title-company\": null,\n            \"co-insurance-3-underwriter-name\": null,\n            \"co-insurance-3-title-policy-number\": null,\n            \"folders-inbox-enabled\": false\n        }\n    }\n}"},{"id":"cdca9c79-42e0-45d2-a0b2-02abafed4a0a","name":"Update room notifications settings","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"user-notifications-settings\",\n        \"attributes\": {\n            \"new-line-item-note\": {\n                \"realtime\": \"all\",\n                \"daily_recap\": true\n            },\n            \"line-item-status-changed\": {\n                \"realtime\": \"all\",\n                \"daily_recap\": false\n            },\n            \"file-version-upload\": {\n                \"realtime\": \"all\",\n                \"daily_recap\": true\n            }\n        }\n    }\n}"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/notifications-settings","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","notifications-settings"],"variable":[{"key":"room_id","type":"string","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 16 Jun 2020 08:28:22 GMT"},{"key":"content-length","value":"527"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl7p1CdtAAAAB3VzZXJfaWRhAQ.QpY-LUQTgE-exEp_3Bi05nG4W8yoN4N1Kpd_t8PQgic; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2ocfhnkk2tf91pa6ks0002e1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"room-notifications-settings\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"new-line-item-note\": {\n                \"realtime\": \"all\",\n                \"daily-recap\": true\n            },\n            \"line-item-status-changed\": {\n                \"realtime\": \"all\",\n                \"daily-recap\": false\n            },\n            \"file-version-upload\": {\n                \"realtime\": \"all\",\n                \"daily-recap\": true\n            },\n            \"document-approved\": {\n                \"realtime\": \"none\",\n                \"daily-recap\": true\n            },\n            \"custom-column-updated\": {\n                \"realtime\": \"none\",\n                \"daily-recap\": true\n            },\n            \"checklist-item-deletion\": {\n                \"realtime\": \"none\",\n                \"daily-recap\": true\n            },\n            \"access-changed\": {\n                \"realtime\": \"none\",\n                \"daily-recap\": true\n            }\n        }\n    }\n}"}],"_postman_id":"dde38f87-24dd-47ea-8acc-68e99a12f6a5"},{"name":"Delete room","id":"2c36d928-e3cc-4af9-8f1b-05b1735b55a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/rooms/:room_id","description":"<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Only organization admin users can delete a room.</li>\n<li>The room deletion should be enabled to the organization.</li>\n</ul>\n","urlObject":{"path":["api","v2","rooms",":room_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"3aaebcbb-2980-4eae-8ab7-7cc61cb36644","type":"string","value":"","key":"room_id"}]}},"response":[{"id":"7c17d24b-1bd4-43b7-a73a-4a69e413b6e7","name":"Room successfully deleted","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id"],"variable":[{"key":"room_id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2c36d928-e3cc-4af9-8f1b-05b1735b55a7"}],"id":"aa405a2d-b878-4d2a-acfc-28777aee8aff","description":"<p>Endpoints for managing rooms.</p>\n","_postman_id":"aa405a2d-b878-4d2a-acfc-28777aee8aff"},{"name":"Custom Room Attributes","item":[{"name":"Custom Room Attribute Definitions","item":[{"name":"Get available custom attributes","id":"317dcd7c-5536-473a-bdd5-6f2402bad30f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","type":"text","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/custom-room-attribute-templates","description":"<p>Returns all custom attributes that are available in the current user's organization.</p>\n<h5 id=\"roles-and-permission\">Roles and permission</h5>\n<p>Only Organization admins can see the available custom attributes.</p>\n","urlObject":{"path":["api","v2","custom-room-attribute-templates"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"4a12d4e1-96c3-409b-b505-3bfae3dbdf21","name":"Get custom attribute definitions success","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","type":"text","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/custom-room-attribute-templates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"247"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"custom-room-attribute-template\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"label\": \"Custom field 1\",\n                \"hidden\": false\n            }\n        },\n        {\n            \"type\": \"custom-room-attribute-template\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"label\": \"Custom field 2\",\n                \"hidden\": false\n            }\n        }\n    ]\n}"}],"_postman_id":"317dcd7c-5536-473a-bdd5-6f2402bad30f"},{"name":"Get available custom attributes for a room","id":"d5b550f2-c3f5-4751-9cf8-54fb4548b3ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","type":"text","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/rooms/:room_id/relationships/custom-room-attribute-templates","description":"<p>Returns all custom attributes that are available for the specified room. </p>\n<h5 id=\"roles-and-permission\">Roles and permission</h5>\n<p>Only Organization admins that are invited to the room, can see the available custom attributes for that room.</p>\n","urlObject":{"path":["api","v2","rooms",":room_id","relationships","custom-room-attribute-templates"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"674160ba-b5cf-4f07-9c08-f3ab48a44249","type":"string","value":"2","key":"room_id"}]}},"response":[{"id":"a42177f5-039c-4073-a43e-8884c07676ea","name":"Get room attribute templates success","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","type":"text","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/relationships/custom-room-attribute-templates","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","relationships","custom-room-attribute-templates"],"variable":[{"key":"room_id","value":"2","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"887"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"custom-room-attribute-template\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"label\": \"Agent\",\n                \"hidden\": true\n            }\n        },\n        {\n            \"type\": \"custom-room-attribute-template\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"label\": \"1st Mortgage Loan Amount\",\n                \"hidden\": true\n            }\n        }\n    ]\n}"}],"_postman_id":"d5b550f2-c3f5-4751-9cf8-54fb4548b3ca"},{"name":"Create custom room attribute","id":"68544f52-6eb5-4e0a-94ca-457e74afd22a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"custom-room-attribute-template\",\n\t\t\"attributes\": {\n\t\t\t\"label\": \"label-1\"\n\t\t}\n\t}\n}\n"},"url":"http://localhost:4000//api/v2/custom-room-attribute-templates","description":"<h5 id=\"roles-and-permission\">Roles and permission</h5>\n<p>Only Organization admins can define custom attributes.</p>\n","urlObject":{"path":["api","v2","custom-room-attribute-templates"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"c141dcc2-013f-4c86-a070-51ae0d77a441","name":"Custom attribute template created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"custom-room-attribute-template\",\n\t\t\"attributes\": {\n\t\t\t\"label\": \"label-1\"\n\t\t}\n\t}\n}\n"},"url":"http://localhost:4000//api/v2/custom-room-attribute-templates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"137"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"custom-room-attribute-template\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"label\": \"label-1\",\n            \"hidden\": false\n        }\n    }\n}"}],"_postman_id":"68544f52-6eb5-4e0a-94ca-457e74afd22a"},{"name":"Update custom room attribute","id":"bda72b61-71db-43e4-8334-ef3b9e8d0273","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"custom-room-attribute-template\",\n\t\t\"attributes\": {\n\t\t\t\"label\": \"label_a_updated\"\n\t\t}\n\t}\n}"},"url":"http://localhost:4000//api/v2/custom-room-attribute-templates/:id","description":"<h5 id=\"roles-and-permission\">Roles and permission</h5>\n<p>Only Organization admins can update custom attributes definitions.</p>\n","urlObject":{"path":["api","v2","custom-room-attribute-templates",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"b0b9d5eb-f94f-476d-afa3-775d3e8198a1","type":"string","value":"1","key":"id"}]}},"response":[{"id":"055dc0f9-8ce4-4849-91cc-5497d859f3d6","name":"Custom attribute template updated","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"custom-room-attribute-template\",\n\t\t\"attributes\": {\n\t\t\t\"label\": \"label_a_updated\"\n\t\t}\n\t}\n}"},"url":{"raw":"http://localhost:4000//api/v2/custom-room-attribute-templates/:id","host":["http://localhost:4000/"],"path":["api","v2","custom-room-attribute-templates",":id"],"variable":[{"key":"id","value":"1","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"145"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"custom-room-attribute-template\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"label\": \"label_a_updated\",\n            \"hidden\": false\n        }\n    }\n}"}],"_postman_id":"bda72b61-71db-43e4-8334-ef3b9e8d0273"},{"name":"Delete custom room attribute","id":"9bcac9a7-accc-499c-ada8-d5c902f006ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/custom-room-attribute-templates/:id","description":"<h5 id=\"roles-and-permission\">Roles and permission</h5>\n<p>Only Organization admins can delete custom attributes.</p>\n","urlObject":{"path":["api","v2","custom-room-attribute-templates",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"235c027c-c831-4c46-b2ef-b2137ce57a2a","type":"string","value":"1","key":"id"}]}},"response":[{"id":"1f63f625-c458-4b86-a2e3-7d354a50dac9","name":"Custom attribute template deleted","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/custom-room-attribute-templates/:id","host":["http://localhost:4000/"],"path":["api","v2","custom-room-attribute-templates",":id"],"variable":[{"key":"id","value":"1","type":"string"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9bcac9a7-accc-499c-ada8-d5c902f006ea"}],"id":"62add66c-c49f-4a70-9533-b27cd5013340","description":"<p>The set of endpoints used to view and define available room custom attributes.</p>\n","_postman_id":"62add66c-c49f-4a70-9533-b27cd5013340"},{"name":"Custom Room Attribute Values","item":[{"name":"Get custom attributes and their values for a room","id":"629016ac-207c-41d6-9b54-3e89ec72c912","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/rooms/:room_id/custom-room-attributes ","description":"<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>By default, custom attribute definitions (templates) are included.\nIf no attributes were set for that room, the response will return an empty array, and no includes.</p>\n","urlObject":{"path":["api","v2","rooms",":room_id","custom-room-attributes "],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"7e24f799-5a13-4e95-a67d-90d390df6ae5","type":"string","value":"2","key":"room_id"}]}},"response":[{"id":"0628ce45-19f5-4f5e-9046-b41526e39cc0","name":"Custom attribute values exist","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/custom-room-attributes ","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","custom-room-attributes "],"variable":[{"key":"room_id","type":"string","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"208"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"custom-room-attribute-template\",\n            \"id\": \"314\",\n            \"attributes\": {\n                \"label\": \"Custom attribute 1\",\n                \"hidden\": false\n            }\n        },\n        {\n            \"type\": \"custom-room-attribute-template\",\n            \"id\": \"315\",\n            \"attributes\": {\n                \"label\": \"Custom attribute 2\",\n                \"hidden\": false\n            }\n        }\n    ],\n    \"data\": [\n        {\n            \"type\": \"custom-room-attribute\",\n            \"relationships\": {\n                \"custom-room-attribute-template\": {\n                    \"data\": {\n                        \"type\": \"custom-room-attribute-template\",\n                        \"id\": \"314\"\n                    }\n                }\n            },\n            \"id\": \"55\",\n            \"attributes\": {\n                \"value\": \"value 1\"\n            }\n        },\n        {\n            \"type\": \"custom-room-attribute\",\n            \"relationships\": {\n                \"custom-room-attribute-template\": {\n                    \"data\": {\n                        \"type\": \"custom-room-attribute-template\",\n                        \"id\": \"315\"\n                    }\n                }\n            },\n            \"id\": \"56\",\n            \"attributes\": {\n                \"value\": \"value 2\"\n            }\n        }\n    ]\n}"},{"id":"68cec5c0-ac41-471c-b0f6-d4b8fc3355fd","name":"Custom attribute values not set","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/custom-room-attributes ","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","custom-room-attributes "],"variable":[{"key":"room_id","type":"string","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"39"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": []\n}"}],"_postman_id":"629016ac-207c-41d6-9b54-3e89ec72c912"},{"name":"Set value for custom attribute in a room","id":"fee7394a-6a26-4aad-a258-354ca36f9f70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"custom-room-attribute\",\n\t\t\"attributes\": {\n\t\t\t\"deal-id\": 2,\n\t\t\t\"value\": \"value-2\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"custom-room-attribute-template\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"custom-room-attribute-template\", \n\t\t\t\t\t\"id\": 314\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"},"url":"http://localhost:4000//api/v2/rooms/:room_id/custom-room-attributes","description":"<p>Use this endpoint to set the value for the custom attribute if it doesn't already exist in that room.</p>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>By default, custom attribute definitions are included.</p>\n<h5 id=\"errors\">Errors</h5>\n<p>Error <code>422</code> is returned if a value for the custom attribute has already been set.</p>\n<h5 id=\"roles-and-permission\">Roles and permission</h5>\n<p>Only room Hosts can update custom attribute values.</p>\n","urlObject":{"path":["api","v2","rooms",":room_id","custom-room-attributes"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"edd2d4a5-7680-4747-96e3-3d43a114517f","type":"string","value":"2","key":"room_id"}]}},"response":[{"id":"321dda5a-e7b1-4b0d-9984-a1aa1cf0de40","name":"Custom attribute value created","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"custom-room-attribute\",\n\t\t\"attributes\": {\n\t\t\t\"deal-id\": 2,\n\t\t\t\"value\": \"value-1\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"custom-room-attribute-template\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"custom-room-attribute-template\", \n\t\t\t\t\t\"id\": 314\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/custom-room-attributes","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","custom-room-attributes"],"variable":[{"key":"room_id","value":"2","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"183"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"custom-room-attribute-template\",\n            \"id\": \"314\",\n            \"attributes\": {\n                \"label\": \"Custom attribute 1\",\n                \"hidden\": false\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"custom-room-attribute\",\n        \"relationships\": {\n            \"custom-room-attribute-template\": {\n                \"data\": {\n                    \"type\": \"custom-room-attribute-template\",\n                    \"id\": \"314\"\n                }\n            }\n        },\n        \"id\": \"57\",\n        \"attributes\": {\n            \"value\": \"value-1\"\n        }\n    }\n}"},{"id":"bdf445dc-a8c9-47c5-b3bb-f2e5bae514eb","name":"Custom attribute value already set","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"custom-room-attribute\",\n\t\t\"attributes\": {\n\t\t\t\"deal-id\": 2,\n\t\t\t\"value\": \"value-2\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"custom-room-attribute-template\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"custom-room-attribute-template\", \n\t\t\t\t\t\"id\": 314\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/custom-room-attributes","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","custom-room-attributes"],"variable":[{"key":"room_id","value":"2","type":"string"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"237"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"has already been taken\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/custom-room-attribute-template\"\n            },\n            \"detail\": \"Custom room attribute template has already been taken\",\n            \"code\": null\n        }\n    ]\n}"}],"_postman_id":"fee7394a-6a26-4aad-a258-354ca36f9f70"},{"name":"Update value for custom attribute in a room","id":"a0615d2d-48a2-442e-81c8-168ec92dae2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"custom-room-attribute\",\n\t\t\"attributes\": {\n\t\t\t\"value\": \"2\"\n\t\t}\n    }\n}"},"url":"http://localhost:4000//api/v2/rooms/:room_id/custom-room-attributes/:id","description":"<p>Use this endpoint to change the existing value for the custom attribute in a room.</p>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>By default, custom attribute definitions are included.</p>\n<h5 id=\"roles-and-permission\">Roles and permission</h5>\n<p>Only room Hosts can update custom attribute values.</p>\n","urlObject":{"path":["api","v2","rooms",":room_id","custom-room-attributes",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"6b6c8676-ae73-4648-b58f-c3d07435ba6e","type":"string","value":"2","key":"room_id"},{"id":"cb2047aa-aac8-4e92-8659-94d5bcf39291","type":"string","value":"1","key":"id"}]}},"response":[{"id":"fbf2e598-d4e0-4012-884d-48530a23690e","name":"Custom attribute value updated","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n\t\"data\": {\n\t\t\"type\": \"custom-room-attribute\",\n\t\t\"attributes\": {\n\t\t\t\"value\": \"2\"\n\t\t}\n    }\n}"},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/custom-room-attributes/:id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","custom-room-attributes",":id"],"variable":[{"key":"room_id","type":"string","value":"2"},{"key":"id","type":"string","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"180"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"custom-room-attribute-template\",\n            \"id\": \"314\",\n            \"attributes\": {\n                \"label\": \"Custom attribute 1\",\n                \"hidden\": false\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"custom-room-attribute\",\n        \"relationships\": {\n            \"custom-room-attribute-template\": {\n                \"data\": {\n                    \"type\": \"custom-room-attribute-template\",\n                    \"id\": \"314\"\n                }\n            }\n        },\n        \"id\": \"1\",\n        \"attributes\": {\n            \"value\": \"2\"\n        }\n    }\n}"}],"_postman_id":"a0615d2d-48a2-442e-81c8-168ec92dae2a"},{"name":"Remove value for custom attribute in a room","id":"22dd2997-b60d-42ea-af69-223863109d8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/rooms/:room_id/custom-room-attributes/:id","description":"<h5 id=\"roles-and-permission\">Roles and permission</h5>\n<p>Only room Hosts can update custom attribute values.</p>\n","urlObject":{"path":["api","v2","rooms",":room_id","custom-room-attributes",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"a57d60d4-4ba0-4bc3-85be-e559f6952be3","type":"string","value":"2","key":"room_id"},{"id":"06300216-4f0d-4424-bbfa-07be7e55602f","type":"string","value":"1","key":"id"}]}},"response":[{"id":"0c0e0d0e-210c-4197-8588-9f5ebac9bdae","name":"Custom room attribute removed","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id/custom-room-attributes/:id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id","custom-room-attributes",":id"],"variable":[{"key":"room_id","value":"755","type":"string"},{"key":"id","value":"55","type":"string"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"22dd2997-b60d-42ea-af69-223863109d8b"}],"id":"6750b3f7-7d75-43d0-a9c5-c66549f1e798","description":"<p>The set of endpoints used to read and update values of custom attributes for each room.</p>\n","_postman_id":"6750b3f7-7d75-43d0-a9c5-c66549f1e798"}],"id":"8c0d3faa-e02f-4b93-8078-3df62d88caca","description":"<p>Custom attributes contain additional information about a room. They can contain any value the user sets.</p>\n","event":[{"listen":"prerequest","script":{"id":"ff28bcff-31a7-4e5e-be95-49a64514df2a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5117303d-05a2-4c1a-ab9b-601def67a4e1","type":"text/javascript","exec":[""]}}],"_postman_id":"8c0d3faa-e02f-4b93-8078-3df62d88caca"},{"name":"Export","item":[{"name":"Export rooms to CSV","id":"59332762-bafd-460f-8c8e-e009a7ee0cb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/rooms/export-csv","description":"<p>Returns .csv file with all rooms that belong to the organization.</p>\n<h5 id=\"roles-and-permission\">Roles and permission</h5>\n<p>Only Organization admins can create this report.</p>\n","urlObject":{"path":["api","v2","rooms","export-csv"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"0ae66e11-833f-46a1-824b-9f843e1db6aa","name":"Export rooms to csv","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/rooms/export-csv"},"status":"OK","code":200,"_postman_previewlanguage":"raw","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 26 Dec 2019 09:22:18 GMT"},{"key":"content-length","value":"471"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2nhu2qe5dlah0ugg0o002ha1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"content-type","value":"application/csv; charset=utf-8"},{"key":"content-disposition","value":"attachment; filename=rooms.csv"}],"cookie":[],"responseTime":null,"body":"id,name,inserted_at,state,type,estimated_close_date,actual_close_date,total_transaction_amount,permission_type,additional_information,prodeal_number,completed_percentage,label-a,label-c,external_id,metatata\r\n1,Open Room,2019-12-20 15:11:01.545158,open,real_estate_-_acquisition,2017-08-15,,,open,,D-000-0001,0,value1,asasas,123456,\r\n2,Confidential Room,2019-12-20 15:11:01.550992,open,real_estate_-_acquisition,2017-08-15,,,confidential,,D-000-0002,0,value2,,666,ekstra\r\n"}],"_postman_id":"59332762-bafd-460f-8c8e-e009a7ee0cb8"},{"name":"Room PDF export","id":"88d07ada-7e05-485d-a6e4-8a3af8a600d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/rooms/:id/export","urlObject":{"path":["api","v2","rooms",":id","export"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"d8d6c472-c88f-46cd-ab35-53631b4c9c8d","type":"string","value":"2","key":"id"}]}},"response":[{"id":"02ff09da-f646-4d58-8300-ee7cf30d462f","name":"Room pdf export","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/rooms/:id/export","host":["http://localhost:4000/"],"path":["api","v2","rooms",":id","export"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Wed, 22 Jan 2020 10:03:13 GMT"},{"key":"content-length","value":"946"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2nm2qk5qm6fr0e7phg003vu4"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"  %PDF-1.\n  trailer<</Root<</Pages<</Kids[<</MediaBox[0 0 3 3]>>]>>>>>>"}],"_postman_id":"88d07ada-7e05-485d-a6e4-8a3af8a600d3"},{"name":"Room XLSX export","id":"30ae21d1-d475-4ad7-ad70-b71ed856e2bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/rooms/:id/export/xlsx?type=checklist","urlObject":{"path":["api","v2","rooms",":id","export","xlsx"],"host":["http://localhost:4000/"],"query":[{"key":"type","value":"checklist"}],"variable":[{"id":"d8d6c472-c88f-46cd-ab35-53631b4c9c8d","type":"string","value":"2","key":"id"}]}},"response":[{"id":"1f3708fd-3d79-408e-be59-10d34db407d5","name":"Room pdf export","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/rooms/:id/export","host":["http://localhost:4000/"],"path":["api","v2","rooms",":id","export"],"variable":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Wed, 22 Jan 2020 10:03:13 GMT"},{"key":"content-length","value":"946"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2nm2qk5qm6fr0e7phg003vu4"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"  %PDF-1.\n  trailer<</Root<</Pages<</Kids[<</MediaBox[0 0 3 3]>>]>>>>>>"}],"_postman_id":"30ae21d1-d475-4ad7-ad70-b71ed856e2bb"},{"name":"Request a bulk a download","id":"11d72c77-aac6-4b41-b421-b319a3651742","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n   \"data\": {\n      \"type\": \"room-bulk-download\",\n      \"attributes\": {\n        \"without-folders\": false,\n        \"send-email\": false,\n        \"download-compatible-mode\": true,\n        \"selection\": [\n           \"d_120613\",\n           \"f_11786\",\n           \"f_11785\"\n        ],\n        \"download-originals\": false,\n\t\t\"callback-url\": \"https://mydomain.com/download_callback\"\n      },\n      \"relationships\": {\n         \"room\": {\n            \"data\": {\n               \"id\": 836,\n               \"type\": \"room\"\n            }\n         }\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/room-bulk-downloads","description":"<h4 id=\"fields\">Fields</h4>\n<ul>\n<li><strong>room_id</strong>: Room id (can be specified as an attribute or a relationship).</li>\n<li><strong>selection</strong>: Specify which folders or documents to be downloaded. The id format is f_ + folder_id for folder and d_ + document_id for documents.</li>\n<li><strong>without_folders (optional)</strong>: Create a package only with documents.</li>\n<li><strong>send_email (optional)</strong>: Send an email with the package link for download.</li>\n<li><strong>download_originals (optional)</strong>: Download the original documents without watermarking.</li>\n<li><strong>callback_url (optional)</strong>: The callback url will receive a POST with the link to download the package. For the request format please refer to the \"Get the bulk download url\" section.</li>\n</ul>\n","urlObject":{"path":["api","v2","room-bulk-downloads"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"d33d5853-78bd-4155-8d53-fca0f948b9f1","name":"Request a bulk a download","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","name":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n   \"data\": {\n      \"type\": \"room-bulk-download\",\n      \"attributes\": {\n        \"without-folders\": false,\n        \"send-email\": false,\n        \"selection\": [\n           \"d_120613\",\n           \"f_11786\",\n           \"f_11785\"\n        ],\n        \"download-originals\": false,\n\t\t\"callback-url\": \"https://mydomain.com/download_callback\"\n      },\n      \"relationships\": {\n         \"room\": {\n            \"data\": {\n               \"id\": 836,\n               \"type\": \"room\"\n            }\n         }\n      }\n   }\n}"},"url":"http://localhost:4000//api/v2/room-bulk-downloads"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 03 Nov 2020 02:51:59 GMT"},{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"249"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=DK901whnBQ7AMIkhjMVa6PQxyiFpwqv3EsNWNrH1ZcxZYzBwaZNTzdmlwpUk18QUQtI53bOJPE7RbTxjVUU0HbxF04YJ9GyL2rEOJXtIG0wVz42ZX6lrvWPNIZY/; Expires=Tue, 10 Nov 2020 02:51:59 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=DK901whnBQ7AMIkhjMVa6PQxyiFpwqv3EsNWNrH1ZcxZYzBwaZNTzdmlwpUk18QUQtI53bOJPE7RbTxjVUU0HbxF04YJ9GyL2rEOJXtIG0wVz42ZX6lrvWPNIZY/; Expires=Tue, 10 Nov 2020 02:51:59 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx"},{"key":"content-encoding","value":"gzip"},{"key":"set-cookie","value":"_prodeal360=session_rEplJdKQ3xyKUGiICNT4CoTVdo/LjFTiQ+KxT3yDImDDd/P343oS1xtkd+0ReAwmsZp6ugTEmHXfpKDjMBYZkg86AKO1mqq11c5FLBEQxt5lKfzuMZ5RkSP+FbJdZc98; path=/; domain=sandbox.prodeal.dev; secure; HttpOnly"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"FkPfwploizlwAkUAAAuC"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"room-bulk-download\",\n        \"id\": \"4\",\n        \"attributes\": {\n            \"without-folders\": false,\n            \"updated-at\": \"2020-11-03T02:51:59.214982\",\n            \"send-email\": false,\n            \"selection\": [\n                \"d_120613\",\n                \"f_11786\",\n                \"f_11785\"\n            ],\n            \"only-final\": null,\n            \"inserted-at\": \"2020-11-03T02:51:59.214982\",\n            \"download-url\": null,\n            \"download-originals\": false,\n            \"callback-url\": \"https://mydomain.com/download_callback\"\n        }\n    }\n}"}],"_postman_id":"11d72c77-aac6-4b41-b421-b319a3651742"},{"name":"Get a bulk download request information","id":"a7e29bd0-3ba6-4f47-89ac-9252102eed35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/room-bulk-downloads/:bulk_download_id","urlObject":{"path":["api","v2","room-bulk-downloads",":bulk_download_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"eaeba651-0d6b-4869-98e6-9006a2f7a008","type":"string","value":"4","key":"bulk_download_id"}]}},"response":[{"id":"5f11c000-83b1-463d-9d65-ee0f682f4755","name":"Get a bulk download request information","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/room-bulk-downloads/:bulk_download_id","host":["http://localhost:4000/"],"path":["api","v2","room-bulk-downloads",":bulk_download_id"],"variable":[{"key":"bulk_download_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 03 Nov 2020 02:53:03 GMT"},{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"284"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=birjgS5muhBZWfIuUQwIv50fcv5Fcay+rp3dHBIyFqqA9QYQi2X38oyYYMAR8APGScztx3bVpDNvKVt11ATeTExyTFvGWhNoooFSQuTfxYrPd2Wrzccgjg4sgfW4; Expires=Tue, 10 Nov 2020 02:53:03 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=birjgS5muhBZWfIuUQwIv50fcv5Fcay+rp3dHBIyFqqA9QYQi2X38oyYYMAR8APGScztx3bVpDNvKVt11ATeTExyTFvGWhNoooFSQuTfxYrPd2Wrzccgjg4sgfW4; Expires=Tue, 10 Nov 2020 02:53:03 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx"},{"key":"content-encoding","value":"gzip"},{"key":"set-cookie","value":"_prodeal360=session_rEplJdKQ3xyKUGiICNT4CoTVdo/LjFTiQ+KxT3yDImDDd/P343oS1xtkd+0ReAwmsZp6ugTEmHXfpKDjMBYZkg86AKO1mqq11c5FLBEQxt5lKfzuMZ5RkSP+FbJdZc98; path=/; domain=sandbox.prodeal.dev; secure; HttpOnly"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"FkPf0ZIq3W1EKbYAAA7B"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"room-bulk-download\",\n        \"id\": \"4\",\n        \"attributes\": {\n            \"without-folders\": false,\n            \"updated-at\": \"2020-11-03T02:51:59.493517\",\n            \"send-email\": false,\n            \"selection\": [\n                \"d_120613\",\n                \"f_11786\",\n                \"f_11785\"\n            ],\n            \"only-final\": null,\n            \"inserted-at\": \"2020-11-03T02:51:59.214982\",\n            \"download-url\": \"https://sandbox.prodeal.dev/s/rbLvxYx_LuE\",\n            \"download-originals\": false,\n            \"callback-url\": \"https://mydomain.com/download_callback\"\n        }\n    }\n}"}],"_postman_id":"a7e29bd0-3ba6-4f47-89ac-9252102eed35"}],"id":"4e0a781f-7f29-45eb-a9b5-a6c078c5ebf5","_postman_id":"4e0a781f-7f29-45eb-a9b5-a6c078c5ebf5","description":""},{"name":"Get room settings","id":"07b63305-26f6-48c3-a431-eb71fb53e482","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/rooms/:room_id","description":"<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>organization</code></li>\n<li><code>creator</code></li>\n<li><code>whitelisted_organizations</code></li>\n<li><code>parties</code> (teams)</li>\n<li><code>workspace</code></li>\n</ul>\n<p>By default, if nothing is specified, teams are included. However, if the <code>include</code> parameter is added, then <strong>only the specified entities are included</strong>.</p>\n","urlObject":{"path":["api","v2","rooms",":room_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"c7577a14-c4bc-41d4-ad51-11c26804499c","type":"string","value":"4","key":"room_id"}]}},"response":[{"id":"b4c65b26-7e68-483e-8b56-85f19c387aeb","name":"Returns a room","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/rooms/:room_id","host":["http://localhost:4000/"],"path":["api","v2","rooms",":room_id"],"variable":[{"key":"room_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 04 Apr 2019 13:41:21 GMT"},{"key":"content-length","value":"2528"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2m94ibdhtfqmc90et8001401"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"included\": [\n    {\n      \"type\": \"team\",\n      \"id\": \"2\",\n      \"attributes\": {\n        \"type-name\": \"Buyer\",\n        \"role-id\": \"host_admin\",\n        \"name\": \"Capital Bancshares\",\n        \"is-member\": true,\n        \"abbreviation\": \"CBA\"\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"4\",\n      \"attributes\": {\n        \"type-name\": \"Seller\",\n        \"role-id\": \"admin\",\n        \"name\": \"Trustcorp Financial\",\n        \"is-member\": false,\n        \"abbreviation\": \"TFI\"\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"6\",\n      \"attributes\": {\n        \"type-name\": \"Other\",\n        \"role-id\": \"guest\",\n        \"name\": \"Azure Trust\",\n        \"is-member\": false,\n        \"abbreviation\": \"AZT\"\n      }\n    }\n  ],\n  \"data\": {\n    \"type\": \"room\",\n    \"relationships\": {\n      \"workspace\": {\n        \"data\": null\n      },\n      \"parties\": {\n        \"data\": [\n          {\n            \"type\": \"team\",\n            \"id\": \"2\"\n          },\n          {\n            \"type\": \"team\",\n            \"id\": \"4\"\n          },\n          {\n            \"type\": \"team\",\n            \"id\": \"6\"\n          }\n        ]\n      },\n      \"creator\": {\n        \"data\": {\n          \"type\": \"user\",\n          \"id\": \"3\"\n        }\n      }\n    },\n    \"meta\": {\n      \"link\": \"https://prodeal360.com/dashboard/2\"\n    },\n    \"id\": \"2\",\n    \"attributes\": {\n      \"construction-loan-amount\": null,\n      \"lender\": null,\n      \"agent-1031\": null,\n      \"co-insurance-1-title-number\": null,\n      \"mortgage-broker\": null,\n      \"custom-column-label\": \"Custom\",\n      \"co-insurance-percentage\": null,\n      \"seller-counsel\": null,\n      \"actual-close-date\": null,\n      \"additional-information\": null,\n      \"co-insurance-1-percentage\": null,\n      \"co-insurance-2-underwriter-name\": null,\n      \"building-type\": null,\n      \"advisor\": null,\n      \"user-team-abbreviation\": \"CBA\",\n      \"co-insurance-1-underwriter-name\": null,\n      \"metadata\": {},\n      \"notes-enabled\": true,\n      \"lng\": null,\n      \"lender-counsel\": null,\n      \"co-insurance-3-title-company\": null,\n      \"purchase-amount\": null,\n      \"city\": \"Manhattan\",\n      \"room-details-flag-enabled\": false,\n      \"name\": \"Confidential Room\",\n      \"state\": \"open\",\n      \"co-insurance-2-title-policy-number\": null,\n      \"co-insurance-1-title-company\": null,\n      \"purchaser\": null,\n      \"completed-percentage\": 0.0,\n      \"role-id\": \"host_admin\",\n      \"creator-party-id\": null,\n      \"user-team-type\": \"Buyer\",\n      \"co-insurance-1-title-policy-number\": null,\n      \"custom-column-enabled\": false,\n      \"loan-amount\": null,\n      \"mezzanine-loan-amount\": null,\n      \"property-and-casuality-insurance-provider\": null,\n      \"surveyor\": null,\n      \"co-insurance-2-percentage\": null,\n      \"favorite\": false,\n      \"lat\": null,\n      \"total-transaction-amount\": null,\n      \"changelog-enabled\": true,\n      \"address-autocomplete\": null,\n      \"unread-notes-count\": 0,\n      \"borrower\": null,\n      \"address\": \"Broadway 1384\",\n      \"other-financing-amount\": null,\n      \"second-mortgage-loan-amount\": null,\n      \"permission-type\": \"confidential\",\n      \"property-manager\": null,\n      \"lead-title-company\": null,\n      \"room-type\": \"Real Estate - Acquisition\",\n      \"borrower-counsel\": null,\n      \"country\": null,\n      \"user-team-name\": \"Capital Bancshares\",\n      \"unseen-changelog-entries-count\": 1,\n      \"co-insurance-3-title-number\": null,\n      \"purchaser-counsel\": null,\n      \"seller\": null,\n      \"co-insurance-3-percentage\": null,\n      \"nick-name\": null,\n      \"co-insurance-2-title-number\": null,\n      \"unread-docs-count\": 0,\n      \"estimated-close-date\": \"Aug 15, 2017\",\n      \"title-number\": null,\n      \"prodeal-number\": \"D-000-0002\",\n      \"underwriter-name\": null,\n      \"title-policy-number\": null,\n      \"investment-sales-broker\": null,\n      \"notes\": \"Some notes over here.\",\n      \"engineer\": null,\n      \"zip-code\": null,\n      \"flood-insurance-provider\": null,\n      \"appraiser\": null,\n      \"co-insurance-2-title-company\": null,\n      \"co-insurance-3-underwriter-name\": null,\n      \"co-insurance-3-title-policy-number\": null,\n      \"folders-inbox-enabled\": false\n    }\n  }\n}"}],"_postman_id":"07b63305-26f6-48c3-a431-eb71fb53e482"}],"id":"c762a5c8-481c-4278-9bfc-00ae59bea284","description":"<p>A room is a root level object of your deal's data structure. Rooms contain checklists that contain folders and files.</p>\n<p>A room has 2 sets of properties: fixed (always exist in all rooms) and custom (user-defined, per organization).</p>\n<h5 id=\"fixed-properties\">Fixed properties:</h5>\n<h6 id=\"details\">Details</h6>\n<ul>\n<li><code>id</code> - ID (auto-generated, read-only)</li>\n<li><code>prodeal-number</code> - ProDeal Number (auto-generated, read-only)</li>\n<li><code>created-at-utc</code> - Room Created Date (auto-generated, read-only)</li>\n<li><code>name</code> - Room Name (required; 50 characters max)</li>\n<li><code>room-type</code> - Room Type (required)</li>\n<li><code>total-transaction-amount</code> - Total Transaction Amount</li>\n<li><code>building-type</code> - Asset Type</li>\n<li><code>estimated-close-date</code> - Estimated Closing Date</li>\n<li><code>actual-close-date</code> - Closed Date</li>\n</ul>\n<h6 id=\"settings\">Settings</h6>\n<ul>\n<li><code>state</code> - Room status: active or inactive. While a room is inactive, documents cannot be deleted and email notifications are no longer sent.</li>\n<li><code>org-private</code> - Private room. When \"Private room\" is on, only members of the room's organization can get an invite to the room.</li>\n<li><code>custom-column-enabled</code> - Custom column. When enabled, an additional column will appear in the checklist's column switcher.</li>\n<li><code>custom-column-label</code> - Custom column label (20 characters max)</li>\n<li><code>changelog-enabled</code> - Activity report. This tracks all activities happening in the room.</li>\n<li><code>folders-inbox-enabled</code> - Email-to-folder. Allow sending emails with attachments directly to a folder.</li>\n<li><code>documents-watermark-enabled</code> - Documents watermark. When enabled, all documents will be converted to PDF on upload and watermarked when viewed and downloaded.</li>\n<li><code>documents-watermark-text</code> - Custom documents watermark text that will appear on PDFs. (50 characters max)</li>\n<li><code>notes-enabled</code> - When turned off, users will not be able to communicate about checklist items via notes.</li>\n<li><code>permission-type</code> - Checklist Access Management: \"open\" or \"confidential\" (read-only, set during the room creation. \"confidential\" by default.)</li>\n</ul>\n<h5 id=\"custom-properties\">Custom properties:</h5>\n<p>To assign custom values to rooms, you can use either <code>custom room attributes</code> or <code>metadata</code> property.</p>\n<p>Use <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#59d1c0aa-8a70-4bd6-b6ad-860f6eaff73b\">custom room attributes</a> to define a set of properties that can be used in all rooms within one organization. (preferred)</p>\n<p>Use metadata to assign a specific key/value information to only one room.</p>\n","event":[{"listen":"prerequest","script":{"id":"fcc964fc-3dae-4f23-8655-1d6d42c1843d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"64d868cc-0d7c-4670-bbea-528185e95f19","type":"text/javascript","exec":[""]}}],"_postman_id":"c762a5c8-481c-4278-9bfc-00ae59bea284"},{"name":"Workspaces","item":[{"name":"Get all workspaces","id":"5cf55c35-c72c-44c9-8ed4-ba8dcc1be191","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/workspaces?filter[workspace]=room_only&include=rooms,rooms.parties&filter[state]=open","description":"<h5 id=\"filters\">Filters</h5>\n<p><em>workspace</em>: view_type (<code>member_only</code>, <code>room_only</code>)</p>\n<ul>\n<li><code>member_only</code> returns only those workspaces where user is a member (default)</li>\n<li><code>room_only</code> returns only those workspaces in which user has rooms</li>\n</ul>\n<h5 id=\"rooms-filters\">Rooms filters</h5>\n<p><em>bookmarked</em>: Favorite deals.\nCan take values <code>true</code> or <code>false</code>.</p>\n<p><em>search_term</em>: A string containing terms to search</p>\n<p><em>state</em>: Active/inactive deals.\nCan take values <code>\"open\"</code> or <code>\"closed\"</code>.</p>\n<p><em>room_type</em>: The Room type. Can take the next values:</p>\n<ul>\n<li><code>real_estate_-_acquisition</code> for <code>Real Estate - Acquisition</code></li>\n<li><code>real_estate_-_refinance</code> for <code>Real Estate - Refinance</code></li>\n<li><code>real_estate_-_development</code> for <code>Real Estate - Development</code></li>\n<li><code>real_estate_-_asset_management</code> for <code>Real Estate - Asset Management</code></li>\n<li><code>real_estate_-_leasing</code> for <code>Real Estate - Leasing</code></li>\n<li><code>real_estate_-_syndication</code> for <code>Real Estate - Syndication</code></li>\n<li><code>real_estate_-_leasehold</code> for <code>Real Estate - Leasehold</code> </li>\n<li><code>real_estate_-_syndication</code> for <code>Real Estate - Financing/Refinancing</code></li>\n<li><code> real_estate_-_disposition</code> for <code>Real Estate - Disposition</code></li>\n<li><code>real_estate_-_other</code> for <code>Real Estate - Other</code></li>\n<li><code>energy</code> for <code>Energy</code></li>\n<li><code>infrastructure</code> for <code>Infrastructure</code></li>\n<li><code>aviation</code> for <code>Aviation</code></li>\n<li><code>corporate</code> for <code>Corporate</code></li>\n<li><code>litigation</code> for <code>Litigation</code></li>\n<li><code>litigation_financing</code> for <code>Litigation Financing</code></li>\n<li><code>other</code> for <code>Other</code></li>\n</ul>\n<p><em>building_type</em>: A string accepting some of the next values:</p>\n<ul>\n<li><code>Hospitality</code></li>\n<li><code>Industrial</code></li>\n<li><code>Land</code></li>\n<li><code>Mixed-Use</code></li>\n<li><code>Multifamily</code></li>\n<li><code>Office</code></li>\n<li><code>Retail</code></li>\n<li><code>Self-Storage</code></li>\n<li><code>Single Family Home</code></li>\n<li><code>Specialty Use</code></li>\n<li><code>Student Housing</code></li>\n</ul>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li>Rooms (<code>rooms</code>)</li>\n<li>Teams (<code>rooms.parties</code>)</li>\n</ul>\n","urlObject":{"path":["api","v2","workspaces"],"host":["http://localhost:4000/"],"query":[{"key":"filter[workspace]","value":"room_only"},{"key":"include","value":"rooms,rooms.parties"},{"key":"filter[state]","value":"open"}],"variable":[]}},"response":[{"id":"2d36378b-f377-4798-99c4-ca038a84f18a","name":"Get all workspaces with rooms","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/workspaces?include=rooms","host":["http://localhost:4000/"],"path":["api","v2","workspaces"],"query":[{"key":"include","value":"rooms"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Mon, 25 Mar 2019 18:27:59 GMT"},{"key":"content-length","value":"16088"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"2m7ke10pama5jf2v8o008tl1"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/workspaces?include=rooms&page[number]=1&page[size]=50\"\n    },\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"room\",\n            \"meta\": {\n                \"link\": \"http://prodeal360.com/dashboard/3\"\n            },\n            \"id\": \"3\",\n            \"attributes\": {\n                \"construction-loan-amount\": null,\n                \"lender\": null,\n                \"agent-1031\": null,\n                \"co-insurance-1-title-number\": null,\n                \"mortgage-broker\": null,\n                \"custom-column-label\": \"Custom\",\n                \"co-insurance-percentage\": null,\n                \"seller-counsel\": null,\n                \"actual-close-date\": \"Jan 23, 2019\",\n                \"additional-information\": null,\n                \"co-insurance-1-percentage\": null,\n                \"co-insurance-2-underwriter-name\": null,\n                \"building-type\": null,\n                \"advisor\": null,\n                \"user-team-abbreviation\": null,\n                \"document-restrictions\": \"restricted_visible\",\n                \"co-insurance-1-underwriter-name\": null,\n                \"notes-enabled\": true,\n                \"lng\": null,\n                \"lender-counsel\": null,\n                \"co-insurance-3-title-company\": null,\n                \"purchase-amount\": null,\n                \"city\": null,\n                \"room-details-flag-enabled\": false,\n                \"name\": \"room 1\",\n                \"state\": \"open\",\n                \"co-insurance-2-title-policy-number\": null,\n                \"co-insurance-1-title-company\": null,\n                \"purchaser\": null,\n                \"completed-percentage\": 0,\n                \"user-team-type\": null,\n                \"co-insurance-1-title-policy-number\": null,\n                \"custom-column-enabled\": false,\n                \"loan-amount\": null,\n                \"mezzanine-loan-amount\": null,\n                \"property-and-casuality-insurance-provider\": null,\n                \"surveyor\": null,\n                \"co-insurance-2-percentage\": null,\n                \"favorite\": false,\n                \"lat\": null,\n                \"total-transaction-amount\": \"$23,242\",\n                \"changelog-enabled\": true,\n                \"address-autocomplete\": null,\n                \"unread-notes-count\": null,\n                \"borrower\": null,\n                \"address\": null,\n                \"other-financing-amount\": null,\n                \"second-mortgage-loan-amount\": null,\n                \"property-manager\": null,\n                \"lead-title-company\": null,\n                \"room-type\": \"Real Estate - Asset Management\",\n                \"borrower-counsel\": null,\n                \"country\": null,\n                \"role\": null,\n                \"user-team-name\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"co-insurance-3-title-number\": null,\n                \"purchaser-counsel\": null,\n                \"seller\": null,\n                \"co-insurance-3-percentage\": null,\n                \"nick-name\": null,\n                \"co-insurance-2-title-number\": null,\n                \"unread-docs-count\": null,\n                \"estimated-close-date\": null,\n                \"title-number\": null,\n                \"prodeal-number\": \"D-000-0003\",\n                \"underwriter-name\": null,\n                \"title-policy-number\": null,\n                \"investment-sales-broker\": null,\n                \"notes\": null,\n                \"engineer\": null,\n                \"zip-code\": null,\n                \"flood-insurance-provider\": null,\n                \"appraiser\": null,\n                \"co-insurance-2-title-company\": null,\n                \"co-insurance-3-underwriter-name\": null,\n                \"co-insurance-3-title-policy-number\": null,\n\t            \"metadata\": {\n\t                \"any_fied\": \"any_value\"\n\t            }\n            }\n        },\n        {\n            \"type\": \"room\",\n            \"meta\": {\n                \"link\": \"http://prodeal360.com/dashboard/4\"\n            },\n            \"id\": \"4\",\n            \"attributes\": {\n                \"construction-loan-amount\": null,\n                \"lender\": null,\n                \"agent-1031\": null,\n                \"co-insurance-1-title-number\": null,\n                \"mortgage-broker\": null,\n                \"custom-column-label\": \"Custom\",\n                \"co-insurance-percentage\": null,\n                \"seller-counsel\": null,\n                \"actual-close-date\": \"Jan 22, 2019\",\n                \"additional-information\": null,\n                \"co-insurance-1-percentage\": null,\n                \"co-insurance-2-underwriter-name\": null,\n                \"building-type\": null,\n                \"advisor\": null,\n                \"user-team-abbreviation\": null,\n                \"document-restrictions\": \"restricted_visible\",\n                \"co-insurance-1-underwriter-name\": null,\n                \"notes-enabled\": true,\n                \"lng\": null,\n                \"lender-counsel\": null,\n                \"co-insurance-3-title-company\": null,\n                \"purchase-amount\": null,\n                \"city\": null,\n                \"room-details-flag-enabled\": false,\n                \"name\": \"room 2\",\n                \"state\": \"open\",\n                \"co-insurance-2-title-policy-number\": null,\n                \"co-insurance-1-title-company\": null,\n                \"purchaser\": null,\n                \"completed-percentage\": 0,\n                \"user-team-type\": null,\n                \"co-insurance-1-title-policy-number\": null,\n                \"custom-column-enabled\": false,\n                \"loan-amount\": null,\n                \"mezzanine-loan-amount\": null,\n                \"property-and-casuality-insurance-provider\": null,\n                \"surveyor\": null,\n                \"co-insurance-2-percentage\": null,\n                \"favorite\": false,\n                \"lat\": null,\n                \"total-transaction-amount\": \"$235,252\",\n                \"changelog-enabled\": true,\n                \"address-autocomplete\": null,\n                \"unread-notes-count\": null,\n                \"borrower\": null,\n                \"address\": null,\n                \"other-financing-amount\": null,\n                \"second-mortgage-loan-amount\": null,\n                \"property-manager\": null,\n                \"lead-title-company\": null,\n                \"room-type\": \"Real Estate - Leasing\",\n                \"borrower-counsel\": null,\n                \"country\": null,\n                \"role\": null,\n                \"user-team-name\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"co-insurance-3-title-number\": null,\n                \"purchaser-counsel\": null,\n                \"seller\": null,\n                \"co-insurance-3-percentage\": null,\n                \"nick-name\": null,\n                \"co-insurance-2-title-number\": null,\n                \"unread-docs-count\": null,\n                \"estimated-close-date\": null,\n                \"title-number\": null,\n                \"prodeal-number\": \"D-000-0004\",\n                \"underwriter-name\": null,\n                \"title-policy-number\": null,\n                \"investment-sales-broker\": null,\n                \"notes\": null,\n                \"engineer\": null,\n                \"zip-code\": null,\n                \"flood-insurance-provider\": null,\n                \"appraiser\": null,\n                \"co-insurance-2-title-company\": null,\n                \"co-insurance-3-underwriter-name\": null,\n                \"co-insurance-3-title-policy-number\": null,\n\t            \"metadata\": {\n\t                \"any_fied\": \"any_value\"\n\t            }\n            }\n        }\n    ],\n    \"data\": [\n        {\n            \"type\": \"workspace\",\n            \"relationships\": {\n                \"rooms\": {\n                    \"data\": []\n                }\n            },\n            \"id\": \"5\",\n            \"attributes\": {\n                \"name\": \"workspace 1\",\n                \"description\": \"workspace description 1\",\n                \"readonly\": true,\n\t            \"metadata\": {\n\t                \"any_fied\": \"any_value\"\n\t            }\n            }\n        },\n        {\n            \"type\": \"workspace\",\n            \"relationships\": {\n                \"rooms\": {\n                    \"data\": []\n                }\n            },\n            \"id\": \"4\",\n            \"attributes\": {\n                \"name\": \"workspace 2\",\n                \"description\": \"workspace description 2\",\n                \"readonly\": true,\n\t            \"metadata\": {\n\t                \"any_fied\": \"any_value\"\n\t            }\n            }\n        },\n        {\n            \"type\": \"workspace\",\n            \"relationships\": {\n                \"rooms\": {\n                    \"data\": [\n                        {\n                            \"type\": \"room\",\n                            \"id\": \"3\"\n                        },\n                        {\n                            \"type\": \"room\",\n                            \"id\": \"4\"\n                        },\n                        {\n                            \"type\": \"room\",\n                            \"id\": \"5\"\n                        },\n                        {\n                            \"type\": \"room\",\n                            \"id\": \"6\"\n                        },\n                        {\n                            \"type\": \"room\",\n                            \"id\": \"7\"\n                        },\n                        {\n                            \"type\": \"room\",\n                            \"id\": \"8\"\n                        },\n                        {\n                            \"type\": \"room\",\n                            \"id\": \"9\"\n                        }\n                    ]\n                }\n            },\n            \"id\": \"1\",\n            \"attributes\": {\n                \"name\": \"workspace 3\",\n                \"description\": \"workspace description 3\",\n                \"readonly\": true,\n\t            \"metadata\": {\n\t                \"any_fied\": \"any_value\"\n\t            }\n            }\n        }\n    ]\n}"},{"id":"3a58a453-2cc1-4c70-8caf-67699821ee46","name":"Get all workspaces the user is member (default behavior)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/workspaces?filter[workspace]=member_only","host":["http://localhost:4000/"],"path":["api","v2","workspaces"],"query":[{"key":"filter[workspace]","value":"member_only"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Mon, 25 Mar 2019 19:22:22 GMT"},{"key":"content-length","value":"917"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"2m7kjuv9rhb6gllov0008ge3"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/workspaces?filter[workspace]=member_only&page[number]=1&page[size]=50\"\n    },\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"workspace\",\n            \"id\": \"7\",\n            \"attributes\": {\n                \"name\": \"workspace 1\",\n                \"description\": \"description 1\",\n                \"readonly\": true,\n\t            \"metadata\": {\n\t                \"any_fied\": \"any_value\"\n\t            }\n            }\n        },\n        {\n            \"type\": \"workspace\",\n            \"id\": \"6\",\n            \"attributes\": {\n                \"name\": \"workspace 2\",\n                \"description\": \"description 2\",\n                \"readonly\": true,\n\t            \"metadata\": {\n\t                \"any_fied\": \"any_value\"\n\t            }\n            }\n        }\n    ]\n}"},{"id":"4384114a-8cd4-4c97-b72c-c88fdcbdad25","name":"Get all workspaces including rooms and teams","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/workspaces?filter[workspace]=room_only&include=rooms,rooms.parties&filter[state]=open","host":["http://localhost:4000/"],"path":["api","v2","workspaces"],"query":[{"key":"filter[workspace]","value":"room_only"},{"key":"include","value":"rooms,rooms.parties"},{"key":"filter[state]","value":"open"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Wed, 27 Mar 2019 14:26:26 GMT"},{"key":"content-length","value":"16588"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"2m7tdvngaamt01tpeo0035e1"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/workspaces?filter[state]=open&filter[workspace]=room_only&include=rooms%2Crooms.parties&page[number]=1&page[size]=50\"\n    },\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"room\",\n            \"relationships\": {\n                \"parties\": {\n                    \"data\": [\n                        {\n                            \"type\": \"team\",\n                            \"id\": \"3\"\n                        },\n                        {\n                            \"type\": \"team\",\n                            \"id\": \"4\"\n                        }\n                    ]\n                },\n                \"creator\": {\n                    \"data\": {\n                        \"type\": \"user\",\n                        \"id\": \"4\"\n                    }\n                }\n            },\n            \"meta\": {\n                \"link\": \"http://localhost:4000/dashboard/3\"\n            },\n            \"id\": \"3\",\n            \"attributes\": {\n                \"construction-loan-amount\": null,\n                \"lender\": null,\n                \"agent-1031\": null,\n                \"co-insurance-1-title-number\": null,\n                \"mortgage-broker\": null,\n                \"custom-column-label\": \"Custom\",\n                \"co-insurance-percentage\": null,\n                \"seller-counsel\": null,\n                \"actual-close-date\": \"Jan 23, 2019\",\n                \"additional-information\": null,\n                \"co-insurance-1-percentage\": null,\n                \"co-insurance-2-underwriter-name\": null,\n                \"building-type\": null,\n                \"advisor\": null,\n                \"user-team-abbreviation\": null,\n                \"document-restrictions\": \"restricted_visible\",\n                \"co-insurance-1-underwriter-name\": null,\n                \"notes-enabled\": true,\n                \"lng\": null,\n                \"lender-counsel\": null,\n                \"co-insurance-3-title-company\": null,\n                \"purchase-amount\": null,\n                \"city\": null,\n                \"room-details-flag-enabled\": false,\n                \"name\": \"room 1\",\n                \"state\": \"open\",\n                \"co-insurance-2-title-policy-number\": null,\n                \"co-insurance-1-title-company\": null,\n                \"purchaser\": null,\n                \"completed-percentage\": 0,\n                \"user-team-type\": null,\n                \"co-insurance-1-title-policy-number\": null,\n                \"custom-column-enabled\": false,\n                \"loan-amount\": null,\n                \"mezzanine-loan-amount\": null,\n                \"property-and-casuality-insurance-provider\": null,\n                \"surveyor\": null,\n                \"co-insurance-2-percentage\": null,\n                \"favorite\": false,\n                \"lat\": null,\n                \"total-transaction-amount\": \"$23,242\",\n                \"changelog-enabled\": true,\n                \"address-autocomplete\": null,\n                \"unread-notes-count\": null,\n                \"borrower\": null,\n                \"address\": null,\n                \"other-financing-amount\": null,\n                \"second-mortgage-loan-amount\": null,\n                \"property-manager\": null,\n                \"lead-title-company\": null,\n                \"room-type\": \"Real Estate - Asset Management\",\n                \"borrower-counsel\": null,\n                \"country\": null,\n                \"role\": null,\n                \"user-team-name\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"co-insurance-3-title-number\": null,\n                \"purchaser-counsel\": null,\n                \"seller\": null,\n                \"co-insurance-3-percentage\": null,\n                \"nick-name\": null,\n                \"co-insurance-2-title-number\": null,\n                \"unread-docs-count\": null,\n                \"estimated-close-date\": null,\n                \"title-number\": null,\n                \"prodeal-number\": \"D-000-0003\",\n                \"underwriter-name\": null,\n                \"title-policy-number\": null,\n                \"investment-sales-broker\": null,\n                \"notes\": null,\n                \"engineer\": null,\n                \"zip-code\": null,\n                \"flood-insurance-provider\": null,\n                \"appraiser\": null,\n                \"co-insurance-2-title-company\": null,\n                \"co-insurance-3-underwriter-name\": null,\n                \"co-insurance-3-title-policy-number\": null,\n\t            \"metadata\": {\n\t                \"external_id\": \"123456\"\n\t            }\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"name\": \"Team 1\",\n                \"abbreviation\": \"O\"\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"4\",\n            \"attributes\": {\n                \"type-name\": \"Lender Counsel\",\n                \"name\": \"Team 2\",\n                \"abbreviation\": \"LC\"\n            }\n        }\n    ],\n    \"data\": [\n        {\n            \"type\": \"workspace\",\n            \"relationships\": {\n                \"rooms\": {\n                    \"data\": [\n                        {\n                            \"type\": \"room\",\n                            \"id\": \"3\"\n                        }\n                    ]\n                }\n            },\n            \"id\": \"1\",\n            \"attributes\": {\n                \"name\": \"workspace 1\",\n                \"description\": \"bar\",\n                \"readonly\": true,\n\t\t        \"metadata\": {\n\t\t            \"meta_field\": \"abc\"\n\t\t        },\n            }\n        }\n    ]\n}"},{"id":"60ef4265-e771-49b7-8884-8a554c02ce2a","name":"Get all workspaces the user has rooms in","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/workspaces?filter[workspace]=room_only","host":["http://localhost:4000/"],"path":["api","v2","workspaces"],"query":[{"key":"filter[workspace]","value":"room_only"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Mon, 25 Mar 2019 19:24:01 GMT"},{"key":"content-length","value":"211"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"2m7kk4op472014230g008ub1"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/workspaces?filter[workspace]=room_only&page[number]=1&page[size]=50\"\n    },\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"workspace\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"name\": \"workspace 1\",\n                \"description\": \"description 1\",\n                \"readonly\": true,\n\t            \"metadata\": {\n\t                \"any_fied\": \"any_value\"\n\t            }\n            }\n        },\n        {\n            \"type\": \"workspace\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"name\": \"workspace 2\",\n                \"description\": \"description 2\",\n                \"readonly\": true,\n\t            \"metadata\": {\n\t                \"any_fied\": \"any_value\"\n\t            }\n            }\n        }\n    ]\n}"}],"_postman_id":"5cf55c35-c72c-44c9-8ed4-ba8dcc1be191"},{"name":"Get a workspace","id":"d61413e7-e3ff-4675-9019-2382da9ebade","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/workspaces/:workspace_id?filter[workspace]=room_only&include=rooms,rooms.parties&filter[state]=open","description":"<h5 id=\"filters\">Filters</h5>\n<p><em>workspace</em>: view_type (<code>member_only</code>, <code>room_only</code>)</p>\n<ul>\n<li><code>member_only</code> returns only those workspaces where user is a member (default)</li>\n<li><code>room_only</code> returns only those workspaces in which user has rooms</li>\n</ul>\n<h5 id=\"rooms-filters\">Rooms filters</h5>\n<p><em>bookmarked</em>: Favorite deals.\nCan take values <code>true</code> or <code>false</code>.</p>\n<p><em>search_term</em>: A string containing terms to search</p>\n<p><em>state</em>: Active/inactive deals.\nCan take values <code>\"open\"</code> or <code>\"closed\"</code>.</p>\n<p><em>room_type</em>: for rooms that have specific type. List of available labels can be fetched via <code>api/v2/room-types</code></p>\n<p><em>building_type</em>: A string accepting some of the next values:</p>\n<ul>\n<li><code>Hospitality</code></li>\n<li><code>Industrial</code></li>\n<li><code>Land</code></li>\n<li><code>Mixed-Use</code></li>\n<li><code>Multifamily</code></li>\n<li><code>Office</code></li>\n<li><code>Retail</code></li>\n<li><code>Self-Storage</code></li>\n<li><code>Single Family Home</code></li>\n<li><code>Specialty Use</code></li>\n<li><code>Student Housing</code></li>\n</ul>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li>Rooms (<code>rooms</code>)</li>\n<li>Teams (<code>rooms.parties</code>)</li>\n</ul>\n","urlObject":{"path":["api","v2","workspaces",":workspace_id"],"host":["http://localhost:4000/"],"query":[{"key":"filter[workspace]","value":"room_only"},{"key":"include","value":"rooms,rooms.parties"},{"key":"filter[state]","value":"open"}],"variable":[{"id":"f3823a2d-4c0d-4dd2-935f-24610d4fde10","type":"string","value":"1","key":"workspace_id"}]}},"response":[{"id":"63470709-1101-41ed-81c2-6a582f0f0a9b","name":"Get a workspace with filters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/workspaces/:workspace_id?filter[workspace]=room_only&include=rooms,rooms.parties&filter[state]=open","host":["http://localhost:4000/"],"path":["api","v2","workspaces",":workspace_id"],"query":[{"key":"filter[workspace]","value":"room_only"},{"key":"include","value":"rooms,rooms.parties"},{"key":"filter[state]","value":"open"}],"variable":[{"key":"workspace_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 28 Mar 2019 17:11:55 GMT"},{"key":"content-length","value":"16442"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2m82t6qctbrug5gr4s003381"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"room\",\n            \"relationships\": {\n                \"parties\": {\n                    \"data\": [\n                        {\n                            \"type\": \"team\",\n                            \"id\": \"3\"\n                        }\n                    ]\n                },\n                \"creator\": {\n                    \"data\": {\n                        \"type\": \"user\",\n                        \"id\": \"4\"\n                    }\n                }\n            },\n            \"meta\": {\n                \"link\": \"http://localhost:4000/dashboard/3\"\n            },\n            \"id\": \"3\",\n            \"attributes\": {\n                \"construction-loan-amount\": null,\n                \"lender\": null,\n                \"agent-1031\": null,\n                \"co-insurance-1-title-number\": null,\n                \"mortgage-broker\": null,\n                \"custom-column-label\": \"Custom\",\n                \"co-insurance-percentage\": null,\n                \"seller-counsel\": null,\n                \"actual-close-date\": \"Jan 23, 2019\",\n                \"additional-information\": null,\n                \"co-insurance-1-percentage\": null,\n                \"co-insurance-2-underwriter-name\": null,\n                \"building-type\": null,\n                \"advisor\": null,\n                \"user-team-abbreviation\": null,\n                \"document-restrictions\": \"restricted_visible\",\n                \"co-insurance-1-underwriter-name\": null,\n                \"notes-enabled\": true,\n                \"lng\": null,\n                \"lender-counsel\": null,\n                \"co-insurance-3-title-company\": null,\n                \"purchase-amount\": null,\n                \"city\": null,\n                \"room-details-flag-enabled\": false,\n                \"name\": \"Room 1\",\n                \"state\": \"open\",\n                \"co-insurance-2-title-policy-number\": null,\n                \"co-insurance-1-title-company\": null,\n                \"purchaser\": null,\n                \"completed-percentage\": 0,\n                \"user-team-type\": null,\n                \"co-insurance-1-title-policy-number\": null,\n                \"custom-column-enabled\": false,\n                \"loan-amount\": null,\n                \"mezzanine-loan-amount\": null,\n                \"property-and-casuality-insurance-provider\": null,\n                \"surveyor\": null,\n                \"co-insurance-2-percentage\": null,\n                \"favorite\": false,\n                \"lat\": null,\n                \"total-transaction-amount\": \"$23,242\",\n                \"changelog-enabled\": true,\n                \"address-autocomplete\": null,\n                \"unread-notes-count\": null,\n                \"borrower\": null,\n                \"address\": null,\n                \"other-financing-amount\": null,\n                \"second-mortgage-loan-amount\": null,\n                \"property-manager\": null,\n                \"lead-title-company\": null,\n                \"room-type\": \"Real Estate - Asset Management\",\n                \"borrower-counsel\": null,\n                \"country\": null,\n                \"role\": null,\n                \"user-team-name\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"co-insurance-3-title-number\": null,\n                \"purchaser-counsel\": null,\n                \"seller\": null,\n                \"co-insurance-3-percentage\": null,\n                \"nick-name\": null,\n                \"co-insurance-2-title-number\": null,\n                \"unread-docs-count\": null,\n                \"estimated-close-date\": null,\n                \"title-number\": null,\n                \"prodeal-number\": \"D-000-0003\",\n                \"underwriter-name\": null,\n                \"title-policy-number\": null,\n                \"investment-sales-broker\": null,\n                \"notes\": null,\n                \"engineer\": null,\n                \"zip-code\": null,\n                \"flood-insurance-provider\": null,\n                \"appraiser\": null,\n                \"co-insurance-2-title-company\": null,\n                \"co-insurance-3-underwriter-name\": null,\n                \"co-insurance-3-title-policy-number\": null\n            }\n        },\n        {\n            \"type\": \"team\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"type-name\": \"Other\",\n                \"name\": \"Team 1\",\n                \"abbreviation\": \"O\"\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"workspace\",\n        \"relationships\": {\n            \"rooms\": {\n                \"data\": [\n                    {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                ]\n            }\n        },\n        \"id\": \"1\",\n        \"attributes\": {\n            \"name\": \"Workspace 1\",\n            \"description\": \"Workspace 1 description\"\n        }\n    }\n}"}],"_postman_id":"d61413e7-e3ff-4675-9019-2382da9ebade"},{"name":"Create a workspace","id":"78398810-55d8-4379-8264-ab127571538d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"workspace\",\n    \"attributes\": {\n      \"name\": \"name goes here\",\n      \"description\": \"description goes here\",\n      \"metadata\": {\n        \"meta_field\": \"meta_value\"\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/workspaces","description":"<p>The only required field is the <code>name</code>.</p>\n<h6 id=\"metadata\">Metadata</h6>\n<p>The metadata attribute is an object that contains the fields in a key/value way.</p>\n<p>Values cannot be null, all keys with null values will be ignored.</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Only Workspace users can manage workspaces.</p>\n","urlObject":{"path":["api","v2","workspaces"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"df635f5c-622f-4496-8047-235eb5766a63","name":"Create Workspace success","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"workspace\",\n    \"attributes\": {\n      \"name\": \"this is the name\",\n      \"description\": \"this is the description\",\n      \"metadata\": {\n\t    \"meta_field\": \"meta_value\"\n\t  }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/workspaces"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Fri, 22 Mar 2019 17:14:36 GMT"},{"key":"content-length","value":"114"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"2m75ehbeqk6u8v2c70001jg1"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"data\": {\n        \"type\": \"workspace\",\n        \"id\": \"3\",\n        \"attributes\": {\n            \"name\": \"this is the name\",\n            \"description\": \"this is the description\",\n            \"metadata\": {\n\t\t\t\t\"meta_field\": \"meta_value\"\n\t\t\t}\n        }\n    }\n}"}],"_postman_id":"78398810-55d8-4379-8264-ab127571538d"},{"name":"Update workspace","id":"245203b3-7d3a-4ecf-881c-be30cec50c8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n\t\"id\": \"5\",\n    \"type\": \"workspace\",\n    \"attributes\": {\n      \"name\": \"updated name\",\n      \"description\": \"updated description\",\n      \"metadata\": {\n        \"meta_field\": \"meta_value\"\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/workspaces/:workspace_id","description":"<p><strong>Note:</strong> To update room-workspace relationship, use <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#40de0379-0c8b-4a8e-9890-f18a632a7bfe\">this endpoint</a>.</p>\n<h6 id=\"metadata\">Metadata</h6>\n<p>The metadata attribute is an object that contains the fields in a key/value way.</p>\n<p>Values cannot be null, all keys with null values will be ignored.</p>\n<p>To add or update a metadata entry, send an object with desired key/value.</p>\n<p>To delete an entry, send an object with key assigned to null. Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"data\": {\n    \"id\": \"5\",\n    \"type\": \"workspace\",\n    \"attributes\": {\n      \"metadata\": {\n        \"external_id\": null\n      }\n    }\n  }\n}\n</code></pre><h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Only Workspace users can manage workspaces.</p>\n","urlObject":{"path":["api","v2","workspaces",":workspace_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"3a119cd3-2bba-4c1e-82ae-40c098262632","type":"string","value":"5","key":"workspace_id"}]}},"response":[{"id":"f811d82d-893b-4f07-91f9-d2b510e92feb","name":"Update Workspace","originalRequest":{"method":"PUT","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n\t\"id\": \"5\",\n    \"type\": \"workspace\",\n    \"attributes\": {\n      \"name\": \"updated name\",\n      \"description\": \"updated description\",\n      \"metadata\": {\n        \"meta_field\": \"foo\"\n      }\n    }\n  }\n}"},"url":{"raw":"http://localhost:4000//api/v2/workspaces/:workspace_id","host":["http://localhost:4000/"],"path":["api","v2","workspaces",":workspace_id"],"variable":[{"key":"workspace_id","value":"5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Fri, 22 Mar 2019 18:43:05 GMT"},{"key":"content-length","value":"139"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"2m75o6a9l2fmold5n0001jq1"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"data\": {\n        \"type\": \"workspace\",\n        \"id\": \"5\",\n        \"attributes\": {\n            \"name\": \"updated name\",\n            \"description\": \"updated description\",\n            \"metadata\": {\n                \"meta_field\": \"foo\"\n            }\n        }\n    }\n}"}],"_postman_id":"245203b3-7d3a-4ecf-881c-be30cec50c8b"}],"id":"733ea57d-1161-4e93-9993-19911a140e1d","description":"<p>Rooms can be organized in workspaces. Workspace is a named group of rooms.</p>\n<p>Workspaces have:</p>\n<ul>\n<li><code>id</code> - ID (auto-generated, read-only)</li>\n<li><code>inserted-at</code> - Creation date (auto-generated, read-only)</li>\n<li><code>name</code> - Name (required)</li>\n<li><code>description</code> - Description</li>\n<li><code>metadata</code> - Metadata</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"db5d567c-ed31-4dec-9f30-4b7e6671c3e1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c649686b-1d7c-4732-a818-2d791cd672aa","type":"text/javascript","exec":[""]}}],"_postman_id":"733ea57d-1161-4e93-9993-19911a140e1d"},{"name":"Checklist","item":[{"name":"Read checklist","id":"5421b82b-0f55-4cd9-b377-b84b032aedb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/checklists/:room_id","description":"<p>Even though a checklist has a tree-like structure, in the response it is flattened - all items (headings, line items, folders and documents) appear in one array.</p>\n<p>Every item has an array of <code>parents</code> (all containing folders), as well as a <code>parent</code> property to indicate the direct parent. The <code>deepness</code> property shows the level of nesting in folders. The first-level items (headings) have a deepness of 0. Line items have deepness value 1.</p>\n<p>The <code>type</code> property only shows whether an item is a <code>folder</code> or a <code>document</code>.</p>\n<p>The <code>folder-type</code> property is used to indicate whether the folder is a <code>heading</code>, <code>line_item</code>, or just a regular <code>folder</code>.</p>\n<h5 id=\"relationships-and-includes\">Relationships and includes</h5>\n<p>By default, all notes and teams are included, as well as file-versions.</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>In <code>open</code> rooms, users can see all items in the checklist.</li>\n<li>In <code>confidential</code> rooms, users can see only these items their team has access to.</li>\n</ul>\n","urlObject":{"path":["api","v2","checklists",":room_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"62da48c7-46d8-462f-9f1b-f493ddbbfdb3","type":"string","value":"2","key":"room_id"}]}},"response":[{"id":"d03286dc-1136-4478-b369-d0b00a96d67f","name":"Read checklist","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":"https://prodeal360.com/api/v2/checklists/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"content-length","key":"content-length","value":"2143","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":"The mime type of this content"}],"cookie":[{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"gabriel%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAACbQAAAAtfY3NyZl90b2tlbm0AAAAYYndEUE4xcFJ6VnFLOWF6WDBQUDZYQT09bQAAAAd1c2VyX2lkYQE.pwItXJ6bn-daom0EwaVebkT8DATElh93TcaT_31geMc","key":"_prodeal360_key"}],"responseTime":null,"body":"{\n  \"jsonapi\": {\n    \"version\": \"2.0\"\n  },\n  \"included\": [\n    {\n      \"type\": \"team\",\n      \"id\": \"1879\",\n      \"attributes\": {\n        \"type-name\": \"Title Company\",\n        \"role-id\": \"host_admin\",\n        \"name\": \"Commonwealth\",\n        \"abbreviation\": \"TC\"\n      }\n    }\n  ],\n  \"data\": [\n    {\n      \"type\": \"folder\",\n      \"relationships\": {\n        \"room\": {\n          \"data\": {\n            \"type\": \"room\",\n            \"id\": \"1\"\n          }\n        },\n        \"responsible-groups\": {\n          \"data\": []\n        },\n        \"notes\": {\n          \"data\": []\n        }\n      },\n      \"id\": \"67011\",\n      \"attributes\": {\n        \"unread\": false,\n        \"subscribed\": false,\n        \"status\": \"open\",\n        \"parents\": [],\n        \"parent\": null,\n        \"new-notes-count\": 0,\n        \"name\": \"Heading 1\",\n        \"last-child\": true,\n        \"has-notes\": false,\n        \"folder-type\": \"heading\",\n        \"first-child\": false,\n        \"empty\": false,\n        \"due-date\": {\n          \"isOverDue\": false,\n          \"date\": \"\"\n        },\n        \"deepness\": 0,\n        \"custom-value\": null\n      }\n    },\n    {\n      \"type\": \"folder\",\n      \"relationships\": {\n        \"room\": {\n          \"data\": {\n            \"type\": \"room\",\n            \"id\": \"1\"\n          }\n        },\n        \"responsible-groups\": {\n          \"data\": [\n            {\n              \"type\": \"team\",\n              \"id\": \"1879\"\n            }\n          ]\n        },\n        \"notes\": {\n          \"data\": []\n        }\n      },\n      \"id\": \"67012\",\n      \"attributes\": {\n        \"unread\": false,\n        \"subscribed\": false,\n        \"status\": \"open\",\n        \"parents\": [\n          \"f_67011\"\n        ],\n        \"parent\": \"f_67011\",\n        \"new-notes-count\": 0,\n        \"name\": \"Line item 1\",\n        \"last-child\": true,\n        \"has-notes\": false,\n        \"folder-type\": \"line_item\",\n        \"first-child\": false,\n        \"empty\": false,\n        \"due-date\": {\n          \"isOverDue\": false,\n          \"date\": \"\"\n        },\n        \"deepness\": 1,\n        \"custom-value\": null\n      }\n    },\n    {\n      \"type\": \"folder\",\n      \"relationships\": {\n        \"room\": {\n          \"data\": {\n            \"type\": \"room\",\n            \"id\": \"841\"\n          }\n        },\n        \"responsible-groups\": {\n          \"data\": []\n        },\n        \"notes\": {\n          \"data\": []\n        }\n      },\n      \"id\": \"67013\",\n      \"attributes\": {\n        \"unread\": false,\n        \"subscribed\": false,\n        \"status\": \"open\",\n        \"parents\": [\n          \"f_67011\",\n          \"f_67012\"\n        ],\n        \"parent\": \"f_67012\",\n        \"new-notes-count\": 0,\n        \"name\": \"Folder 1\",\n        \"last-child\": true,\n        \"has-notes\": false,\n        \"folder-type\": \"folder\",\n        \"first-child\": true,\n        \"empty\": true,\n        \"due-date\": {\n          \"isOverDue\": false,\n          \"date\": \"\"\n        },\n        \"deepness\": 2,\n        \"custom-value\": null\n      }\n    },\n    {\n      \"type\": \"folder\",\n      \"relationships\": {\n        \"room\": {\n          \"data\": {\n            \"type\": \"room\",\n            \"id\": \"841\"\n          }\n        },\n        \"responsible-groups\": {\n          \"data\": []\n        },\n        \"notes\": {\n          \"data\": []\n        }\n      },\n      \"id\": \"67014\",\n      \"attributes\": {\n        \"unread\": false,\n        \"subscribed\": false,\n        \"status\": \"open\",\n        \"parents\": [],\n        \"parent\": null,\n        \"new-notes-count\": 0,\n        \"name\": \"Heading 2\",\n        \"last-child\": false,\n        \"has-notes\": false,\n        \"folder-type\": \"heading\",\n        \"first-child\": true,\n        \"empty\": true,\n        \"due-date\": {\n          \"isOverDue\": false,\n          \"date\": \"\"\n        },\n        \"deepness\": 0,\n        \"custom-value\": null\n      }\n    }\n  ]\n}"}],"_postman_id":"5421b82b-0f55-4cd9-b377-b84b032aedb0"},{"name":"Delete multiple checklist items","id":"1b9c1e16-3ada-4b08-937b-8041cad30354","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  { \"type\": \"folder\", \"id\": \"17\" },\n  { \"type\": \"folder\", \"id\": \"19\" },\n  { \"type\": \"document\", \"id\": \"23\" }\n  ]\n}"},"url":"http://localhost:4000//api/v2/checklists/:room_id/items","description":"<p>Using this endpoint, users can delete multiple checklist items at once, no matter the type.</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Only room Hosts and Admins can delete items and <strong>only in active rooms</strong>.</li>\n<li>Admins cannot delete folders which contain final documents, nor folders which contain items Admins don't have access to.</li>\n</ul>\n<h5 id=\"errors\">Errors</h5>\n<p>If any of the following errors happen, no items will be deleted.</p>\n<ul>\n<li>If Guests, Restricted or View-only users try to delete items, a <code>403</code> error will return.</li>\n<li>If a user tries to delete items in an inactive room, an error <code>409</code> with the error code <code>ROOM_INACTIVE</code> will return.</li>\n<li>If an Admin tries to delete a final document, an error <code>403</code> with error code <code>FINAL_DOCUMENT_DELETION</code> will return.</li>\n<li>If an Admin tries to delete a folder containing items Admin doesn't have access to (in confidential rooms), an error <code>403</code> with error detail <code>inaccessible_content</code> will return.</li>\n</ul>\n","urlObject":{"path":["api","v2","checklists",":room_id","items"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"ad074113-3694-41d4-ac10-0dccb71c13fc","type":"string","value":"1","key":"room_id"}]}},"response":[{"id":"fedf9851-8a71-4b1b-8d01-607ea27967a7","name":"Multiple items deleted","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  { \"type\": \"folder\", \"id\": \"17\" },\n  { \"type\": \"folder\", \"id\": \"19\" },\n  { \"type\": \"document\", \"id\": \"23\" }\n  ]\n}"},"url":{"raw":"http://localhost:4000//api/v2/checklists/:room_id/items","host":["http://localhost:4000/"],"path":["api","v2","checklists",":room_id","items"],"variable":[{"key":"room_id","value":"1","type":"string"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":null},{"id":"25a741c8-588b-4417-aa7e-93140cad7e77","name":"One document is final error","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  { \"type\": \"folder\", \"id\": \"44397\" },\n  { \"type\": \"document\", \"id\": \"46434\" }\n  ]\n}"},"url":{"raw":"http://localhost:4000//api/v2/checklists/:room_id/items","host":["http://localhost:4000/"],"path":["api","v2","checklists",":room_id","items"],"variable":[{"key":"room_id","value":"755","type":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"FINAL_DOCUMENT_DELETION\"\n        }\n    ]\n}"},{"id":"6c7b5546-fc41-41ee-8e74-4178d8d0ced1","name":"No access for children items error","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  { \"type\": \"folder\", \"id\": \"44387\" },\n  { \"type\": \"folder\", \"id\": \"44388\" }\n  ]\n}"},"url":{"raw":"http://localhost:4000//api/v2/checklists/:room_id/items","host":["http://localhost:4000/"],"path":["api","v2","checklists",":room_id","items"],"variable":[{"key":"room_id","value":"755","type":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": 403,\n            \"detail\": \"inaccessible_content\"\n        }\n    ]\n}"},{"id":"8813650b-83b1-4e3d-9488-b0f2431ccec2","name":"Inactive room error","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  { \"type\": \"folder\", \"id\": \"44397\" },\n  { \"type\": \"document\", \"id\": \"46434\" }\n  ]\n}"},"url":{"raw":"http://localhost:4000//api/v2/checklists/:room_id/items","host":["http://localhost:4000/"],"path":["api","v2","checklists",":room_id","items"],"variable":[{"key":"room_id","value":"755","type":"string"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"186"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"409 Conflict\",\n            \"status\": \"409\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"Cannot delete items when the room is inactive\",\n            \"code\": \"ROOM_INACTIVE\"\n        }\n    ]\n}"},{"id":"fa17f528-1bd4-4fee-a1e6-ea1071ed1cdb","name":"Role error","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  { \"type\": \"folder\", \"id\": \"44396\" },\n  { \"type\": \"document\", \"id\": \"46434\" }\n  ]\n}"},"url":{"raw":"http://localhost:4000//api/v2/checklists/:room_id/items","host":["http://localhost:4000/"],"path":["api","v2","checklists",":room_id","items"],"variable":[{"key":"room_id","value":"755","type":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"FORBIDDEN\"\n        }\n    ]\n}"}],"_postman_id":"1b9c1e16-3ada-4b08-937b-8041cad30354"}],"id":"7f7782f5-4130-4004-8790-284d6280d558","description":"<p>Every room has a checklist. A checklist is a tree-structure containing all folders and documents in the room.</p>\n<ul>\n<li>The top-level folders are called \"headings\". </li>\n<li>The folders that are direct children of a heading (first-level inside of a heading) are called \"line-items\"</li>\n<li>All the other folders are just called \"folders\"</li>\n<li>Each type of folders can contain documents.</li>\n</ul>\n<p><a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#b938c8aa-e5a7-4a9b-8824-ca3348d13e96\">Folders</a> and <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#ef3c3c84-78c4-4eb2-848e-84f261149950\">documents</a> are explained in detail in the sections below.</p>\n","_postman_id":"7f7782f5-4130-4004-8790-284d6280d558"},{"name":"Folders","item":[{"name":"Create single folder","id":"214d660f-754a-4b8c-bfc1-d6b963a40c3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"folders\",\n    \"attributes\": {\n      \"folder-type\": \"line_item\",\n      \"name\": \"Line Item 1\",\n      \"position\": \"heading\",\n      \"position-ref\": \"3\"\n    },\n    \"relationships\": {\n      \"responsible-groups\": {\n        \"data\": []\n      },\n      \"parties\": {\n        \"data\": [{\n          \"id\": \"2\",\n          \"type\": \"team\"\n        }, {\n          \"id\": \"4\",\n          \"type\": \"team\"\n        }, {\n          \"id\": \"6\",\n          \"type\": \"team\"\n        }]\n      },\n      \"room\": {\n        \"data\": {\n          \"id\": 2,\n          \"type\": \"room\"\n        }\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/folders","description":"<h5 id=\"fields\">Fields</h5>\n<p>Required</p>\n<ul>\n<li><code>name</code>: Name (200 characters max)</li>\n<li><code>folder-type</code>: Type of the folder</li>\n</ul>\n<p>Optional</p>\n<ul>\n<li><code>position</code>: Position in the checklist</li>\n<li><code>position-ref</code>: Position reference</li>\n<li><code>due-date</code>: Due date (a date in ISO format)</li>\n<li><code>custom-value</code> Value for custom column (255 characters max)</li>\n</ul>\n<h5 id=\"field-values\">Field values</h5>\n<ul>\n<li><strong>folder-type</strong>:<ul>\n<li><code>heading</code></li>\n<li><code>line_item</code></li>\n<li><code>folder</code></li>\n</ul>\n</li>\n<li><strong>position</strong>:<ul>\n<li><code>heading</code>: at the top of a heading, where <code>position-ref</code> is the heading id (<strong>note:</strong> no matter the folder type, items added at the top of a heading will always become line items)</li>\n<li><code>on</code>: inside (at the top) of a folder, where <code>position-ref</code> is the parent folder id</li>\n<li><code>below</code>: after a folder (where <code>position-ref</code> is the reference folder id)</li>\n<li>if no position is specified, a new heading will be added at the top of the checklist, <strong>no matter the specified folder-type</strong></li>\n</ul>\n</li>\n</ul>\n<h5 id=\"relationships\">Relationships</h5>\n<ul>\n<li><strong>room</strong> relationship is required.</li>\n<li><strong>responsible-groups</strong> is used to define what teams are responsible for the folder.</li>\n<li><strong>parties</strong> is used to define what teams have access to the folder. If left empty, the default value will apply - all Host teams and the folder creator team will have access to the folder.</li>\n</ul>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Headings and line items can be created only by Hosts and Admins.</li>\n<li>Other folders can be created by Guests, too.</li>\n</ul>\n","urlObject":{"path":["api","v2","folders"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"0a298f81-89a0-44da-8213-7ac1d62610eb","name":"Line item created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"folders\",\n    \"attributes\": {\n      \"folder-type\": \"line_item\",\n      \"name\": \"Line Item 1\",\n      \"position\": \"heading\",\n      \"position-ref\": \"44387\",\n      \"due-date\": \"2019-10-10\",\n      \"custom-value\": \"123\"\n    },\n    \"relationships\": {\n      \"room\": {\n        \"data\": {\n          \"id\": 755,\n          \"type\": \"room\"\n        }\n      }\n    }\n  }]\n}"},"url":"http://localhost:4000//api/v2/folders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"269"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"folder\",\n            \"id\": \"44399\",\n            \"attributes\": {\n                \"unread\": false,\n                \"subscribed\": null,\n                \"status\": \"open\",\n                \"parents\": [\n                    \"f_44387\"\n                ],\n                \"parent\": \"f_44387\",\n                \"new-notes-count\": 0,\n                \"name\": \"Line Item 1\",\n                \"last-child\": false,\n                \"has-notes\": false,\n                \"folder-type\": \"line_item\",\n                \"first-child\": false,\n                \"empty\": true,\n                \"due-date\": {\n                    \"isOverDue\": true,\n                    \"date\": \"10/10/2019\"\n                },\n                \"deepness\": 0,\n                \"custom-value\": \"123\"\n            }\n        }\n    ]\n}"},{"id":"34bc797c-76d1-4ce8-b176-3258af95edac","name":"Folder with access and responsibilities created","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"folders\",\n    \"attributes\": {\n      \"folder-type\": \"folder\",\n      \"name\": \"New folder\",\n      \"position\": \"on\",\n      \"position-ref\": 44399\n    },\n    \"relationships\": {\n      \"responsible-groups\": {\n        \"data\": [\n          {\n            \"id\": 1594,\n            \"type\": \"team\"\n          }\n        ]\n      },\n      \"parties\": {\n        \"data\": [\n          {\n            \"id\": 1594,\n            \"type\": \"team\"\n          }\n        ]\n      },\n      \"room\": {\n        \"data\": {\n          \"id\": 755,\n          \"type\": \"room\"\n        }\n      }\n    }\n  }]\n}"},"url":"http://localhost:4000//api/v2/folders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Jun 2020 12:09:25 GMT"},{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"238"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=YQ2yeUab1nqiDVMTUFpqBSg0wP7gu7rzNaFwoJNXG72qsfWOTgJyu9ECKxd0rRaVDZAJ2EVAp5X+Sw435+3fLWvgCsxQl+21G3CvRM4mSg0ahQTd9Lwyntdw1+M7; Expires=Sun, 05 Jul 2020 12:09:25 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=YQ2yeUab1nqiDVMTUFpqBSg0wP7gu7rzNaFwoJNXG72qsfWOTgJyu9ECKxd0rRaVDZAJ2EVAp5X+Sw435+3fLWvgCsxQl+21G3CvRM4mSg0ahQTd9Lwyntdw1+M7; Expires=Sun, 05 Jul 2020 12:09:25 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx"},{"key":"content-encoding","value":"gzip"},{"key":"set-cookie","value":"_prodeal360=session_fO36Cfdd6Kqlx143pmi6ZLPeNyOG9DRPEZ33wPUDRsEsrYG0hwnOfCzN2cQxlefN7d9KeNNdYD1ogELnF8ne4e4aWJSRahWbr2rWquI8IMifaWTY4nhlT5wvD9ksQ6Ij; path=/; domain=staging.prodeal.dev; secure; HttpOnly"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2oeb7pao4kbhcb08a404fvqh"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, private, must-revalidate"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"folder\",\n            \"id\": \"44406\",\n            \"attributes\": {\n                \"unread\": false,\n                \"subscribed\": null,\n                \"status\": \"open\",\n                \"parents\": [\n                    \"f_44387\",\n                    \"f_44399\"\n                ],\n                \"parent\": \"f_44399\",\n                \"new-notes-count\": 0,\n                \"name\": \"New folder\",\n                \"last-child\": false,\n                \"has-notes\": false,\n                \"folder-type\": \"folder\",\n                \"first-child\": false,\n                \"empty\": true,\n                \"due-date\": {\n                    \"isOverDue\": false,\n                    \"date\": \"\"\n                },\n                \"deepness\": 0,\n                \"custom-value\": null\n            }\n        }\n    ]\n}"},{"id":"8b792bdd-0de1-4703-8913-7414c186fe83","name":"Heading on top of checklist","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"folders\",\n    \"attributes\": {\n      \"folder-type\": \"heading\",\n      \"name\": \"Heading on top\"\n    },\n    \"relationships\": {\n      \"responsible-groups\": {\n        \"data\": []\n      },\n      \"parties\": {\n        \"data\": []\n      },\n      \"room\": {\n        \"data\": {\n          \"id\": 755,\n          \"type\": \"room\"\n        }\n      }\n    }\n  }]\n}"},"url":"http://localhost:4000//api/v2/folders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"241"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"folder\",\n            \"id\": \"44405\",\n            \"attributes\": {\n                \"unread\": false,\n                \"subscribed\": null,\n                \"status\": \"open\",\n                \"parents\": [],\n                \"parent\": null,\n                \"new-notes-count\": 0,\n                \"name\": \"Heading on top\",\n                \"last-child\": false,\n                \"has-notes\": false,\n                \"folder-type\": \"heading\",\n                \"first-child\": false,\n                \"empty\": true,\n                \"due-date\": {\n                    \"isOverDue\": false,\n                    \"date\": \"\"\n                },\n                \"deepness\": 0,\n                \"custom-value\": null\n            }\n        }\n    ]\n}"},{"id":"e3956cf6-84ff-45d3-abb5-e0a9950dd102","name":"Heading below another heading","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"folders\",\n    \"attributes\": {\n      \"folder-type\": \"heading\",\n      \"name\": \"Heading new\",\n      \"due-date\": \"2019-10-10\",\n      \"custom-value\": \"123\",\n      \"position\": \"below\",\n      \"position-ref\": \"44387\"\n    },\n    \"relationships\": {\n      \"responsible-groups\": {\n        \"data\": []\n      },\n      \"parties\": {\n        \"data\": []\n      },\n      \"room\": {\n        \"data\": {\n          \"id\": 755,\n          \"type\": \"room\"\n        }\n      }\n    }\n  }]\n}"},"url":"http://localhost:4000//api/v2/folders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"257"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"folder\",\n            \"id\": \"44404\",\n            \"attributes\": {\n                \"unread\": false,\n                \"subscribed\": null,\n                \"status\": \"open\",\n                \"parents\": [],\n                \"parent\": null,\n                \"new-notes-count\": 0,\n                \"name\": \"Heading new\",\n                \"last-child\": false,\n                \"has-notes\": false,\n                \"folder-type\": \"heading\",\n                \"first-child\": false,\n                \"empty\": true,\n                \"due-date\": {\n                    \"isOverDue\": true,\n                    \"date\": \"10/10/2019\"\n                },\n                \"deepness\": 0,\n                \"custom-value\": \"123\"\n            }\n        }\n    ]\n}"}],"_postman_id":"214d660f-754a-4b8c-bfc1-d6b963a40c3e"},{"name":"Create multiple folders via paths","id":"ca703c6e-f655-4ea9-9b92-d9156358117a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"folders\",\n    \"attributes\": {\n      \"folder-paths\": [\"/XYZ/foo/bar\", \"/XYZ/dodo\", \"/ZZZ\"],\n      \"position-ref\": 476\n    },\n    \"relationships\": {\n      \"responsible-groups\": {\n        \"data\": []\n      },\n      \"parties\": {\n        \"data\": [\n            \n        ]\n      },\n      \"room\": {\n        \"data\": {\n          \"id\": 27,\n          \"type\": \"room\"\n        }\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/folders/via-paths","description":"<h5 id=\"fields\">Fields</h5>\n<p>Required</p>\n<ul>\n<li><code>name</code>: Name (200 characters max)</li>\n<li><code>folder-type</code>: Type of the folder</li>\n</ul>\n<p>Optional</p>\n<ul>\n<li><code>position</code>: Position in the checklist</li>\n<li><code>position-ref</code>: Position reference</li>\n<li><code>due-date</code>: Due date (a date in ISO format)</li>\n<li><code>custom-value</code> Value for custom column (255 characters max)</li>\n</ul>\n<h5 id=\"field-values\">Field values</h5>\n<ul>\n<li><strong>folder-type</strong>:<ul>\n<li><code>heading</code></li>\n<li><code>line_item</code></li>\n<li><code>folder</code></li>\n</ul>\n</li>\n<li><strong>position</strong>:<ul>\n<li><code>heading</code>: at the top of a heading, where <code>position-ref</code> is the heading id (<strong>note:</strong> no matter the folder type, items added at the top of a heading will always become line items)</li>\n<li><code>on</code>: inside (at the top) of a folder, where <code>position-ref</code> is the parent folder id</li>\n<li><code>below</code>: after a folder (where <code>position-ref</code> is the reference folder id)</li>\n<li>if no position is specified, a new heading will be added at the top of the checklist, <strong>no matter the specified folder-type</strong></li>\n</ul>\n</li>\n</ul>\n<h5 id=\"relationships\">Relationships</h5>\n<ul>\n<li><strong>room</strong> relationship is required.</li>\n<li><strong>responsible-groups</strong> is used to define what teams are responsible for the folder.</li>\n<li><strong>parties</strong> is used to define what teams have access to the folder. If left empty, the default value will apply - all Host teams and the folder creator team will have access to the folder.</li>\n</ul>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Headings and line items can be created only by Hosts and Admins.</li>\n<li>Other folders can be created by Guests, too.</li>\n</ul>\n","urlObject":{"path":["api","v2","folders","via-paths"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca703c6e-f655-4ea9-9b92-d9156358117a"},{"name":"Create multiple folders","id":"00db42cd-d609-48e6-b4f7-a7324314412b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"folders\",\n    \"attributes\": {\n      \"folder-type\": \"line_item\",\n      \"name\": \"Line Item 1\",\n      \"position\": \"heading\",\n      \"position-ref\": \"3\"\n    },\n    \"relationships\": {\n      \"responsible-groups\": {\n        \"data\": []\n      },\n      \"parties\": {\n        \"data\": [{\n          \"id\": \"2\",\n          \"type\": \"team\"\n        }, {\n          \"id\": \"4\",\n          \"type\": \"team\"\n        }, {\n          \"id\": \"6\",\n          \"type\": \"team\"\n        }]\n      },\n      \"room\": {\n        \"data\": {\n          \"id\": 2,\n          \"type\": \"room\"\n        }\n      }\n    }\n  }, {\n    \"type\": \"folders\",\n    \"attributes\": {\n      \"folder-type\": \"line_item\",\n      \"name\": \"Line Item 2\",\n      \"position\": \"heading\",\n      \"position-ref\": \"3\"\n    },\n    \"relationships\": {\n      \"responsible-groups\": {\n        \"data\": []\n      },\n      \"parties\": {\n        \"data\": [{\n          \"id\": \"2\",\n          \"type\": \"team\"\n        }, {\n          \"id\": \"4\",\n          \"type\": \"team\"\n        }, {\n          \"id\": \"6\",\n          \"type\": \"team\"\n        }]\n      },\n      \"room\": {\n        \"data\": {\n          \"id\": 2,\n          \"type\": \"room\"\n        }\n      }\n    }\n  }]\n}"},"url":"http://localhost:4000//api/v2/folders","description":"<p>The same rules apply as in <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#2abfd804-5257-419a-a1a5-ef3a1615039b\">Create single folder</a> endpoint, except folders are sent as an array.</p>\n","urlObject":{"path":["api","v2","folders"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"db512d29-6a70-4ec0-a12c-a2efc2294ae2","name":"Create multiple folders","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"folder\",\n    \"attributes\": {\n      \"name\": \"foo\",\n      \"position\": \"on\",\n      \"position-ref\": \"6\"\n    },\n    \"relationships\": {\n      \"room\": {\n        \"data\": {\n          \"type\": \"room\",\n          \"id\": \"1\"\n        }\n      }\n    }\n  },\n  {\n    \"type\": \"folder\",\n    \"attributes\": {\n      \"name\": \"bar\",\n      \"position\": \"on\",\n      \"position-ref\": \"7\"\n    },\n    \"relationships\": {\n      \"room\": {\n        \"data\": {\n          \"type\": \"room\",\n          \"id\": \"1\"\n        }\n      }\n    }\n  }]\n}"},"url":"http://localhost:4000//api/v2/folders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"cache-control","key":"cache-control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"name":"content-length","key":"content-length","value":"746","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json; charset=utf-8","description":"The mime type of this content"},{"name":"date","key":"date","value":"Wed, 30 Jan 2019 19:30:16 GMT","description":"The date and time that the message was sent"},{"name":"server","key":"server","value":"Cowboy","description":"A name for the server"},{"name":"x-request-id","key":"x-request-id","value":"on39nq6am4hoi4rmv0v91vg96ta383q2","description":"Custom header"}],"cookie":[{"expires":"Mon Oct 21 2019 14:12:35 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"881b3cc0-0499-4fe4-acce-fd77dfa4db88","key":"intercom-id-d0rwjug4"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"gabriel%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAACbQAAAAtfY3NyZl90b2tlbm0AAAAYM1RDYWlNcGlpQ2NrZ2puZnptaks1dz09bQAAAAd1c2VyX2lkYQE.u2F_3ISC_d5_oxXK1SJiRvmgtIHpmWiArz9uMfI1X5Q","key":"_prodeal360_key"}],"responseTime":null,"body":"{\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"data\": [\n    {\n      \"type\": \"folder\",\n      \"id\": \"18\",\n      \"attributes\": {\n        \"unread\": false,\n        \"subscribed\": null,\n        \"status\": \"open\",\n        \"parents\": [],\n        \"parent\": \"f_3\",\n        \"new-notes-count\": 0,\n        \"name\": \"Line Item 1\",\n        \"last-child\": false,\n        \"has-notes\": false,\n        \"folder-type\": \"line_item\",\n        \"first-child\": false,\n        \"empty\": false,\n        \"due-date\": {\n          \"isOverDue\": false,\n          \"date\": \"\"\n        },\n        \"deepness\": 0,\n        \"custom-value\": null\n      }\n    },\n    {\n      \"type\": \"folder\",\n      \"id\": \"17\",\n      \"attributes\": {\n        \"unread\": false,\n        \"subscribed\": null,\n        \"status\": \"open\",\n        \"parents\": [],\n        \"parent\": \"f_3\",\n        \"new-notes-count\": 0,\n        \"name\": \"Line Item 2\",\n        \"last-child\": false,\n        \"has-notes\": false,\n        \"folder-type\": \"line_item\",\n        \"first-child\": false,\n        \"empty\": false,\n        \"due-date\": {\n          \"isOverDue\": false,\n          \"date\": \"\"\n        },\n        \"deepness\": 0,\n        \"custom-value\": null\n      }\n    }\n  ]\n}"}],"_postman_id":"00db42cd-d609-48e6-b4f7-a7324314412b"},{"name":"Update single folder","id":"701cfaaf-f886-460d-9774-7b89666e1d73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"folder\",\n    \"id\": \"44399\",\n    \"attributes\": {\n      \"name\": \"Line item\",\n      \"status\": \"closed\",\n      \"due-date\": \"2020-06-29\",\n      \"custom-value\": \"12345\"\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/folders/:folder_id","description":"<p>Use this endpoint to change the folder name, status, custom column value or due date, as well as to move one folder into another.</p>\n<p><strong>Note:</strong> </p>\n<ul>\n<li>Name can contain 200 characters max</li>\n<li>Due-date must be a date in ISO format</li>\n</ul>\n<h5 id=\"field-values\">Field values</h5>\n<ul>\n<li><strong>folder-type</strong>:<ul>\n<li><code>heading</code></li>\n<li><code>line_item</code></li>\n<li><code>folder</code></li>\n</ul>\n</li>\n<li><strong>position</strong>:<ul>\n<li><code>heading</code>: at the top of a heading, where <code>position-ref</code> is the heading id (<strong>note:</strong> no matter the folder type, items added at the top of a heading will always become line items)</li>\n<li><code>on</code>: inside (at the top) of a folder, where <code>position-ref</code> is the parent folder id</li>\n<li><code>below</code>: after a folder (where <code>position-ref</code> is the reference folder id)</li>\n<li>if no position is specified, a new heading will be added at the top of the checklist, <strong>no matter the specified folder-type</strong></li>\n</ul>\n</li>\n</ul>\n<h5 id=\"relationships\">Relationships</h5>\n<ul>\n<li><strong>responsible-groups</strong> is used to define what teams are responsible for the folder.</li>\n<li><strong>parties</strong> is used to define what teams have access to the folder.</li>\n</ul>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Name, status and the due date can be changed only by Hosts and Admins</li>\n<li>Custom column value can be changed by Guests, too.</li>\n<li>Folders can be moved only by Hosts and Admins</li>\n</ul>\n","urlObject":{"path":["api","v2","folders",":folder_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"d1505112-291c-46d0-a8a3-15431dbe03a6","type":"string","value":"44399","key":"folder_id"}]}},"response":[{"id":"3dc65baa-b988-410d-9439-dc60a5d120fb","name":"Move to another folder","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"folder\",\n    \"id\": \"44399\",\n    \"attributes\": {\n      \"position-ref\": 44396,\n      \"position\": \"on\"\n    }\n  }\n}"},"url":{"raw":"http://localhost:4000//api/v2/folders/:folder_id","host":["http://localhost:4000/"],"path":["api","v2","folders",":folder_id"],"variable":[{"key":"folder_id","value":"44399","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"250"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"folder\",\n        \"id\": \"44399\",\n        \"attributes\": {\n            \"unread\": false,\n            \"subscribed\": false,\n            \"status\": \"open\",\n            \"parents\": [\n                \"f_44387\",\n                \"f_44396\"\n            ],\n            \"parent\": \"f_44396\",\n            \"new-notes-count\": 0,\n            \"name\": \"Line Item 1\",\n            \"last-child\": false,\n            \"has-notes\": false,\n            \"folder-type\": \"folder\",\n            \"first-child\": false,\n            \"empty\": true,\n            \"due-date\": {\n                \"isOverDue\": true,\n                \"date\": \"10/10/2019\"\n            },\n            \"deepness\": 0,\n            \"custom-value\": \"123\"\n        }\n    }\n}"},{"id":"b538b313-ebec-437d-8031-29fccdb4b29b","name":"Folder updated","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"folder\",\n    \"id\": \"44399\",\n    \"attributes\": {\n      \"name\": \"Line item\",\n      \"status\": \"closed\",\n      \"due-date\": \"2020-06-29\",\n      \"custom-value\": \"12345\"\n    }\n  }\n}"},"url":{"raw":"http://localhost:4000//api/v2/folders/:folder_id","host":["http://localhost:4000/"],"path":["api","v2","folders",":folder_id"],"variable":[{"key":"folder_id","value":"44399","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"249"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"folder\",\n        \"id\": \"44399\",\n        \"attributes\": {\n            \"unread\": false,\n            \"subscribed\": false,\n            \"status\": \"closed\",\n            \"parents\": [\n                \"f_44387\",\n                \"f_44396\"\n            ],\n            \"parent\": \"f_44396\",\n            \"new-notes-count\": 0,\n            \"name\": \"Line item\",\n            \"last-child\": false,\n            \"has-notes\": false,\n            \"folder-type\": \"folder\",\n            \"first-child\": false,\n            \"empty\": true,\n            \"due-date\": {\n                \"isOverDue\": true,\n                \"date\": \"6/29/2020\"\n            },\n            \"deepness\": 0,\n            \"custom-value\": \"12345\"\n        }\n    }\n}"},{"id":"f6957127-9ecd-4bcb-9264-7275bfd2ed02","name":"Move into a heading","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"folder\",\n    \"id\": \"44399\",\n    \"attributes\": {\n      \"position-ref\": 44409,\n      \"position\": \"heading\"\n    }\n  }\n}"},"url":{"raw":"http://localhost:4000//api/v2/folders/:folder_id","host":["http://localhost:4000/"],"path":["api","v2","folders",":folder_id"],"variable":[{"key":"folder_id","value":"44399","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"254"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"folder\",\n        \"id\": \"44399\",\n        \"attributes\": {\n            \"unread\": false,\n            \"subscribed\": false,\n            \"status\": \"open\",\n            \"parents\": [\n                \"f_44409\"\n            ],\n            \"parent\": \"f_44409\",\n            \"new-notes-count\": 0,\n            \"name\": \"Line Item 1\",\n            \"last-child\": false,\n            \"has-notes\": false,\n            \"folder-type\": \"line_item\",\n            \"first-child\": false,\n            \"empty\": true,\n            \"due-date\": {\n                \"isOverDue\": true,\n                \"date\": \"10/10/2019\"\n            },\n            \"deepness\": 0,\n            \"custom-value\": \"123\"\n        }\n    }\n}"}],"_postman_id":"701cfaaf-f886-460d-9774-7b89666e1d73"},{"name":"Update multiple folders","id":"8f92f472-8ed1-4648-84ee-581d07a12b63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  {\n      \"type\": \"folder\",\n      \"id\": \"44399\",\n      \"attributes\": {\n        \"status\": \"closed\"\n      }\n    },\n    {\n      \"type\": \"folder\",\n      \"id\": \"44605\",\n      \"attributes\": {\n        \"position-ref\": 44409,\n        \"position\": \"heading\"\n      }\n    }\n  ]\n}"},"url":"http://localhost:4000//api/v2/folders","description":"<p>The same rules apply as in <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#6a981b10-9c70-4186-a281-e8e749e2d71c\">Update single folder</a> endpoint, except folders are sent as an array.</p>\n","urlObject":{"path":["api","v2","folders"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"359776e8-e696-431e-b329-6c6ea22ba5c7","name":"Multiple folders updated","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  {\n      \"type\": \"folder\",\n      \"id\": \"44399\",\n      \"attributes\": {\n        \"status\": \"closed\"\n      }\n    },\n    {\n      \"type\": \"folder\",\n      \"id\": \"44605\",\n      \"attributes\": {\n        \"position-ref\": 44409,\n        \"position\": \"heading\"\n      }\n    }\n  ]\n}"},"url":"http://localhost:4000//api/v2/folders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"296"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"folder\",\n            \"id\": \"44399\",\n            \"attributes\": {\n                \"unread\": false,\n                \"subscribed\": false,\n                \"status\": \"closed\",\n                \"parents\": [],\n                \"parent\": \"f_44396\",\n                \"new-notes-count\": 0,\n                \"name\": \"Line item 1\",\n                \"last-child\": false,\n                \"has-notes\": false,\n                \"folder-type\": \"folder\",\n                \"first-child\": false,\n                \"empty\": true,\n                \"due-date\": {\n                    \"isOverDue\": true,\n                    \"date\": \"6/29/2020\"\n                },\n                \"deepness\": 0,\n                \"custom-value\": \"12345\"\n            }\n        },\n        {\n            \"type\": \"folder\",\n            \"id\": \"44605\",\n            \"attributes\": {\n                \"unread\": false,\n                \"subscribed\": false,\n                \"status\": \"open\",\n                \"parents\": [],\n                \"parent\": \"f_44409\",\n                \"new-notes-count\": 0,\n                \"name\": \"Line item 2\",\n                \"last-child\": false,\n                \"has-notes\": false,\n                \"folder-type\": \"line_item\",\n                \"first-child\": false,\n                \"empty\": true,\n                \"due-date\": {\n                    \"isOverDue\": false,\n                    \"date\": \"\"\n                },\n                \"deepness\": 0,\n                \"custom-value\": null\n            }\n        }\n    ]\n}"}],"_postman_id":"8f92f472-8ed1-4648-84ee-581d07a12b63"},{"name":"Subscribe to folder","id":"82906ebc-8b92-4e66-a5c7-e4a980fef91e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"folder-subscriptions\",\n    \"relationships\": {\n      \"folder\": {\n        \"data\": {\n          \"id\": \"39\",\n          \"type\": \"folder\"\n        }\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/me/folders-subscriptions","description":"<p>Users can subscribe to a folder to get notifications when something changes.</p>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li>When a user tries to subscribe to an already subscribed folder, an error <code>422</code> with error detail \"Folder has already been taken\" will return.</li>\n</ul>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Hosts, Admins and Guests can subscribe to a folder.</li>\n<li>Restricted and View Only Guests can subscribe to a folder for Document Upload and Document Status Update.</li>\n</ul>\n","urlObject":{"path":["api","v2","me","folders-subscriptions"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"947fbb05-1643-4c72-bd01-969de35705bb","name":"Already subscribed","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"folder-subscriptions\",\n    \"relationships\": {\n      \"folder\": {\n        \"data\": {\n          \"id\": \"44387\",\n          \"type\": \"folder\"\n        }\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/me/folders-subscriptions"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"192"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"has already been taken\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/folder-id\"\n            },\n            \"detail\": \"Folder has already been taken\",\n            \"code\": null\n        }\n    ]\n}"},{"id":"d049ceec-8887-4e4b-a66a-4de144d5e5d9","name":"Subscribe to folder","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"folder-subscriptions\",\n    \"relationships\": {\n      \"folder\": {\n        \"data\": {\n          \"id\": \"44387\",\n          \"type\": \"folder\"\n        }\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/me/folders-subscriptions"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"name":"content-length","key":"content-length","value":"0","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json","description":"The mime type of this content"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Sat Jul 20 2019 19:18:45 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"gabriel%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAADbQAAAAtfY3NyZl90b2tlbm0AAAAYR3R4ditTL1Z0Y3NCNVZ4dHE5alZIdz09bQAAAA9maWx0ZXJzX2RlYWxfaWRhA20AAAAHdXNlcl9pZGEB.nCwK994N9iReC1nftq__C0SZyrSsBm4I_F4_u67bNMM","key":"_prodeal360_key"}],"responseTime":null,"body":""}],"_postman_id":"82906ebc-8b92-4e66-a5c7-e4a980fef91e"},{"name":"Unsubscribe from folder","id":"8e013114-5e5f-45f4-896b-418db8abf7db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/me/folders-subscriptions/:folder_id","description":"<p>The same access rules apply as when <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#9f08227e-0ccb-4a80-87ca-a7624366d2d2\">subscribing to a folder</a>.</p>\n","urlObject":{"path":["api","v2","me","folders-subscriptions",":folder_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"a423eff0-00eb-4732-96ad-81b45f79f92d","type":"string","value":"18","key":"folder_id"}]}},"response":[{"id":"e95f97df-967c-4b83-8dd8-a5e9937637d8","name":"Unsubscribe to folder","originalRequest":{"method":"GET","header":[]},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"name":"cache-control","key":"cache-control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"name":"content-length","key":"content-length","value":"0","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json","description":"The mime type of this content"},{"name":"date","key":"date","value":"Wed, 31 Oct 2018 19:04:22 GMT","description":"The date and time that the message was sent"},{"name":"server","key":"server","value":"Cowboy","description":"A name for the server"},{"name":"x-request-id","key":"x-request-id","value":"f7fllb1ui8pk8c0agd725jelovqo1sbh","description":"Custom header"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Sat Jul 20 2019 19:18:45 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"gabriel%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAADbQAAAAtfY3NyZl90b2tlbm0AAAAYR3R4ditTL1Z0Y3NCNVZ4dHE5alZIdz09bQAAAA9maWx0ZXJzX2RlYWxfaWRhA20AAAAHdXNlcl9pZGEB.nCwK994N9iReC1nftq__C0SZyrSsBm4I_F4_u67bNMM","key":"_prodeal360_key"}],"responseTime":null,"body":""}],"_postman_id":"8e013114-5e5f-45f4-896b-418db8abf7db"},{"name":"Delete folder","id":"dcd30262-f2be-43ac-881e-477460ea1f3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/folders/:folder_id","description":"<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Only room Hosts and Admins can delete folders and <strong>only in active rooms</strong>.</li>\n<li>Admins cannot delete folders which contain items Admins don't have access to.</li>\n</ul>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li>If Guests, Restricted or View-only users try to delete a folder, a <code>403</code> error will return.</li>\n<li>If a user tries to delete a folder in an inactive room, an error <code>409</code> with the error code <code>ROOM_INACTIVE</code> will return.</li>\n<li>If an Admin tries to delete a folder containing items Admin doesn't have access to (in confidential rooms), an error <code>403</code> with error detail <code>INACCESSIBLE_CONTENT</code> will return.</li>\n</ul>\n","urlObject":{"path":["api","v2","folders",":folder_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"a02267cd-cc2a-4430-90f7-a3918c0af369","type":"string","value":"18","key":"folder_id"}]}},"response":[{"id":"d38f7af9-b0fd-492d-9719-bc58219cffdd","name":"Final document inside error","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/folders/:folder_id","host":["http://localhost:4000/"],"path":["api","v2","folders",":folder_id"],"variable":[{"key":"folder_id","type":"string","value":"44399"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"170"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"422 Unprocessable Entity\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"final_document_deletion\",\n            \"code\": \"NO_CODE\"\n        }\n    ]\n}"},{"id":"d03961c7-7ff3-48ce-ac54-2bab55dd47a9","name":"Role error","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/folders/:folder_id","host":["http://localhost:4000/"],"path":["api","v2","folders",":folder_id"],"variable":[{"key":"folder_id","type":"string","value":"44399"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"FORBIDDEN\"\n        }\n    ]\n}"},{"id":"a2c21b7c-f7bd-45c3-ad41-7ac910108d64","name":"Inactive room error","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/folders/:folder_id","host":["http://localhost:4000/"],"path":["api","v2","folders",":folder_id"],"variable":[{"key":"folder_id","type":"string","value":"44399"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"188"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"409 Conflict\",\n            \"status\": \"409\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"Cannot delete folders when the room is inactive\",\n            \"code\": \"ROOM_INACTIVE\"\n        }\n    ]\n}"},{"id":"46803a92-1960-4fff-b985-b2674752a43d","name":"Folder successfully deleted","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/folders/:folder_id","host":["http://localhost:4000/"],"path":["api","v2","folders",":folder_id"],"variable":[{"key":"folder_id","type":"string","value":"44605"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null},{"id":"305b0c49-0c14-4ce3-9e63-85aca90c0dff","name":"Inaccessible content inside error","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/folders/:folder_id","host":["http://localhost:4000/"],"path":["api","v2","folders",":folder_id"],"variable":[{"key":"folder_id","type":"string","value":"44399"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"INACCESSIBLE_CONTENT\"\n        }\n    ]\n}"}],"_postman_id":"dcd30262-f2be-43ac-881e-477460ea1f3f"},{"name":"Delete multiple folders","id":"7c258adc-fd0f-4560-8d9f-8cb515968878","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  { \"type\": \"folder\", \"id\": \"25\" },\n  { \"type\": \"folder\", \"id\": \"26\" },\n  { \"type\": \"folder\", \"id\": \"27\" }\n  ]\n}"},"url":"http://localhost:4000//api/v2/folders","description":"<p>The same rules apply as in <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#6c9803ed-c0a3-47e7-a344-0d52c687e343\">Delete single folder</a> endpoint, except the folder IDs are sent in the request body.</p>\n","urlObject":{"path":["api","v2","folders"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"10a3f3bb-1929-4806-933c-03643a995d47","name":"Delete multiple folders","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  { \"type\": \"folder\", \"id\": \"25\" },\n  { \"type\": \"folder\", \"id\": \"26\" },\n  { \"type\": \"folder\", \"id\": \"27\" }\n  ]\n}"},"url":"http://localhost:4000//api/v2/folders","description":"The same rules apply as in [Delete single folder](https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#6c9803ed-c0a3-47e7-a344-0d52c687e343) endpoint, except the folder IDs are sent in the request body."},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"name":"cache-control","key":"cache-control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"name":"content-length","key":"content-length","value":"0","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json","description":"The mime type of this content"},{"name":"date","key":"date","value":"Wed, 17 Oct 2018 16:31:48 GMT","description":"The date and time that the message was sent"},{"name":"server","key":"server","value":"Cowboy","description":"A name for the server"},{"name":"x-request-id","key":"x-request-id","value":"hb63barq7tfdiojp9m44tv997p8lngs1","description":"Custom header"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Sun Jun 09 2019 19:30:09 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"gabriel%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Tue Oct 23 2018 22:21:44 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"es","key":"pma_lang"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Tue Oct 23 2018 22:47:00 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"%7B%22iv%22%3A%22vJDm%5C%2FWbbeiw9OwBZIAwRqQ%3D%3D%22%2C%22mac%22%3A%22fdfd47ebca09a61d176eab28211704e605f889ed%22%2C%22payload%22%3A%22dpuvhbnnBuU%5C%2FcWfeFHAJnA%3D%3D%22%7D","key":"pmaUser-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAAGbQAAAAtfY3NyZl90b2tlbm0AAAAYZ2VJcFpFa3lwUFJiNC9BZ1hXanhzZz09bQAAAA9maWx0ZXJzX2RlYWxfaWRhA20AAAANZmlsdGVyc19wYXJ0eWQAA25pbG0AAAATZmlsdGVyc19zZWFyY2hfdGVybWQAA25pbG0AAAAOZmlsdGVyc19zdGF0dXNkAANuaWxtAAAAB3VzZXJfaWRhAQ.LmUDm0-lRj1-19E2Nphdu1P-oUXTEPbSLUO140ACBtY","key":"_prodeal360_key"}],"responseTime":null,"body":""}],"_postman_id":"7c258adc-fd0f-4560-8d9f-8cb515968878"},{"name":"Get folder email address","id":"6d66d094-58ac-4597-b754-36d8ff38fcbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/folders/136844","description":"<p>Generate a unique email address for each folder. </p>\n<p><strong>Note:</strong></p>\n<ul>\n<li>Email-to-folder needs to be enabled for each room you choose </li>\n<li>Make sure you send the email from the email address you're using to log-in to ProDeal</li>\n<li>Email sent to this address will create a new subfolder named by the email subject. The body and all attachments will be uploaded to that subfolder</li>\n<li>You can send multiple attachments to be uploaded to your folder</li>\n<li>Email header and body will be converted to PDF and uploaded to your folder as well</li>\n<li>Maximum file(s) size possible to upload through one email is 20MB</li>\n</ul>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Hosts, Admins, Guests and Restricted users can get folder's email address, but only if Email-to-folder feature is enabled for a room.</li>\n</ul>\n","urlObject":{"path":["api","v2","folders","136844"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"1f5604fe-c31c-4c51-ae1e-c73a2b67f6ef","name":"Email-to-folder turned off","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/folders-inboxes/:folder_id","host":["http://localhost:4000/"],"path":["api","v2","folders-inboxes",":folder_id"],"variable":[{"key":"folder_id","value":"44398","type":"string"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"161"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"422 Unprocessable Entity\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"not_authorized\",\n            \"code\": \"NO_CODE\"\n        }\n    ]\n}"},{"id":"92c8405c-807a-4daa-ae3b-5616289787b7","name":"Get folder email address","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/me/folders-inboxes/:folder_id","host":["http://localhost:4000/"],"path":["api","v2","me","folders-inboxes",":folder_id"],"variable":[{"key":"folder_id","value":"128"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"110"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"folder-inbox\",\n        \"id\": \"3\",\n        \"attributes\": {\n            \"identifier\": \"80ea4e259e\",\n            \"email\": \"80ea4e259e@inbox.prodeal360.com\"\n        }\n    }\n}"}],"_postman_id":"6d66d094-58ac-4597-b754-36d8ff38fcbd"}],"id":"039bee90-fc6a-4d20-8405-a69030bd4d87","description":"<p>The checklist is organized into folders. </p>\n<p>A folder contains:</p>\n<ul>\n<li><code>id</code>: ID (read-only, auto-generated)</li>\n<li><code>name</code>: Name (175 characters max)</li>\n<li><code>parents</code>: An array of all parents formatted as <code>\"f_\" + parent_id</code></li>\n<li><code>parent</code>: Direct parent, formatted as <code>\"f_\" + parent_id</code></li>\n<li><code>first-child</code>: Position in the parent</li>\n<li><code>last-child</code>: Position in the parent</li>\n<li><code>deepness</code>: The deepness in the hierarchy. 0 for headings</li>\n<li><code>folder-type</code>:<ul>\n<li><code>heading</code>: Headings are folders with deepness 0</li>\n<li><code>line_item</code>: Line items are folders with deepness 1</li>\n<li><code>folder</code>: All other folders with deepness &gt; 1</li>\n</ul>\n</li>\n<li><code>status</code>: Status of the folder (<strong>note:</strong> does not work for headings)<ul>\n<li><code>open</code>: Open (<strong>note:</strong> empty folders can be open and closed, but never in progress)</li>\n<li><code>in_progress</code>: (<strong>note:</strong> folders containing documents can be in progress or closed, but never open)</li>\n<li><code>closed</code></li>\n</ul>\n</li>\n<li><code>due-date</code>: Due date, with <code>isOverDue</code> indicator</li>\n<li><code>custom-value</code>: Value for the custom column, if enabled for a room</li>\n<li><code>empty</code>: Indicator whether the folder is empty or not</li>\n<li><code>unread</code>: Indicator if the folder contains notes or documents that the current user did not read</li>\n<li><code>has-notes</code>: Indicator if the folder has notes.</li>\n<li><code>new-notes-count</code>: Count of notes unread by the current user</li>\n<li><code>subscribed</code>: Indicator if the current user is subscribed to a folder (<strong>note:</strong> works for headings only)</li>\n</ul>\n<p>A folder has the following relationships:</p>\n<ul>\n<li><code>parties</code>: In confidential rooms, <code>parties</code> are teams that have access to folder.</li>\n<li><code>responsible-groups</code>: Teams responsible for the current folder</li>\n<li><code>notes</code>: Notes</li>\n<li><code>room</code>: Room to which the entire checklist belongs</li>\n</ul>\n","_postman_id":"039bee90-fc6a-4d20-8405-a69030bd4d87"},{"name":"Documents","item":[{"name":"Get document info","id":"442cbf01-49e4-4fec-9b50-85a694c90f5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/documents/:document_id","description":"<h5 id=\"relationships-and-includes\">Relationships and includes</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>parties</code> (teams)</li>\n<li><code>room</code></li>\n<li><code>file_versions</code></li>\n<li><code>current_file_version</code></li>\n<li><code>folder</code></li>\n</ul>\n<p>By default, if nothing specified, current file version is included. However, if the <code>include</code> parameter is added, then <strong>only the specified entities are included</strong>.</p>\n","urlObject":{"path":["api","v2","documents",":document_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"3c56b2e1-a664-44e2-9529-8daeb299a7dc","type":"string","value":"1","key":"document_id"}]}},"response":[{"id":"23e516f2-8068-4618-9dbe-f93b447253a0","name":"Read document, include parties","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":"http://localhost:4000//api/v2/documents/2include=parties"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"cache-control","key":"cache-control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"name":"content-length","key":"content-length","value":"681","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json; charset=utf-8","description":"The mime type of this content"},{"name":"date","key":"date","value":"Fri, 14 Dec 2018 19:46:42 GMT","description":"The date and time that the message was sent"},{"name":"server","key":"server","value":"Cowboy","description":"A name for the server"},{"name":"x-request-id","key":"x-request-id","value":"letir2cgmovbhgm1fn2ao86eh5fqchms","description":"Custom header"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Mon Aug 12 2019 14:10:57 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"gabriel%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAACbQAAAAtfY3NyZl90b2tlbm0AAAAYNW9NTXhUV2NZd0lIYkNhUzJWNUlCZz09bQAAAAd1c2VyX2lkYQE.BNvloDjicTqoZG1pm_AqNJQDCUxzrVfojjjaQtvPnig","key":"_prodeal360_key"}],"responseTime":null,"body":"{\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"included\": [\n    {\n      \"type\": \"team\",\n      \"id\": \"2\",\n      \"attributes\": {\n        \"type-name\": \"Lender\",\n        \"role-id\": \"host_admin\",\n        \"name\": \"updated name\",\n        \"abbreviation\": \"UPD\"\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"4\",\n      \"attributes\": {\n        \"type-name\": \"Seller\",\n        \"role-id\": \"admin\",\n        \"name\": \"Trustcorp Financial\",\n        \"abbreviation\": \"TFI\"\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"6\",\n      \"attributes\": {\n        \"type-name\": \"Other\",\n        \"role-id\": \"guest\",\n        \"name\": \"Azure Trust\",\n        \"abbreviation\": \"AZT\"\n      }\n    }\n  ],\n  \"data\": {\n    \"type\": \"document\",\n    \"relationships\": {\n      \"parties\": {\n        \"data\": [\n          {\n            \"type\": \"team\",\n            \"id\": \"2\"\n          },\n          {\n            \"type\": \"team\",\n            \"id\": \"4\"\n          },\n          {\n            \"type\": \"team\",\n            \"id\": \"6\"\n          }\n        ]\n      }\n    },\n    \"id\": \"1\",\n    \"attributes\": {\n      \"url\": \"/documents/1\",\n      \"unread\": false,\n      \"private\": false,\n      \"parents\": [],\n      \"parent\": \"f_7\",\n      \"name\": \"Final_HUD.pdf\",\n      \"most-recent-upload-unix-time\": 1570148854,\n      \"most-recent-upload-author-id\": null,\n      \"most-recent-upload\": null,\n      \"most-recent-author-id\": 1,\n      \"last-child\": false,\n      \"has-access\": true,\n      \"first-child\": false,\n      \"final\": false,\n      \"deepness\": 0,\n      \"deal-creator-party-id\": null,\n      \"conversion-state\": \"error\",\n      \"can-delete\": true\n    }\n  }\n}"}],"_postman_id":"442cbf01-49e4-4fec-9b50-85a694c90f5d"},{"name":"Get download link (DEPRECATED)","id":"2eafb2b4-8fa6-4e1c-a57d-9581b96ff2f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/documents/:document_id/file","description":"<p>Use this endpoint to get the currently available (latest) document version. It returns a link for file download and the suggested filename and extension.</p>\n","urlObject":{"path":["api","v2","documents",":document_id","file"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"f87e6aef-da88-4bfc-9e1d-74fdd8326c1c","type":"string","value":"18","key":"document_id"}]}},"response":[{"id":"6734aadb-60ae-426d-91dd-4d5aab8439ac","name":"Get document  file","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":"http://localhost:4000//api/v2/documents/1/file"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"247"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"data\": {\n        \"type\": \"document-file\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"link\": \"https://api.prodeal360.com/api/v2/file-versions/46423/download\",\n            \"expiration\": -1,\n            \"created-at\": \"2019-02-19T21:14:35.375566\"\n        }\n    }\n}"}],"_postman_id":"2eafb2b4-8fa6-4e1c-a57d-9581b96ff2f9"},{"name":"View document version","id":"382ff260-b492-4a02-897e-737c9a54d81a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/file-versions/:file_version_id/view","description":"<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Users that have access to the document</li>\n</ul>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li>If document doesn't exist or user doesn't have access to it, status code <code>404</code> will be returned.</li>\n</ul>\n","urlObject":{"path":["api","v2","file-versions",":file_version_id","view"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"d53cb095-9e96-4007-96a3-9d5c6c3db36a","type":"string","value":"46425","key":"file_version_id"}]}},"response":[],"_postman_id":"382ff260-b492-4a02-897e-737c9a54d81a"},{"name":"Download document version","id":"4d2c2acb-34ae-4dc9-9970-b24bd33ecc06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/file-versions/:file_version_id/download","description":"<p>Use this endpoint to download the document.</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>All roles can download documents. However, there is a restriction for rooms with watermarking enabled. In these rooms, only successfully converted documents will be available to download, in PDF format, for all roles.</p>\n<p>Documents that don't have <code>conversion-state: \"converted\"</code> will be possible to download only by Hosts, in their original form.</p>\n","urlObject":{"path":["api","v2","file-versions",":file_version_id","download"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"c37ea36f-146d-476b-ab99-13542fb1fdce","type":"string","value":"46425","key":"file_version_id"}]}},"response":[],"_postman_id":"4d2c2acb-34ae-4dc9-9970-b24bd33ecc06"},{"name":"Upload document","id":"574c059d-8230-4c6b-891d-c8f87fbd8f98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null},{"key":"name","value":"file_name.xls","type":"text"},{"key":"folder_id","value":"189","type":"text"},{"key":"parties_ids[]","value":"7","type":"text"}]},"url":"http://localhost:4000//api/v2/documents/upload","description":"<h1 id=\"upload-document\">Upload Document</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint allows users to upload a document to a specific folder within a checklist room. The document can be associated with specific teams for access control.</p>\n<h2 id=\"request-body-form-data\">Request Body (form-data)</h2>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>file</code></td>\n<td>file</td>\n<td>Yes</td>\n<td>The file to be uploaded. This should be the actual file content.</td>\n</tr>\n<tr>\n<td><code>folder_id</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>The unique identifier of the folder where the document will be uploaded.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>No</td>\n<td>The name to assign to the uploaded document. Maximum of 200 characters.</td>\n</tr>\n<tr>\n<td><code>parties_ids[]</code></td>\n<td>integer</td>\n<td>No</td>\n<td>The ID of a team that should have access to this document. The team must already have access to the folder where the file is being uploaded. Can be specified multiple times to grant access to multiple teams.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"notes\">Notes</h2>\n<ul>\n<li><p>Unlike other endpoints, the <code>Accept</code> header must be omitted for this request.</p>\n</li>\n<li><p>When a document is uploaded to the <code>open</code> folder, its status automatically changes to <code>in_progress</code>.</p>\n</li>\n<li><p>Document name can have 200 characters max.</p>\n</li>\n</ul>\n<h2 id=\"relationships-and-includes\">Relationships and Includes</h2>\n<p>By default, file versions are included in the response.</p>\n<h2 id=\"roles-and-permissions\">Roles and Permissions</h2>\n<ul>\n<li>Hosts, Admins, Guests and Restricted users can upload documents.</li>\n</ul>\n","urlObject":{"path":["api","v2","documents","upload"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"1338b6f7-4325-4a98-a2ce-331e71349873","name":"Document uploaded","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]},{"key":"name","value":"Test","type":"text"},{"key":"folder_id","value":"44609","type":"text"},{"key":"parties_ids[]","value":"1589","type":"text"},{"key":"parties_ids[]","value":"1596","type":"text"}]},"url":"http://localhost:4000//api/v2/documents/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"452"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"file-version\",\n            \"id\": \"46426\",\n            \"attributes\": {\n                \"inserted-at\": \"2020-06-30T11:35:36.231796\",\n                \"file-hash\": \"C8ED9771588DC14A216E819291F3CA7FA1FA8C04C0E096CAA0C784DB48C21713\"\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"document\",\n        \"relationships\": {\n            \"current-file-version\": {\n                \"data\": {\n                    \"type\": \"file-version\",\n                    \"id\": \"46426\"\n                }\n            }\n        },\n        \"id\": \"46440\",\n        \"attributes\": {\n            \"url\": \"/documents/46440\",\n            \"unread\": false,\n            \"parents\": [],\n            \"parent\": \"f_44609\",\n            \"name\": \"Test\",\n            \"most-recent-upload-unix-time\": 1593516936,\n            \"most-recent-upload-author-id\": null,\n            \"most-recent-upload\": \"June 30 at 7:35AM by John Doe (O)\",\n            \"most-recent-author-id\": 499,\n            \"last-child\": false,\n            \"has-access\": true,\n            \"first-child\": false,\n            \"final\": false,\n            \"deepness\": 0,\n            \"deal-creator-party-id\": 1589,\n            \"conversion-state\": \"converting\",\n            \"can-delete\": true\n        }\n    }\n}"}],"_postman_id":"574c059d-8230-4c6b-891d-c8f87fbd8f98"},{"name":"Update single document","id":"f782f18f-23cf-4ca3-991c-e0732cffaf88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\":\"document\",\n    \"id\":\"18\",\n    \"attributes\":{\n      \"name\":\"foo\",\n      \"final\":true\n    },\n    \"relationships\":{\n      \"folder\":{\n        \"data\":{\n          \"type\":\"folder\",\n          \"id\":\"195\"\n        }\n      },\n      \"parties\":{\n        \"data\":[\n          {\n            \"type\":\"party\",\n            \"id\":\"3\"\n          }\n        ]\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/documents/:document_id","description":"<p>Use this endpoint to rename or move a document, change which teams have access to it, or change status.</p>\n<p><strong>Note:</strong> Document name can have 200 characters max.</p>\n<h5 id=\"relationships-and-includes\">Relationships and includes</h5>\n<p>By default, file versions are included in the response.</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Hosts and Admins can move a document, change status and change access.</li>\n<li>Hosts, Admins and Guests can rename a document.</li>\n</ul>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li>If a user tries to change the attribute he doesn't have permission to, a <code>403</code> error will return and nothing will be changed. E.g. If a Guest tries to change the document name and status in the same request, nothing will be changed.</li>\n</ul>\n","urlObject":{"path":["api","v2","documents",":document_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"6857710b-1570-4724-a201-20172d5fec88","type":"string","value":"18","key":"document_id"}]}},"response":[{"id":"28b1b36a-0c3f-42bd-9a27-6084a3c31f95","name":"Document updated","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\":\"document\",\n    \"id\":\"46436\",\n    \"attributes\":{\n      \"name\":\"foo\",\n      \"final\":true\n    },\n    \"relationships\":{\n      \"folder\":{\n        \"data\":{\n          \"type\":\"folder\",\n          \"id\":\"44609\"\n        }\n      },\n      \"parties\":{\n        \"data\":[\n          {\n            \"type\":\"party\",\n            \"id\":\"1589\"\n          }\n        ]\n      }\n    }\n  }\n}"},"url":{"raw":"http://localhost:4000//api/v2/documents/:document_id","host":["http://localhost:4000/"],"path":["api","v2","documents",":document_id"],"variable":[{"key":"document_id","value":"46436","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"450"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"file-version\",\n            \"id\": \"46422\",\n            \"attributes\": {\n                \"inserted-at\": \"2020-06-30T09:38:43.748938\",\n                \"file-hash\": \"3468CAEA9E34E04228B1746B397CEF7A7014C4FE4AC368FF60B05B09D42B1880\"\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"document\",\n        \"relationships\": {\n            \"current-file-version\": {\n                \"data\": {\n                    \"type\": \"file-version\",\n                    \"id\": \"46422\"\n                }\n            }\n        },\n        \"id\": \"46436\",\n        \"attributes\": {\n            \"url\": \"/documents/46436\",\n            \"unread\": true,\n            \"parents\": [\n                \"f_44391\",\n                \"f_44609\"\n            ],\n            \"parent\": \"f_44609\",\n            \"name\": \"foo\",\n            \"most-recent-upload-unix-time\": 1593509923,\n            \"most-recent-upload-author-id\": null,\n            \"most-recent-upload\": \"June 30 at 5:38AM by John Doe (O)\",\n            \"most-recent-author-id\": 499,\n            \"last-child\": false,\n            \"has-access\": true,\n            \"first-child\": false,\n            \"final\": true,\n            \"deepness\": 0,\n            \"deal-creator-party-id\": 1589,\n            \"conversion-state\": \"converted\",\n            \"can-delete\": true\n        }\n    }\n}"},{"id":"59d6a7ba-d501-4abf-894c-7b08aaffabf9","name":"Role error","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\":\"document\",\n    \"id\":\"46436\",\n    \"attributes\":{\n      \"name\":\"foo\",\n      \"final\":false\n    },\n    \"relationships\":{\n      \"folder\":{\n        \"data\":{\n          \"type\":\"folder\",\n          \"id\":\"44609\"\n        }\n      },\n      \"parties\":{\n        \"data\":[\n          {\n            \"type\":\"party\",\n            \"id\":\"1589\"\n          }\n        ]\n      }\n    }\n  }\n}"},"url":{"raw":"http://localhost:4000//api/v2/documents/:document_id","host":["http://localhost:4000/"],"path":["api","v2","documents",":document_id"],"variable":[{"key":"document_id","value":"46436","type":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"FORBIDDEN\"\n        }\n    ]\n}"}],"_postman_id":"f782f18f-23cf-4ca3-991c-e0732cffaf88"},{"name":"Update multiple documents","id":"9023aa63-617f-4998-8884-30f447e121c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\":[\n    {\n      \"type\":\"document\",\n      \"id\":\"441\",\n      \"attributes\":{\n        \"name\":\"foo\",\n        \"final\":true\n      },\n      \"relationships\":{\n        \"folder\":{\n          \"data\":{\n            \"type\":\"folder\",\n            \"id\":\"8\"\n          }\n        },\n        \"parties\":{\n          \"data\":[\n            \n          ]\n        }\n      }\n    },\n    {\n      \"type\":\"document\",\n      \"id\":\"1\",\n      \"attributes\":{\n        \"name\":\"bar\",\n        \"final\":false\n      },\n      \"relationships\":{\n        \"folder\":{\n          \"data\":{\n            \"type\":\"folder\",\n            \"id\":\"195\"\n          }\n        },\n        \"parties\":{\n          \"data\":[\n            {\n              \"type\":\"party\",\n              \"id\":\"3\"\n            }\n          ]\n        }\n      }\n    }\n  ]\n}"},"url":"http://localhost:4000//api/v2/documents","description":"<p>The same rules apply as in <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#00c402af-e829-4299-89be-a02be08b044a\">Update single document</a> endpoint, except the documents are sent as an array in the request body.</p>\n","urlObject":{"path":["api","v2","documents"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"2c7525d9-c0c0-425f-93cd-c0875d9fdade","name":"Multiple documents updated","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","type":"text","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","type":"text","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\":[\n    {\n      \"type\":\"document\",\n      \"id\":\"46436\",\n      \"attributes\":{\n        \"name\":\"Doc 1\",\n        \"final\":true\n      }\n    },\n    {\n      \"type\":\"document\",\n      \"id\":\"46437\",\n      \"attributes\":{\n        \"name\":\"Doc 2\",\n        \"final\":false\n      }\n    }\n  ]\n}"},"url":"http://localhost:4000//api/v2/documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"497"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"file-version\",\n            \"id\": \"46422\",\n            \"attributes\": {\n                \"inserted-at\": \"2020-06-30T09:38:43.748938\",\n                \"file-hash\": \"3468CAEA9E34E04228B1746B397CEF7A7014C4FE4AC368FF60B05B09D42B1880\"\n            }\n        },\n        {\n            \"type\": \"file-version\",\n            \"id\": \"46423\",\n            \"attributes\": {\n                \"inserted-at\": \"2020-06-30T09:38:43.752273\",\n                \"file-hash\": \"3468CAEA9E34E04228B1746B397CEF7A7014C4FE4AC368FF60B05B09D42B1880\"\n            }\n        }\n    ],\n    \"data\": [\n        {\n            \"type\": \"document\",\n            \"relationships\": {\n                \"current-file-version\": {\n                    \"data\": {\n                        \"type\": \"file-version\",\n                        \"id\": \"46423\"\n                    }\n                }\n            },\n            \"id\": \"46437\",\n            \"attributes\": {\n                \"url\": \"/documents/46437\",\n                \"unread\": false,\n                \"parents\": [\n                    \"f_44391\",\n                    \"f_44392\"\n                ],\n                \"parent\": \"f_44392\",\n                \"name\": \"Doc 2\",\n                \"most-recent-upload-unix-time\": 1593509923,\n                \"most-recent-upload-author-id\": null,\n                \"most-recent-upload\": \"June 30 at 5:38AM by John Doe (O)\",\n                \"most-recent-author-id\": 499,\n                \"last-child\": false,\n                \"has-access\": true,\n                \"first-child\": false,\n                \"final\": false,\n                \"deepness\": 0,\n                \"deal-creator-party-id\": 1589,\n                \"conversion-state\": \"converted\",\n                \"can-delete\": true\n            }\n        },\n        {\n            \"type\": \"document\",\n            \"relationships\": {\n                \"current-file-version\": {\n                    \"data\": {\n                        \"type\": \"file-version\",\n                        \"id\": \"46422\"\n                    }\n                }\n            },\n            \"id\": \"46436\",\n            \"attributes\": {\n                \"url\": \"/documents/46436\",\n                \"unread\": false,\n                \"parents\": [\n                    \"f_44391\",\n                    \"f_44609\"\n                ],\n                \"parent\": \"f_44609\",\n                \"name\": \"Doc 1\",\n                \"most-recent-upload-unix-time\": 1593509923,\n                \"most-recent-upload-author-id\": null,\n                \"most-recent-upload\": \"June 30 at 5:38AM by John Doe (O)\",\n                \"most-recent-author-id\": 499,\n                \"last-child\": false,\n                \"has-access\": true,\n                \"first-child\": false,\n                \"final\": true,\n                \"deepness\": 0,\n                \"deal-creator-party-id\": 1589,\n                \"conversion-state\": \"converted\",\n                \"can-delete\": true\n            }\n        }\n    ]\n}"}],"_postman_id":"9023aa63-617f-4998-8884-30f447e121c9"},{"name":"Mark as unread","id":"0b6b7363-c737-4eb5-a4d5-31e821418c8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\":[\n    {\n      \"type\":\"unread-documents\",\n      \"id\":\"46436\"\n    }\n  ]\n}\n"},"url":"http://localhost:4000//api/v2/unread_documents","urlObject":{"path":["api","v2","unread_documents"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"2be18159-3cdc-4aeb-98b4-3f6d602b3db3","name":"Mark as unread","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\":[\n    {\n      \"type\":\"unread-documents\",\n      \"id\":\"46436\"\n    }\n  ]\n}\n"},"url":"http://localhost:4000//api/v2/unread_documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"104"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"unread-document\",\n            \"id\": \"46436\",\n            \"attributes\": {\n                \"id\": 46436\n            }\n        }\n    ]\n}"}],"_postman_id":"0b6b7363-c737-4eb5-a4d5-31e821418c8a"},{"name":"Mark as read","id":"3e4343a1-e925-44f7-b535-b65862725c4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\":[\n    {\n      \"type\":\"unread-documents\",\n      \"id\":\"46436\"\n    }\n  ]\n}\n"},"url":"http://localhost:4000//api/v2/unread_documents","urlObject":{"path":["api","v2","unread_documents"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"686b3e98-2d69-4ae3-ac76-adb037a2771f","name":"Mark multiple as read","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\":[\n    {\n      \"type\":\"unread-documents\",\n      \"id\":\"46437\"\n    },\n    {\n      \"type\":\"unread-documents\",\n      \"id\":\"46439\"\n    }\n  ]\n}\n"},"url":"http://localhost:4000//api/v2/unread_documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"170"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"unread-document\",\n            \"id\": \"46437\",\n            \"attributes\": {\n                \"id\": 46437\n            }\n        },\n        {\n            \"type\": \"unread-document\",\n            \"id\": \"46439\",\n            \"attributes\": {\n                \"id\": 46439\n            }\n        }\n    ]\n}"},{"id":"e843884f-7687-434c-b69e-27357fb1593e","name":"Mark as read","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\":[\n    {\n      \"type\":\"unread-documents\",\n      \"id\":\"46436\"\n    }\n  ]\n}\n"},"url":"http://localhost:4000//api/v2/unread_documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"104"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"unread-document\",\n            \"id\": \"46436\",\n            \"attributes\": {\n                \"id\": 46436\n            }\n        }\n    ]\n}"}],"_postman_id":"3e4343a1-e925-44f7-b535-b65862725c4e"},{"name":"Delete single document","id":"6d9041b1-2535-40aa-9da1-c60b1ce899f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/documents/:document_id","description":"<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Only room Hosts and Admins can delete documents and <strong>only in active rooms</strong>.</li>\n</ul>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li>If Guests, Restricted or View-only users try to delete a document, a <code>403</code> error will return.</li>\n<li>If a user tries to delete a document in an inactive room, an error <code>400</code> with the error detail <code>Invalid deal state</code> will return.</li>\n<li>If an Admin tries to delete a final document, an error <code>403</code> with error code <code>FINAL_DOCUMENT_DELETION</code> will return.</li>\n</ul>\n","urlObject":{"path":["api","v2","documents",":document_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"05af3e0b-5424-4bca-8299-1f816a47b5a1","type":"string","value":"1","key":"document_id"}]}},"response":[{"id":"3fe63f96-cbfc-4a81-922c-c55a801b6ad2","name":"Role error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/documents/:document_id","host":["http://localhost:4000/"],"path":["api","v2","documents",":document_id"],"variable":[{"key":"document_id","value":"46438","type":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"FORBIDDEN\"\n        }\n    ]\n}"},{"id":"4acd9f36-9bbb-4011-bfb9-2ad56e19ae64","name":"Final document error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/documents/:document_id","host":["http://localhost:4000/"],"path":["api","v2","documents",":document_id"],"variable":[{"key":"document_id","value":"46438","type":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"FINAL_DOCUMENT_DELETION\"\n        }\n    ]\n}"},{"id":"a9e4ce0a-6148-4d58-8021-33a17e56146d","name":"Document deleted","originalRequest":{"method":"GET","header":[]},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"name":"cache-control","key":"cache-control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"name":"content-length","key":"content-length","value":"0","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"application/vnd.api+json","description":"The mime type of this content"},{"name":"date","key":"date","value":"Tue, 11 Dec 2018 19:59:56 GMT","description":"The date and time that the message was sent"},{"name":"server","key":"server","value":"Cowboy","description":"A name for the server"},{"name":"x-request-id","key":"x-request-id","value":"hq797lq9qh44u06e25icoc4i8rbjtf90","description":"Custom header"}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Mon Aug 12 2019 14:10:57 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"vinny%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAACbQAAAAtfY3NyZl90b2tlbm0AAAAYV2FJVU9yYXNqMkd3emkzS2tVNTlWZz09bQAAAAd1c2VyX2lkYQM.Tdp0Tr5sCrz9v0iHHCJJ7bi42mXT49ilQt7ZwVPnFuE","key":"_prodeal360_key"}],"responseTime":null,"body":""},{"id":"d4c553f3-bc1a-45ec-8dbc-89c1904d9fe5","name":"Inactive room error","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/documents/:document_id","host":["http://localhost:4000/"],"path":["api","v2","documents",":document_id"],"variable":[{"key":"document_id","value":"46439","type":"string"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"156"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"400 Bad Request\",\n            \"status\": \"400\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"Invalid deal state\",\n            \"code\": \"NO_CODE\"\n        }\n    ]\n}"}],"_postman_id":"6d9041b1-2535-40aa-9da1-c60b1ce899f8"},{"name":"Delete multiple documents","id":"893dea95-a5ec-470d-b647-b1dc0dc5dddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n  { \"type\": \"document\", \"id\": \"19\" },\n  { \"type\": \"document\", \"id\": \"20\" },\n  { \"type\": \"document\", \"id\": \"21\" }\n  ]\n}"},"url":"http://localhost:4000//api/v2/documents","description":"<p>The same rules apply as in <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#36fe8fcd-41fb-4b78-9676-4627d779a2bd\">Delete single document</a> endpoint, except the document IDs are sent in the request body.</p>\n","urlObject":{"path":["api","v2","documents"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"36c1aea5-09bc-4296-baac-438f980ea63c","name":"Delete multiple documents","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n\t{ \"type\": \"document\", \"id\": \"19\" },\n\t{ \"type\": \"document\", \"id\": \"20\" },\n\t{ \"type\": \"document\", \"id\": \"21\" }\n  ]\n}"},"url":"http://localhost:4000//api/v2/documents"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"name":"content-length","key":"content-length","value":"0","description":""},{"name":"content-type","key":"content-type","value":"application/vnd.api+json","description":""}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Mon Aug 12 2019 14:10:57 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"vinny%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAACbQAAAAtfY3NyZl90b2tlbm0AAAAYV2FJVU9yYXNqMkd3emkzS2tVNTlWZz09bQAAAAd1c2VyX2lkYQM.Tdp0Tr5sCrz9v0iHHCJJ7bi42mXT49ilQt7ZwVPnFuE","key":"_prodeal360_key"}],"responseTime":null,"body":""}],"_postman_id":"893dea95-a5ec-470d-b647-b1dc0dc5dddb"}],"id":"7e8b72a3-50ac-4a88-bc07-daaa2264d702","description":"<p>All files uploaded to the system are referred to as \"documents\". </p>\n<p>A document contains:</p>\n<ul>\n<li><code>id</code>: ID (auto-generated, read-only)</li>\n<li><code>name</code>: Name of the document in the checklist. Can be different than filename. Does not need to contain the information about the document extension.</li>\n<li><code>url</code>: Relative path in the system, e.g. <code>\"/documents/46438\"</code></li>\n<li><code>parents</code>: Array of parent folders</li>\n<li><code>parent</code>: Direct parent folder</li>\n<li><code>deepness</code>: Deepness in the checklist tree</li>\n<li><code>last-child</code>: Position in the parent</li>\n<li><code>first-child</code>: Position in the parent</li>\n<li><code>final</code>: Whether the document is final</li>\n<li><code>conversion-state</code>: Whether the document can be watermarked and converted to PDF or not. This conversion check happens on every document upload.<ul>\n<li><code>\"error\"</code> - Document cannot be watermarked and converted to PDF.</li>\n<li><code>\"converted\"</code> - Document can be converted</li>\n<li><code>\"converting\"</code> - Document conversion check is in progress</li>\n<li><code>\"corrupted\"</code> - Document did not pass the virus-check. Note that these documents might not actually be corrupted.</li>\n</ul>\n</li>\n<li><code>unread</code>: Whether the current user opened the document or not</li>\n<li><code>has-access</code>: Whether the current user can access the document or not</li>\n<li><code>can-delete</code>: Whether the current user can delete the document or not</li>\n<li><code>most-recent-upload-unix-time</code>: Timestamp of the most recent upload time. If the document has multiple versions, it will be the timestamp of the latest version upload.</li>\n<li><code>most-recent-upload-author-id</code>: ID of the user who uploaded the latest version of the document.</li>\n<li><code>most-recent-author-id</code>: ID of the user who made the latest changes to the document.</li>\n<li><code>deal-creator-party-id</code>: ID of the team to whom belongs the person who created (first uploaded) the document</li>\n<li><code>most-recent-upload</code>: Nicely formatted summary of the latest upload. E.g. <em>\"June 30 at 5:38AM by John Doe (O)\",</em></li>\n</ul>\n<p>A document has the following relationships:</p>\n<ul>\n<li><code>room</code>: Room to which the checklist belongs</li>\n<li><code>parties</code>: Teams that have access to the document</li>\n<li><code>folder</code>: Folder that contains the document (direct parent)</li>\n<li><code>file-versions</code>: File versions</li>\n<li><code>current-file-version</code>: Current file version</li>\n</ul>\n<h5 id=\"allowed-documents\">Allowed documents</h5>\n<ul>\n<li>There is a list of document extensions considered unsafe, so document upload might be blocked</li>\n</ul>\n","_postman_id":"7e8b72a3-50ac-4a88-bc07-daaa2264d702"},{"name":"Notes","item":[{"name":"Returns the list of all notes","id":"d7cb187e-f522-4eb2-8364-4f0f93b3c557","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/notes?filter[folderId]=110&page[number]=1&page[size]=10","description":"<h5 id=\"filters\">Filters</h5>\n<p><code>folderId</code>: Folder ID (required).</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Hosts, Admins and Guests can view the notes on the folders they have access to - but only if the room has the notes enabled.</p>\n","urlObject":{"path":["api","v2","notes"],"host":["http://localhost:4000/"],"query":[{"key":"filter[folderId]","value":"110"},{"key":"page[number]","value":"1"},{"key":"page[size]","value":"10"}],"variable":[]}},"response":[{"id":"50e704bf-b1a9-437c-a079-ce63226c955f","name":"All notes for a folder","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/notes?filter[folderId]=110&page[number]=1&page[size]=10","host":["http://localhost:4000/"],"path":["api","v2","notes"],"query":[{"key":"filter[folderId]","value":"110"},{"key":"page[number]","value":"1"},{"key":"page[size]","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 26 Jun 2020 16:45:03 GMT"},{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"374"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=wk3k9di6TrF04rgeIVSnfyBurvl0+rs10fduAuvbV5zJ7MrmVBIy501CVa+rJsCk7FvBBnooSG545tgNO5z1J+3rbVf6eWbWIEdaP/bzUXuXoS8fUG4+hvrp3zcc; Expires=Fri, 03 Jul 2020 16:45:03 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=wk3k9di6TrF04rgeIVSnfyBurvl0+rs10fduAuvbV5zJ7MrmVBIy501CVa+rJsCk7FvBBnooSG545tgNO5z1J+3rbVf6eWbWIEdaP/bzUXuXoS8fUG4+hvrp3zcc; Expires=Fri, 03 Jul 2020 16:45:03 GMT; Path=/; SameSite=None; Secure"},{"key":"Server","value":"nginx"},{"key":"content-encoding","value":"gzip"},{"key":"set-cookie","value":"_prodeal360=session_zLViTAKIP9tnDE1QDmGPnC8KQVggUCyVYufcp1dPfgCF83QHYqRf8sKIni9R+bg8ytF5IfvwgjT/YsnZxfgZD13UfTEkKf9unz6YJeJm1wNqyZ3wnRo1NlV7gZkax7Uh; path=/; domain=staging.prodeal.dev; secure; HttpOnly"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2oe2bhkrpq71f288v80023a1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, private, must-revalidate"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/notes?filter[folderId]=110&page[number]=1&page[size]=10\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"note\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"user\": {\n                    \"teams\": [\n                        {\n                            \"name\": \"ProDeal\",\n                            \"abbreviation\": \"O\"\n                        }\n                    ],\n                    \"team\": {\n                        \"name\": \"ProDeal\",\n                        \"abbreviation\": \"O\"\n                    },\n                    \"name\": \"John Doe\",\n                    \"id\": 499\n                },\n                \"updated-at\": \"2020-06-26T12:44:06.754116\",\n                \"message\": \"<p><strong>Another</strong> note</p>\",\n                \"is-read\": true,\n                \"inserted-at\": \"2020-06-26T12:44:06.753979\",\n                \"edited\": false,\n                \"deleted-at\": null,\n                \"created\": \"Fri, Jun 26 at 12:44PM\"\n            }\n        },\n        {\n            \"type\": \"note\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"user\": {\n                    \"teams\": [\n                        {\n                            \"name\": \"ProDeal\",\n                            \"abbreviation\": \"O\"\n                        }\n                    ],\n                    \"team\": {\n                        \"name\": \"ProDeal\",\n                        \"abbreviation\": \"O\"\n                    },\n                    \"name\": \"Jane Doe\",\n                    \"id\": 500\n                },\n                \"updated-at\": \"2020-06-26T12:43:59.487959\",\n                \"message\": \"<p>Some note</p>\",\n                \"is-read\": true,\n                \"inserted-at\": \"2020-06-26T12:43:59.487949\",\n                \"edited\": false,\n                \"deleted-at\": null,\n                \"created\": \"Fri, Jun 26 at 12:43PM\"\n            }\n        }\n    ]\n}"}],"_postman_id":"d7cb187e-f522-4eb2-8364-4f0f93b3c557"},{"name":"Create note","id":"dc79a196-3b1d-4c86-a333-48a67fcdc695","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n \"data\": {\n   \"type\":\"notes\",\n   \"attributes\":{\n     \"folder-id\":\"110\",\n     \"message\":\"hello world\"\n   }\n }\n}"},"url":"http://localhost:4000//api/v2/notes","description":"<p>To create a note, you need to provide only a folder ID and the note message.</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Hosts, Admins and Guests can create notes on folders they have access to.</p>\n","urlObject":{"path":["api","v2","notes"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"3cdc80d8-3ff6-4e3d-b875-4ebd163de8ae","name":"Note created","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n \"data\": {\n   \"type\":\"notes\",\n   \"attributes\":{\n     \"folder-id\":\"44388\",\n     \"message\":\"hello world\"\n   }\n }\n}"},"url":"http://localhost:4000//api/v2/notes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"258"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"note\",\n        \"id\": \"668\",\n        \"attributes\": {\n            \"user\": {\n                \"teams\": [\n                    {\n                        \"name\": \"ProDeal\",\n                        \"abbreviation\": \"O\"\n                    }\n                ],\n                \"team\": {\n                    \"name\": \"ProDeal\",\n                    \"abbreviation\": \"O\"\n                },\n                \"name\": \"John Doe\",\n                \"id\": 499\n            },\n            \"updated-at\": \"2020-06-26T13:03:45.348814\",\n            \"message\": \"hello world\",\n            \"is-read\": true,\n            \"inserted-at\": \"2020-06-26T13:03:45.348803\",\n            \"edited\": false,\n            \"deleted-at\": null,\n            \"created\": \"Fri, Jun 26 at 1:03PM\"\n        }\n    }\n}"}],"_postman_id":"dc79a196-3b1d-4c86-a333-48a67fcdc695"},{"name":"Update note","id":"40fe9433-aa4b-44a1-bff6-b8e6047a1369","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n \"data\": {\n   \"type\":\"notes\",\n   \"id\": \"670\",\n   \"attributes\":{\n     \"message\":\"updated message\"\n   }\n }\n}"},"url":"http://localhost:4000//api/v2/notes/:note_id","description":"<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Users can update note's message for their own notes.</p>\n","urlObject":{"path":["api","v2","notes",":note_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"ae825fb0-856b-4a2e-879c-4916842e72de","type":"string","value":"670","key":"note_id"}]}},"response":[{"id":"a50b8cb7-7342-409c-9cab-0d55f3802e0a","name":"Updated single note","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n \"data\": {\n   \"type\":\"notes\",\n   \"id\": \"670\",\n   \"attributes\":{\n     \"message\":\"updated message\"\n   }\n }\n}"},"url":{"raw":"http://localhost:4000//api/v2/notes/:note_id","host":["http://localhost:4000/"],"path":["api","v2","notes",":note_id"],"variable":[{"key":"note_id","value":"670"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json; charset=utf-8"},{"key":"Content-Length","value":"258"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"note\",\n        \"id\": \"670\",\n        \"attributes\": {\n            \"user\": {\n                \"teams\": [\n                    {\n                        \"name\": \"ProDeal\",\n                        \"abbreviation\": \"O\"\n                    }\n                ],\n                \"team\": {\n                    \"name\": \"ProDeal\",\n                    \"abbreviation\": \"O\"\n                },\n                \"name\": \"John Doe\",\n                \"id\": 499\n            },\n            \"updated-at\": \"2020-06-26T13:10:14.702829\",\n            \"message\": \"updated message\",\n            \"is-read\": true,\n            \"inserted-at\": \"2020-06-26T13:06:15.767259\",\n            \"edited\": true,\n            \"deleted-at\": null,\n            \"created\": \"Fri, Jun 26 at 1:06PM\"\n        }\n    }\n}"}],"_postman_id":"40fe9433-aa4b-44a1-bff6-b8e6047a1369"},{"name":"Delete note","id":"f0348cca-e2ad-4b62-acca-6f90f568234a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/notes/:note_id","description":"<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Users can delete their own notes.</p>\n","urlObject":{"path":["api","v2","notes",":note_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"580973ed-de02-49c3-893f-98e9b2c64c7c","type":"string","value":"670","key":"note_id"}]}},"response":[{"id":"47dd487b-fc13-4469-aa72-43af78e77d35","name":"Note deleted","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/notes/:note_id","host":["http://localhost:4000/"],"path":["api","v2","notes",":note_id"],"variable":[{"key":"note_id","value":"670","type":"string"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f0348cca-e2ad-4b62-acca-6f90f568234a"}],"id":"b741213c-482a-4826-89a1-ac749c70c465","description":"<p>Notes are a way to keep up with all the changes in a room and communicate with colleagues and partners. If notes are enabled on the room, every heading, line item and folder gets its own notes thread (similar to chat).</p>\n<p>A note has the following parameters:</p>\n<ul>\n<li><code>id</code>: ID (read-only, auto-generated)</li>\n<li><code>user</code>: Information about the user who created a note and his team(s)</li>\n<li><code>created</code>: A nicely formated date indicating when was the note created (auto-generated)</li>\n<li><code>inserted-at</code>: A date in ISO format indicating when was the note created (auto-generated)</li>\n<li><code>updated-at</code>: A date in ISO format indicating when was the note last updated (auto-generated)</li>\n<li><code>deleted-at</code>: A date in ISO format indicating when was the note last updated (auto-generated)</li>\n<li><code>is-read</code>: Is the note already read by the current user (notes are automatically marked as read on GET request)</li>\n<li><code>edited</code>: Whether the note was edited after creation or not</li>\n<li><code>message</code>: Note content with basic HTML formatting (bold, italic, underline, lists).</li>\n</ul>\n<p>If a note gets deleted, its message automatically becomes \"This note was deleted by the author.\"</p>\n","_postman_id":"b741213c-482a-4826-89a1-ac749c70c465"},{"name":"Item Statuses","item":[{"name":"Get all item statuses","id":"49b6b752-ad53-4198-8065-629c5334ea6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4000//api/v2/rooms/:room_id/item-statuses/","urlObject":{"path":["api","v2","rooms",":room_id","item-statuses",""],"host":["http://localhost:4000/"],"query":[],"variable":[{"type":"any","value":"2","key":"room_id"}]}},"response":[],"_postman_id":"49b6b752-ad53-4198-8065-629c5334ea6f"},{"name":"Create item status","id":"94bd37e3-a481-43ee-89fa-91460e2dedb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"item-status\",\n        \"attributes\": {\n            \"name\": \"ready\",\n            \"label\": \"Ready\",\n            \"class\": \"closed\",\n            \"default\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000//api/v2/rooms/:room_id/item-statuses","urlObject":{"path":["api","v2","rooms",":room_id","item-statuses"],"host":["http://localhost:4000/"],"query":[],"variable":[{"type":"any","value":"2","key":"room_id"}]}},"response":[],"_postman_id":"94bd37e3-a481-43ee-89fa-91460e2dedb8"},{"name":"Update item status","id":"2b6e9a0e-f888-4134-8a90-70dd28afbd2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n","type":"text"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"item-status\",\n        \"attributes\": {\n          \"default\": false\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000//api/v2/rooms/:room_id/item-statuses/:id","urlObject":{"path":["api","v2","rooms",":room_id","item-statuses",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"type":"any","value":"2","key":"room_id"},{"type":"any","value":"4","key":"id"}]}},"response":[],"_postman_id":"2b6e9a0e-f888-4134-8a90-70dd28afbd2c"},{"name":"Delete item status","id":"3f5a4323-d9d7-46f8-ad71-de9d283a5945","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:4000//api/v2/rooms/:room_id/item-statuses/:id","urlObject":{"path":["api","v2","rooms",":room_id","item-statuses",":id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"type":"any","value":"2","key":"room_id"},{"type":"any","value":"3","key":"id"}]}},"response":[],"_postman_id":"3f5a4323-d9d7-46f8-ad71-de9d283a5945"}],"id":"efe6e67a-6a36-4432-97f3-36873fb54cb1","_postman_id":"efe6e67a-6a36-4432-97f3-36873fb54cb1","description":""},{"name":"Teams","item":[{"name":"Get all teams","id":"288f8809-f118-4d19-a479-53fe9f565c9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/teams","description":"<h5 id=\"filters\">Filters</h5>\n<ul>\n<li><code>room</code>: Room ID (get all teams in one room)</li>\n<li><code>room-id</code>: Room ID (get all teams in one room)</li>\n<li><code>type-name</code>: Team type name</li>\n<li><code>search-term</code>: Search by name</li>\n</ul>\n<h5 id=\"relationships-and-includes\">Relationships and includes</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>users</code>: Team users</li>\n<li><code>invites</code>: Pending invites in a team</li>\n<li><code>room</code>: Teams room</li>\n</ul>\n<p>Available \"filter\" options:</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Only Hosts, Admins and Guests that are invited to a room can see the teams in the room.</p>\n","urlObject":{"path":["api","v2","teams"],"host":["http://localhost:4000/"],"query":[{"disabled":true,"key":"filter[room]","value":"2"}],"variable":[]}},"response":[{"id":"26813adf-daff-43b5-82b3-08f1f8870869","name":"Get all teams","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":"http://localhost:4000//api/v2/teams"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Mon, 11 Feb 2019 13:35:00 GMT"},{"key":"content-length","value":"425"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"rkqf6kp3h7gft930cqn0als7q1hd8qlb"}],"cookie":[],"responseTime":null,"body":"{\n  \"links\": {\n    \"self\": \"/api/v2/teams?page[number]=1&page[size]=50\"\n  },\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"data\": [\n    {\n      \"type\": \"team\",\n      \"id\": \"2\",\n      \"attributes\": {\n        \"type-name\": \"Other\",\n        \"role-id\": \"host_admin\",\n        \"name\": \"Capital Bancshares\",\n        \"is-member\": true,\n        \"abbreviation\": \"CBA\",\n        \"invites-count\": 0,\n        \"users-count\": 10\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"1\",\n      \"attributes\": {\n        \"type-name\": \"Buyer\",\n        \"role-id\": \"host_admin\",\n        \"name\": \"Capital Bancshares\",\n        \"is-member\": true,\n        \"abbreviation\": \"CBA\",\n        \"invites-count\": 0,\n        \"users-count\": 4\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"7\",\n      \"attributes\": {\n        \"type-name\": \"Other\",\n        \"role-id\": \"host_admin\",\n        \"name\": \"Capital Bancshares 1\",\n        \"is-member\": true,\n        \"abbreviation\": \"O\",\n        \"invites-count\": 0,\n        \"users-count\": 2\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"4\",\n      \"attributes\": {\n        \"type-name\": \"Seller\",\n        \"role-id\": \"admin\",\n        \"name\": \"Trustcorp Financial\",\n        \"is-member\": false,\n        \"abbreviation\": \"TFI\",\n        \"invites-count\": 0,\n        \"users-count\": 1\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"3\",\n      \"attributes\": {\n        \"type-name\": \"Seller\",\n        \"role-id\": \"admin\",\n        \"name\": \"Trustcorp Financial\",\n        \"is-member\": false,\n        \"abbreviation\": \"TFI\",\n        \"invites-count\": 0,\n        \"users-count\": 4\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"5\",\n      \"attributes\": {\n        \"type-name\": \"Other\",\n        \"role-id\": \"guest\",\n        \"name\": \"Azure Trust\",\n        \"is-member\": false,\n        \"abbreviation\": \"AZT\",\n        \"invites-count\": 0,\n        \"users-count\": 3\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"6\",\n      \"attributes\": {\n        \"type-name\": \"Other\",\n        \"role-id\": \"guest\",\n        \"name\": \"Azure Trust\",\n        \"is-member\": false,\n        \"abbreviation\": \"AZT\",\n        \"invites-count\": 0,\n        \"users-count\": 12\n      }\n    }\n  ]\n}"},{"id":"73053314-eff9-474a-93ed-df1052f0e445","name":"Get all teams by room","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/teams?filter[room]=1","host":["http://localhost:4000/"],"path":["api","v2","teams"],"query":[{"key":"filter[room]","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Mon, 11 Feb 2019 13:35:59 GMT"},{"key":"content-length","value":"284"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"eghueii20e2u1v1dj3pupto5ojb467tr"}],"cookie":[],"responseTime":null,"body":"{\n  \"links\": {\n    \"self\": \"/api/v2/teams?filter[room]=1&page[number]=1&page[size]=50\"\n  },\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"data\": [\n    {\n      \"type\": \"team\",\n      \"id\": \"1\",\n      \"attributes\": {\n        \"type-name\": \"Buyer\",\n        \"role-id\": \"host_admin\",\n        \"name\": \"Capital Bancshares\",\n        \"is-member\": true,\n        \"abbreviation\": \"CBA\",\n        \"invites-count\": 0,\n        \"users-count\": 12\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"3\",\n      \"attributes\": {\n        \"type-name\": \"Seller\",\n        \"role-id\": \"admin\",\n        \"name\": \"Trustcorp Financial\",\n        \"is-member\": false,\n        \"abbreviation\": \"TFI\",\n        \"invites-count\": 0,\n        \"users-count\": 10\n      }\n    },\n    {\n      \"type\": \"team\",\n      \"id\": \"5\",\n      \"attributes\": {\n        \"type-name\": \"Other\",\n        \"role-id\": \"guest\",\n        \"name\": \"Azure Trust\",\n        \"is-member\": false,\n        \"abbreviation\": \"AZT\",\n        \"invites-count\": 0,\n        \"users-count\": 16\n      }\n    }\n  ]\n}"}],"_postman_id":"288f8809-f118-4d19-a479-53fe9f565c9d"},{"name":"Get a team","id":"317536d4-502c-490f-8043-ed42e8ca609f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"<p>Only accept JSON-API documents</p>\n"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>Return JSON-API document</p>\n"}],"url":"http://localhost:4000//api/v2/teams/:team_id","description":"<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>users</code>: Team users</li>\n<li><code>invites</code>: Pending invites in a team</li>\n</ul>\n<h5 id=\"roles-and-permissions\">ROLES AND PERMISSIONS</h5>\n<p>Only Hosts, Admins and Guests that are invited to a room can see the teams in the room.</p>\n","urlObject":{"path":["api","v2","teams",":team_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"c4dd72cc-86a0-4cf1-aaf4-d60ec72fa1e8","type":"string","value":"18","key":"team_id"}]}},"response":[{"id":"35ce68c0-8d42-415e-859a-df1006fb5e1a","name":"Get a team (preload relationships)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/teams/2?include=users,invites","host":["http://localhost:4000/"],"path":["api","v2","teams","2"],"query":[{"key":"include","value":"users,invites"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Mon, 11 Feb 2019 13:03:04 GMT"},{"key":"content-length","value":"650"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"32mpuvkti0l7ekehk20jrf9csjsftkim"}],"cookie":[],"responseTime":null,"body":"{\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"included\": [\n    {\n      \"type\": \"user\",\n      \"id\": \"1\",\n      \"attributes\": {\n        \"workspaces-flag-enabled\": false,\n        \"online\": true,\n        \"location\": null,\n        \"last-seen-utc\": \"2019-10-04T00:17:27.032092\",\n        \"last-name\": \"Merritt\",\n        \"job-title\": \"Manager\",\n        \"is-org-admin\": true,\n        \"is-certified\": true,\n        \"full-name\": \"Alvin Merritt\",\n        \"first-name\": \"Alvin\",\n        \"emails\": [\n          \"user1org1@prodeal360.com\"\n        ],\n        \"contact-details\": [\n          {\n            \"number\": \"9298081234\",\n            \"label\": \"work\",\n            \"id\": \"1\"\n          }\n        ]\n      }\n    },\n    {\n      \"type\": \"invite\",\n      \"id\": \"2\",\n      \"attributes\": {\n        \"last-sent-utc\": \"2019-10-04T00:17:23.810596\",\n        \"inserted-at\": \"2019-10-03T20:17:23.787825\",\n        \"email\": \"test@test.com\"\n      }\n    },\n    {\n      \"type\": \"user\",\n      \"id\": \"2\",\n      \"attributes\": {\n        \"workspaces-flag-enabled\": false,\n        \"online\": false,\n        \"location\": null,\n        \"last-seen-utc\": null,\n        \"last-name\": \"Head\",\n        \"job-title\": \"Assistent\",\n        \"is-org-admin\": false,\n        \"is-certified\": true,\n        \"full-name\": \"Mateo Head\",\n        \"first-name\": \"Mateo\",\n        \"emails\": [\n          \"user2org1@prodeal360.com\"\n        ],\n        \"contact-details\": [\n          {\n            \"number\": \"9298081234\",\n            \"label\": \"work\",\n            \"id\": \"2\"\n          }\n        ]\n      }\n    }\n  ],\n  \"data\": {\n    \"type\": \"team\",\n    \"relationships\": {\n      \"users\": {\n        \"data\": [\n          {\n            \"type\": \"user\",\n            \"id\": \"1\"\n          },\n          {\n            \"type\": \"user\",\n            \"id\": \"2\"\n          }\n        ]\n      },\n      \"invites\": {\n        \"data\": [\n          {\n            \"type\": \"invite\",\n            \"id\": \"2\"\n          }\n        ]\n      }\n    },\n    \"id\": \"2\",\n    \"attributes\": {\n      \"type-name\": \"Other\",\n      \"role-id\": \"host_admin\",\n      \"name\": \"Capital Bancshares\",\n      \"is-member\": true,\n      \"abbreviation\": \"CBA\",\n        \"invites-count\": 1,\n        \"users-count\": 2\n    }\n  }\n}"},{"id":"c23ff329-9e1f-4a94-be06-46bc07d95cee","name":"Get a team","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":"http://localhost:4000//api/v2/teams/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Mon, 11 Feb 2019 13:01:47 GMT"},{"key":"content-length","value":"163"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"vci9ca1pir7j56903cnbfei3bmmth8bc"}],"cookie":[],"responseTime":null,"body":"{\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"data\": {\n    \"type\": \"team\",\n    \"id\": \"2\",\n    \"attributes\": {\n      \"type-name\": \"Buyer\",\n      \"role-id\": \"host_admin\",\n      \"name\": \"Capital Bancshares\",\n      \"is-member\": true,\n      \"abbreviation\": \"CBA\",\n        \"invites-count\": 0,\n        \"users-count\": 10\n    }\n  }\n}"}],"_postman_id":"317536d4-502c-490f-8043-ed42e8ca609f"},{"name":"Create team","id":"6337035f-9703-41c8-8cc4-97c294505bcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"team\",\n    \"attributes\": {\n      \"name\": \"foo\",\n      \"type-name\": \"seller\",\n      \"abbreviation\": \"FOO\",\n      \"members_emails\": [\n    \t\"user@example.com\",\n    \t\"user2@prodeal360.com\"\n      ]\n    },\n    \"relationships\": {\n      \"room\": {\n        \"data\": {\n          \"type\": \"room\",\n          \"id\": \"1\"\n        }\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/teams","description":"<h5 id=\"fields\">Fields</h5>\n<ul>\n<li><code>name</code>: Team name (required; 255 characters max)</li>\n<li><code>abbreviation</code>: Team name abbreviation (required; 5 characters max; default: first letters of each word of the team type) </li>\n<li><code>role-id</code>: Team role (required; default: <code>guest</code>)<ul>\n<li><code>\"guest\"</code></li>\n<li><code>\"admin\"</code></li>\n<li><code>\"host_admin\"</code></li>\n<li><code>\"restricted\"</code></li>\n<li><code>\"view_only\"</code></li>\n</ul>\n</li>\n<li><code>type-name</code>: Team type (required)<ul>\n<li><code>\"appraiser\"</code> for Appraiser.</li>\n<li><code>\"borrower\"</code> for Borrower.</li>\n<li><code>\"borrower_counsel\"</code> for Borrower Counsel.</li>\n<li><code>\"consultant\"</code> for Consultant.</li>\n<li><code>\"engineer\"</code> for Engineer.</li>\n<li><code>\"investor\"</code> for Investor.</li>\n<li><code>\"leasing_broker\"</code> for Leasing Broker.</li>\n<li><code>\"lender\"</code> for `Lender.</li>\n<li><code>\"lender_counsel\"</code> for Lender Counsel.</li>\n<li><code>\"mortgage_broker\"</code> for Mortgage Broker.</li>\n<li><code>\"other\"</code> for Other.</li>\n<li><code>\"owner\"</code> for Owner.</li>\n<li><code>\"purchaser\"</code> for Purchaser.</li>\n<li><code>\"purchaser_counsel\"</code> for Purchaser Counsel.</li>\n<li><code>\"sales_broker\"</code> for Sales Broker.</li>\n<li><code>\"seller\"</code> for Seller.</li>\n<li><code>\"seller_counsel\"</code> for Seller Counsel.</li>\n<li><code>\"surveyor\"</code> for Surveyor.</li>\n<li><code>\"title_company\"</code> for Title Company.</li>\n</ul>\n</li>\n<li><code>members-emails</code>: Comma-separated list of emails of users that should be invited to the team. <strong>This parameter is required</strong>. If you don't want to invite users during team creation, just send an empty array. Users that already have ProDeal account will automatically become <em>Team users</em>. Others will be invited to the system (receive an email invite).</li>\n</ul>\n<p><strong>Note:</strong> It is required to add room relationship in the request body (check example).</p>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li>In private rooms, only organization members can join teams. If you try creating a team that contains emails from users outside the organization, you will receive <code>403</code> error with error code <code>ONLY_ORGANIZATION_MEMBERS_CAN_JOIN</code></li>\n<li>By default, one user is allowed to be a member of only one team in a room. If you try creating a new team that contains emails from users that are already in other teams in the same room, you will receive <code>422</code> error with error code <code>INVALID_FIELD_USER_IN_MULTIPLE_TEAMS_CONFLICT</code></li>\n</ul>\n<p>To allow adding users in multiple teams, contact support.</p>\n<h5 id=\"relationships-and-includes\">Relationships and includes</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>users</code>: Team users</li>\n<li><code>invites</code>: Pending invites in a team</li>\n</ul>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Room Hosts can create new: Admin, Guest, Restricted and View-only teams.</li>\n<li>Room Admins can create new: Guest, Restricted and View-only teams.</li>\n</ul>\n","urlObject":{"path":["api","v2","teams"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"936f428b-9e9f-4c52-9536-b3e7a8b631c4","name":"Create team - private room error","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"team\",\n    \"attributes\": {\n      \"name\": \"foo\",\n      \"type-name\": \"seller\",\n      \"abbreviation\": \"FOO\",\n      \"members_emails\": [\n        \"user@test.com\"\n      ]\n    },\n    \"relationships\": {\n      \"room\": {\n        \"data\": {\n          \"type\": \"room\",\n          \"id\": \"2\"\n        }\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/teams"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"ONLY_ORGANIZATION_MEMBERS_CAN_JOIN\"\n        }\n    ]\n}"},{"id":"a33f4063-adf5-435f-8e1e-a79777a2e680","name":"Create team - user in another team error","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"team\",\n    \"attributes\": {\n      \"name\": \"foo\",\n      \"type-name\": \"seller\",\n      \"abbreviation\": \"FOO\",\n      \"members_emails\": [\n        \"user@prodeal360.com\"\n      ]\n    },\n    \"relationships\": {\n      \"room\": {\n        \"data\": {\n          \"type\": \"room\",\n          \"id\": \"2\"\n        }\n      }\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/teams"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"248"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"Member in another team\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/members-emails\"\n            },\n            \"detail\": \"Members emails Member in another team\",\n            \"code\": \"INVALID_FIELD_USER_IN_MULTIPLE_TEAMS_CONFLICT\"\n        }\n    ]\n}"},{"id":"464e1388-fe72-4b63-ab6a-105ca8d5ace7","name":"Create team","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"team\",\n    \"attributes\": {\n      \"name\": \"foo\",\n      \"type-name\": \"seller\",\n      \"abbreviation\": \"FOO\",\n      \"members_emails\": [\n    \t\"user@example.com\",\n    \t\"user2@prodeal360.com\"\n      ]\n    },\n    \"relationships\": {\n      \"room\": {\n        \"data\": {\n          \"type\": \"room\",\n          \"id\": \"1\"\n        }\n      }\n    }\n  }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams?include=users,invites","host":["http://localhost:4000/"],"path":["api","v2","teams"],"query":[{"key":"include","value":"users,invites"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Wed, 17 Apr 2019 19:14:41 GMT"},{"key":"content-length","value":"568"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2mb5hqbu5q04cah8q00001j1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"invite\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"inserted-at\": \"2019-04-17T15:14:41.214464\",\n                \"email\": \"user@example.com\"\n            }\n        },\n        {\n            \"type\": \"user\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"job-title\": \"User at Prodeal360\",\n                \"is-org-admin\": true,\n                \"is-certified\": true,\n                \"full-name\": \"John Doe\",\n                \"emails\": [\n                    \"user@prodeal360.com\"\n                ],\n                \"contact-details\": null\n            }\n        }\n    ],\n    \"data\": {\n        \"type\": \"team\",\n        \"relationships\": {\n            \"users\": {\n                \"data\": [\n                    {\n                        \"type\": \"user\",\n                        \"id\": \"3\"\n                    }\n                ]\n            },\n            \"invites\": {\n                \"data\": [\n                    {\n                        \"type\": \"invite\",\n                        \"id\": \"2\"\n                    }\n                ]\n            }\n        },\n        \"id\": \"4\",\n        \"attributes\": {\n            \"type-name\": \"Seller\",\n            \"name\": \"foo\",\n            \"abbreviation\": \"FOO\"\n        }\n    }\n}"}],"_postman_id":"6337035f-9703-41c8-8cc4-97c294505bcb"},{"name":"Update a team","id":"977def9d-a628-4fd1-9dd6-cb040532dd84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"team\",\n    \"id\": \"1\",\n    \"attributes\": {\n      \"name\": \"updated name\",\n      \"type-name\": \"lender\",\n      \"abbreviation\": \"UPD\",\n      \"members-emails\": [\n    \t\"user@example.com\"\n      ]\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/teams/:team_id","description":"<p><strong>Note:</strong> There are limitations on certain fields:</p>\n<ul>\n<li>Team name can have max 255 characters</li>\n<li>Team abbreviation can have max 5 characters</li>\n</ul>\n<h5 id=\"managing-users\">Managing users</h5>\n<p>To add new users to a team, enter their emails in <code>members-emails</code> section.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"data\" : {\n    \"type\": \"team\",\n    \"id\": 1,\n    \"attributes\": {\n      \"members-emails\": [\n        new_email1@example.com,\n        new_email2@example.com\n      ]\n    }\n  }\n}\n</code></pre><p>Existing ProDeal users will automatically become Team users. Others will be invited to the system (receive an email invite).</p>\n<p>Setting <code>members-emails</code> to an empty array won't remove users from the team. Instead, use <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#59aff1b1-fee0-4956-8cfc-cf3078b00ed4\">delete user from team</a> and <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#b98aa34c-14c4-49d8-a482-0c59269d1881\">delete invite from team</a> endpoints.</p>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li>In private rooms, only organization members can join teams. If you try creating a team that contains emails from users outside the organization, you will receive <code>403</code> error with error code <code>ONLY_ORGANIZATION_MEMBERS_CAN_JOIN</code></li>\n<li>By default, one user is allowed to be a member of only one team in a room. If you try creating a new team that contains emails from users that are already in other teams in the same room, you will receive <code>422</code> error with error code <code>INVALID_FIELD_USER_IN_MULTIPLE_TEAMS_CONFLICT</code></li>\n</ul>\n<p>To allow adding users in multiple teams, contact support.</p>\n<h5 id=\"relationships-and-includes\">Relationships and includes</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>users</code>: Team users</li>\n<li><code>invites</code>: Pending invites in a team</li>\n</ul>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<ul>\n<li>Hosts can edit all teams except other Hosts. They can assign all roles except the Host role. They can edit own team, but they cannot change own role.</li>\n<li>Admins can edit all teams except other Hosts and Admins. They can assign all roles except Admin and Host roles. They can edit own team, but they cannot change own role.</li>\n<li>Guests can edit own team, but they cannot change own role.</li>\n</ul>\n","urlObject":{"path":["api","v2","teams",":team_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"c0b7ff6d-51b4-4e60-bfed-659ebd434cc8","type":"string","value":"1","key":"team_id"}]}},"response":[{"id":"34b3ade9-1631-4797-b31f-47eb0e9779dc","name":"Update a team - private room error","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"team\",\n    \"id\": \"1\",\n    \"attributes\": {\n      \"members-emails\": [\n    \t\"user@test.com\"\n      ]\n    }\n  }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id"],"variable":[{"key":"team_id","value":"1","type":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"ONLY_ORGANIZATION_MEMBERS_CAN_JOIN\"\n        }\n    ]\n}"},{"id":"d2f14b45-cb35-48f5-a4a9-471bdc71fd0a","name":"Update a team","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"team\",\n    \"id\": \"1\",\n    \"attributes\": {\n      \"name\": \"updated name\",\n      \"type-name\": \"lender\",\n      \"abbreviation\": \"UPD\",\n      \"members_emails\": [\n    \t\"user@example.com\"\n      ]\n    }\n  }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/1?include=users,invites","host":["http://localhost:4000/"],"path":["api","v2","teams","1"],"query":[{"key":"include","value":"users,invites"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Wed, 17 Apr 2019 19:21:12 GMT"},{"key":"content-length","value":"598"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2mb5ih69ohctnf2b1g000v91"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n  \"jsonapi\": {\n    \"version\": \"1.0\"\n  },\n  \"included\": [\n    {\n      \"type\": \"user\",\n      \"id\": \"1\",\n      \"attributes\": {\n        \"workspaces-flag-enabled\": false,\n        \"online\": true,\n        \"location\": null,\n        \"last-seen-utc\": \"2019-10-04T00:22:34.070571\",\n        \"last-name\": \"Merritt\",\n        \"job-title\": \"Manager\",\n        \"is-org-admin\": true,\n        \"is-certified\": true,\n        \"full-name\": \"Alvin Merritt\",\n        \"first-name\": \"Alvin\",\n        \"emails\": [\n          \"user1org1@prodeal360.com\"\n        ],\n        \"contact-details\": [\n          {\n            \"number\": \"9298081234\",\n            \"label\": \"work\",\n            \"id\": \"1\"\n          }\n        ]\n      }\n    },\n    {\n      \"type\": \"invite\",\n      \"id\": \"2\",\n      \"attributes\": {\n        \"last-sent-utc\": \"2019-10-04T00:17:23.810596\",\n        \"inserted-at\": \"2019-10-03T20:17:23.787825\",\n        \"email\": \"test@test.com\"\n      }\n    },\n    {\n      \"type\": \"user\",\n      \"id\": \"2\",\n      \"attributes\": {\n        \"workspaces-flag-enabled\": false,\n        \"online\": false,\n        \"location\": null,\n        \"last-seen-utc\": null,\n        \"last-name\": \"Head\",\n        \"job-title\": \"Assistent\",\n        \"is-org-admin\": false,\n        \"is-certified\": true,\n        \"full-name\": \"Mateo Head\",\n        \"first-name\": \"Mateo\",\n        \"emails\": [\n          \"user2org1@prodeal360.com\"\n        ],\n        \"contact-details\": [\n          {\n            \"number\": \"9298081234\",\n            \"label\": \"work\",\n            \"id\": \"2\"\n          }\n        ]\n      }\n    },\n    {\n      \"type\": \"invite\",\n      \"id\": \"3\",\n      \"attributes\": {\n        \"last-sent-utc\": \"2019-10-04T00:22:13.449590\",\n        \"inserted-at\": \"2019-10-03T20:22:13.445103\",\n        \"email\": \"user@example.com\"\n      }\n    }\n  ],\n  \"data\": {\n    \"type\": \"team\",\n    \"relationships\": {\n      \"users\": {\n        \"data\": [\n          {\n            \"type\": \"user\",\n            \"id\": \"1\"\n          },\n          {\n            \"type\": \"user\",\n            \"id\": \"2\"\n          }\n        ]\n      },\n      \"invites\": {\n        \"data\": [\n          {\n            \"type\": \"invite\",\n            \"id\": \"2\"\n          },\n          {\n            \"type\": \"invite\",\n            \"id\": \"3\"\n          }\n        ]\n      }\n    },\n    \"id\": \"2\",\n    \"attributes\": {\n      \"type-name\": \"Lender\",\n      \"role-id\": \"host_admin\",\n      \"name\": \"updated name\",\n      \"is-member\": true,\n      \"abbreviation\": \"UPD\"\n    }\n  }\n}"},{"id":"f10e3c78-92e2-4566-99aa-ea463dcb4960","name":"Update a team - user already invited error","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"team\",\n    \"id\": \"1\",\n    \"attributes\": {\n      \"members-emails\": [\n    \t\"user@prodeal360.com\"\n      ]\n    }\n  }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id"],"variable":[{"key":"team_id","value":"1","type":"string"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"248"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"Member in another team\",\n            \"status\": \"422\",\n            \"source\": {\n                \"pointer\": \"data/attributes/members-emails\"\n            },\n            \"detail\": \"Members emails Member in another team\",\n            \"code\": \"INVALID_FIELD_USER_IN_MULTIPLE_TEAMS_CONFLICT\"\n        }\n    ]\n}"}],"_postman_id":"977def9d-a628-4fd1-9dd6-cb040532dd84"},{"name":"Delete a team","id":"1546036d-aaaa-4f87-8a27-80a455537dcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/teams/:team_id","description":"<h5 id=\"roles-and-permissions\">ROLES AND PERMISSIONS</h5>\n<ul>\n<li>Hosts can edit all teams except other Hosts.</li>\n<li>Admins can edit all teams except other Hosts and Admins.</li>\n</ul>\n<p>Teams that are not empty (that contain users and invitations) cannot be deleted.</p>\n","urlObject":{"path":["api","v2","teams",":team_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"7c011236-3b7c-4766-9adc-dcc967204790","type":"string","value":"1","key":"team_id"}]}},"response":[{"id":"1bc09127-5de4-48b5-9712-72edd34e8d35","name":"Delete a team - not empty error","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id"],"variable":[{"key":"team_id","value":"1","type":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"FORBIDDEN\"\n        }\n    ]\n}"},{"id":"f1cc00cc-6490-465e-ab04-813f5c85c27f","name":"Team deleted","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id"],"variable":[{"key":"team_id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"name":"cache-control","key":"cache-control","value":"max-age=0, private, must-revalidate","description":""},{"name":"content-length","key":"content-length","value":"0","description":""},{"name":"content-type","key":"content-type","value":"application/vnd.api+json","description":""},{"name":"date","key":"date","value":"Tue, 16 Oct 2018 19:49:09 GMT","description":""},{"name":"server","key":"server","value":"Cowboy","description":""},{"name":"x-request-id","key":"x-request-id","value":"refd626e2pq6q3rjjfpenof41mq0mm58","description":""}],"cookie":[{"expires":"Thu Jun 04 2020 15:25:03 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"GA1.1.1691954976.1528210849","key":"_ga"},{"expires":"Sun Jun 09 2019 19:30:09 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"d0795498-c8e7-461f-ac9a-32cf2175ee13","key":"intercom-id-d0rwjug4"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"libraryContent%3Dbrowse%26advImgDetails%3Dhide%26hidetb%3D0","key":"wp-settings-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"gabriel%40prodeal360.com","key":"last_email_loggedin"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":true,"value":"WP+Cookie+check","key":"wordpress_test_cookie"},{"expires":"Sun Sep 15 2019 23:12:23 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":false,"domain":"localhost","path":"/","secure":false,"session":false,"value":"1537052594","key":"wp-settings-time-1"},{"expires":"Tue Oct 23 2018 22:21:44 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"es","key":"pma_lang"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"258321d5693b72c21c1822711d7e611e","key":"phpMyAdmin"},{"expires":"Tue Oct 23 2018 22:47:00 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"%7B%22iv%22%3A%22vJDm%5C%2FWbbeiw9OwBZIAwRqQ%3D%3D%22%2C%22mac%22%3A%22fdfd47ebca09a61d176eab28211704e605f889ed%22%2C%22payload%22%3A%22dpuvhbnnBuU%5C%2FcWfeFHAJnA%3D%3D%22%7D","key":"pmaUser-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"%7B%22iv%22%3A%22oDZwYNwjWbHtCIMVF4HYWw%3D%3D%22%2C%22mac%22%3A%22f7dc03bdc2e058c862e8c4902bee107dcb492188%22%2C%22payload%22%3A%22F32XqdxcuphocRuxKdNhsl2Tx8cpSQQc15v2VNdlslg%3D%22%7D","key":"pmaAuth-1"},{"expires":"Invalid Date","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":true,"value":"SFMyNTY.g3QAAAAGbQAAAAtfY3NyZl90b2tlbm0AAAAYZ2VJcFpFa3lwUFJiNC9BZ1hXanhzZz09bQAAAA9maWx0ZXJzX2RlYWxfaWRhA20AAAANZmlsdGVyc19wYXJ0eWQAA25pbG0AAAATZmlsdGVyc19zZWFyY2hfdGVybWQAA25pbG0AAAAOZmlsdGVyc19zdGF0dXNkAANuaWxtAAAAB3VzZXJfaWRhAQ.LmUDm0-lRj1-19E2Nphdu1P-oUXTEPbSLUO140ACBtY","key":"_prodeal360_key"}],"responseTime":null,"body":""}],"_postman_id":"1546036d-aaaa-4f87-8a27-80a455537dcc"},{"name":"Get team users","id":"cf3eb305-f1e0-4af0-9ee9-d01a826b4292","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/teams/:team_id/users","description":"<p>The list of users that have accepted the invite and joined the team. User entity is explained in <a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#9a050e24-bd24-4b4d-ad68-9f9056bc5f7a\">Users</a> section.</p>\n<h5 id=\"roles-and-permissions\">Roles and permissions</h5>\n<p>Hosts, Admins and Guests can see users in all teams in the room.</p>\n","urlObject":{"path":["api","v2","teams",":team_id","users"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"caade806-1699-473b-804b-e03c6ac65829","type":"string","value":"18","key":"team_id"}]}},"response":[{"id":"a71f2c38-6943-4318-8f21-a325261adaa6","name":"Get team users","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/users","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","users"],"variable":[{"id":"4bb5e804-ddf2-4056-b9f7-1053b84ba049","key":"team_id","type":"string","value":"18"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 31 Mar 2020 12:57:13 GMT"},{"key":"content-length","value":"436"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o0m9mld5vttfrcuj00021j1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/teams/18/users?page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"user\",\n            \"id\": \"4\",\n            \"attributes\": {\n                \"workspaces-flag-enabled\": false,\n                \"online\": true,\n                \"location\": null,\n                \"last-seen-utc\": \"2020-03-31T12:57:14.186442\",\n                \"last-name\": \"Doe\",\n                \"job-title\": \"Developer\",\n                \"is-org-admin\": false,\n                \"is-certified\": true,\n                \"full-name\": \"John Doe\",\n                \"first-name\": \"John\",\n                \"emails\": [\n                    \"user@example.com\"\n                ],\n                \"contact-details\": []\n            }\n        }\n    ]\n}"}],"_postman_id":"cf3eb305-f1e0-4af0-9ee9-d01a826b4292"},{"name":"Delete user from team","id":"afbff004-b49c-4222-ae82-ac9f70a1d1dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"user\",\n    \"id\": \"12\"\n  }]\n}"},"url":"http://localhost:4000//api/v2/teams/:team_id/relationships/users","description":"<p>Removing a user from the team will not remove that user from the system. Only the relationship between the user and the team will be deleted.</p>\n<h5 id=\"errors\">Errors</h5>\n<ul>\n<li>The last user from the Host team cannot be removed. A <code>403</code> error with error code <code>CANNOT_REMOVE_LAST_HOST</code> will be returned.</li>\n</ul>\n<h5 id=\"roles-and-permissions\">ROLES AND PERMISSIONS</h5>\n<ul>\n<li>Hosts can remove users from all teams except other Hosts. They can remove users from own team.</li>\n<li>Admins can remove users from all teams except Hosts and other Admins. They can remove users from own team.</li>\n<li>Guests can remove users from own team.</li>\n</ul>\n","urlObject":{"path":["api","v2","teams",":team_id","relationships","users"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"4934473a-19e4-4a9d-8753-b1659663fffb","type":"string","value":"6","key":"team_id"}]}},"response":[{"id":"98c85a55-d7fe-410e-bcfa-cbf9c93a0d0d","name":"Delete user from team","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Return JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"user\",\n    \"id\": \"2\"\n  }]\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/relationships/users","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","relationships","users"],"variable":[{"key":"team_id","value":"6"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 02 May 2019 19:29:32 GMT"},{"key":"content-length","value":"0"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2mdf8rd41bl9svfseg001q61"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"content-type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":null},{"id":"9b562076-b3cb-46e8-8758-e8699f0affc6","name":"Cannot delete the last host","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"user\",\n    \"id\": \"4\"\n  }]\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/relationships/users","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","relationships","users"],"variable":[{"key":"team_id","value":"1","type":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"errors\": [\n        {\n            \"title\": \"403 Forbidden\",\n            \"status\": \"403\",\n            \"source\": {\n                \"pointer\": null\n            },\n            \"detail\": \"You are not authorized to perform this action\",\n            \"code\": \"CANNOT_REMOVE_LAST_HOST\"\n        }\n    ]\n}"}],"_postman_id":"afbff004-b49c-4222-ae82-ac9f70a1d1dc"}],"id":"b01de104-c9cd-4710-a4bd-4a24038c09c1","description":"<p>All users that are invited to a room are organized in <strong>teams</strong>. The <em>Team role</em> determines the actions its users can take within a room.</p>\n<p>Team has the following properties:</p>\n<ul>\n<li><code>id</code>: ID (read-only, auto-generated)</li>\n<li><code>name</code>: Team name (required)</li>\n<li><code>type-name</code>: Team type (required)</li>\n<li><code>role-id</code>: Team role (required; default: <code>guest</code>)</li>\n<li><code>abbreviation</code>: Team abbreviation (required; 5 characters max; default: first letters of each word of the team type)</li>\n<li><code>users-count</code>: Number of users that accepted the invite and joined the team</li>\n<li><code>invites-count</code>: Number of invited users, whose invite is pending (not yet accepted)</li>\n<li><code>is-member</code>: Whether the current user is a member of the team or not.</li>\n</ul>\n","_postman_id":"b01de104-c9cd-4710-a4bd-4a24038c09c1"},{"name":"Invites","item":[{"name":"Get team invites","id":"57cadff9-a547-4265-b792-34a07e36c752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/teams/:team_id/invites","description":"<p>Returns all the pending invitations for one team.</p>\n<h5 id=\"roles-and-permissions\">ROLES AND PERMISSIONS</h5>\n<p>Hosts, Admins and Guests can see pending invites in all teams in the room.</p>\n","urlObject":{"path":["api","v2","teams",":team_id","invites"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"b2c3dc4d-d73a-46a0-acd1-076083690c26","type":"string","value":"1","key":"team_id"}]}},"response":[{"id":"892e3857-4fa1-4e58-932e-232e2503ddc0","name":"Get team invites","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites"],"variable":[{"key":"team_id","type":"string","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 31 Mar 2020 13:00:42 GMT"},{"key":"content-length","value":"591"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o0ma2q66jojfnnn5g0024b1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/teams/623/invites?page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"invite\",\n            \"id\": \"134\",\n            \"attributes\": {\n                \"last-sent-utc\": \"2019-10-31T18:39:53.003152\",\n                \"inserted-at\": \"2019-09-27T07:50:40.57081\",\n                \"email\": \"user1@example.com\"\n            }\n        },\n        {\n            \"type\": \"invite\",\n            \"id\": \"137\",\n            \"attributes\": {\n                \"last-sent-utc\": \"2019-10-31T18:39:57.685457\",\n                \"inserted-at\": \"2019-09-27T07:50:40.690043\",\n                \"email\": \"user2@example.com\"\n            }\n        },\n        {\n            \"type\": \"invite\",\n            \"id\": \"795\",\n            \"attributes\": {\n                \"last-sent-utc\": \"2019-11-26T09:24:27.144706\",\n                \"inserted-at\": \"2019-11-26T04:24:27.1364\",\n                \"email\": \"user3@example.com\"\n            }\n        }\n    ]\n}"}],"_postman_id":"57cadff9-a547-4265-b792-34a07e36c752"},{"name":"Validate invitation","id":"5b97cb11-2303-45c0-b960-3e504c49c1fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"2\",\n      \"email\": \"test@example.com\"\n    }\n   }\n}"},"url":"http://localhost:4000//api/v2/invites/validate","urlObject":{"path":["api","v2","invites","validate"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"af15ed9a-37e3-4947-a7b0-a40089105e73","name":"[INVALID] When user is already member of a team in the room (Multiple teams OFF)","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites/validate","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites","validate"],"variable":[{"key":"team_id","type":"string","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 07 May 2020 17:11:02 GMT"},{"key":"content-length","value":"235"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl61kqZtAAAAB3VzZXJfaWRhAQ.CHYfdv4iiCaYP4BMM1ETpwWIknyYcVfEheWzNlDTS-E; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6csbb4lkgimqscjk002491"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"team:4:user@example.com\",\n        \"attributes\": {\n            \"team\": {\n                \"name\": \"Team X\",\n                \"id\": 2,\n                \"abbreviation\": \"TMX\"\n            },\n            \"is-valid\": false,\n            \"error\": \"multiple_teams_member\"\n        }\n    }\n}"},{"id":"d7cd3c82-ac67-40f4-8d04-354d28f99b83","name":"[INVALID] When the email belongs to a user already in the team","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites/validate","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites","validate"],"variable":[{"key":"team_id","type":"string","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 07 May 2020 17:08:13 GMT"},{"key":"content-length","value":"163"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl61kf1tAAAAB3VzZXJfaWRhAQ.UXmK9LZ8g5fs73C_hKZB0Nqw9NoKE3msV4lR1cnAOMw; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6cs1fur5gnk8mjsg002301"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"team:4:user@example.com\",\n        \"attributes\": {\n            \"is-valid\": false,\n            \"error\": \"already_member\"\n        }\n    }\n}"},{"id":"d15e1b6c-39bc-4290-b759-857ff30c87ff","name":"[INVALID] Bad email format","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user#example.com\"\n    }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites/validate","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites","validate"],"variable":[{"key":"team_id","type":"string","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 07 May 2020 17:07:08 GMT"},{"key":"content-length","value":"155"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl61kbxtAAAAB3VzZXJfaWRhAQ.x3UIqY3vqzuz0B_qeyTVGHbXraDw54_fUaaKX9ttPkM; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6crtmkhp6tp5prck0022v1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"team:4:user#example.com\",\n        \"attributes\": {\n            \"is-valid\": false,\n            \"error\": \"invalid_format\"\n        }\n    }\n}"},{"id":"11a1ebb7-de26-47c0-acd9-28a08b05801f","name":"[VALID] Using Room Id","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"room-id\": \"2\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}"},"url":"http://localhost:4000//api/v2/invites/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Fri, 08 May 2020 21:25:13 GMT"},{"key":"content-length","value":"134"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl63H7ptAAAAB3VzZXJfaWRhAQ.-JQHheMarvh87F7xyjFhZZhv2a--8boG0OQTk9xqj1A; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6il87r51viujhhq8002vt1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"room:2:user@example.com\",\n        \"attributes\": {\n            \"is-valid\": true\n        }\n    }\n}"},{"id":"a47ef4c6-e55b-42d1-9052-4cd93ad516a5","name":"[VALID] When email isn't in the system","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites/validate","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites","validate"],"variable":[{"key":"team_id","type":"string","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 07 May 2020 17:00:52 GMT"},{"key":"content-length","value":"131"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl61kERtAAAAB3VzZXJfaWRhAQ.533iKgFyuOljyf9lU0U-3xso8CMLzbB_rkSnddvJxqI; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6cr7q1qeu8nr72n8001lg3"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"team:4:user@example.com\",\n        \"attributes\": {\n            \"is-valid\": true\n        }\n    }\n}"},{"id":"7bc137fa-26cc-45d1-9a23-54f128ce4fb2","name":"[VALID] When the email is already in the system","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites/validate","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites","validate"],"variable":[{"key":"team_id","type":"string","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 07 May 2020 17:02:26 GMT"},{"key":"content-length","value":"181"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl61kKJtAAAAB3VzZXJfaWRhAQ.9HbFA4TNwAL72cCPJgP5rTl_Fd3JQDxf1vMbBwwaGcg; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6crd9jts65c84htc0022t1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"team:4:user@example.com\",\n        \"attributes\": {\n            \"user\": {\n                \"id\": 1,\n                \"full_name\": \"John Doe\"\n            },\n            \"is-valid\": true\n        }\n    }\n}"}],"_postman_id":"5b97cb11-2303-45c0-b960-3e504c49c1fc"},{"name":"Validate multiple validations","id":"4e090904-f9d8-455a-b5c8-6c17bd72a7e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"type\": \"invite-validation-request\",\n      \"attributes\": {\n        \"team-id\": \"2\",\n        \"email\": \"test1@example.com\"\n      }\n   },\n   {\n      \"type\": \"invite-validation-request\",\n      \"attributes\": {\n        \"team-id\": \"2\",\n        \"email\": \"test2@example.com\"\n      }\n   }\n  ]\n}"},"url":"http://localhost:4000//api/v2/invites/validate","urlObject":{"path":["api","v2","invites","validate"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e090904-f9d8-455a-b5c8-6c17bd72a7e3"},{"name":"Validate multiple validations Copy","id":"d03cc706-ef3c-4547-b713-f4433130ac84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"type\": \"invite-validation-request\",\n      \"attributes\": {\n        \"team-id\": \"2\",\n        \"email\": \"test1@example.com\"\n      }\n   },\n   {\n      \"type\": \"invite-validation-request\",\n      \"attributes\": {\n        \"team-id\": \"2\",\n        \"email\": \"test2@example.com\"\n      }\n   }\n  ]\n}"},"url":"http://localhost:4000//api/v2/invites/validate","urlObject":{"path":["api","v2","invites","validate"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[],"_postman_id":"d03cc706-ef3c-4547-b713-f4433130ac84"},{"name":"Resend invitation","id":"37ff9144-228c-42cb-a8ea-7261a0b30225","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/invites/:invite_id/resend","description":"<p>Send invitation email again.</p>\n<h5 id=\"roles-and-permissions\">ROLES AND PERMISSIONS</h5>\n<p>The same rules apply as when adding users to a team (<a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#f6496bc4-6c2f-4e70-92f8-85c9f0181204\">editing team</a>). </p>\n","urlObject":{"path":["api","v2","invites",":invite_id","resend"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"415c976b-7dd5-4407-913a-3b029e718901","type":"string","value":"5","key":"invite_id"}]}},"response":[{"id":"db9948a4-e3c7-4274-9b5c-6b6437245529","name":"Resend invite","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/invites/:invite_id/resend","host":["http://localhost:4000/"],"path":["api","v2","invites",":invite_id","resend"],"variable":[{"key":"invite_id","value":"5"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 02 May 2019 19:35:35 GMT"},{"key":"content-length","value":"0"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2mdf9giosrh4p4rtvo001rq1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"content-type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"37ff9144-228c-42cb-a8ea-7261a0b30225"},{"name":"Validate invitation","id":"e5a88d2d-9085-43a2-b062-f0717f57d348","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"room-id\": \"2\",\n      \"email\": \"user1org1@prodeal360.com\"\n    }\n   }\n}"},"url":"http://localhost:4000//api/v2/invites/validate","description":"<p>An endpoint used to check if an invitation can be correctly sent. There are several return types for both invalid and valid invitations. All of them return status code <code>200</code>.</p>\n<h6 id=\"invalid\">Invalid</h6>\n<ul>\n<li><code>invalid_format</code> - Wrong email address format.</li>\n<li><code>already_member</code> - When the email address belongs to the user already in the team.</li>\n<li><code>multiple_teams_member</code> - When the email address belongs to the user who is already a member of a team in the same room.</li>\n<li><code>private_room_unknown_user</code> - When the email address does not belong to the domain associated with the organization.</li>\n<li><code>private_room_user_organization</code> - When the email address belongs to a user in the system that is a member of another organization (not whitelisted for the room).</li>\n</ul>\n<h6 id=\"valid\">Valid</h6>\n<ul>\n<li>When an email address is already in the system - returns ID of the user who it belongs to.</li>\n<li>When an email address is not in the system - only returns information about the validity.</li>\n</ul>\n<p>You can test an invitation validity against a team or a room:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"room-id\": \"2\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}\n</code></pre><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}\n</code></pre>","urlObject":{"path":["api","v2","invites","validate"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"09805c16-3b6a-49bb-9ccf-63f28201b84d","name":"[VALID] When email isn't in the system","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites/validate","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites","validate"],"variable":[{"key":"team_id","type":"string","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 07 May 2020 17:00:52 GMT"},{"key":"content-length","value":"131"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl61kERtAAAAB3VzZXJfaWRhAQ.533iKgFyuOljyf9lU0U-3xso8CMLzbB_rkSnddvJxqI; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6cr7q1qeu8nr72n8001lg3"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"team:4:user@example.com\",\n        \"attributes\": {\n            \"is-valid\": true\n        }\n    }\n}"},{"id":"d9f79b0d-e531-4505-a727-f01fe09088d1","name":"[INVALID] When user is already member of a team in the room (Multiple teams OFF)","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites/validate","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites","validate"],"variable":[{"key":"team_id","type":"string","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 07 May 2020 17:11:02 GMT"},{"key":"content-length","value":"235"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl61kqZtAAAAB3VzZXJfaWRhAQ.CHYfdv4iiCaYP4BMM1ETpwWIknyYcVfEheWzNlDTS-E; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6csbb4lkgimqscjk002491"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"team:4:user@example.com\",\n        \"attributes\": {\n            \"team\": {\n                \"name\": \"Team X\",\n                \"id\": 2,\n                \"abbreviation\": \"TMX\"\n            },\n            \"is-valid\": false,\n            \"error\": \"multiple_teams_member\"\n        }\n    }\n}"},{"id":"d3d28acb-e10d-4521-af10-d131b222d28e","name":"[VALID] When the email is already in the system","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites/validate","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites","validate"],"variable":[{"key":"team_id","type":"string","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 07 May 2020 17:02:26 GMT"},{"key":"content-length","value":"181"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl61kKJtAAAAB3VzZXJfaWRhAQ.9HbFA4TNwAL72cCPJgP5rTl_Fd3JQDxf1vMbBwwaGcg; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6crd9jts65c84htc0022t1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"team:4:user@example.com\",\n        \"attributes\": {\n            \"user\": {\n                \"id\": 1,\n                \"full_name\": \"John Doe\"\n            },\n            \"is-valid\": true\n        }\n    }\n}"},{"id":"b098e2a6-d658-42be-a50b-b085d8fc9d55","name":"[VALID] Using Room Id","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"room-id\": \"2\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}"},"url":"http://localhost:4000//api/v2/invites/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Fri, 08 May 2020 21:25:13 GMT"},{"key":"content-length","value":"134"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl63H7ptAAAAB3VzZXJfaWRhAQ.-JQHheMarvh87F7xyjFhZZhv2a--8boG0OQTk9xqj1A; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6il87r51viujhhq8002vt1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"room:2:user@example.com\",\n        \"attributes\": {\n            \"is-valid\": true\n        }\n    }\n}"},{"id":"98d0a609-6bbe-4de7-85f4-fc4032c87494","name":"[INVALID] Bad email format","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user#example.com\"\n    }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites/validate","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites","validate"],"variable":[{"key":"team_id","type":"string","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 07 May 2020 17:07:08 GMT"},{"key":"content-length","value":"155"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl61kbxtAAAAB3VzZXJfaWRhAQ.x3UIqY3vqzuz0B_qeyTVGHbXraDw54_fUaaKX9ttPkM; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6crtmkhp6tp5prck0022v1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"team:4:user#example.com\",\n        \"attributes\": {\n            \"is-valid\": false,\n            \"error\": \"invalid_format\"\n        }\n    }\n}"},{"id":"760c90c1-a8fb-4fba-a482-5cd3bafcf35a","name":"[INVALID] Private room email outside organization","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"room-id\": \"1\",\n      \"email\": \"user@test.com\"\n    }\n   }\n}"},"url":"http://localhost:4000//api/v2/invites/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"room:1:user@test.com\",\n        \"attributes\": {\n            \"is-valid\": false,\n            \"error\": \"private_room_unknown_user\"\n        }\n    }\n}"},{"id":"2e652eef-44bb-47f7-bae7-0ac8addee4b3","name":"[INVALID] When the email belongs to a user already in the team","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"invite-validation-request\",\n    \"attributes\": {\n      \"team-id\": \"4\",\n      \"email\": \"user@example.com\"\n    }\n   }\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/invites/validate","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","invites","validate"],"variable":[{"key":"team_id","type":"string","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 07 May 2020 17:08:13 GMT"},{"key":"content-length","value":"163"},{"key":"set-cookie","value":"_prodeal360=SFMyNTY.g3QAAAAGbQAAAAxhY2Nlc3NfdG9rZW5kAANuaWxtAAAACmV4cGlyZXNfaW5kAANuaWxtAAAADHJlZGlyZWN0X3VybGQAA25pbG0AAAANcmVmcmVzaF90b2tlbmQAA25pbG0AAAASc2Vzc2lvbl90aW1lb3V0X2F0Yl61kf1tAAAAB3VzZXJfaWRhAQ.UXmK9LZ8g5fs73C_hKZB0Nqw9NoKE3msV4lR1cnAOMw; path=/; HttpOnly"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2o6cs1fur5gnk8mjsg002301"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"invite-validation-result\",\n        \"id\": \"team:4:user@example.com\",\n        \"attributes\": {\n            \"is-valid\": false,\n            \"error\": \"already_member\"\n        }\n    }\n}"}],"_postman_id":"e5a88d2d-9085-43a2-b062-f0717f57d348"},{"name":"Delete invite from team","id":"0c45a667-c97a-4756-9adb-5cfc5830fdc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"invite\",\n    \"id\": \"4\"\n  }]\n}"},"url":"http://localhost:4000//api/v2/teams/:team_id/relationships/invites","description":"<p>When the invite is deleted, the user with the invitation email can no longer create an account in ProDeal.</p>\n<h5 id=\"roles-and-permissions\">ROLES AND PERMISSIONS</h5>\n<p>The same rules apply as when adding users to a team (<a href=\"https://prodeal.postman.co/collections/4189548-0ab03dab-d621-43a7-80f9-e67c178f0c9d?version=latest&amp;workspace=bffd4be7-7e18-4e3e-8e2f-ce176abf8926#f6496bc4-6c2f-4e70-92f8-85c9f0181204\">editing team</a>). </p>\n","urlObject":{"path":["api","v2","teams",":team_id","relationships","invites"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"49caebc3-989a-411e-bd67-9f6cedfa3c2d","type":"string","value":"6","key":"team_id"}]}},"response":[{"id":"7f9e372e-f309-4245-aa7b-057a205e6cb8","name":"Delete invite from team","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [{\n    \"type\": \"invite\",\n    \"id\": \"4\"\n  }]\n}"},"url":{"raw":"http://localhost:4000//api/v2/teams/:team_id/relationships/invites","host":["http://localhost:4000/"],"path":["api","v2","teams",":team_id","relationships","invites"],"variable":[{"key":"team_id","value":"6"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Thu, 02 May 2019 19:32:42 GMT"},{"key":"content-length","value":"0"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2mdf96f48hg3g7r4ko001qr1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"content-type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0c45a667-c97a-4756-9adb-5cfc5830fdc9"}],"id":"366299d4-4a7b-4692-bdb7-9e5e0858a0a6","description":"<p>Invites represent people added to a team, who have not yet created a ProDeal account.</p>\n<p>An invite contains the following parameters:</p>\n<ul>\n<li><code>id</code>: ID (read-only, auto-generated)</li>\n<li><code>last-sent-utc</code>: A date in ISO format indicating when was the invitation last sent (since invitations can be sent multiple times).  (read-only, auto-generated)</li>\n<li><code>inserted-a</code>:  A date in ISO format indicating when was the invitation created. (read-only, auto-generated)</li>\n<li><code>email</code>: Email of the invited user (read-only)</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"11b1ded1-d651-4782-abad-d0780c147e22","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1e2b06a3-84d3-4a5c-8917-5b07004de665","type":"text/javascript","exec":[""]}}],"_postman_id":"366299d4-4a7b-4692-bdb7-9e5e0858a0a6"},{"name":"Activity","item":[{"name":"Get all activities (changelogs)","id":"765750e4-0781-4cae-86d8-1bcac6d9d97d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/changelogs?page[size]=25&page[offset]=80000","description":"<h5 id=\"filters\">Filters</h5>\n<ul>\n<li><code>room</code></li>\n<li><code>search_term</code></li>\n<li><code>room_type</code></li>\n<li><code>building_type</code></li>\n<li><code>bookmarked</code></li>\n<li><code>date_start</code></li>\n<li><code>date_end</code></li>\n<li><code>user</code></li>\n<li><code>team</code></li>\n<li><code>action</code></li>\n</ul>\n<p>Filters <code>user</code>, <code>team</code> and <code>action</code> allow filtering by multiple elements (Use a comma-separated list of values).\nThe <code>date_start</code> and <code>date_end</code> filters allow to filter the entries by date range. The supported format for the date is ISO8601 (YYYY-MM-DD).</p>\n<h6 id=\"metadata-filters\">Metadata filters</h6>\n<p>To filter by a metadata key you can use the key name with the <code>meta_</code> prefix:</p>\n<p><code>?filter[meta_{meta_key}]={meta_value}</code></p>\n<h5 id=\"relationships-and-includes\">RELATIONSHIPS AND INCLUDES</h5>\n<p>Available \"include\" options:</p>\n<ul>\n<li><code>room</code>: The entry room</li>\n</ul>\n<h5 id=\"pagination-parameters\">Pagination parameters</h5>\n<p>For optimization purposes, different pagination rules can be applied to this endpoint.</p>\n<ul>\n<li><code>page[size]</code> Number of records to retrieve</li>\n<li><code>page[offset]</code> ID of the previous record (activity log entry) to use as the starting point of the pagination. It's in descending order</li>\n</ul>\n","urlObject":{"path":["api","v2","changelogs"],"host":["http://localhost:4000/"],"query":[{"key":"page[size]","value":"25"},{"key":"page[offset]","value":"80000"}],"variable":[]}},"response":[{"id":"8b666a7c-5c54-4586-bea9-412e5952296b","name":"Filter entries by users","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/changelogs?filter[user]=3,4","host":["http://localhost:4000/"],"path":["api","v2","changelogs"],"query":[{"key":"filter[user]","value":"3,4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/changelogs?filter[user]=3%2C4&page[size]=25\",\n        \"next\": \"/api/v2/changelogs?filter[user]=3%2C4&page[offset]=358044&page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"changelog\",\n            \"id\": \"360953\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T19:45:41.464441-04:00\",\n                \"changes\": [\n                    \"made BC (borrower_counsel) an admin team\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"update_party\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"359327\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T11:03:31.515886-04:00\",\n                \"changes\": [\n                    \"added <a data-id=\\\"1268\\\" data-model=\\\"team\\\" href=\\\"http://localhost:4000/rooms/693/parties\\\">BC</a>, Borrower Counsel, to the room\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_party\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358072\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:56:25.483547-04:00\",\n                \"changes\": [\n                    \"added <a data-id=\\\"1267\\\" data-model=\\\"team\\\" href=\\\"http://localhost:4000/rooms/693/parties\\\">LC</a>, Lender Counsel, to the room\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_party\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358071\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:56:16.098596-04:00\",\n                \"changes\": [\n                    \"updated the abbreviation of the team from \\\"\\\" to \\\"L\\\"\",\n                    \"updated the type of the team from \\\"other\\\" to \\\"lender\\\"\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"update_party\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358067\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:49:05.449419-04:00\",\n                \"changes\": [\n                    \"joined the room as part of the <a data-id=\\\"1266\\\" data-model=\\\"team\\\" href=\\\"http://localhost:4000/rooms/693/parties\\\">Lender Counsel</a> team\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"4\",\n                    \"full-name\": \"Luis Ferreira\"\n                },\n                \"action\": \"add_member_party\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358063\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"38705\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/38705\\\">9905 S. 13th St, Oak Creek, Milwaukee - WI</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358062\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"38739\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/38739\\\">901 Renaissance Blvd, Sturtevant, Racine - WI</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358061\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39045\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39045\\\">5170-5250 S. 6th St, Milwaukee, Milwaukee - WI</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358060\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39079\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39079\\\">5150 International Dr, Cudahy, Milwaukee - WI</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358059\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39113\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39113\\\">475 Superior Ave, Munster, Lake - IN</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358058\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39147\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39147\\\">4150 Chandler Rd, Hanover Park, DuPage - IL</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358057\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39181\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39181\\\">3712-3714 Jarvis Avenue, Skokie, Cook - IL</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358056\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39215\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39215\\\">365 Village Dr, Carol Stream, DuPage - IL</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358055\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39249\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39249\\\">2440 Pratt Blvd, Elk Grove Village, Cook - IL</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358054\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39283\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39283\\\">2075 Busse Rd, Elk Grove Village, Cook - IL</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358053\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39317\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39317\\\">201 Mittel Dr, Wood Dale, DuPage - IL</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358052\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39351\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39351\\\">1630 Enterprise Dr, Sturtevant, Racine - WI</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358051\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"38773\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/38773\\\">8505 100th St, Pleasant Prairie, Kenosha - WI</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358050\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39385\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39385\\\">1500 S. Wolf Rd, Wheeling, Cook - IL</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358049\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39419\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39419\\\">1333 Grandview Pkwy, Sturtevant, Racine - WI</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358048\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39453\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39453\\\">1250-1260 Lunt Ave, Elk Grove Village, Cook - IL</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358047\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39487\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39487\\\">1221 Grandview Pkwy, Sturtevant, Racine - WI</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358046\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39521\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39521\\\">11500 80th Ave, Pleasant Prairie, Kenosha - WI</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358045\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39555\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39555\\\">101 Mittel Dr, Wood Dale, DuPage - IL</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"358044\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-08T10:46:35.823352-04:00\",\n                \"changes\": [\n                    \"added the <a data-id=\\\"39589\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/39589\\\">100 West Oakwood Rd, Oak Creek, Milwaukee - WI</a> line item under the Properties heading\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"Lender Counsel\",\n                        \"id\": 1266,\n                        \"abbreviation\": \"L\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"3\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_line_item\"\n            }\n        }\n    ]\n}\n"},{"id":"dc40f6ed-01ca-42b0-95c8-b8802b025f2a","name":"Returns the list of changelogs entries","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json","description":"Only accept JSON-API documents"},{"key":"Content-Type","value":"application/vnd.api+json","description":"Return JSON-API document"}],"url":{"raw":"http://localhost:4000//api/v2/changelogs?page[size]=25&include=room","host":["http://localhost:4000/"],"path":["api","v2","changelogs"],"query":[{"key":"page[size]","value":"25"},{"key":"include","value":"room"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 12 Mar 2019 17:27:45 GMT"},{"key":"content-length","value":"14111"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"2m5kcbqbil0mgige800054b1"}],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/changelogs?include=room&page[number]=1&page[size]=25\",\n        \"next\": \"/api/v2/changelogs?include=room&page[number]=2&page[size]=25\",\n        \"last\": \"/api/v2/changelogs?include=room&page[number]=6&page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"included\": [\n        {\n            \"type\": \"room\",\n            \"meta\": {\n                \"link\": \"https://prodeal360.com/dashboard/3\"\n            },\n            \"id\": \"3\",\n            \"attributes\": {\n                \"user-team-type\": null,\n                \"user-team-name\": null,\n                \"user-team-abbreviation\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"unread-notes-count\": null,\n                \"unread-docs-count\": null,\n                \"total-transaction-amount\": null,\n                \"state\": \"open\",\n                \"room-type\": \"Infrastructure\",\n                \"role-id\": null,\n                \"prodeal-number\": \"D-000-0003\",\n                \"notes-enabled\": true,\n                \"name\": \"A Room - III\",\n                \"favorite\": false,\n                \"estimated-close-date\": \"Mar 21, 2019\",\n                \"permission-type\": \"confidential\",\n                \"custom-column-label\": \"Custom\",\n                \"custom-column-enabled\": false,\n                \"completed-percentage\": 0,\n                \"changelog-enabled\": true,\n                \"building-type\": \"Office\",\n                \"actual-close-date\": null\n            }\n        },\n        {\n            \"type\": \"room\",\n            \"meta\": {\n                \"link\": \"https://prodeal360.com/dashboard/5\"\n            },\n            \"id\": \"5\",\n            \"attributes\": {\n                \"user-team-type\": null,\n                \"user-team-name\": null,\n                \"user-team-abbreviation\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"unread-notes-count\": null,\n                \"unread-docs-count\": null,\n                \"total-transaction-amount\": null,\n                \"state\": \"open\",\n                \"room-type\": \"Real Estate - Asset Management\",\n                \"role-id\": null,\n                \"prodeal-number\": \"D-000-0005\",\n                \"notes-enabled\": true,\n                \"name\": \"The Awesome Room\",\n                \"favorite\": false,\n                \"estimated-close-date\": null,\n                \"permission-type\": \"confidential\",\n                \"custom-column-label\": \"Custom\",\n                \"custom-column-enabled\": false,\n                \"completed-percentage\": 0,\n                \"changelog-enabled\": true,\n                \"building-type\": \"Industrial\",\n                \"actual-close-date\": null\n            }\n        },\n        {\n            \"type\": \"room\",\n            \"meta\": {\n                \"link\": \"https://prodeal360.com/dashboard/6\"\n            },\n            \"id\": \"6\",\n            \"attributes\": {\n                \"user-team-type\": null,\n                \"user-team-name\": null,\n                \"user-team-abbreviation\": null,\n                \"unseen-changelog-entries-count\": null,\n                \"unread-notes-count\": null,\n                \"unread-docs-count\": null,\n                \"total-transaction-amount\": null,\n                \"state\": \"open\",\n                \"room-type\": \"Real Estate - Acquisition\",\n                \"role-id\": null,\n                \"prodeal-number\": \"D-000-0006\",\n                \"notes-enabled\": true,\n                \"name\": \"Other Room\",\n                \"favorite\": false,\n                \"estimated-close-date\": null,\n                \"permission-type\": \"confidential\",\n                \"custom-column-label\": \"Custom\",\n                \"custom-column-enabled\": false,\n                \"completed-percentage\": 0,\n                \"changelog-enabled\": true,\n                \"building-type\": null,\n                \"actual-close-date\": null\n            }\n        }\n    ],\n    \"data\": [\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"137\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-12T09:54:49.907224-04:00\",\n                \"changes\": [\n                    \"updated the Custom column of the <a data-id=\\\"37\\\" data-model=\\\"line-item\\\" href=\\\"https://prodeal360.com/folders/37\\\">a new name</a> with the following: \\\"custom column change\\\"\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_custom_value\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"136\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-12T09:27:44.903755-04:00\",\n                \"changes\": [\n                    \"added the following note to <a data-id=\\\"37\\\" data-model=\\\"folder\\\" href=\\\"https://prodeal360.com/folders/37\\\">a new name</a>: \\\"another note\\\"\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_note\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"135\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-12T09:27:32.320653-04:00\",\n                \"changes\": [\n                    \"added the following note to <a data-id=\\\"37\\\" data-model=\\\"folder\\\" href=\\\"https://prodeal360.com/folders/37\\\">a new name</a>: \\\"here is a note\\\"\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_note\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"134\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-11T13:49:25.761139-04:00\",\n                \"changes\": [],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"update_deal\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"5\"\n                    }\n                }\n            },\n            \"id\": \"133\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-11T13:48:46.394707-04:00\",\n                \"changes\": [],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName No.2 Company\",\n                    \"id\": 10,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"update_deal\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"132\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-11T13:38:50.674302-04:00\",\n                \"changes\": [\n                    \"updated the purchase amount of the room from \\\"\\\" to $1.00\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"update_deal\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"131\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-11T13:01:28.371237-04:00\",\n                \"changes\": [\n                    \"updated the type of the room from \\\"Real Estate - Leasehold\\\" to \\\"Infrastructure\\\"\",\n                    \"updated the loan amount of the room from $123,123,123.00 to $3,123,123.00\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"update_deal\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"6\"\n                    }\n                }\n            },\n            \"id\": \"130\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-11T12:52:58.924035-04:00\",\n                \"changes\": [\n                    \"created the room\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 14,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_deal\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"129\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-08T15:04:01.342979-05:00\",\n                \"changes\": [\n                    \"added <a data-id=\\\"13\\\" data-model=\\\"team\\\" href=\\\"https://prodeal360.com/rooms/3/parties\\\">XYZ</a>, Borrower, to the room\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_party\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"128\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-07T10:52:53.704-05:00\",\n                \"changes\": [\n                    \"updated the Custom column of the <a data-id=\\\"34\\\" data-model=\\\"folder\\\" href=\\\"https://prodeal360.com/folders/34\\\">1</a> with the following: \\\"custom col\\\"\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_custom_value\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"127\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-06T12:37:31.863085-05:00\",\n                \"changes\": [\n                    \"made Regulars (borrower) an admin team\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"update_party\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"126\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-06T12:37:04.21039-05:00\",\n                \"changes\": [\n                    \"updated the type of the team from \\\"engineer\\\" to \\\"borrower\\\"\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"update_party\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"125\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-06T09:53:56.865237-05:00\",\n                \"changes\": [\n                    \"updated the name of the room from \\\"A Room\\\" to \\\"A Room - III\\\"\",\n                    \"updated the type of the room from \\\"Real Estate - Development\\\" to \\\"Real Estate - Leasehold\\\"\",\n                    \"updated the construction loan amount of the room from \\\"\\\" to $432,432,432.00\",\n                    \"updated the estimated close date of the room from \\\"\\\" to \\\"2019-03-21\\\"\",\n                    \"updated the loan amount of the room from \\\"\\\" to $123,123,123.00\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"update_deal\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"124\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-06T08:46:01.822998-05:00\",\n                \"changes\": [\n                    \"declined request to access <a data-id=\\\"11\\\" data-model=\\\"document\\\" href=\\\"https://prodeal360.com/documents/11\\\">SampleDOCFile_200kb.doc</a> requested by <strong>Jabe Doe (REG)</strong>\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"decline_access_request\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"123\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-06T08:45:00.440419-05:00\",\n                \"changes\": [\n                    \"approved request to access <a data-id=\\\"10\\\" data-model=\\\"document\\\" href=\\\"https://prodeal360.com/documents/10\\\">SampleDOCFile_100kb.doc</a> requested by <strong>Jabe Doe (REG)</strong>\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"grant_access_request\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"122\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-06T08:33:28.521004-05:00\",\n                \"changes\": [\n                    \"added the following due date for the <a data-id=\\\"37\\\" data-model=\\\"line-item\\\" href=\\\"https://prodeal360.com/folders/37\\\">a new name</a> line item: 2019-03-15\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_due_date\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"121\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-06T08:25:51.599512-05:00\",\n                \"changes\": [\n                    \"updated the Custom column of the <a data-id=\\\"24\\\" data-model=\\\"line-item\\\" href=\\\"https://prodeal360.com/folders/24\\\">Line item 1</a> with the following: \\\"test\\\"\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_custom_value\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"120\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-05T22:36:02.524183-05:00\",\n                \"changes\": [\n                    \"has downloaded 3 document(s)\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"download_bulk_select\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"119\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-05T22:35:39.503197-05:00\",\n                \"changes\": [\n                    \"uploaded <a data-id=\\\"12\\\" data-model=\\\"document\\\" href=\\\"https://prodeal360.com/documents/12\\\">SampleXLSFile_38kb.xls</a> to the <a data-id=\\\"28\\\" data-model=\\\"line-item\\\" href=\\\"https://prodeal360.com/folders/28\\\">A</a> line item\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_document\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"118\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-05T22:35:39.410327-05:00\",\n                \"changes\": [\n                    \"uploaded <a data-id=\\\"11\\\" data-model=\\\"document\\\" href=\\\"https://prodeal360.com/documents/11\\\">SampleDOCFile_200kb.doc</a> to the <a data-id=\\\"28\\\" data-model=\\\"line-item\\\" href=\\\"https://prodeal360.com/folders/28\\\">A</a> line item\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_document\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"117\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-05T22:35:39.391216-05:00\",\n                \"changes\": [\n                    \"uploaded <a data-id=\\\"10\\\" data-model=\\\"document\\\" href=\\\"https://prodeal360.com/documents/10\\\">SampleDOCFile_100kb.doc</a> to the <a data-id=\\\"28\\\" data-model=\\\"line-item\\\" href=\\\"https://prodeal360.com/folders/28\\\">A</a> line item\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_document\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"116\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-05T22:33:23.572555-05:00\",\n                \"changes\": [\n                    \"downloaded <a data-id=\\\"9\\\" data-model=\\\"document\\\" href=\\\"https://prodeal360.com/documents/9\\\">SampleXLSFile_38kb.xls - new</a>\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"download_document\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"115\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-05T22:33:12.850879-05:00\",\n                \"changes\": [\n                    \"has downloaded 1 document(s)\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"download_bulk_select\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"114\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-05T22:11:32.623678-05:00\",\n                \"changes\": [\n                    \"John Doe  has been removed from the room\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"remove_member_party\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"relationships\": {\n                \"room\": {\n                    \"data\": {\n                        \"type\": \"room\",\n                        \"id\": \"3\"\n                    }\n                }\n            },\n            \"id\": \"112\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2019-03-05T21:50:09.982167-05:00\",\n                \"changes\": [\n                    \"invited invited@prodeal360.com to join to <a data-id=\\\"3\\\" data-model=\\\"team\\\" href=\\\"https://prodeal360.com/rooms/3/parties\\\">RandomCoolName Company (OH)</a>\"\n                ],\n                \"author-team\": {\n                    \"name\": \"RandomCoolName Company (OH)\",\n                    \"id\": 3,\n                    \"abbreviation\": \"O\"\n                },\n                \"author\": {\n                    \"id\": \"1\",\n                    \"full-name\": \"John Doe\"\n                },\n                \"action\": \"new_invite\"\n            }\n        }\n    ]\n}"},{"id":"fbfb066c-e149-4968-9726-94eb388558d6","name":"Filter by date range","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/changelogs?filter[date_start]=2020-05-06&filter[date_end]=2020-05-07","host":["http://localhost:4000/"],"path":["api","v2","changelogs"],"query":[{"key":"filter[date_start]","value":"2020-05-06"},{"key":"filter[date_end]","value":"2020-05-07"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"links\": {\n        \"self\": \"/api/v2/changelogs?filter[date_start]=2020-05-06&filter[date_end]=2020-05-07&page[size]=25\",\n        \"next\": \"/api/v2/changelogs?filter[date_start]=2020-05-06&filter[date_end]=2020-05-07&page[offset]=358056&page[size]=25\"\n    },\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"changelog\",\n            \"id\": \"362946\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-069T09:21:19.074157-04:00\",\n                \"changes\": [\n                    \"created the room\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"ProDeal\",\n                        \"id\": 1325,\n                        \"abbreviation\": \"O\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"7\",\n                    \"full-name\": \"Chad Rose\"\n                },\n                \"action\": \"new_deal\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"362945\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-06T09:09:25.204477-04:00\",\n                \"changes\": [\n                    \"joined the room as part of the <a data-id=\\\"1147\\\" data-model=\\\"team\\\" href=\\\"http://localhost:4000/rooms/641/parties\\\">ProDeal</a> team\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"ProDeal\",\n                        \"id\": 1147,\n                        \"abbreviation\": \"O\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"7\",\n                    \"full-name\": \"Chad Rose\"\n                },\n                \"action\": \"add_member_party\"\n            }\n        },\n        {\n            \"type\": \"changelog\",\n            \"id\": \"362884\",\n            \"attributes\": {\n                \"is-read\": true,\n                \"inserted-at\": \"2020-05-06T05:52:27.926042-04:00\",\n                \"changes\": [\n                    \"closed the <a data-id=\\\"37192\\\" data-model=\\\"line-item\\\" href=\\\"http://localhost:4000/folders/37192\\\">Proof of Deposit from Escrow</a> line item\"\n                ],\n                \"author-teams\": [\n                    {\n                        \"name\": \"ProDeal\",\n                        \"id\": 1147,\n                        \"abbreviation\": \"O\"\n                    }\n                ],\n                \"author\": {\n                    \"id\": \"411\",\n                    \"full-name\": \"Andrea I\"\n                },\n                \"action\": \"close_line_item\"\n            }\n        }\n    ]\n}\n"}],"_postman_id":"765750e4-0781-4cae-86d8-1bcac6d9d97d"}],"id":"721696c3-ff9c-494d-9707-e76c474328f6","description":"<p>The activity of every room (creation, deletion, editing, status update, download, upload, permission update, invite, etc.) is recorded automatically and it's accessible to users when the room option Activity Report (<code>changelog-enabled</code>) is turned ON. Users can see activity logs for all rooms they are a part of, and these logs can be filtered.</p>\n<p>One activity log entry contains the following attributes:</p>\n<ul>\n<li><code>is-read</code>: <em>true</em> when the entry is returned the first time</li>\n<li><code>inserted-at</code>: Creation time</li>\n<li><code>changes</code>: An array of strings for each detected change on the action (Could be empty)</li>\n<li><code>author</code>: Who performs the action (could not exist anymore, this is historical data)</li>\n<li><code>author-teams</code>: The team(s) author belonged to when he made the change (could not exist anymore, this is historical data)</li>\n<li><code>action</code>: The type of changelog action</li>\n</ul>\n<h5 id=\"complete-list-of-actions\">Complete list of actions:</h5>\n<ul>\n<li><code>access_change_document</code></li>\n<li><code>access_change_heading</code></li>\n<li><code>access_change_line_item</code></li>\n<li><code>add_member_party</code></li>\n<li><code>close_folder</code></li>\n<li><code>close_heading</code></li>\n<li><code>close_line_item</code></li>\n<li><code>delete_document</code></li>\n<li><code>delete_folder</code></li>\n<li><code>delete_heading</code></li>\n<li><code>delete_line_item</code></li>\n<li><code>delete_note</code></li>\n<li><code>delete_party</code></li>\n<li><code>download_bulk_select</code></li>\n<li><code>download_document</code></li>\n<li><code>inactivate_deal</code></li>\n<li><code>mark_final_document</code></li>\n<li><code>new_custom_value</code></li>\n<li><code>new_deal</code></li>\n<li><code>new_document</code></li>\n<li><code>new_due_date</code></li>\n<li><code>new_folder</code></li>\n<li><code>new_heading</code></li>\n<li><code>new_invite</code></li>\n<li><code>new_line_item</code></li>\n<li><code>new_note</code></li>\n<li><code>new_party</code></li>\n<li><code>open_folder</code></li>\n<li><code>open_heading</code></li>\n<li><code>open_line_item</code></li>\n<li><code>reactivate_deal</code></li>\n<li><code>remove_member_party</code></li>\n<li><code>rename_document</code></li>\n<li><code>rename_folder</code></li>\n<li><code>rename_heading</code></li>\n<li><code>rename_line_item</code></li>\n<li><code>unmark_final_document</code></li>\n<li><code>update_deal</code></li>\n<li><code>update_invite</code></li>\n<li><code>update_party</code></li>\n<li><code>view_document</code></li>\n</ul>\n<p><strong>Note:</strong> \"party\" refers to teams.</p>\n","event":[{"listen":"prerequest","script":{"id":"efea509e-1e8b-41d6-9822-a38ef7841b7a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a7a6b738-e5ff-4691-a944-070bc20d44b8","type":"text/javascript","exec":[""]}}],"_postman_id":"721696c3-ff9c-494d-9707-e76c474328f6"},{"name":"Notifications","item":[{"name":"Get default notifications settings","id":"0e0bb8dc-b8f5-496a-99f5-aa96deeb4282","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/me/notifications","description":"<p>Default notification settings are applied for all future rooms you create or into which you are added.\nThese can be overridden for each room.</p>\n","urlObject":{"path":["api","v2","me","notifications"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"65462c76-52e8-4eee-b12e-fbbbb031639e","name":"Get default notifications settings","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/me/notifications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Wed, 05 Jun 2019 12:46:13 GMT"},{"key":"content-length","value":"485"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2miks9lp69h1nhpjmk004uq8"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"2.0\"\n    },\n    \"data\": {\n        \"type\": \"user-notifications-settings\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"new-line-item-note\": {\n                \"realtime\": \"all\",\n                \"daily_recap\": true\n            },\n            \"line-item-status-changed\": {\n                \"realtime\": \"none\",\n                \"daily_recap\": true\n            },\n            \"file-version-upload\": {\n                \"realtime\": \"my_responsibility\",\n                \"daily_recap\": true\n            },\n            \"document-approved\": {\n                \"realtime\": \"none\",\n                \"daily_recap\": true\n            },\n            \"custom-column-updated\": {\n                \"realtime\": \"none\",\n                \"daily_recap\": true\n            },\n            \"checklist-item-deletion\": {\n                \"realtime\": \"none\",\n                \"daily_recap\": true\n            },\n            \"access-changed\": {\n                \"realtime\": \"none\",\n                \"daily-recap\": true\n            }\n        }\n    }\n}"}],"_postman_id":"0e0bb8dc-b8f5-496a-99f5-aa96deeb4282"},{"name":"Update default notification settings","id":"363ca082-391c-4e0c-a68b-c3fdfd2e6e2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","name":"Content-Type","value":"application/vnd.api+json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"user-notifications-settings\",\n        \"attributes\": {\n            \"new-line-item-note\": {\n                \"realtime\": \"all\",\n                \"daily_recap\": true\n            },\n            \"line-item-status-changed\": {\n                \"realtime\": \"all\",\n                \"daily_recap\": true\n            },\n            \"file-version-upload\": {\n                \"realtime\": \"my_responsibility\",\n                \"daily_recap\": true\n            }\n        }\n    }\n}"},"url":"http://localhost:4000//api/v2/me/notifications","urlObject":{"path":["api","v2","me","notifications"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[],"_postman_id":"363ca082-391c-4e0c-a68b-c3fdfd2e6e2b"}],"id":"ae175d5b-2330-4781-a36a-aac65ab390b5","description":"<p>Keep track on your deal by setting up various email notifications.</p>\n<h5 id=\"the-available-notifications-are\">The available notifications are:</h5>\n<ul>\n<li><code>checklist-item-deletion</code>: Deletion Updates. When a heading, line item or document has been deleted.</li>\n<li><code>custom-column-updated</code>: Custom Column Updates. When the custom column value has been updated on a heading, line item or folder.</li>\n<li><code>document-approved</code>: Document Status Updates. When a document has been marked as final.</li>\n<li><code>file-version-upload</code>: Document Updates. When a document has been uploaded, or a new version of an existing document has been updated.</li>\n<li><code>line-item-status-changed</code>: Line Item Status Updates. When a line item has been closed or reopened.</li>\n<li><code>new-line-item-note</code>: Notes Updates. When a note has been posted, edited or deleted on a heading, line item or folder.</li>\n<li><code>access-changed</code>: Access Updates\nWhen a heading, line item, folder or document access permissions have been updated.</li>\n</ul>\n<h5 id=\"notifications-options\">Notifications options:</h5>\n<ul>\n<li><p><code>realtime</code>: Send notifications for the event on real time for:</p>\n<ul>\n<li><code>all</code>: For all the event occurrences</li>\n<li><code>my_responsibility</code>: For events on items below responsibility</li>\n<li><code>none</code>: Disable real time notifications for that event</li>\n</ul>\n</li>\n<li><p><code>daily_recap</code>: (<code>true</code> or <code>false</code>) Display the event in the daily recap emails</p>\n</li>\n</ul>\n","_postman_id":"ae175d5b-2330-4781-a36a-aac65ab390b5"},{"name":"Integrations","item":[{"name":"Salesforce (SFDC)","item":[{"name":"Get oportunity by ID","id":"d74e5b7d-cb90-4cbe-9f09-50376aabbdb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/sfdc/opportunities/:opportunity_id","description":"<p>Use this endpoint to check if there are any rooms in ProDeal associated with the given Salesforce opportunity ID. </p>\n<p>There are 3 scenarios:</p>\n<ul>\n<li>Room exists, and the user has access - user can see the room ID</li>\n<li>Room exists, but the user doesn't have access - user cannot see the room ID; only the contact email</li>\n<li>Room doesn't exist</li>\n</ul>\n","urlObject":{"path":["api","v2","sfdc","opportunities",":opportunity_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"987c6440-8011-4169-a848-bbf57eccc17a","type":"string","value":"1234","key":"opportunity_id"}]}},"response":[{"id":"72ede6ca-09f4-44d8-bab2-fc564127e7e6","name":"Room doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/sfdc/opportunities/:opportunity_id","host":["http://localhost:4000/"],"path":["api","v2","sfdc","opportunities",":opportunity_id"],"variable":[{"key":"opportunity_id","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Wed, 31 Jul 2019 13:59:44 GMT"},{"key":"content-length","value":"146"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2mr85abmdjbn1o4trg0013r1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": []\n}"},{"id":"733b58b6-48cb-4a9b-bec8-b814b784b60b","name":"Room exists and user has access","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/sfdc/opportunities/:oportunity_id","host":["http://localhost:4000/"],"path":["api","v2","sfdc","opportunities",":oportunity_id"],"variable":[{"key":"oportunity_id","value":"the-oportunity-id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 30 Jul 2019 17:08:54 GMT"},{"key":"content-length","value":"143"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2mr3sptajui95e083c0002v1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"sfdc-opportunity\",\n            \"id\": \"the-opportunity-id\",\n            \"attributes\": {\n                \"room-id\": 2323,\n                \"contact-email\": \"admin@example.com\"\n            }\n        }\n    ]\n}"},{"id":"fae99321-83bb-4fc4-a09d-59ef0bc182cf","name":"Room exists but the user doesn't have access","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/sfdc/opportunities/:sfdc_id","host":["http://localhost:4000/"],"path":["api","v2","sfdc","opportunities",":sfdc_id"],"variable":[{"key":"sfdc_id","value":"the-opportunity-id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 30 Jul 2019 17:08:54 GMT"},{"key":"content-length","value":"143"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2mr3sptajui95e083c0002v1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"sfdc-opportunity\",\n            \"id\": \"the-opportunity-id\",\n            \"attributes\": {\n                \"room-id\": null,\n                \"contact-email\": \"admin@example.com\"\n            }\n        }\n    ]\n}"}],"_postman_id":"d74e5b7d-cb90-4cbe-9f09-50376aabbdb1"}],"id":"5afefdb7-fe21-4d9e-97ef-a3890b825bba","description":"<p>You can connect your Salesforce opportunity with the matching room(s) in ProDeal. </p>\n<p>To achieve that, you need to get the opportunity ID from Salesforce and assign it to the room's <code>metadata &gt; sfdc_opportunity_id</code> property.</p>\n<p>Example (the following room matches the Salesforce opportunity with ID 12345)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n\"data\": {\n  \"type\": \"room\",      \n  \"id\": \"1\",\n  \"attributes\": {\n    \"name\": \"Salesforce Room\",\n    ...\n    \"metadata\": {\n      \"sfdc_opportunity_id\": \"12345\"\n    }     \n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"30132ed7-91ed-4f72-a355-1e16358fa2a1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3c0643e9-6711-466e-9944-981cb9da42f5","type":"text/javascript","exec":[""]}}],"_postman_id":"5afefdb7-fe21-4d9e-97ef-a3890b825bba"},{"name":"REST hooks","item":[{"name":"Get all subscriptions","id":"77e21fb8-0efb-4d78-8b7c-71f6107f0f9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/resthooks/subscriptions","urlObject":{"path":["api","v2","resthooks","subscriptions"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"100a5572-8fff-4352-92d9-f0e7ec28b86e","name":"Get all subscriptions","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/resthooks/subscriptions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 26 Nov 2019 20:55:50 GMT"},{"key":"content-length","value":"554"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2ndd3m97c407a1obgg0026p1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": [\n        {\n            \"type\": \"resthooks-subscription\",\n            \"id\": \"1\",\n            \"attributes\": {\n                \"target-url\": \"https://example.com\",\n                \"filter\": \"entityIds=3\",\n                \"event\": \"folder_updated\",\n                \"active\": true\n            }\n        },\n        {\n            \"type\": \"resthooks-subscription\",\n            \"id\": \"2\",\n            \"attributes\": {\n                \"target-url\": \"https://example.com\",\n                \"filter\": \"roomIds=3,4,5&attributes=name,status\",\n                \"event\": \"folder_updated\",\n                \"active\": true\n            }\n        },\n        {\n            \"type\": \"resthooks-subscription\",\n            \"id\": \"3\",\n            \"attributes\": {\n                \"target-url\": \"https://example.com\",\n                \"filter\": \"roomIds=12,13&attributes=custom-value\",\n                \"event\": \"folder_updated\",\n                \"active\": true\n            }\n        }\n    ]\n}"}],"_postman_id":"77e21fb8-0efb-4d78-8b7c-71f6107f0f9c"},{"name":"Get subscription","id":"39efe2a7-5979-4f44-add5-1efed607614c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"}],"url":"http://localhost:4000//api/v2/resthooks/subscriptions/:subscription_id","urlObject":{"path":["api","v2","resthooks","subscriptions",":subscription_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"525233e0-c8d9-4ae3-9d52-a20ba1423c29","type":"string","value":"1","key":"subscription_id"}]}},"response":[{"id":"b0f3c0a9-05d3-4c4f-acb3-8c202aea9e9e","name":"Get subscription","originalRequest":{"method":"GET","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"}],"url":{"raw":"http://localhost:4000//api/v2/resthooks/subscriptions/:subscription_id","host":["http://localhost:4000/"],"path":["api","v2","resthooks","subscriptions",":subscription_id"],"variable":[{"key":"subscription_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 26 Nov 2019 20:48:58 GMT"},{"key":"content-length","value":"191"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2ndd2ubog0f0gnpkls0026j1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"resthooks-subscription\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"target-url\": \"https://example.com\",\n            \"filter\": \"entityIds=3\",\n            \"event\": \"folder_updated\",\n            \"active\": true\n        }\n    }\n}"}],"_postman_id":"39efe2a7-5979-4f44-add5-1efed607614c"},{"name":"Create subscription","id":"47d72662-7768-45f8-96e0-0ca3048e54ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"resthooks-subscription\",\n        \"attributes\": {\n            \"target-url\": \"https://example.com\",\n            \"filter\": \"roomIds=3,4,5&attributes=name,status\",\n            \"event\": \"folder_updated\"\n        }\n    }\n}"},"url":"http://localhost:4000//api/v2/resthooks/subscriptions","description":"<p>Required parameters: <code>target-url</code> and <code>event</code>.</p>\n","urlObject":{"path":["api","v2","resthooks","subscriptions"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"29899467-7db5-4cf6-b314-99ac50bd65d6","name":"Create subscription","originalRequest":{"method":"POST","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json","description":"JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"resthooks-subscription\",\n        \"attributes\": {\n            \"target-url\": \"https://example.com\",\n            \"filter\": \"roomIds=3,4,5&attributes=name,status\",\n            \"event\": \"folder_updated\"\n        }\n    }\n}"},"url":"http://localhost:4000//api/v2/resthooks/subscriptions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 26 Nov 2019 20:58:32 GMT"},{"key":"content-length","value":"216"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2ndd3vnk8o8j9lqtc40026t1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"resthooks-subscription\",\n        \"id\": \"4\",\n        \"attributes\": {\n            \"target-url\": \"https://example.com\",\n            \"filter\": \"roomIds=3,4,5&attributes=name,status\",\n            \"event\": \"folder_updated\",\n            \"active\": true\n        }\n    }\n}"}],"_postman_id":"47d72662-7768-45f8-96e0-0ca3048e54ee"},{"name":"Edit subscription","id":"3f7e7416-40aa-4091-8916-f398b0352f11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n    \t\"id\": \"3\",\n        \"type\": \"resthooks-subscription\",\n        \"attributes\": {\n            \"target-url\": \"https://example.com\",\n            \"filter\": \"roomIds=12,13&attributes=custom-value\",\n            \"event\": \"folder_updated\"\n        }\n    }\n}"},"url":"http://localhost:4000//api/v2/resthooks/subscriptions/:subscription_id","urlObject":{"path":["api","v2","resthooks","subscriptions",":subscription_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"8dac347f-88e5-47a1-b736-af21e342f89d","type":"string","value":"3","key":"subscription_id"}]}},"response":[{"id":"a7dfe428-8d7e-4960-a740-bf93ddfd5622","name":"Edit subscription","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json","description":"JSON-API document","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n    \t\"id\": \"3\",\n        \"type\": \"resthooks-subscription\",\n        \"attributes\": {\n            \"target-url\": \"https://example.com\",\n            \"filter\": \"roomIds=12,13&attributes=custom-value\",\n            \"event\": \"folder_updated\"\n        }\n    }\n}"},"url":{"raw":"http://localhost:4000//api/v2/resthooks/subscriptions/:subscription_id","host":["http://localhost:4000/"],"path":["api","v2","resthooks","subscriptions",":subscription_id"],"variable":[{"key":"subscription_id","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 26 Nov 2019 20:58:11 GMT"},{"key":"content-length","value":"217"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2ndd3ugjgqhd5biqc40026s1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"resthooks-subscription\",\n        \"id\": \"3\",\n        \"attributes\": {\n            \"target-url\": \"https://example.com\",\n            \"filter\": \"roomIds=12,13&attributes=custom-value\",\n            \"event\": \"folder_updated\",\n            \"active\": true\n        }\n    }\n}"}],"_postman_id":"3f7e7416-40aa-4091-8916-f398b0352f11"},{"name":"Delete subscription","id":"19ca80de-9688-46d2-869f-f86ec383a45b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json","description":"<p>JSON-API document</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:4000//api/v2/resthooks/subscriptions/:subscription_id","urlObject":{"path":["api","v2","resthooks","subscriptions",":subscription_id"],"host":["http://localhost:4000/"],"query":[],"variable":[{"id":"c48c1451-83bb-4e12-a158-b19bb00115d3","type":"string","value":"1","key":"subscription_id"}]}},"response":[{"id":"bc13fdd7-d60d-4605-8ede-17ed45a84b2b","name":"Delete subscription","originalRequest":{"method":"DELETE","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/vnd.api+json","description":"JSON-API document","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://localhost:4000//api/v2/resthooks/subscriptions/:subscription_id","host":["http://localhost:4000/"],"path":["api","v2","resthooks","subscriptions",":subscription_id"],"variable":[{"key":"subscription_id","value":"1"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Tue, 26 Nov 2019 20:56:59 GMT"},{"key":"content-length","value":"0"},{"key":"cache-control","value":"no-store, no-cache"},{"key":"x-request-id","value":"2ndd3qapsnfn50lo980026q1"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"content-type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"19ca80de-9688-46d2-869f-f86ec383a45b"}],"id":"29367b67-6dfd-4219-bf9f-87bd37ec149c","description":"<p>REST hooks are automated messages sent from apps when something happens. They have a message (or payload) and are sent to a unique URL. They are typically used to connect two different applications. When an event happens on the trigger application, it serializes data about that event and sends it to a REST hook URL from the action application (the one you want to do something based on the data from the first application).</p>\n<p>A <strong>subscription</strong> allows the users to observe events they want to.</p>\n<ul>\n<li>A user can have multiple subscriptions</li>\n<li>Two or more subscriptions can be identical. One notification per - subscription will generated.</li>\n<li>Different subscriptions can target the same event. One notification per subscription will generated.</li>\n<li>Subscriptions can be enabled/disabled</li>\n</ul>\n<h5 id=\"available-events\">Available events</h5>\n<p>ProDeal supports subscriptions for the following events:</p>\n<ul>\n<li><code>folder_updated</code> - Triggered when folder attributes change</li>\n<li><code>room_updated</code> - Triggered when room attributes change</li>\n<li><code>room_progress_updated</code> - Triggered when room progress changes (folders at line items level get opened/closed)</li>\n</ul>\n<h5 id=\"filters\">Filters</h5>\n<p>The filter allows the user to limit the notifications to only those that are of interest. The filter string is in URL query format and the parameter names depend on the event.</p>\n<ul>\n<li><code>entityIds</code> - Only the events on the resources with that ID</li>\n<li><code>roomIds</code> - Only the events in the rooms with those IDs (available only for <code>folder_updated</code>)</li>\n<li><code>attributes</code> - Only when one of the attributes listed is changed (available for <code>folder_updated</code> and <code>room_updated</code>)</li>\n</ul>\n<p>If the parameter is an array, you can use the comma to add multiple values:\n<code>entityIds=5,6,7,8,9&amp;attributes=name,status</code></p>\n<p>Filters are exclusive: The event needs to match all of them to be promoted as a notification.</p>\n<p>Try to not be redundant. For a folder_update:\n<code>entityIds=32412&amp;roomIds=213</code></p>\n<p>If you can identify the resource with the entity ID, the room Id is not necessary.</p>\n<p>Filters don’t check the IDs when the subscription is created, you can indicate values that will never match, like a room and a folder from another room.\nHowever, if you try to use a parameter that is not defined for the event an exception will be returned.</p>\n","event":[{"listen":"prerequest","script":{"id":"5ec1e315-37b4-4460-b7e1-774971eeb41f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fa3a5e39-06cf-464d-b84e-8302b0dd342e","type":"text/javascript","exec":[""]}}],"_postman_id":"29367b67-6dfd-4219-bf9f-87bd37ec149c"}],"id":"3a5d0b6d-4e8d-48a7-b5c3-f567f77f206d","description":"<p>ProDeal can easily integrate into your existing workflows. Check out our:</p>\n<ol>\n<li>mechanism for connecting Salesforce opportunities with ProDeal rooms, </li>\n<li>REST hooks that can help you get real-time notifications from ProDeal and</li>\n<li><a href=\"https://zapier.com/apps/prodeal/integrations\">Zapier integration</a> for more use cases.</li>\n</ol>\n","_postman_id":"3a5d0b6d-4e8d-48a7-b5c3-f567f77f206d"},{"name":"Organizations","item":[{"name":"Update an organization","id":"2643ef13-e9f2-438a-9a7d-8f643237aa91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"description":"<p>Only accept JSON-API documents</p>\n","key":"Accept","value":"application/vnd.api+json"},{"description":"<p>Return JSON-API document</p>\n","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"organization\",\n    \"attributes\": {\n      \"mfa-required\": false\n      \n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/organizations/me","urlObject":{"path":["api","v2","organizations","me"],"host":["http://localhost:4000/"],"query":[],"variable":[]}},"response":[{"id":"cca0d54a-e54d-4fdc-b630-b5dfbd6ecf23","name":"Update an organization","originalRequest":{"method":"PATCH","header":[{"description":"Only accept JSON-API documents","key":"Accept","value":"application/vnd.api+json"},{"description":"Return JSON-API document","key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"organization\",\n    \"attributes\": {\n      \"mfa-required\": false\n\n    }\n  }\n}"},"url":"http://localhost:4000//api/v2/organizations/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-length","value":"263"},{"key":"content-type","value":"application/vnd.api+json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"jsonapi\": {\n        \"version\": \"1.0\"\n    },\n    \"data\": {\n        \"type\": \"organization\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"status-merged-enabled\": false,\n            \"name\": \"Capital Bancshares 11\",\n            \"mfa-required\": false,\n            \"file-counter-enabled\": true,\n            \"esignature-annotations-enabled\": false,\n            \"domains\": null,\n            \"default\": true,\n            \"sso-enabled\": false\n        }\n    }\n}"}],"_postman_id":"2643ef13-e9f2-438a-9a7d-8f643237aa91"}],"id":"b30c7158-2e4f-42b4-9dd1-bf083be861a4","_postman_id":"b30c7158-2e4f-42b4-9dd1-bf083be861a4","description":""}],"id":"cb276d46-5cd8-4c4e-86ad-3ad01daa378c","description":"<p>This is the stable version of the ProDeal API.</p>\n","event":[{"listen":"prerequest","script":{"id":"e5b5ee2f-0a90-4935-af03-cde48a102497","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"55a4d9cd-7023-4aad-8976-8023632ad547","type":"text/javascript","exec":[""]}}],"_postman_id":"cb276d46-5cd8-4c4e-86ad-3ad01daa378c"}],"event":[{"listen":"prerequest","script":{"id":"f3627c41-8e79-4eca-96ae-1c46d211ca47","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b6c42dd5-7f97-4c1f-8a96-24514188e643","type":"text/javascript","exec":[""]}}],"variable":[{"key":"base_url","value":"http://localhost:4000/"}]}