{"info":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","description":"<html><head></head><body><p>Welcome to the Official Lawmatics RESTful API Documentation.</p>\n<p>Like the Lawmatics Platform, our API is under active development!<br>For any API related questions or feedback, reach out to us at <a href=\"https://mailto:api@lawmatics.com\">api@lawmatics.com</a>.</p>\n<h2 id=\"changelog\">CHANGELOG</h2>\n<h4 id=\"03042023---1210\">03/04/2023 - 1.21.0</h4>\n<ul>\n<li><p>Add new endpoint: POST <strong>Time Entry</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Time Entry</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Expenses</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Expense</strong></p>\n</li>\n<li><p>Add new endpoint: POST <strong>Expense</strong></p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Expense</strong></p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Expense</strong></p>\n</li>\n</ul>\n<hr>\n<h4 id=\"10042023---1200\">10/04/2023 - 1.20.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Time Entry</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Time Entries</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Time Entry</strong>.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"09292023---1190\">09/29/2023 - 1.19.0</h4>\n<ul>\n<li><p>Add <strong>Company</strong> Finder endpoints, they behave the same as the <strong>Contact</strong> Finder endpoints, but return a <strong>Company</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Find Company by Name</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Find Company by Email</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Find Company by Phone</strong>.</p>\n</li>\n<li><p>Update Filter Operator capabilities for presence checking: e.g. \"null\", \"not_null\"</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"09272023---1180\">09/27/2023 - 1.18.0</h4>\n<ul>\n<li><p>Add new endpoint: POST <strong>Matter Sub Status</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Matter Sub Status</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Matter Sub Status</strong>.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"09212023---1170\">09/21/2023 - 1.17.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Custom Contact Type</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Custom Contact Types</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Custom Contact Type.</strong></p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Custom Contact Type.</strong></p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Custom Contact Type.</strong></p>\n</li>\n</ul>\n<hr>\n<h4 id=\"7072023---1160\">7/07/2023 - 1.16.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Email Campaign</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Email Campaigns</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Email Campaign Stats.</strong></p>\n</li>\n</ul>\n<hr>\n<h4 id=\"7072023---1150\">7/07/2023 - 1.15.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Folder.</strong></p>\n</li>\n<li><p>Add new endpoint: GET <strong>Folders.</strong></p>\n</li>\n<li><p>Add new endpoint: POST <strong>Folder.</strong></p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Folder.</strong></p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Folder.</strong></p>\n</li>\n<li><p>Update <strong>Task</strong> endpoints to create/read/update/delete <strong>Task</strong> <code>recurrence_rule</code><em><strong>.</strong></em></p>\n</li>\n<li><p>Expose <code>assigned_by_id</code> on <strong>Task</strong> endpoints.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Task Status.</strong></p>\n</li>\n<li><p>Add new endpoint: GET <strong>Task Statuses.</strong></p>\n</li>\n<li><p>Add new endpoint: POST <strong>Task Status.</strong></p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Task Status.</strong></p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Task Status.</strong></p>\n</li>\n<li><p>Add new endpoint: GET <strong>Subtask.</strong></p>\n</li>\n<li><p>Add new endpoint: GET <strong>Subtasks.</strong></p>\n</li>\n<li><p>Add new endpoint: POST <strong>Subtask.</strong></p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Subtask.</strong></p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Subtask.</strong></p>\n</li>\n<li><p>Add new endpoint: GET <strong>Comment.</strong></p>\n</li>\n<li><p>Add new endpoint: GET <strong>Comments.</strong></p>\n</li>\n<li><p>Add new endpoint: POST <strong>Comment.</strong></p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Comment.</strong></p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Comment.</strong></p>\n</li>\n</ul>\n<hr>\n<h4 id=\"3232023---1141\">3/23/2023 - 1.14.1</h4>\n<ul>\n<li>Update <strong>Tag</strong> endpoints to support attaching, detaching, and filtering by <strong>Tasks.</strong></li>\n</ul>\n<hr>\n<h4 id=\"11112022---1140\">11/11/2022 - 1.14.0</h4>\n<ul>\n<li><p>Add new endpoint: POST <strong>User</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>User</strong>.</p>\n</li>\n<li><p>Add new endpoint: DELETE <strong>User</strong>.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"1032022---1131\">10/3/2022 - 1.13.1</h4>\n<ul>\n<li><p>Expose creating <strong>Company Matters</strong> by name, passing company_name to POST <strong>Matters</strong></p>\n</li>\n<li><p>Expose creating <strong>Company Matters</strong> by passing Company ID to POST <strong>Matters</strong></p>\n</li>\n<li><p>Improve <strong>Contact</strong> deduplication (if matches on email or phone) on POST <strong>Matters</strong></p>\n</li>\n<li><p>NOTE - Any passed <strong>Contact</strong> Info (phone/email/address) for a <strong>Company Matter</strong> will be set on a found/created <strong>Contact</strong> as the <strong>Company Matter's</strong> P.o.C (primary_contact)</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"9192022---1130\">9/19/2022 - 1.13.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Company</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Companies</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Company</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Company</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Company</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Interaction</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Interactions</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Interaction</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Interaction</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Interaction</strong>.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"882022---1120\">8/8/2022 - 1.12.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Relationship Types</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Relationship Type</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Relationship Type</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Relationship Type</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Relationships</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Relationship</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Relationship</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Relationship</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Relationship</strong>.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"842022---1110\">8/4/2022 - 1.11.0</h4>\n<ul>\n<li><p>Add new endpoint: PUT <strong>File</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>File</strong>.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"7202022---1100\">7/20/2022 - 1.10.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Phone Numbers</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Phone Number</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Phone Number</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Phone Number</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Phone Number</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Email Addresses</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Email Address</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Email Address</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Email Address</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Email Address</strong>.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"6262022---190\">6/26/2022 - 1.9.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Event Type</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Event Type</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Event Type</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Event Type</strong>.</p>\n</li>\n<li><p>Improve validations, and error handling on many endpoints.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"6252022---170\">6/25/2022 - 1.7.0</h4>\n<ul>\n<li><p>Add new endpoint: PUT <strong>Address</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Address</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Address</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Upload File</strong>.</p>\n</li>\n<li><p>Improve validations, and error handling on many endpoints.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"6192022---160\">6/19/2022 - 1.6.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Event</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Custom Field</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Custom Fields</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Custom Field</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Custom Field</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Custom Field</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Practice Area</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Practice Areas</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Practice Area</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Practice Area</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Practice Area</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Note</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Note</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Note</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Note</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Note</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Address</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Addresses</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>File</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Files</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Download File</strong>.</p>\n</li>\n<li><p>Add ability to filter list GET endpoints by contact_id, matter_id, client_id, company_id on polymorphic relationships.</p>\n</li>\n<li><p>Add type specific custom field value attribute keys to Matter payload (e.g. value_string, value_int, value_datetime).</p>\n</li>\n<li><p>Update documentation.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"592022---151\">5/9/2022 - 1.5.1</h4>\n<ul>\n<li>Add support for submitting <code>Originating Attorney</code>, <code>Lead Attorney</code>, <code>Salesperson</code>, <code>Assigned Staff</code> fields on PUT/POST Prospect endpoints.</li>\n</ul>\n<hr>\n<h4 id=\"582022---150\">5/8/2022 - 1.5.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Task</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Tasks</strong>.</p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Task</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Task</strong>.</p>\n</li>\n<li><p>Add new endpoint: DEL <strong>Task</strong>.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"4272022---146\">4/27/2022 - 1.4.6</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Invoice</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Invoices</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Transaction</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Transactions</strong>.</p>\n</li>\n<li><p>Add new endpoint: POST <strong>Transaction</strong>.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"8282019---145\">8/28/2019 - 1.4.5</h4>\n<ul>\n<li><p>Add new endpoint: POST <strong>Event</strong>.</p>\n</li>\n<li><p>Add new endpoint: DELETE <strong>Event</strong></p>\n</li>\n</ul>\n<hr>\n<h4 id=\"6212019---144\">6/21/2019 - 1.4.4</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Locations</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Events</strong>.</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Event Types</strong>.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"452019---143\">4/5/2019 - 1.4.3</h4>\n<ul>\n<li><p>Fix bug with '.' included in email param for GET <strong>Contact</strong> find_by_email endpoint.</p>\n</li>\n<li><p>Fix bug with '.' included in email param for GET <strong>Matter</strong> find_by_email endpoint.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"412019---142\">4/1/2019 - 1.4.2</h4>\n<p>This update allows you to get more information about firm <strong>Pipelines</strong> or a specific <strong>Pipeline</strong>.</p>\n<ul>\n<li><p>Add new endpoint: GET <strong>Pipeline</strong> by id</p>\n</li>\n<li><p>Add new endpoint: GET <strong>Pipelines</strong>.</p>\n</li>\n<li><p>Update documentation.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"3312019---141\">3/31/2019 - 1.4.1</h4>\n<p>This update allows you to search for a <strong>Contact</strong> and adds an important field to <strong>Stages</strong>.</p>\n<ul>\n<li><p>Update GET <strong>Stages</strong> endpoint to return its <strong>Pipeline</strong> Relationship with <code>fields=pipeline</code>.</p>\n</li>\n<li><p>Add <strong>Contact</strong> Finder endpoints, they behave the same as the <strong>Matter</strong> Finder endpoints, but return a <strong>Contact</strong>.</p>\n</li>\n<li><p>Update documentation.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"3272019---140\">3/27/2019 - 1.4.0</h4>\n<p>This update adds the ability to create a <strong>Matter</strong> for an existing <strong>Contact</strong>.</p>\n<ul>\n<li><p>Add <code>contact_id</code> option to the POST <strong>Matter</strong> (Create) endpoint.</p>\n</li>\n<li><p>Add <code>match_contact_by</code> option to the POST <strong>Matter</strong> (Create) endpoint.</p>\n</li>\n</ul>\n<hr>\n<h3 id=\"custom-form-note\">CUSTOM FORM NOTE:</h3>\n<p>If you just are looking for info on submitting Custom Forms: You do not need to make a devleoper app. So disregard auth info below and use our UNAUTHENTICATED Custom Form Submit endpoint: <a href=\"https://docs.lawmatics.com/?version=latest#c34ea101-b7af-46ac-a6c7-d185495af4f4\">https://docs.lawmatics.com/?version=latest#c34ea101-b7af-46ac-a6c7-d185495af4f4</a><br>You will not need to create a developer app, and you do not need to go through the OAuth2.0 grant flow!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"26379991","collectionId":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","publishedId":"2sA3JM7gbw","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-05-10T16:48:44.000Z"},"item":[{"name":"Getting Started With Auth","item":[],"id":"cffe80c1-7a6c-4da7-a2d4-b71f6c9357f8","description":"<p>Lawmatics' REST API uses the standard OAuth2.0 token grant flow. If you are familiar with OAuth2.0, auth should be straightforward. If you are not this webpage explains OAuth2.0 concisely: <a href=\"https://\">https://aaronparecki.com/oauth-2-simplified/</a></p>\n<h4 id=\"creating-a-new-oauth2-lawmatics-developer-app\">Creating a new OAuth2 Lawmatics Developer App:</h4>\n<p>To create a new developer app, you must first register a new Lawmatics account and have developer settings granted by a support rep. You can reach out via email, phone, or the chat on our homepage.<br />While logged in to your Lawmatics account, go to <code>https://app.lawmatics.com/settings/developers</code>.</p>\n<p>You can see how it's done here: <a href=\"https://\">https://www.useloom.com/share/bfbfa6642b0b4b97aa3ef87d29817e0b</a></p>\n<p>To get credentials for programatic access. Click 'New Application' and enter the Name, Description, and Logo that your app users will see when connecting through your app. As well as the Callback URL they will be redirected back to, after they grant your app access to their account.</p>\n<hr />\n<h4 id=\"authenticating-with-your-client-app\">Authenticating with your Client App:</h4>\n<p>In your application, users click the following authorize link. They will auth their Lawmatics account, and then grant or deny your Client App to make changes to their Lawmatics account on their behalf. Then we will redirect the user back to your website along with our grant token as a query param.</p>\n<p><strong>STEP 1: Getting a Grant Code</strong></p>\n<p>Our authorize url: <code>https://app.lawmatics.com/oauth/authorize</code>.</p>\n<p>This url must pass the following Query Params:</p>\n<ul>\n<li><p><code>client_id</code>: The app id shown in developer settings.</p>\n</li>\n<li><p><code>redirect_uri</code>: The callback url that you set when creating your developer app, shown in developer settings, we will redirect the user to this url along with the grant token.</p>\n</li>\n<li><p><code>response_type</code>: This should always be set to 'code'</p>\n</li>\n<li><p><code>state</code> (optional): This can be sent by your application to maintain state between the request and the callback.</p>\n</li>\n</ul>\n<p>All together, a valid request link will look something like this:</p>\n<p><code>https://app.lawmatics.com/oauth/authorize?client_id=&amp;redirect_uri=&amp;response_type=code</code>.</p>\n<p>When the user authenticates, and grants access to your app, they will be redirected back to GET</p>\n<p><code>https://www.callbackurl.com/?code=f2da562a94981e24d610b021aedaae03eb286acab7cd855013f9165aebbeef48</code></p>\n<p>along with a <code>code</code> query param. This <code>code</code> is a short lived grant token that needs to be captured by your backend and utilized to receive the <code>access_token</code>.</p>\n<p><strong>STEP 2: Getting an Access Token</strong></p>\n<p>In your backend make a POST request to <code>https://api.lawmatics.com/oauth/token</code>.</p>\n<p>The POST body must contain the following required params:</p>\n<ul>\n<li><p><code>client_id</code>: The app key from above</p>\n</li>\n<li><p><code>client_secret</code>: The app secret from above</p>\n</li>\n<li><p><code>grant_type</code>: \"authorization_code\"</p>\n</li>\n<li><p><code>code</code>: The authorization code returned from the redirect above</p>\n</li>\n<li><p><code>redirect_uri</code>: The callback URL used in the authorization request above</p>\n</li>\n</ul>\n<p>This will create and return a non-expiring <code>access_token</code> that you should save associated with your user.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>   HTTP/1.1 200 OK\n   {\n     \"token_type\":\"bearer\",\n     \"access_token\":\"WjR8HLdo847Z8kdfUtewJpCvkRX4JYLCIF2dUUul\",\n     \"created_at\": 1539723267\n   }\n\n</code></pre><p>This token can now be passed as an <code>Authorization</code> header to authenticate all of our endpoints on behalf of that tokens user!</p>\n<p>E.g. <code>Authorization= Bearer</code></p>\n<hr />\n<h4 id=\"limitations\">Limitations</h4>\n<ul>\n<li><p>We have a 1,000 req/min per-firm rate limit on all endpoints. Exceeding this limit returns a 429 error with <code>Retry-After: 60</code> header</p>\n</li>\n<li><p>We currently do not support scopes. Once a user authenticates your app, they are giving you full CRUD access to their account.</p>\n</li>\n<li><p>We do not have a deauthorization endpoint.</p>\n</li>\n<li><p>We do not give you a refresh token. Access tokens do not expire so they are not needed.</p>\n</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1d069db3-cc83-4dc3-938f-c61de031f7e1"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"b377241d-2ed3-45c7-aab8-66ef6de44db0"}}],"_postman_id":"cffe80c1-7a6c-4da7-a2d4-b71f6c9357f8","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Param Guide","item":[{"name":"Field Selection","item":[],"id":"228f13e7-1100-498f-a672-b612d7c659bf","description":"<p>Field Selection allows you to shape the response data to only include fields that are needed for your development. A <em>field</em> is considered an association to the record, or attributes on the record itself. Field Selection can only return data one level deep (for now!).</p>\n<p>Field Selection works on every Lawmatics endpoint unless specified otherwise.</p>\n<p>A valid <code>?fields=</code> value is a comma separated list of attributes/relationships. It could like this: <code>?fields=first_name,last_name,source,custom_fields</code>. Fields are returned in the order you select them.</p>\n<p>Requests that don't include the field param will return a small set of commonly used default attributes (such as  <code>name</code>, or <code>email</code>).</p>\n<p>Associated fields response data, will only return the <code>id</code> and <code>type</code> of the associated record. This means to get more data about a relationship record, the <code>id</code> from the response must be used to query the relationship endpoint.</p>\n<h4 id=\"an-example-of-attribute-selection\">An Example of Attribute Selection:</h4>\n<p>You want to get more information about Prospect 74's related, <strong>Source</strong> data.</p>\n<p>Start by making an authenticated curl to retrieve the association data.</p>\n<p><code>curl -H \"Authorization: Bearer &lt;access_token&gt;\" -i https://api.lawmatics.com/v1/prospects/74?fields=source</code></p>\n<p>returning:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": {\n        \"id\": \"74\",\n        \"type\": \"prospect\",\n        \"attributes\": {},\n        \"relationships\": {\n            \"source\": {\n                \"data\": {\n                    \"id\": \"3\",\n                    \"type\": \"source\"\n                }\n            }\n        }\n    }\n}\n</code></pre><p>Now call <code>https://api.lawmatics.com/v1/sources/3?fields=all</code> to expose all available related attributes and relationships about the <strong>Source</strong>.</p>\n<p>It's efficient in production code to only request fields that are going to be used.</p>\n<p>Note: If you are curious to the attributes/relationships available on a record, try the <code>?fields=all</code> query param value on ANY endpoint <em>unless stated otherwise</em>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"8cdbd3fa-0273-4900-b64c-3e594b46e070"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"6b7f75cd-3209-44a2-8bc7-20520600b8e8"}}],"_postman_id":"228f13e7-1100-498f-a672-b612d7c659bf","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Pagination","item":[],"id":"8c6d20ec-d964-46ed-af96-b2ae64505ff9","description":"<p>Pagination meta information is found at the bottom of any List response.</p>\n<p>You can change pages by passing <code>?page=X</code>, where X is the page number, as a Query Param appended to the endpoint URL.</p>\n<p>E.g. to see page 3 you would pass <code>?page=3</code></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"de18c97c-474f-4fcc-b76d-5721daaa2c4e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"1feaae11-7c05-4e92-b42e-becf30ea7a7c"}}],"_postman_id":"8c6d20ec-d964-46ed-af96-b2ae64505ff9","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Sorting","item":[],"id":"390fd341-7c31-4194-a38d-7b7abbf4f71e","description":"<p>By default List responses are sorted by <code>id</code> from biggest to smallest. (descending)</p>\n<p>Customizing the sort order of the response works with Two Query Params:</p>\n<ol>\n<li><code>sort_order</code>: Can be <code>asc</code> or <code>desc</code>.</li>\n<li><code>sort_by</code></li>\n</ol>\n<p>Available <code>sort_by</code> columns are:\n<code>id, created_at, updated_at</code>\nAs well as most fields listed by the fields='all' response.</p>\n<p>If you use <code>sort_order</code> without <code>sort_by</code>, <code>sort_by</code> defaults to sort by <code>id</code>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"f691cb21-44a0-40a5-81b8-56d3db93134d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"fd52df5a-b1c2-4383-938b-4f9b26872810"}}],"_postman_id":"390fd341-7c31-4194-a38d-7b7abbf4f71e","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Filtering","item":[{"name":"Filtering Examples","item":[{"name":"Filter Matter by specific Practice Area","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects?fields=practice_area`, function (err, response) {","   pm.globals.set(\"practice_area_id\", response.json().data.find(({relationships}) => relationships?.practice_area?.data?.type == 'practice_area').relationships.practice_area.data.id);","});","",""],"type":"text/javascript","id":"d027a1b0-7007-4b9a-ba71-a8cb818805f8"}}],"id":"f88f056e-293f-4333-936e-bb895e892f40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/prospects?fields=practice_area,first_name&filter_by=practice_area_id&filter_on={{practice_area_id}}","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[{"key":"fields","value":"practice_area,first_name"},{"key":"filter_by","value":"practice_area_id"},{"key":"filter_on","value":"{{practice_area_id}}"}],"variable":[]}},"response":[{"id":"2333fa01-bd7d-4281-b917-c5f84f50c16e","name":"GET Matters of a specific Practice Area","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/prospects?fields=practice_area,first_name&filter_by=practice_area_id&filter_on=986","host":["{{host}}"],"path":["v1","prospects"],"query":[{"key":"fields","value":"practice_area,first_name"},{"key":"filter_by","value":"practice_area_id"},{"key":"filter_on","value":"986"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 07 Jan 2019 06:18:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=woUKst5L3inzYl6CcyGcHzFRJJrhX03P+y/KJB4BN1pD10+84hQN3N53kdgumoevVQvtbNZaPHuKHspEnwy4Mx1+2Pw3usjJoRIUEgDLX6sLrgOUG43abAbR0/W5; Expires=Mon, 14 Jan 2019 06:18:51 GMT; Path=/"},{"key":"ETag","value":"W/\"f226dae2807433146a1a9e8daf1b8e86\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"29855f4e-f627-4c35-b562-0e1fb16dd16c"},{"key":"X-Runtime","value":"0.015704"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"57802\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Annatest\"\n            },\n            \"relationships\": {\n                \"practice_area\": {\n                    \"data\": {\n                        \"id\": \"986\",\n                        \"type\": \"practice_area\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"55881\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Hazel\"\n            },\n            \"relationships\": {\n                \"practice_area\": {\n                    \"data\": {\n                        \"id\": \"986\",\n                        \"type\": \"practice_area\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"15396\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Anna\"\n            },\n            \"relationships\": {\n                \"practice_area\": {\n                    \"data\": {\n                        \"id\": \"986\",\n                        \"type\": \"practice_area\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 3\n    },\n    \"links\": {\n        \"self\": \"/v1/prospect?page=1\"\n    }\n}"}],"_postman_id":"f88f056e-293f-4333-936e-bb895e892f40"},{"name":"Filter for Matter Actual Value > 0","id":"d80e750c-ff1a-455c-b5ee-4c3e0c6cbe54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/prospects?fields=first_name,actual_value_cents&filter_by=actual_value_cents&filter_on=0&filter_with=>&sort_by=actual_value_cents&sort_order=asc","description":"<p>Filtering AND sorting by the actual_value_cents column.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[{"key":"fields","value":"first_name,actual_value_cents"},{"key":"filter_by","value":"actual_value_cents"},{"key":"filter_on","value":"0"},{"key":"filter_with","value":">"},{"key":"sort_by","value":"actual_value_cents"},{"key":"sort_order","value":"asc"}],"variable":[]}},"response":[{"id":"23ba6f6b-2897-44e9-b115-a8cb436aae7b","name":"GET Matters with Actual Value > 0","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/prospects?fields=first_name,actual_value_cents&filter_by=actual_value_cents&filter_on=0&filter_with=>&sort_by=actual_value_cents&sort_order=asc","host":["{{host}}"],"path":["v1","prospects"],"query":[{"key":"fields","value":"first_name,actual_value_cents"},{"key":"filter_by","value":"actual_value_cents"},{"key":"filter_on","value":"0"},{"key":"filter_with","value":">"},{"key":"sort_by","value":"actual_value_cents"},{"key":"sort_order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 07 Jan 2019 06:34:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=JUrJO5FVaErHD9wzsEl/+gFgXvSF1f+FZ+aJDG5iZmhI67L1sttFKlOy+CM+LqEfcbsgt+wGJQjVsefNbijKf2O+1/6s77L4Q91Mae/JsQyE6ajeoNPmY/lDqCeW; Expires=Mon, 14 Jan 2019 06:34:51 GMT; Path=/"},{"key":"ETag","value":"W/\"4b768337ecbaae0e6321e5f86f9d4723\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"36492370-0860-4939-a66a-ed541a981f66"},{"key":"X-Runtime","value":"0.027916"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"29\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Eddard\",\n                \"actual_value_cents\": 250000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"722\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Matt\",\n                \"actual_value_cents\": 400000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"4316\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"anan\",\n                \"actual_value_cents\": 500000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"32\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Jaime\",\n                \"actual_value_cents\": 500000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5014\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Matt\",\n                \"actual_value_cents\": 500000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"25\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Tyrion\",\n                \"actual_value_cents\": 500000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"702\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Hunter\",\n                \"actual_value_cents\": 500000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"28\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Khal\",\n                \"actual_value_cents\": 500000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"35237\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Bob\",\n                \"actual_value_cents\": 500000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"10\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Gyi\",\n                \"actual_value_cents\": 500000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"34\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Ramsay\",\n                \"actual_value_cents\": 500000\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"1856\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Stinson\",\n                \"actual_value_cents\": 500000\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 12\n    },\n    \"links\": {\n        \"self\": \"/v1/prospect?page=1\"\n    }\n}"}],"_postman_id":"d80e750c-ff1a-455c-b5ee-4c3e0c6cbe54"},{"name":"Filter by Matter Status is not PNC","id":"ce914f1b-a0d5-4a47-8b8d-370163413dbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/prospects?fields=first_name,status&filter_by=status&filter_on=pnc&filter_with=!=","description":"<p>Using the not equals (!=) filter operator.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[{"key":"fields","value":"first_name,status"},{"key":"filter_by","value":"status"},{"key":"filter_on","value":"pnc"},{"key":"filter_with","value":"!="}],"variable":[]}},"response":[{"id":"03f6275d-faaf-45de-a43e-9e6f820c7675","name":"GET Matters Filtered by Status is not lost","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/prospects?fields=first_name,status&filter_by=status&filter_on=lost&filter_with=!=\n","host":["{{host}}"],"path":["v1","prospects"],"query":[{"key":"fields","value":"first_name,status"},{"key":"filter_by","value":"status"},{"key":"filter_on","value":"lost"},{"key":"filter_with","value":"!=\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"678b03022f4c3b47a94999ed473cac26\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"b84a22b2-8343-4ad3-98ea-27cf864d1597"},{"key":"X-Runtime","value":"0.255679"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"57406\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Bob\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"29773\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Johnny\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"28428\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Bob\",\n                \"status\": \"lost\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"18025\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"John\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"16840\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Jeff\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"16614\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Tom\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"15760\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Sharon\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"15732\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Coleman\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"12524\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Joe \",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"12098\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Tana \",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"7464\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Jared\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"7441\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Chris\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5977\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"John\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5974\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Ali\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5971\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Niki\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5968\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Bud\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5966\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"wendy\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5963\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Vince\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5959\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Roey Test CLIO DEMO2\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5958\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Michelle\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5956\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Scott\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5953\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Thornton\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5950\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Roey Test CLIO DEMO\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5914\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Matt\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5842\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Kevin\",\n                \"status\": \"hired\"\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 4,\n        \"limit_per_page\": 25,\n        \"total_entries\": 84\n    },\n    \"links\": {\n        \"self\": \"/v1/prospect?page=1\",\n        \"next\": \"/v1/prospect?page=2\"\n    }\n}"}],"_postman_id":"ce914f1b-a0d5-4a47-8b8d-370163413dbf"}],"id":"f036c2cd-2ab7-4499-8b6b-7f8959d8c754","description":"<h4 id=\"matter-filtering-examples\">Matter Filtering Examples</h4>\n<blockquote>\n<p><strong>Stage</strong></p>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.lawmatics.com/v1/prospects?filter_by=stage_id&amp;filter_on=123\n</code></pre><blockquote>\n<p><strong>Case Title (exact)</strong></p>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.lawmatics.com/v1/prospects?filter_by=case_title&amp;filter_on=Sauls Wild Ride\n</code></pre><blockquote>\n<p><strong>Case Title (case sensitive fuzzy matches the end)</strong></p>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.lawmatics.com/v1/prospects?filter_by=case_title&amp;filter_on=Sauls Wi%&amp;filter_operator=like\n</code></pre><blockquote>\n<p><strong>Case Title (case insensitive fuzzy matches the start)</strong></p>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.lawmatics.com/v1/prospects?filter_by=case_title&amp;filter_on=%uls Wild Ride\n</code></pre><blockquote>\n<p><strong>Case Title (case insensitive fuzzy matches both ends)</strong></p>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.lawmatics.com/v1/prospects?filter_by=case_title&amp;filter_on=%ls Wild Ri%\n</code></pre><blockquote>\n<p><strong>Estimated Value Less Than or Equal to 1000 Dollars</strong></p>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.lawmatics.com/v1/prospects?filter_by=estimated_value_cents&amp;filter_on=10000&amp;filter_operator=&lt;=\n</code></pre><blockquote>\n<p><strong>First Name</strong></p>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.lawmatics.com/v1/prospects?filter_by=first_name&amp;filter_on=Mat%\n</code></pre>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7f545943-fccc-42a6-ac33-2fe1fbcb0b37"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ac1bbbef-816d-4e9f-9da2-881d6c77c189"}}],"_postman_id":"f036c2cd-2ab7-4499-8b6b-7f8959d8c754","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}}],"id":"7f995af9-0042-49dd-a34f-2b1a1b6e2e7c","description":"<p>By default List responses will return all records without any filters.</p>\n<p>Filtering the request works by appending these Query Params:</p>\n<ol>\n<li><code>filter_by</code> or <code>filter_field</code>: This specifies the field name to filter on.</li>\n<li><code>filter_on</code> or <code>filter_value</code>: This is the value to filter on.</li>\n<li><code>filter_with</code> or <code>filter_operator</code>: (Optional) This is the operator used to filter. (default: '=')</li>\n</ol>\n<p>The available <code>filter_by</code> columns are:</p>\n<ul>\n<li><em>Most</em> (contact us) standard fields listed in the fields='all' response.</li>\n<li>Currency attributes are by cents.</li>\n<li>Association attributes require <code>_id</code> to be appended. E.g <code>practice_area_id</code>.</li>\n</ul>\n<p>Additional Notes:</p>\n<ul>\n<li><p>If you use <code>filter_by</code> without <code>filter_on</code>, we will return an error response.</p>\n</li>\n<li><p>Valid <code>filter_operator</code>s are one of: <code>['=', '!=', &lt;=','&lt;','&gt;=','&gt;','like','ilike']</code></p>\n</li>\n<li><p>Additional valid<code>filter_operators</code> for checking presence:<code>['null', 'not_null']</code></p>\n<ul>\n<li><p>These do not require a <code>filter_value</code></p>\n</li>\n<li><p>Aliases: <code>['empty', 'present', 'blank']</code></p>\n</li>\n</ul>\n</li>\n<li><p>You do not need to have the field selected, for it to be filterable.</p>\n</li>\n<li><p>Currently only one filter is supported at a time.</p>\n</li>\n</ul>\n<p><code>like</code> and <code>ilike</code> are fuzzy String matching operators (ilike is case insensitive).<br />As a convenience <code>ilike</code> is the operator used by default when filtering on fields of String type.<br />If you are using a fuzzy matcher, you must put \"%\" on the <code>filter_value</code>, where you want the fuzzy matching to occur.</p>\n<p>Note - (Keep in mind urls must <a href=\"https://www.w3schools.com/tags/ref_urlencode.asp\">encode special characters</a>: so '%' becomes '%25')</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"f655b696-79d6-41b9-9c8e-c2727c03b3ad"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"81b1ade7-233d-47c0-91b0-e013c5b40865"}}],"_postman_id":"7f995af9-0042-49dd-a34f-2b1a1b6e2e7c","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}}],"id":"e9a9649d-8d8a-45b0-88af-e710ed928fa9","description":"<p>We currently have three possible types of Query Param options that can be included with any request to modify the results.</p>\n<ol>\n<li><strong>Field Selection</strong></li>\n<li><strong>Pagination</strong></li>\n<li><strong>Sorting</strong></li>\n<li><strong>Filtering</strong></li>\n</ol>\n<p>There are two types of Queries,</p>\n<ol>\n<li>Queries that return a Single Object. These only have access to <strong>Field Selection</strong> Query Params.</li>\n<li>Queries that return a List of Objects. These have access to all Query Params.</li>\n</ol>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"4a3f0958-92f4-41bf-8780-c0f73cb090e6"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"8565b7e9-707b-4787-89c0-e8734fb3a01a"}}],"_postman_id":"e9a9649d-8d8a-45b0-88af-e710ed928fa9","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Addresses","item":[{"name":"Address","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is Successful\", function () {","    pm.response.to.be.ok","});"],"type":"text/javascript","id":"a05ff0a6-edeb-481d-bddd-ee4bac80ca37"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/addresses`, function (err, response) {","   pm.globals.set(\"address_id\", response.json().data[0].id);","});","",""],"type":"text/javascript","id":"54420100-1e05-42fe-8beb-759e9e39ac42"}}],"id":"89450986-3cc6-4609-ab3a-a5910ac6edc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/addresses/:address_id","description":"<p>A specific Stage by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","addresses",":address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"dc93b7b8-f473-4a76-a9e2-90a985cfff40","type":"any","value":"{{address_id}}","key":"address_id"}]}},"response":[{"id":"926494be-feb7-4a5c-864d-05bfffed8b70","name":"GET Address","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/addresses/:address_id","host":["{{host}}"],"path":["v1","addresses",":address_id"],"variable":[{"key":"address_id","value":"101"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"023420c04dcd3571464273ca50735bf3\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"b0a05a6a-501e-42a7-8913-85ba28f4962e"},{"key":"X-Runtime","value":"0.035958"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"101\",\n        \"type\": \"address\",\n        \"attributes\": {\n            \"label\": \"Miami St\",\n            \"street\": \"1234 Miami\",\n            \"street2\": null,\n            \"city\": \"Miami\",\n            \"state\": \"FL\",\n            \"zipcode\": \"12345\",\n            \"country\": \"United States\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"89450986-3cc6-4609-ab3a-a5910ac6edc9"},{"name":"Addresses","event":[{"listen":"test","script":{"exec":["pm.test(\"The 'data' field is an array and is not empty\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData.data).to.be.an('array');","    pm.expect(responseData.data).to.have.lengthOf.at.least(1, \"Array should not be empty\");","});","","","pm.test(\"Each item in the 'data' array has the required fields\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData.data).to.be.an('array').that.is.not.empty;","","    responseData.data.forEach(function (item) {","        pm.expect(item).to.have.property('id');","        pm.expect(item).to.have.property('type');","        pm.expect(item).to.have.property('attributes');","        pm.expect(item).to.have.property('relationships');","    });","});","","","pm.test(\"Each item in the 'data' array has a non-empty 'id' field\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData.data).to.be.an('array').that.is.not.empty;","","    responseData.data.forEach(function (item) {","        pm.expect(item.id).to.exist.and.to.be.a('string').and.to.have.lengthOf.at.least(1, \"Value should not be empty\");","    });","});","",""],"type":"text/javascript","id":"4ce3cb26-826c-4e7a-af58-9fcc1fc11a11"}}],"id":"03d19b5f-e2ff-47e8-ba56-1fef28d9975e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/addresses","description":"<p>A <strong>paginated</strong> list of all <strong>Addresses</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","addresses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d77386c4-afcc-4faf-885b-d3feb667d92b","name":"GET Addresses","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/addresses?fields=all","host":["{{host}}"],"path":["v1","addresses"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"0a0f4ad0870405d6fe1372cb5833b19d\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"5518c191-a0f5-4017-b5f1-feda9343b800"},{"key":"X-Runtime","value":"0.077484"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"105\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"1234 Fake Street\",\n                \"street2\": null,\n                \"city\": null,\n                \"state\": null,\n                \"zipcode\": null,\n                \"country\": null,\n                \"full_address\": \"1234 Fake Street\",\n                \"full_street\": \"1234 Fake Street\",\n                \"second_half\": \"\",\n                \"city_state_zip\": \"\",\n                \"created_at\": \"2022-03-29T22:03:55.343-07:00\",\n                \"updated_at\": \"2022-03-29T22:03:55.343-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"127\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"104\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"test\",\n                \"street\": \"\",\n                \"street2\": null,\n                \"city\": null,\n                \"state\": null,\n                \"zipcode\": null,\n                \"country\": null,\n                \"full_address\": \"\",\n                \"full_street\": \"\",\n                \"second_half\": \"\",\n                \"city_state_zip\": \"\",\n                \"created_at\": \"2022-02-09T13:56:33.557-08:00\",\n                \"updated_at\": \"2022-02-09T13:56:33.557-08:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"116\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"103\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"123\",\n                \"street2\": null,\n                \"city\": null,\n                \"state\": null,\n                \"zipcode\": null,\n                \"country\": null,\n                \"full_address\": \"123\",\n                \"full_street\": \"123\",\n                \"second_half\": \"\",\n                \"city_state_zip\": \"\",\n                \"created_at\": \"2022-02-09T13:56:33.548-08:00\",\n                \"updated_at\": \"2022-02-09T13:56:33.548-08:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"116\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"102\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"1234 fake street\",\n                \"street2\": \"suite 2\",\n                \"city\": \"San Diego\",\n                \"state\": \"CA\",\n                \"zipcode\": \"92104\",\n                \"country\": \"United States\",\n                \"full_address\": \"1234 fake street, suite 2, San Diego, CA 92104, United States\",\n                \"full_street\": \"1234 fake street, suite 2\",\n                \"second_half\": \"San Diego, CA 92104, United States\",\n                \"city_state_zip\": \"San Diego, CA 92104\",\n                \"created_at\": \"2021-11-08T14:06:20.224-08:00\",\n                \"updated_at\": \"2021-11-08T14:06:20.224-08:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"101\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Miami St\",\n                \"street\": \"1234 Miami\",\n                \"street2\": null,\n                \"city\": \"Miami\",\n                \"state\": \"FL\",\n                \"zipcode\": \"12345\",\n                \"country\": \"United States\",\n                \"full_address\": \"1234 Miami, Miami, FL 12345, United States\",\n                \"full_street\": \"1234 Miami\",\n                \"second_half\": \"Miami, FL 12345, United States\",\n                \"city_state_zip\": \"Miami, FL 12345\",\n                \"created_at\": \"2021-10-31T19:59:35.424-07:00\",\n                \"updated_at\": \"2021-10-31T19:59:35.424-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": [\n                        {\n                            \"id\": \"1\",\n                            \"type\": \"location\"\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"100\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"99 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 1\",\n                \"state\": \"CA\",\n                \"zipcode\": \"90219\",\n                \"country\": \"United States\",\n                \"full_address\": \"99 Fake Rd, City 1, CA 90219, United States\",\n                \"full_street\": \"99 Fake Rd\",\n                \"second_half\": \"City 1, CA 90219, United States\",\n                \"city_state_zip\": \"City 1, CA 90219\",\n                \"created_at\": \"2021-10-26T15:47:48.382-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:48.382-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"100\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"99\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"98 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 3\",\n                \"state\": \"IL\",\n                \"zipcode\": \"55126\",\n                \"country\": \"United States\",\n                \"full_address\": \"98 Fake Rd, City 3, IL 55126, United States\",\n                \"full_street\": \"98 Fake Rd\",\n                \"second_half\": \"City 3, IL 55126, United States\",\n                \"city_state_zip\": \"City 3, IL 55126\",\n                \"created_at\": \"2021-10-26T15:47:48.119-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:48.119-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"99\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"98\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"97 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 2\",\n                \"state\": \"IL\",\n                \"zipcode\": \"60633\",\n                \"country\": \"United States\",\n                \"full_address\": \"97 Fake Rd, City 2, IL 60633, United States\",\n                \"full_street\": \"97 Fake Rd\",\n                \"second_half\": \"City 2, IL 60633, United States\",\n                \"city_state_zip\": \"City 2, IL 60633\",\n                \"created_at\": \"2021-10-26T15:47:47.890-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:47.890-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"98\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"97\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"96 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 2\",\n                \"state\": \"IL\",\n                \"zipcode\": \"60633\",\n                \"country\": \"United States\",\n                \"full_address\": \"96 Fake Rd, City 2, IL 60633, United States\",\n                \"full_street\": \"96 Fake Rd\",\n                \"second_half\": \"City 2, IL 60633, United States\",\n                \"city_state_zip\": \"City 2, IL 60633\",\n                \"created_at\": \"2021-10-26T15:47:47.639-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:47.639-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"97\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"96\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"95 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 3\",\n                \"state\": \"CA\",\n                \"zipcode\": \"55126\",\n                \"country\": \"United States\",\n                \"full_address\": \"95 Fake Rd, City 3, CA 55126, United States\",\n                \"full_street\": \"95 Fake Rd\",\n                \"second_half\": \"City 3, CA 55126, United States\",\n                \"city_state_zip\": \"City 3, CA 55126\",\n                \"created_at\": \"2021-10-26T15:47:46.875-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:46.875-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"96\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"95\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"94 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 3\",\n                \"state\": \"CA\",\n                \"zipcode\": \"90219\",\n                \"country\": \"United States\",\n                \"full_address\": \"94 Fake Rd, City 3, CA 90219, United States\",\n                \"full_street\": \"94 Fake Rd\",\n                \"second_half\": \"City 3, CA 90219, United States\",\n                \"city_state_zip\": \"City 3, CA 90219\",\n                \"created_at\": \"2021-10-26T15:47:46.595-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:46.595-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"95\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"94\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"93 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 3\",\n                \"state\": \"CA\",\n                \"zipcode\": \"55126\",\n                \"country\": \"United States\",\n                \"full_address\": \"93 Fake Rd, City 3, CA 55126, United States\",\n                \"full_street\": \"93 Fake Rd\",\n                \"second_half\": \"City 3, CA 55126, United States\",\n                \"city_state_zip\": \"City 3, CA 55126\",\n                \"created_at\": \"2021-10-26T15:47:46.277-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:46.277-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"94\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"93\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"92 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 1\",\n                \"state\": \"MN\",\n                \"zipcode\": \"60633\",\n                \"country\": \"United States\",\n                \"full_address\": \"92 Fake Rd, City 1, MN 60633, United States\",\n                \"full_street\": \"92 Fake Rd\",\n                \"second_half\": \"City 1, MN 60633, United States\",\n                \"city_state_zip\": \"City 1, MN 60633\",\n                \"created_at\": \"2021-10-26T15:47:45.923-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:45.923-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"93\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"92\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"91 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 1\",\n                \"state\": \"MN\",\n                \"zipcode\": \"60633\",\n                \"country\": \"United States\",\n                \"full_address\": \"91 Fake Rd, City 1, MN 60633, United States\",\n                \"full_street\": \"91 Fake Rd\",\n                \"second_half\": \"City 1, MN 60633, United States\",\n                \"city_state_zip\": \"City 1, MN 60633\",\n                \"created_at\": \"2021-10-26T15:47:45.619-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:45.619-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"92\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"91\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"90 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 1\",\n                \"state\": \"CA\",\n                \"zipcode\": \"60633\",\n                \"country\": \"United States\",\n                \"full_address\": \"90 Fake Rd, City 1, CA 60633, United States\",\n                \"full_street\": \"90 Fake Rd\",\n                \"second_half\": \"City 1, CA 60633, United States\",\n                \"city_state_zip\": \"City 1, CA 60633\",\n                \"created_at\": \"2021-10-26T15:47:44.989-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:44.989-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"91\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"90\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"89 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 1\",\n                \"state\": \"MN\",\n                \"zipcode\": \"60633\",\n                \"country\": \"United States\",\n                \"full_address\": \"89 Fake Rd, City 1, MN 60633, United States\",\n                \"full_street\": \"89 Fake Rd\",\n                \"second_half\": \"City 1, MN 60633, United States\",\n                \"city_state_zip\": \"City 1, MN 60633\",\n                \"created_at\": \"2021-10-26T15:47:44.732-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:44.732-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"90\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"89\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"88 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 1\",\n                \"state\": \"MN\",\n                \"zipcode\": \"90219\",\n                \"country\": \"United States\",\n                \"full_address\": \"88 Fake Rd, City 1, MN 90219, United States\",\n                \"full_street\": \"88 Fake Rd\",\n                \"second_half\": \"City 1, MN 90219, United States\",\n                \"city_state_zip\": \"City 1, MN 90219\",\n                \"created_at\": \"2021-10-26T15:47:44.432-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:44.432-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"89\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"88\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"87 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 1\",\n                \"state\": \"MN\",\n                \"zipcode\": \"55126\",\n                \"country\": \"United States\",\n                \"full_address\": \"87 Fake Rd, City 1, MN 55126, United States\",\n                \"full_street\": \"87 Fake Rd\",\n                \"second_half\": \"City 1, MN 55126, United States\",\n                \"city_state_zip\": \"City 1, MN 55126\",\n                \"created_at\": \"2021-10-26T15:47:44.158-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:44.158-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"88\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"87\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"86 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 3\",\n                \"state\": \"MN\",\n                \"zipcode\": \"60633\",\n                \"country\": \"United States\",\n                \"full_address\": \"86 Fake Rd, City 3, MN 60633, United States\",\n                \"full_street\": \"86 Fake Rd\",\n                \"second_half\": \"City 3, MN 60633, United States\",\n                \"city_state_zip\": \"City 3, MN 60633\",\n                \"created_at\": \"2021-10-26T15:47:43.410-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:43.410-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"87\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"86\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"85 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 1\",\n                \"state\": \"MN\",\n                \"zipcode\": \"90219\",\n                \"country\": \"United States\",\n                \"full_address\": \"85 Fake Rd, City 1, MN 90219, United States\",\n                \"full_street\": \"85 Fake Rd\",\n                \"second_half\": \"City 1, MN 90219, United States\",\n                \"city_state_zip\": \"City 1, MN 90219\",\n                \"created_at\": \"2021-10-26T15:47:43.068-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:43.068-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"86\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"85\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"84 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 3\",\n                \"state\": \"IL\",\n                \"zipcode\": \"55126\",\n                \"country\": \"United States\",\n                \"full_address\": \"84 Fake Rd, City 3, IL 55126, United States\",\n                \"full_street\": \"84 Fake Rd\",\n                \"second_half\": \"City 3, IL 55126, United States\",\n                \"city_state_zip\": \"City 3, IL 55126\",\n                \"created_at\": \"2021-10-26T15:47:42.519-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:42.519-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"85\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"84\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"83 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 3\",\n                \"state\": \"CA\",\n                \"zipcode\": \"90219\",\n                \"country\": \"United States\",\n                \"full_address\": \"83 Fake Rd, City 3, CA 90219, United States\",\n                \"full_street\": \"83 Fake Rd\",\n                \"second_half\": \"City 3, CA 90219, United States\",\n                \"city_state_zip\": \"City 3, CA 90219\",\n                \"created_at\": \"2021-10-26T15:47:42.294-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:42.294-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"84\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"83\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"82 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 3\",\n                \"state\": \"MN\",\n                \"zipcode\": \"55126\",\n                \"country\": \"United States\",\n                \"full_address\": \"82 Fake Rd, City 3, MN 55126, United States\",\n                \"full_street\": \"82 Fake Rd\",\n                \"second_half\": \"City 3, MN 55126, United States\",\n                \"city_state_zip\": \"City 3, MN 55126\",\n                \"created_at\": \"2021-10-26T15:47:42.069-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:42.069-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"83\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"82\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"81 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 3\",\n                \"state\": \"CA\",\n                \"zipcode\": \"60633\",\n                \"country\": \"United States\",\n                \"full_address\": \"81 Fake Rd, City 3, CA 60633, United States\",\n                \"full_street\": \"81 Fake Rd\",\n                \"second_half\": \"City 3, CA 60633, United States\",\n                \"city_state_zip\": \"City 3, CA 60633\",\n                \"created_at\": \"2021-10-26T15:47:41.832-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:41.832-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"82\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        },\n        {\n            \"id\": \"81\",\n            \"type\": \"address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"street\": \"80 Fake Rd\",\n                \"street2\": null,\n                \"city\": \"City 3\",\n                \"state\": \"CA\",\n                \"zipcode\": \"60633\",\n                \"country\": \"United States\",\n                \"full_address\": \"80 Fake Rd, City 3, CA 60633, United States\",\n                \"full_street\": \"80 Fake Rd\",\n                \"second_half\": \"City 3, CA 60633, United States\",\n                \"city_state_zip\": \"City 3, CA 60633\",\n                \"created_at\": \"2021-10-26T15:47:41.082-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:41.082-07:00\"\n            },\n            \"relationships\": {\n                \"addressable\": {\n                    \"data\": {\n                        \"id\": \"81\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"locations\": {\n                    \"data\": []\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 5,\n        \"limit_per_page\": 25,\n        \"total_entries\": 105\n    },\n    \"links\": {\n        \"self\": \"/v1/addresses?page=1\",\n        \"next\": \"/v1/addresses?page=2\"\n    }\n}"}],"_postman_id":"03d19b5f-e2ff-47e8-ba56-1fef28d9975e"},{"name":"Create Address","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"5563ce52-6f35-4aa7-a3ff-50fa382fa2c3"}},{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"38a7d87d-05e4-4c25-989f-33f6fbdea1e5"}}],"id":"eab776b3-bf2c-4433-8c2f-3a07614c3918","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Home\",\n\t\"street\": \"1234 Fake Street\",\n\t\"street2\": \"Apt 1\",\n\t\"city\": \"Fake Town\",\n\t\"state\": \"CA\",\n\t\"zipcode\": \"92104\",\n    \"addressable_type\": \"Firm\"\n}"},"url":"{{host}}/v1/addresses?fields=all","description":"<p>Create a new <strong>Address</strong></p>\n<p><strong>Required Fields</strong>: addressable, label, street</p>\n<p><strong>addressable_type</strong>: Prospect, Contact, Company, or Firm that the Address belongs to.</p>\n<p><strong>addressable_id:</strong> Id of Record. Firm type doesn't need an ID passed and it will be ignored.</p>\n<p>Note - Setting the <strong>Address</strong> through a <strong>Prospect</strong> (Matter) will set the address on the Prospects' <strong>Contact</strong>/<strong>Company</strong>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","addresses"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"2c22e94f-93db-408d-b645-bdbca7b6da19","name":"POST Create Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Primary\",\n\t\"street\": \"1234 Fake Street\",\n\t\"street2\": \"Apt 1\",\n\t\"city\": \"Fake Town\",\n\t\"state\": \"CA\",\n\t\"zipcode\": \"92104\",\n    \"addressable_type\": \"Contact\",\n    \"addressable_id\": 1\n}"},"url":{"raw":"{{host}}/v1/addresses?fields=all","host":["{{host}}"],"path":["v1","addresses"],"query":[{"key":"fields","value":"all"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"ae60d8f5275bb778c4ea46c208030c60\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"d21b50e5-1553-4ae2-8ae5-c562cd2cac99"},{"key":"X-Runtime","value":"0.676577"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"122\",\n        \"type\": \"address\",\n        \"attributes\": {\n            \"label\": \"Primary\",\n            \"street\": \"1234 Fake Street\",\n            \"street2\": \"Apt 1\",\n            \"city\": \"Fake Town\",\n            \"state\": \"CA\",\n            \"zipcode\": \"92104\",\n            \"country\": null,\n            \"full_address\": \"1234 Fake Street, Apt 1, Fake Town, CA 92104\",\n            \"full_street\": \"1234 Fake Street, Apt 1\",\n            \"second_half\": \"Fake Town, CA 92104\",\n            \"city_state_zip\": \"Fake Town, CA 92104\",\n            \"created_at\": \"2022-06-25T18:22:46.177-07:00\",\n            \"updated_at\": \"2022-06-25T18:22:46.177-07:00\"\n        },\n        \"relationships\": {\n            \"addressable\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"locations\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"eab776b3-bf2c-4433-8c2f-3a07614c3918"},{"name":"Update Address","event":[{"listen":"test","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/addresses`, function (err, response) {","   pm.globals.set(\"address_id\", response.json().data[0].id);","});","",""],"type":"text/javascript","id":"b6e67a9f-c1df-4be5-a65a-05891a711d5d"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/addresses`, function (err, response) {","   pm.globals.set(\"address_id\", response.json().data[0].id);","});","",""],"type":"text/javascript","id":"df9c8658-9a49-407d-a0ea-80e1b4742be3"}}],"id":"360f3020-ca30-4d8f-a3a5-66922d8d902f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Home\",\n\t\"street\": \"5555 Real Street\",\n\t\"street2\": \"Apt 77\",\n\t\"city\": \"Real Town\",\n\t\"state\": \"CA\",\n    \"country\": \"United States\"\n}"},"url":"{{host}}/v1/addresses/:address_id","description":"<p>Updates an <strong>Address</strong> by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","addresses",":address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"7320e95d-d35d-4e92-829c-851a98004a0d","type":"any","value":"{{address_id}}","key":"address_id"}]}},"response":[{"id":"2b653d48-e2b8-4cd8-923e-9b5283966927","name":"PUT Update Address","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Home\",\n\t\"street\": \"5555 Real Street\",\n\t\"street2\": \"Apt 77\",\n\t\"city\": \"Real Town\",\n\t\"state\": \"CA\",\n    \"country\": \"United States\"\n}"},"url":{"raw":"{{host}}/v1/addresses/:address_id","host":["{{host}}"],"path":["v1","addresses",":address_id"],"variable":[{"key":"address_id","value":"{{created_address_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"44b5053f4fd8c88b7605836ec306912c\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"df23f2a1-5c50-420c-98bd-6ddd3377e6d7"},{"key":"X-Runtime","value":"0.031811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"122\",\n        \"type\": \"address\",\n        \"attributes\": {\n            \"label\": \"Home\",\n            \"street\": \"5555 Real Street\",\n            \"street2\": \"Apt 77\",\n            \"city\": \"Real Town\",\n            \"state\": \"CA\",\n            \"zipcode\": \"92104\",\n            \"country\": \"United States\"\n        },\n        \"relationships\": {\n            \"addressable\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"360f3020-ca30-4d8f-a3a5-66922d8d902f"},{"name":"Delete Address","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"79ba4415-b354-497c-867a-87e71530fd91"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/addresses`, function (err, response) {","   pm.globals.set(\"address_id\", response.json().data[0].id);","});","",""],"type":"text/javascript","id":"1063228c-1b96-4f89-8801-35a785b73a7f"}}],"id":"b98adb6f-6966-4d22-9341-6ab6e94c428f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/addresses/:address_id","description":"<p>Delete an <strong>Address</strong></p>\n<p><strong>address_id</strong>: ID of the <strong>Address</strong> to delete</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","addresses",":address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"668213e9-cd57-40d8-bf52-134e14d21ca6","type":"any","value":"{{address_id}}","key":"address_id"}]}},"response":[{"id":"3538b781-a054-41f6-9f44-531b2ec18252","name":"DELETE Delete Address","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/v1/addresses/:address_id","host":["{{host}}"],"path":["v1","addresses",":address_id"],"variable":[{"key":"address_id","value":"{{created_address_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"44b5053f4fd8c88b7605836ec306912c\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"82606b63-03c1-4a52-9077-b5173b32567a"},{"key":"X-Runtime","value":"0.131162"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"122\",\n        \"type\": \"address\",\n        \"attributes\": {\n            \"label\": \"Home\",\n            \"street\": \"5555 Real Street\",\n            \"street2\": \"Apt 77\",\n            \"city\": \"Real Town\",\n            \"state\": \"CA\",\n            \"zipcode\": \"92104\",\n            \"country\": \"United States\"\n        },\n        \"relationships\": {\n            \"addressable\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"b98adb6f-6966-4d22-9341-6ab6e94c428f"}],"id":"36a5d065-e72a-459c-8954-db31d8309730","description":"<p>An <strong>Address</strong> belongs to a <strong>Firm,</strong> a <strong>Contact,</strong> or <strong>Company</strong>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"084f0b80-c857-4fa6-9655-01766fe75758"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response time is less than 400ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1400);","});"],"id":"09ef3c52-7358-4aa5-b100-394f9ce832dc"}}],"_postman_id":"36a5d065-e72a-459c-8954-db31d8309730","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Contacts","item":[{"name":"Contact Finders","item":[{"name":"Find Contact By Phone Number","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {","   pm.globals.set(\"phone\", response.json().data.find(({attributes}) => attributes.phone).attributes.phone);","});","",""],"type":"text/javascript","id":"543a7440-fbb1-4fcb-95ff-e776382019f0"}}],"id":"a9dcf5d1-e663-4819-94ad-2533234d3ee5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/contacts/find_by_phone/:phone_number","description":"<p>Fuzzy find a specific Contact by Phone Number.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","contacts","find_by_phone",":phone_number"],"host":["{{host}}"],"query":[],"variable":[{"id":"ef4b4ae3-83dd-45ac-80a2-5fbb69fc66d5","type":"any","value":"{{phone}}","key":"phone_number"}]}},"response":[{"id":"49bafd39-d039-4d61-8c6e-d4ea567c30a6","name":"GET Find Contact By Phone Number","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/contacts/find_by_phone/:phone_number","host":["{{host}}"],"path":["v1","contacts","find_by_phone",":phone_number"],"variable":[{"key":"phone_number","value":"123-123-1234","description":"Any valid phone number. We strip all non digits when matching, and try with and without the leading 1 for US country codes."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"2c39f9a428133a72066b09542476807c\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"c0c5e1b5-f97e-45e3-b73a-2678a9d63a6a"},{"key":"X-Runtime","value":"0.099506"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"31556\",\n        \"type\": \"contact\",\n        \"attributes\": {\n            \"first_name\": \"test\",\n            \"last_name\": \"test\",\n            \"email\": \"test@nice.com\",\n            \"phone\": \"123-123-1234\",\n            \"created_at\": \"2018-09-06T19:17:17.786-07:00\",\n            \"updated_at\": \"2018-09-10T16:31:58.836-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"a9dcf5d1-e663-4819-94ad-2533234d3ee5"},{"name":"Find Contact By Email Address","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"a6e4412b-bdd8-4427-8349-cdd2e9deb11b"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {","   pm.globals.set(\"email\", response.json().data.find(({attributes}) => attributes.email).attributes.email);","});","",""],"type":"text/javascript","id":"7f4f7ccc-0df9-4398-8266-8d5eaa7be794"}}],"id":"6a3a2ebf-aa8b-423d-92c3-3020c02d780f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/contacts/find_by_email/:email_address","description":"<p>Fuzzy find a specific Contact by Email Address.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","contacts","find_by_email",":email_address"],"host":["{{host}}"],"query":[],"variable":[{"id":"5daccaf9-148a-43ca-ae6d-2e6d72fe69cd","type":"any","value":"{{email}}","key":"email_address"}]}},"response":[{"id":"d88c4d61-a7c6-4ba9-8fff-a7e3b5a2348d","name":"GET Find Contact By Email Address","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/contacts/find_by_email/:email_address","host":["{{host}}"],"path":["v1","contacts","find_by_email",":email_address"],"variable":[{"key":"email_address","value":"roey@lawmatics.com","description":"A valid email address"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"c7858f17e14dc4760cade86b56c07dfd\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8a1ed438-70c6-4a92-829e-e890b0c72ac8"},{"key":"X-Runtime","value":"0.042054"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"225\",\n        \"type\": \"contact\",\n        \"attributes\": {\n            \"first_name\": \"Existing\",\n            \"last_name\": \"Contact\",\n            \"email\": \"roey@lawmatics.com\",\n            \"phone\": \"520-730-1042\",\n            \"created_at\": \"2018-07-17T10:32:50.009-07:00\",\n            \"updated_at\": \"2019-03-28T20:17:41.198-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"6a3a2ebf-aa8b-423d-92c3-3020c02d780f"},{"name":"Find Contact By Name","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {","   pm.globals.set(\"name\", response.json().data.find(({attributes}) => attributes.first_name).attributes.first_name);","});",""],"type":"text/javascript","id":"eed813fe-aa8b-4499-ab18-cd967ca0039e"}}],"id":"e5e8578e-4716-4dcb-93bd-007ee585a99b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/contacts/find_by_name/:name","description":"<p>Fuzzy find (case-insensitive) a specific Contact by their Name. You can pass either '{first_name} {last_name}' or simply '{first_name}'</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","contacts","find_by_name",":name"],"host":["{{host}}"],"query":[],"variable":[{"id":"6c973df4-ebb3-4f60-82dd-80bbce5d5615","type":"any","value":"{{name}}","key":"name"}]}},"response":[{"id":"0a25438d-74ba-4d77-a0e5-cef12167ab50","name":"GET Find Contact By Name","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/contacts/find_by_name/:name","host":["{{host}}"],"path":["v1","contacts","find_by_name",":name"],"variable":[{"key":"name","value":"Roey Cha","description":"We return the closest match. For better results include the PNC Contact's last name."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"ce63cb4c164ee6f6333c8966160abce5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"bce5d906-1677-4c02-b0d3-30a19dc6a77c"},{"key":"X-Runtime","value":"0.031852"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"76746\",\n        \"type\": \"contact\",\n        \"attributes\": {\n            \"first_name\": \"Roey\",\n            \"last_name\": \"Chasman\",\n            \"email\": null,\n            \"phone\": null,\n            \"created_at\": \"2019-02-04T12:38:11.574-08:00\",\n            \"updated_at\": \"2019-02-04T12:38:11.574-08:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"e5e8578e-4716-4dcb-93bd-007ee585a99b"}],"id":"db1f4363-3cbf-4a69-bd9f-e30f85459d1c","description":"<p>The following endpoints are fuzzy find endpoints, returning the first <strong>Contact</strong> which matches the passed values.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"52338df2-f2a1-4d04-ab33-68be4f62bed8"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response has a body with an id\", function () {","    const body = pm.response.json()","    pm.expect(body.data).have.property('id');","});"],"id":"1ce4fa83-4e7b-466b-931f-83ddedd0d739"}}],"_postman_id":"db1f4363-3cbf-4a69-bd9f-e30f85459d1c","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Custom Contact Types","item":[{"name":"Custom Contact Type","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"761d9509-734b-4cda-8d76-0ae8c6f1ea87"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_contact_types`, function (err, response) {","   pm.globals.set(\"custom_contact_type_id\", response.json().data[0].id);","});","",""],"type":"text/javascript","id":"b03beedd-33fc-474c-97c4-beb479b721a9"}}],"id":"6e7a994f-52ff-4f04-8068-bb3090700246","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/custom_contact_types/:custom_contact_type_id","description":"<p>A specific <strong>Custom Contact Type</strong> by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_contact_types",":custom_contact_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"b0e02206-2691-4ea5-9a8d-2d2415e3c1ae","type":"any","value":"{{custom_contact_type_id}}","key":"custom_contact_type_id"}]}},"response":[{"id":"2c7864ad-3868-4796-a4a1-a0c5dfd70e4d","name":"GET Custom Contact Type","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/custom_contact_types/:custom_contact_type_id","host":["{{host}}"],"path":["v1","custom_contact_types",":custom_contact_type_id"],"variable":[{"key":"custom_contact_type_id","value":"{{created_custom_contact_type_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"6419d5b290338c46d77912ca86189e6a\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"ff4ea2b1-56d0-479d-819d-d0daeae226eb"},{"key":"X-Runtime","value":"0.015453"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"188"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"15\",\n        \"type\": \"custom_contact_type\",\n        \"attributes\": {\n            \"name\": \"Judge\",\n            \"created_at\": \"2023-09-21T15:52:24.996-07:00\",\n            \"updated_at\": \"2023-09-21T15:52:24.996-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"6e7a994f-52ff-4f04-8068-bb3090700246"},{"name":"Custom Contact Types","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"160a27ad-8bc6-4ec0-9b07-21737b8a936e"}}],"id":"0f98ad87-fa2f-431d-9cb4-88e82986e57f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/custom_contact_types","description":"<p>A <strong>paginated</strong> list of all <strong>Custom Contact Type</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_contact_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"74c00968-2e6c-4fb9-b192-5206fae9a033","name":"GET Custom Contact Types","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/custom_contact_types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"a510a07dbebfd1353e6ae4425a3e4772\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"92092cbb-6e58-4e87-bc35-baaade4232a2"},{"key":"X-Runtime","value":"0.063210"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"1028"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"15\",\n            \"type\": \"custom_contact_type\",\n            \"attributes\": {\n                \"name\": \"Judge\",\n                \"created_at\": \"2023-09-21T15:31:26.656-07:00\",\n                \"updated_at\": \"2023-09-21T15:31:26.656-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"12\",\n            \"type\": \"custom_contact_type\",\n            \"attributes\": {\n                \"name\": \"test2\",\n                \"created_at\": \"2023-09-21T11:00:26.002-07:00\",\n                \"updated_at\": \"2023-09-21T11:00:26.002-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"10\",\n            \"type\": \"custom_contact_type\",\n            \"attributes\": {\n                \"name\": \"test\",\n                \"created_at\": \"2023-09-05T10:50:34.586-07:00\",\n                \"updated_at\": \"2023-09-21T11:00:04.446-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"7\",\n            \"type\": \"custom_contact_type\",\n            \"attributes\": {\n                \"name\": \"Cool Person\",\n                \"created_at\": \"2023-08-10T21:13:53.027-07:00\",\n                \"updated_at\": \"2023-08-10T21:13:53.027-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"custom_contact_type\",\n            \"attributes\": {\n                \"name\": \"Client\",\n                \"created_at\": \"2023-07-21T14:56:35.146-07:00\",\n                \"updated_at\": \"2023-07-21T14:56:35.146-07:00\"\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 5\n    },\n    \"links\": {\n        \"self\": \"/v1/custom_contact_types?page=1\"\n    }\n}"},{"id":"8ea8b97c-3335-4556-8eef-f7ef61de3e80","name":"GET Filtered Custom Contact Types","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/custom_contact_types?filter_field=name&filter_value=Judge","host":["{{host}}"],"path":["v1","custom_contact_types"],"query":[{"key":"filter_field","value":"name"},{"key":"filter_value","value":"Judge"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"ddfc113837780bc8ed6d0071897d2f36\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"3e364b85-4261-4e44-9d6d-5093077457b5"},{"key":"X-Runtime","value":"0.034148"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"304"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"15\",\n            \"type\": \"custom_contact_type\",\n            \"attributes\": {\n                \"name\": \"Judge\",\n                \"created_at\": \"2023-09-21T15:31:26.656-07:00\",\n                \"updated_at\": \"2023-09-21T15:31:26.656-07:00\"\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 1\n    },\n    \"links\": {\n        \"self\": \"/v1/custom_contact_types?page=1\"\n    }\n}"}],"_postman_id":"0f98ad87-fa2f-431d-9cb4-88e82986e57f"},{"name":"Create Custom Contact Type","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"a98b9fd9-1506-41bb-9e6e-3d9692256993"}}],"id":"766dfc2d-7d08-452b-a696-70f1316a15a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Judge-4b2ec645-53c9-483c-968c-53a560ea3b7e\"\n}"},"url":"{{host}}/v1/custom_contact_types","description":"<p>Create a new <strong>Custom Contact Type</strong></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_contact_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"45551b1e-0d23-4b0e-8954-a3fecb3d95be","name":"POST Create Custom Contact Type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Judge\"\n}"},"url":"{{host}}/v1/custom_contact_types"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"a3ffdc119e1a583e3cd88108cd6ec6f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"085f3447-7a67-4b90-8009-193f04fca3c6"},{"key":"X-Runtime","value":"0.082289"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"188"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"15\",\n        \"type\": \"custom_contact_type\",\n        \"attributes\": {\n            \"name\": \"Judge\",\n            \"created_at\": \"2023-09-21T15:49:44.773-07:00\",\n            \"updated_at\": \"2023-09-21T15:49:44.773-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"766dfc2d-7d08-452b-a696-70f1316a15a6"},{"name":"Update Custom Contact Type","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"6818c44e-1c5a-4373-a0f7-fdda1bd6a1d8"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_contact_types`, function (err, response) {","   pm.globals.set(\"custom_contact_type_id\", response.json().data[0].id);","});","",""],"type":"text/javascript","id":"83b97137-4180-4bd9-bf80-4023ad3e4e30"}}],"id":"41c38644-d920-461e-b1e4-9fc6f41b4b25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Pudge\"\n}"},"url":"{{host}}/v1/custom_contact_types/:contact_id","description":"<p>Update an existing <strong>Custom Contact Type</strong> by ID.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_contact_types",":contact_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"2aed45e3-d184-4b22-a2c9-0dcc9c19bbd4","type":"any","value":"{{custom_contact_type_id}}","key":"contact_id"}]}},"response":[{"id":"24a17d36-2af1-404c-9f5a-de761483ef8c","name":"PUT/PATCH Update Custom Contact Type","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Pudge\"\n}"},"url":{"raw":"{{host}}/v1/custom_contact_types/:contact_id","host":["{{host}}"],"path":["v1","custom_contact_types",":contact_id"],"variable":[{"key":"contact_id","value":"{{created_custom_contact_type_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"3b69e485f229cbc308ff8201e89906a5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"5f0a558e-d6e9-42bc-ae9e-1eaa0f55f8ce"},{"key":"X-Runtime","value":"0.568729"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"188"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"15\",\n        \"type\": \"custom_contact_type\",\n        \"attributes\": {\n            \"name\": \"Pudge\",\n            \"created_at\": \"2023-09-21T11:00:26.002-07:00\",\n            \"updated_at\": \"2023-09-21T15:43:39.161-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"41c38644-d920-461e-b1e4-9fc6f41b4b25"},{"name":"Delete Custom Contact Type","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"74c87fa5-ff90-4589-b422-8072dc589164"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_contact_types`, function (err, response) {","   pm.globals.set(\"custom_contact_type_id\", response.json().data[0].id);","});","",""],"type":"text/javascript","id":"594cf099-8bc9-4ab3-ae66-b081dc8bd265"}}],"id":"090bec10-8e98-419e-a757-36d2948699ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/v1/custom_contact_types/:custom_contact_type_id","description":"<p>Delete an existing <strong>Custom Contact Type</strong> by ID.</p>\n<p>Warning: This is irreversible!</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_contact_types",":custom_contact_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"559fce2a-4a2d-4b61-a6c4-16b59f05995f","type":"any","value":"{{custom_contact_type_id}}","key":"custom_contact_type_id"}]}},"response":[{"id":"ce1e76cd-68ae-49e9-80ea-2632f7238e0c","name":"DELETE Delete Custom Contact Type","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/v1/custom_contact_types/:custom_contact_type_id","host":["{{host}}"],"path":["v1","custom_contact_types",":custom_contact_type_id"],"variable":[{"key":"custom_contact_type_id","value":"{{created_custom_contact_type_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"6d3195f2011612866c61a6e23836ae08\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"ca392d30-bdbb-425c-90fd-ca4c6232ab26"},{"key":"X-Runtime","value":"0.187469"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"188"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"15\",\n        \"type\": \"custom_contact_type\",\n        \"attributes\": {\n            \"name\": \"Pudge\",\n            \"created_at\": \"2023-09-21T15:49:44.773-07:00\",\n            \"updated_at\": \"2023-09-21T15:52:02.257-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"090bec10-8e98-419e-a757-36d2948699ba"}],"id":"ccd1ca2a-554e-4540-840e-4c486d1c02ed","description":"<p>A <strong>Custom Contact Type</strong> is a user defined type to assign to a contact.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b4376128-8964-47aa-8e32-970a1caf812a"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"fd644110-6c3c-4a5a-bb39-cd973770b687"}}],"_postman_id":"ccd1ca2a-554e-4540-840e-4c486d1c02ed","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Contact","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"31fefe65-018d-4f3a-9306-aa0a6235e0d8"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {","   pm.globals.set(\"contact_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"76ab614b-580d-43aa-9b5b-1ebbf7e50035"}}],"id":"abc836dc-5926-4fa0-96bf-c807d380cb2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/contacts/:contact_id","description":"<p>A specific <strong>Contact</strong> by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","contacts",":contact_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"51fc8ee5-dd53-4a58-9178-6611e4241a79","type":"any","value":"{{contact_id}}","key":"contact_id"}]}},"response":[{"id":"29a0bd23-2914-4be5-9b6d-122005820c06","name":"GET Contact","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/contacts/25?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","contacts","25"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:17:54 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"9a5e3ed91e6e5d00d45387d62cceadcb\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Set-Cookie","value":"AWSALB=Vp1aULYsA4a0Cy5Q92e5QZUyrcKtueIGcMD8pP6JHiVmEJWApIFr/xsE7Hdf+ZawAtkc6oI1TmqC5p3ECU0Sk9GeSOc6lhHT7NVpYg8bHuCq/FZzbYaIPyWhcgps; Expires=Wed, 24 Oct 2018 01:17:54 GMT; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"e5c0b032-6c5c-47f9-aa3e-4c64cb95e980","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.024865","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.6563598.1539106472","key":"_ga"},{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.156666708.1539709908","key":"_gid"},{"expires":"Invalid Date","httpOnly":false,"domain":"api.lawmatics.com","path":"/","secure":false,"value":"Vp1aULYsA4a0Cy5Q92e5QZUyrcKtueIGcMD8pP6JHiVmEJWApIFr/xsE7Hdf+ZawAtkc6oI1TmqC5p3ECU0Sk9GeSOc6lhHT7NVpYg8bHuCq/FZzbYaIPyWhcgps","key":"AWSALB"}],"responseTime":null,"body":"{\"data\":{\"id\":\"25\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Gregor\",\"last_name\":\"Clegane\",\"email\":\"gregor@clegane.com\",\"email_address\":\"gregor@clegane.com\",\"phone\":null,\"phone_number\":null,\"birthdate\":null,\"name_prefix\":null,\"middle_name\":null,\"name_suffix\":null,\"informal_name\":null,\"employer\":null,\"occupation\":null,\"citizenship\":null,\"bio\":null,\"title\":null,\"hobbies\":null,\"social_security\":null,\"age\":null,\"driver_license\":null,\"gender\":null,\"marital_status\":null,\"timezone\":null,\"tracking_source_id\":null,\"date_of_last_contact\":\"2018-03-07T13:38:58.288-08:00\",\"days_since_last_contact\":223,\"photo_url\":\"https://lm.lawmatics.com/attachments/0f060d4bbd3d8a2488c3f0b3352ce3ec0c9b6f3c/store/a49240eaa2d0bb7355b82b010b07a2c8f72c4d514b70616198d522266d48/photo\",\"custom_fields\":[],\"contact_type\":\"PNC\",\"created_at\":\"2018-03-07T13:38:58.288-08:00\",\"updated_at\":\"2018-03-13T08:09:50.696-07:00\"},\"relationships\":{\"prospects\":{\"data\":[{\"id\":\"21\",\"type\":\"prospect\"}]},\"created_by\":{\"data\":{\"id\":\"15\",\"type\":\"user\"}},\"client\":{\"data\":null},\"company\":{\"data\":null}}}}"}],"_postman_id":"abc836dc-5926-4fa0-96bf-c807d380cb2f"},{"name":"Contacts","event":[{"listen":"test","script":{"exec":["pm.test(\"The response contains the meta object\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData.meta).to.exist.and.to.be.an('object');","});","","pm.test(\"The response contains the links object with self, next fields\", function () {","    const responseData = pm.response.json();","","    pm.expect(responseData).to.be.an('object');","    pm.expect(responseData.links).to.exist.and.to.be.an('object');","    pm.expect(responseData.links.self).to.exist.and.to.be.a('string');","    pm.expect(responseData.links.next).to.exist.and.to.be.a('string');","});","",""],"type":"text/javascript","id":"6974b9c5-2fa8-464f-b00b-f5182cc93965"}}],"id":"555909b6-ebb0-4b8b-9e56-1dceb1abb7b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/contacts","description":"<p>A <strong>paginated</strong> list of all <strong>Contacts</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","contacts"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"eb2f580c-4fe7-4f49-a46f-56247552a203","name":"GET Contacts","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/contacts?page=6","protocol":"https","host":["api","lawmatics","com"],"path":["v1","contacts"],"query":[{"key":"page","value":"6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"c631d7df222996f8c0e3e2a1ce126a4d\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"4518a758-bd86-4d3a-bee1-3e51e2b2e0c2","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.162715","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\"data\":[{\"id\":\"136\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Linda\",\"last_name\":\"Baker\",\"email\":\"Linda35@gmail.com\",\"created_at\":\"2018-03-20T15:12:57.664-07:00\",\"updated_at\":\"2018-07-16T15:12:57.669-07:00\"},\"relationships\":{}},{\"id\":\"135\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"James\",\"last_name\":\"Lee\",\"email\":\"James34@gmail.com\",\"created_at\":\"2018-04-18T15:12:57.598-07:00\",\"updated_at\":\"2018-07-16T15:12:57.605-07:00\"},\"relationships\":{}},{\"id\":\"134\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Barbara\",\"last_name\":\"Martiniez\",\"email\":\"Barbara33@gmail.com\",\"created_at\":\"2018-06-21T15:12:57.524-07:00\",\"updated_at\":\"2018-07-16T15:12:57.529-07:00\"},\"relationships\":{}},{\"id\":\"133\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Charles\",\"last_name\":\"Williams\",\"email\":\"Charles32@gmail.com\",\"created_at\":\"2018-03-19T15:12:57.445-07:00\",\"updated_at\":\"2018-07-16T15:12:57.450-07:00\"},\"relationships\":{}},{\"id\":\"132\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Joseph\",\"last_name\":\"Moore\",\"email\":\"Joseph31@gmail.com\",\"created_at\":\"2018-06-28T15:12:57.380-07:00\",\"updated_at\":\"2018-07-16T15:12:57.384-07:00\"},\"relationships\":{}},{\"id\":\"131\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Joseph\",\"last_name\":\"Rodriguez\",\"email\":\"Joseph30@gmail.com\",\"created_at\":\"2018-06-10T15:12:57.310-07:00\",\"updated_at\":\"2018-07-16T15:12:57.317-07:00\"},\"relationships\":{}},{\"id\":\"130\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Susan\",\"last_name\":\"Smith\",\"email\":\"Susan29@gmail.com\",\"created_at\":\"2018-04-16T15:12:57.232-07:00\",\"updated_at\":\"2018-07-16T15:12:57.238-07:00\"},\"relationships\":{}},{\"id\":\"129\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Richard\",\"last_name\":\"Miller\",\"email\":\"Richard28@gmail.com\",\"created_at\":\"2018-06-23T15:12:57.164-07:00\",\"updated_at\":\"2018-07-16T15:12:57.169-07:00\"},\"relationships\":{}},{\"id\":\"128\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Barbara\",\"last_name\":\"Moore\",\"email\":\"Barbara27@gmail.com\",\"created_at\":\"2018-05-01T15:12:57.102-07:00\",\"updated_at\":\"2018-07-16T15:12:57.107-07:00\"},\"relationships\":{}},{\"id\":\"127\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"William\",\"last_name\":\"Walker\",\"email\":\"William26@gmail.com\",\"created_at\":\"2018-04-04T15:12:57.039-07:00\",\"updated_at\":\"2018-07-16T15:12:57.044-07:00\"},\"relationships\":{}},{\"id\":\"126\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Patricia\",\"last_name\":\"Jones\",\"email\":\"Patricia25@gmail.com\",\"created_at\":\"2018-02-14T14:12:56.978-08:00\",\"updated_at\":\"2018-07-16T15:12:56.983-07:00\"},\"relationships\":{}},{\"id\":\"125\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Sarah\",\"last_name\":\"Wilson\",\"email\":\"Sarah24@gmail.com\",\"created_at\":\"2018-04-09T15:12:56.918-07:00\",\"updated_at\":\"2018-07-16T15:12:56.923-07:00\"},\"relationships\":{}},{\"id\":\"124\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Susan\",\"last_name\":\"Davis\",\"email\":\"Susan23@gmail.com\",\"created_at\":\"2018-01-26T14:12:56.855-08:00\",\"updated_at\":\"2018-07-16T15:12:56.860-07:00\"},\"relationships\":{}},{\"id\":\"123\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Richard\",\"last_name\":\"Taylor\",\"email\":\"Richard22@gmail.com\",\"created_at\":\"2018-05-02T15:12:56.790-07:00\",\"updated_at\":\"2018-07-16T15:12:56.796-07:00\"},\"relationships\":{}},{\"id\":\"122\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Karen\",\"last_name\":\"Lee\",\"email\":\"Karen21@gmail.com\",\"created_at\":\"2018-07-04T15:12:56.724-07:00\",\"updated_at\":\"2018-07-16T15:12:56.729-07:00\"},\"relationships\":{}},{\"id\":\"121\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"David\",\"last_name\":\"Martiniez\",\"email\":\"David20@gmail.com\",\"created_at\":\"2018-04-22T15:12:56.658-07:00\",\"updated_at\":\"2018-07-16T15:12:56.664-07:00\"},\"relationships\":{}},{\"id\":\"120\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Patricia\",\"last_name\":\"Martiniez\",\"email\":\"Patricia19@gmail.com\",\"created_at\":\"2018-01-28T14:12:56.585-08:00\",\"updated_at\":\"2018-07-16T15:12:56.591-07:00\"},\"relationships\":{}},{\"id\":\"119\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Susan\",\"last_name\":\"Lee\",\"email\":\"Susan18@gmail.com\",\"created_at\":\"2018-05-18T15:12:56.504-07:00\",\"updated_at\":\"2018-07-16T15:12:56.509-07:00\"},\"relationships\":{}},{\"id\":\"118\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Joseph\",\"last_name\":\"Lee\",\"email\":\"Joseph17@gmail.com\",\"created_at\":\"2018-02-01T14:12:56.442-08:00\",\"updated_at\":\"2018-07-16T15:12:56.446-07:00\"},\"relationships\":{}},{\"id\":\"117\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Joseph\",\"last_name\":\"Baker\",\"email\":\"Joseph16@gmail.com\",\"created_at\":\"2018-02-19T14:12:56.384-08:00\",\"updated_at\":\"2018-07-16T15:12:56.388-07:00\"},\"relationships\":{}},{\"id\":\"116\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Lisa\",\"last_name\":\"Johnson\",\"email\":\"Lisa15@gmail.com\",\"created_at\":\"2018-04-08T15:12:56.327-07:00\",\"updated_at\":\"2018-07-16T15:12:56.331-07:00\"},\"relationships\":{}},{\"id\":\"115\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Sarah\",\"last_name\":\"Brown\",\"email\":\"Sarah14@gmail.com\",\"created_at\":\"2018-06-06T15:12:56.269-07:00\",\"updated_at\":\"2018-07-16T15:12:56.273-07:00\"},\"relationships\":{}},{\"id\":\"114\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Robert\",\"last_name\":\"Jackson\",\"email\":\"Robert13@gmail.com\",\"created_at\":\"2018-05-08T15:12:56.212-07:00\",\"updated_at\":\"2018-07-16T15:12:56.216-07:00\"},\"relationships\":{}},{\"id\":\"113\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Sarah\",\"last_name\":\"Taylor\",\"email\":\"Sarah12@gmail.com\",\"created_at\":\"2018-04-03T15:12:56.151-07:00\",\"updated_at\":\"2018-07-16T15:12:56.156-07:00\"},\"relationships\":{}},{\"id\":\"112\",\"type\":\"contact\",\"attributes\":{\"first_name\":\"Lisa\",\"last_name\":\"Johnson\",\"email\":\"Lisa11@gmail.com\",\"created_at\":\"2018-03-01T14:12:56.087-08:00\",\"updated_at\":\"2018-07-16T15:12:56.092-07:00\"},\"relationships\":{}}],\"meta\":{\"total_pages\":11,\"limit_per_page\":25,\"total_entries\":261},\"links\":{\"self\":\"/v1/contact?page=6\",\"next\":\"/v1/contact?page=7\",\"prev\":\"/v1/contact?page=5\"}}"}],"_postman_id":"555909b6-ebb0-4b8b-9e56-1dceb1abb7b7"},{"name":"Create Contact","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"12930cb8-04c9-4b35-aa77-bf7425efe1a7"}}],"id":"714b9275-b769-4195-9954-2095479b9993","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Lawmatics\",\n\t\"last_name\": \"Example\",\n\t\"email\": \"fake@lawmatics.com\",\n\t\"phone\": \"123-123-1234\",\n\t\"notes\": [\n\t\t{\n\t\t\t\"name\": \"Example Note\",\n\t\t\t\"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\"\n\t\t}\n\t]\n}"},"url":"{{host}}/v1/contacts","description":"<p>Create a new <strong>Contact</strong></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","contacts"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"a13d1886-ca76-4376-8d4e-d21ae1792f6a","name":"POST Create Contact","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Lawmatics\",\n\t\"last_name\": \"Example\",\n\t\"email\": \"roey@lawmatics.com\",\n\t\"phone\": \"123-123-1234\",\n\t\"notes\": [\n\t\t{\n\t\t\t\"name\": \"Example Note\",\n\t\t\t\"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\"\n\t\t}\n\t],\n\t\"custom_fields\": [\n\t\t{\n\t\t\t\"id\": \"4788\",\n\t\t\t\"value\": \"Contact String\"\n\t\t}\n\t]\n}"},"url":{"raw":"{{host}}/v1/contacts?fields=first_name,last_name,email,phone,notes,custom_fields","host":["{{host}}"],"path":["v1","contacts"],"query":[{"key":"fields","value":"first_name,last_name,email,phone,notes,custom_fields"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"b28049e487612c8f29de21b3e5cf2de7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"dc49466f-3f25-41d9-b6de-1a51eaea7c50"},{"key":"X-Runtime","value":"3.136885"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"161257\",\n        \"type\": \"contact\",\n        \"attributes\": {\n            \"first_name\": \"Lawmatics\",\n            \"last_name\": \"Example\",\n            \"email\": \"roey@lawmatics.com\",\n            \"phone\": \"123-123-1234\",\n            \"custom_fields\": [\n                {\n                    \"id\": 4788,\n                    \"name\": \"text\",\n                    \"field_type\": \"string\",\n                    \"value\": \"Contact String\",\n                    \"formatted_value\": \"Contact String\"\n                },\n                {\n                    \"id\": 4788,\n                    \"name\": \"text\",\n                    \"field_type\": \"string\",\n                    \"value\": \"Contact String\",\n                    \"formatted_value\": \"Contact String\"\n                }\n            ]\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"714b9275-b769-4195-9954-2095479b9993"},{"name":"Update Contact","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"c45af65d-d2dd-4b97-a9d0-fe1432ea8a43"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {","   pm.globals.set(\"contact_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"0f13d951-777e-41e7-b980-2c7652185429"}}],"id":"4734312c-854c-46c7-b8f9-962f775f1ab2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Lawmatics\",\n\t\"last_name\": \"ExampleChanged\",\n\t\"email\": \"roey+changed@lawmatics.com\",\n    \"phone\": \"555-555-5555\",\n\t\"notes\": [\n\t\t{\n\t\t\t\"name\": \"Cool Note\",\n\t\t\t\"body\": \"This is a long form sweet new note\"\n\t\t}\n\t]\n}"},"url":"{{host}}/v1/contacts/:contact_id","description":"<p>Update an existing <strong>Contact</strong> by ID.</p>\n<p>Passing Custom Field id and value, will set the custom field value on the <strong>Contact</strong>, and overwrite any existing value. Passing null as the value will clear it out.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","contacts",":contact_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"38b10f99-15a1-4f21-8484-021b2666aa45","type":"any","value":"{{contact_id}}","key":"contact_id"}]}},"response":[{"id":"7b56a1a4-2b17-4f5c-ae5c-4bbd8791c39d","name":"PUT/PATCH Update Contact","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Lawmatics\",\n\t\"last_name\": \"ExampleChanged\",\n\t\"email\": \"roey+changed@lawmatics.com\",\n\t\"notes\": [\n\t\t{\n\t\t\t\"name\": \"Cool Note\",\n\t\t\t\"body\": \"This is a long form sweet new note\"\n\t\t}\n\t],\n\t\"custom_fields\": [\n\t\t{\n\t\t\t\"id\": \"4788\",\n\t\t\t\"value\": \"Changed String\"\n\t\t}\n\t]\n}"},"url":{"raw":"{{host}}/v1/contacts/:contact_id?fields=first_name,last_name,email,custom_fields","host":["{{host}}"],"path":["v1","contacts",":contact_id"],"query":[{"key":"fields","value":"first_name,last_name,email,custom_fields"}],"variable":[{"key":"contact_id","value":"{{created_contact_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"afbb91d5edf97a58abe75580aa43791e\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"c3957d17-d6f8-4d01-b61f-88014f8db63b"},{"key":"X-Runtime","value":"0.129751"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"161260\",\n        \"type\": \"contact\",\n        \"attributes\": {\n            \"first_name\": \"Lawmatics\",\n            \"last_name\": \"ExampleChanged\",\n            \"email\": \"roey+changed@lawmatics.com\",\n            \"custom_fields\": [\n                {\n                    \"id\": 4788,\n                    \"name\": \"text\",\n                    \"field_type\": \"string\",\n                    \"value\": \"Changed String\",\n                    \"formatted_value\": \"Changed String\"\n                },\n                {\n                    \"id\": 4788,\n                    \"name\": \"text\",\n                    \"field_type\": \"string\",\n                    \"value\": \"Changed String\",\n                    \"formatted_value\": \"Changed String\"\n                }\n            ]\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"4734312c-854c-46c7-b8f9-962f775f1ab2"},{"name":"Delete Contact","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"24ce754c-fdff-459d-a7c6-c39882551cdf"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {","   pm.globals.set(\"contact_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"05319d72-0ca8-486a-a7a5-5e7a447507c2"}}],"id":"8afcc09d-8601-4e01-8f97-7ba062cdc01b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/v1/contacts/:contact_id","description":"<p>Delete an existing <strong>Contact</strong> by ID.</p>\n<p>Warning: This is irreversible!</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","contacts",":contact_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"da3c0d3f-5c59-44ad-b6c2-9efdff80c435","type":"any","value":"{{contact_id}}","key":"contact_id"}]}},"response":[{"id":"cfa3ce3f-227b-4c67-bb4d-51d299b774e8","name":"DELETE Delete Contact","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/v1/contacts/:contact_id","host":["{{host}}"],"path":["v1","contacts",":contact_id"],"variable":[{"key":"contact_id","value":"{{created_contact_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"6130edb8504e2ebcb1d36942b89efd93\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"341ca96c-65d4-4265-bbbf-180e35799530"},{"key":"X-Runtime","value":"2.989432"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"161260\",\n        \"type\": \"contact\",\n        \"attributes\": {\n            \"first_name\": \"Lawmatics\",\n            \"last_name\": \"ExampleChanged\",\n            \"email\": null,\n            \"phone\": null,\n            \"created_at\": \"2021-08-27T15:36:02.920-07:00\",\n            \"updated_at\": \"2021-08-27T15:40:57.045-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"8afcc09d-8601-4e01-8f97-7ba062cdc01b"}],"id":"7ff2ca2e-5b28-4415-9bb6-45030420047d","description":"<p>A <strong>Contact</strong> can be thought of as a collection of data about a \"Person\".</p>\n<p>A <strong>Contact</strong> record is the base for all <em>Contactables</em> (<strong>Matters</strong>, <strong>Clients</strong>, and <strong>Companies</strong>).</p>\n<p>Since <strong>Contact</strong> data reflects a person, and is a base record, it is shared via any <em>Contactable</em> associated with the <strong>Contact</strong>.</p>\n<hr />\n<p>For Example:</p>\n<p>You begin talks with an existing client into opening a new case. In Lawmatics, you would create a <strong>Matter</strong> selecting this <strong>Contact</strong> as the base.</p>\n<p>If you update the email address on this <strong>Matter</strong>. It actually modifies the <strong>Matter</strong>'s associated <strong>Contact</strong>. Thus, the updated email address, will be shown when you view the <strong>Contact</strong> directly. It will also show on any <strong>Client</strong>, <strong>Company</strong> with it as it's Primary <strong>Contact</strong>, or any other hired <strong>Matter</strong>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b1689b2f-fbbe-4b6e-a046-4c88618aa8c3"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ffc47c3d-ed50-4fd4-af92-4552dbaee522"}}],"_postman_id":"7ff2ca2e-5b28-4415-9bb6-45030420047d","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Companies","item":[{"name":"Company Finders","item":[{"name":"Find Company By Phone Number","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {","   pm.globals.set(\"phone_number\", response.json().data.find(({attributes}) => attributes.phone_number).attributes.phone_number","   .replace('.', '')","   );","});","",""],"type":"text/javascript","id":"53c7a257-0326-4ec5-bbf2-52ac240246fb"}}],"id":"49f8d13b-ad7e-481d-9553-e0078c222e79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/companies/find_by_phone/:phone_number","description":"<p>Fuzzy find a specific <strong>Company</strong> by <strong>Phone Number</strong>. Will look for the <strong>Company</strong> <strong>Phone Number</strong>, then fallback to search though associated <strong>Contacts</strong>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","companies","find_by_phone",":phone_number"],"host":["{{host}}"],"query":[],"variable":[{"id":"e45fcc80-023d-4578-bfc4-5be9a1e7c9f6","description":{"content":"<p>Any valid phone number. We strip all non digits when matching, and try with and without the leading 1 for US country codes.</p>\n","type":"text/plain"},"type":"any","value":"{{phone_number}}","key":"phone_number"}]}},"response":[{"id":"93353f92-4ae6-4a75-9771-2255f287d26a","name":"GET Find Company By Phone Number","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/companies/find_by_phone/:phone_number","host":["{{host}}"],"path":["v1","companies","find_by_phone",":phone_number"],"variable":[{"key":"phone_number","value":"707-986-0756","description":"Any valid phone number. We strip all non digits when matching, and try with and without the leading 1 for US country codes."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"0096fb0bd4bca933b7f3bd8fac84ab0c\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8b9ce38d-cd7c-4d46-b9d7-8e285f975285"},{"key":"X-Runtime","value":"0.753325"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"421"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"type\": \"company\",\n        \"attributes\": {\n            \"name\": \"Lawmatics\",\n            \"email\": \"roey+lame@lawmatics.com\",\n            \"address\": null,\n            \"city\": null,\n            \"state\": null,\n            \"zipcode\": null,\n            \"country\": null,\n            \"addresses\": [],\n            \"phone_number\": \"(707) 986-0756\",\n            \"created_at\": \"2023-07-24T17:49:13.738-07:00\",\n            \"updated_at\": \"2023-07-28T15:00:40.321-07:00\"\n        },\n        \"relationships\": {\n            \"addresses\": {\n                \"data\": []\n            },\n            \"emails\": {\n                \"data\": []\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"user\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"49f8d13b-ad7e-481d-9553-e0078c222e79"},{"name":"Find Company By Email Address","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"a2cb2197-f1a5-4ee5-8ebf-8a9b3095be52"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {","   pm.globals.set(\"email_address\", response.json().data.find(({attributes}) => attributes.email).attributes.email);","});","",""],"type":"text/javascript","id":"342d86a7-ad90-43c7-8426-3bfc88377855"}}],"id":"38b7b535-fb5a-40ce-a366-1d4f7c77af54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/companies/find_by_email/:email_address","description":"<p>Fuzzy find a specific <strong>Company</strong> by <strong>Email Address</strong>. Will look for the <strong>Company</strong> <strong>Email Address</strong>, then fallback to search though associated <strong>Contacts</strong>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","companies","find_by_email",":email_address"],"host":["{{host}}"],"query":[],"variable":[{"id":"672ce562-d681-404a-9d71-1451589d52d5","description":{"content":"<p>A valid email address</p>\n","type":"text/plain"},"type":"any","value":"{{email_address}}","key":"email_address"}]}},"response":[{"id":"2465f48f-4569-4da9-b2ea-d24c472d1bfa","name":"GET Find Company By Email Address","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/companies/find_by_email/:email_address","host":["{{host}}"],"path":["v1","companies","find_by_email",":email_address"],"variable":[{"key":"email_address","value":"help@lawmatics.com","description":"A valid email address"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"27af6a35438707e6d34a8ff314bf8561\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"0e5d92be-c2e3-49d9-a818-3ebbbee00dff"},{"key":"X-Runtime","value":"0.729296"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"885"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"2\",\n        \"type\": \"company\",\n        \"attributes\": {\n            \"name\": \"Nike\",\n            \"email\": \"roey+lame@lawmatics.com\",\n            \"address\": \"4250 Executive Square, Suite 101, La Jolla, CA 92130, United States\",\n            \"city\": \"La Jolla\",\n            \"state\": \"CA\",\n            \"zipcode\": \"92130\",\n            \"country\": \"United States\",\n            \"addresses\": [\n                {\n                    \"id\": 2,\n                    \"street\": \"4250 Executive Square\",\n                    \"street2\": \"Suite 101\",\n                    \"city\": \"La Jolla\",\n                    \"state\": \"CA\",\n                    \"zipcode\": \"92130\",\n                    \"country\": \"United States\",\n                    \"created_at\": \"2023-08-23T16:16:49.043-07:00\",\n                    \"updated_at\": \"2023-08-23T16:16:49.043-07:00\",\n                    \"label\": \"Primary\",\n                    \"addressable_type\": \"Company\",\n                    \"addressable_id\": 2,\n                    \"firm_id\": 2,\n                    \"deleted_at\": null\n                }\n            ],\n            \"phone_number\": \"(707) 986-0756\",\n            \"created_at\": \"2023-08-23T16:16:48.974-07:00\",\n            \"updated_at\": \"2023-09-15T15:14:25.499-07:00\"\n        },\n        \"relationships\": {\n            \"addresses\": {\n                \"data\": [\n                    {\n                        \"id\": \"2\",\n                        \"type\": \"address\"\n                    }\n                ]\n            },\n            \"emails\": {\n                \"data\": [\n                    {\n                        \"id\": \"3\",\n                        \"type\": \"email_address\"\n                    }\n                ]\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"user\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"38b7b535-fb5a-40ce-a366-1d4f7c77af54"},{"name":"Find Company By Name","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {","   pm.globals.set(\"name\", response.json().data.find(({attributes}) => attributes.name).attributes.name);","});","",""],"type":"text/javascript","id":"f14d167c-9fd4-402b-9ed4-3e34d902807f"}}],"id":"39fd5669-a5e3-406e-8885-aad59cbb585c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/companies/find_by_name/:name","description":"<p>Fuzzy find (case-insensitive) a specific <strong>Company</strong> by Name</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","companies","find_by_name",":name"],"host":["{{host}}"],"query":[],"variable":[{"id":"922dfb4f-8d36-409e-a8c9-d0e8284b701c","description":{"content":"<p>We return the closest match.</p>\n","type":"text/plain"},"type":"any","value":"{{name}}","key":"name"}]}},"response":[{"id":"7c6147ad-b80f-4026-b678-f58f2fcc993d","name":"GET Find Company By Name","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/companies/find_by_name/:name","host":["{{host}}"],"path":["v1","companies","find_by_name",":name"],"variable":[{"key":"name","value":"Nike","description":"We return the closest match."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"27af6a35438707e6d34a8ff314bf8561\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a63a5803-fa8e-4919-9c86-8eec95ff4670"},{"key":"X-Runtime","value":"0.137311"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"885"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"2\",\n        \"type\": \"company\",\n        \"attributes\": {\n            \"name\": \"Nike\",\n            \"email\": \"roey+lame@lawmatics.com\",\n            \"address\": \"4250 Executive Square, Suite 101, La Jolla, CA 92130, United States\",\n            \"city\": \"La Jolla\",\n            \"state\": \"CA\",\n            \"zipcode\": \"92130\",\n            \"country\": \"United States\",\n            \"addresses\": [\n                {\n                    \"id\": 2,\n                    \"street\": \"4250 Executive Square\",\n                    \"street2\": \"Suite 101\",\n                    \"city\": \"La Jolla\",\n                    \"state\": \"CA\",\n                    \"zipcode\": \"92130\",\n                    \"country\": \"United States\",\n                    \"created_at\": \"2023-08-23T16:16:49.043-07:00\",\n                    \"updated_at\": \"2023-08-23T16:16:49.043-07:00\",\n                    \"label\": \"Primary\",\n                    \"addressable_type\": \"Company\",\n                    \"addressable_id\": 2,\n                    \"firm_id\": 2,\n                    \"deleted_at\": null\n                }\n            ],\n            \"phone_number\": \"(707) 986-0756\",\n            \"created_at\": \"2023-08-23T16:16:48.974-07:00\",\n            \"updated_at\": \"2023-09-15T15:14:25.499-07:00\"\n        },\n        \"relationships\": {\n            \"addresses\": {\n                \"data\": [\n                    {\n                        \"id\": \"2\",\n                        \"type\": \"address\"\n                    }\n                ]\n            },\n            \"emails\": {\n                \"data\": [\n                    {\n                        \"id\": \"3\",\n                        \"type\": \"email_address\"\n                    }\n                ]\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"user\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"39fd5669-a5e3-406e-8885-aad59cbb585c"}],"id":"1b7913a3-aba5-4ab9-95a9-450866f0cd3e","description":"<p>The following endpoints are fuzzy find endpoints, returning the first <strong>Contact</strong> which matches the passed values.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b555df7c-407f-4929-9dd8-3105d401d72b"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response has a body with an id\", function () {","    const body = pm.response.json()","    pm.expect(body.data).have.property('id');","});"],"id":"9263844e-7722-48b6-ac98-63705d059629"}}],"_postman_id":"1b7913a3-aba5-4ab9-95a9-450866f0cd3e","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Company","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"f9117546-e8e0-4836-bbd8-a88e72d538c7"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {","   pm.globals.set(\"company_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"5e7b0c7e-aa75-4e19-a641-443a1e4b73f3"}}],"id":"79609d30-c41f-4239-ad7f-3c5fd4e9c79d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/companies/:company_id","description":"<p>A specific <strong>Company</strong> by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","companies",":company_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"24ad25bd-5f43-48f8-b474-cce19b44080c","type":"any","value":"{{company_id}}","key":"company_id"}]}},"response":[{"id":"0a7bb4d5-9038-4311-8ef6-620a0fa29284","name":"GET Company","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/companies/:company_id","host":["{{host}}"],"path":["v1","companies",":company_id"],"variable":[{"key":"company_id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"cad0cb3648845df20aad6ff4d94610a5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"c76881d4-b4c3-40ce-923a-a7a770d351b3"},{"key":"X-Runtime","value":"0.056953"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"2\",\n        \"type\": \"company\",\n        \"attributes\": {\n            \"name\": \"Company 3\",\n            \"email\": \"company@limited.com\",\n            \"address\": \"Street Av, New York, NY 123456, United States\",\n            \"city\": \"New York\",\n            \"state\": \"NY\",\n            \"zipcode\": \"123456\",\n            \"country\": \"United States\",\n            \"addresses\": [\n                {\n                    \"id\": 133,\n                    \"street\": \"Street Av\",\n                    \"street2\": null,\n                    \"city\": \"New York\",\n                    \"state\": \"NY\",\n                    \"zipcode\": \"123456\",\n                    \"country\": \"United States\",\n                    \"created_at\": \"2022-08-11T11:29:33.157-07:00\",\n                    \"updated_at\": \"2022-08-11T11:29:33.157-07:00\",\n                    \"label\": \"Primary\",\n                    \"addressable_type\": \"Company\",\n                    \"addressable_id\": 2,\n                    \"firm_id\": 2,\n                    \"deleted_at\": null\n                }\n            ],\n            \"phone_number\": \"555 555 555\",\n            \"created_at\": \"2022-07-28T08:46:47.470-07:00\",\n            \"updated_at\": \"2022-08-11T11:29:33.529-07:00\"\n        },\n        \"relationships\": {\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"23\",\n                    \"type\": \"user\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"79609d30-c41f-4239-ad7f-3c5fd4e9c79d"},{"name":"Companies","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"06d137c9-c2e8-45d3-9f23-f228d798546b"}}],"id":"e0031048-6a02-49c7-9b56-3613414c9d35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/companies","description":"<p>A <strong>paginated</strong> list of all <strong>Companies</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","companies"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"82c771bf-764c-450c-b8a7-d1f5610ef296","name":"GET Companies","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/companies"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"7\",\n            \"type\": \"company\",\n            \"attributes\": {\n                \"name\": \"Lawmatics Company\",\n                \"email\": \"jasmine+1@lawmatics.com\",\n                \"address\": \"128 White Water, Way, Elk Grove, CA 23422, United States\",\n                \"city\": \"Elk Grove\",\n                \"state\": \"CA\",\n                \"zipcode\": \"23422\",\n                \"country\": \"United States\",\n                \"addresses\": [\n                    {\n                        \"id\": 129,\n                        \"street\": \"128 White Water\",\n                        \"street2\": \"Way\",\n                        \"city\": \"Elk Grove\",\n                        \"state\": \"CA\",\n                        \"zipcode\": \"23422\",\n                        \"country\": \"United States\",\n                        \"created_at\": \"2022-09-01T14:43:10.307-07:00\",\n                        \"updated_at\": \"2022-09-01T14:43:10.307-07:00\",\n                        \"label\": \"Primary\",\n                        \"addressable_type\": \"Company\",\n                        \"addressable_id\": 7,\n                        \"firm_id\": 1,\n                        \"deleted_at\": null\n                    },\n                    {\n                        \"id\": 130,\n                        \"street\": \"7190 White Water\",\n                        \"street2\": \"Way\",\n                        \"city\": \"Sacramento\",\n                        \"state\": \"CA\",\n                        \"zipcode\": \"23422\",\n                        \"country\": \"United States\",\n                        \"created_at\": \"2022-09-01T14:43:10.319-07:00\",\n                        \"updated_at\": \"2022-09-01T14:43:10.319-07:00\",\n                        \"label\": \"Home\",\n                        \"addressable_type\": \"Company\",\n                        \"addressable_id\": 7,\n                        \"firm_id\": 1,\n                        \"deleted_at\": null\n                    }\n                ],\n                \"phone_number\": \"916-235-5678\",\n                \"created_at\": \"2022-09-01T14:43:10.254-07:00\",\n                \"updated_at\": \"2022-09-01T15:53:10.038-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"user\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"company\",\n            \"attributes\": {\n                \"name\": \"Client Company\",\n                \"email\": \"client@example.com\",\n                \"address\": \"879 F St, Newman, CA 30291, United States\",\n                \"city\": \"Newman\",\n                \"state\": \"CA\",\n                \"zipcode\": \"30291\",\n                \"country\": \"United States\",\n                \"addresses\": [\n                    {\n                        \"id\": 137,\n                        \"street\": \"879 F St\",\n                        \"street2\": null,\n                        \"city\": \"Newman\",\n                        \"state\": \"CA\",\n                        \"zipcode\": \"30291\",\n                        \"country\": \"United States\",\n                        \"created_at\": \"2022-09-07T10:26:46.349-07:00\",\n                        \"updated_at\": \"2022-09-07T10:26:46.349-07:00\",\n                        \"label\": \"Primary\",\n                        \"addressable_type\": \"Company\",\n                        \"addressable_id\": 2,\n                        \"firm_id\": 1,\n                        \"deleted_at\": null\n                    }\n                ],\n                \"phone_number\": \"5551235432\",\n                \"created_at\": \"2022-07-29T11:12:33.207-07:00\",\n                \"updated_at\": \"2022-09-07T10:26:46.421-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"user\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 2\n    },\n    \"links\": {\n        \"self\": \"/v1/companies?page=1\"\n    }\n}"}],"_postman_id":"e0031048-6a02-49c7-9b56-3613414c9d35"},{"name":"Create Company","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_company_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"cc83f7b9-51f8-4b85-abec-cb8f7e362a8b"}}],"id":"e776cec4-11ea-4764-9bf3-80eefd80a3b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Lawmatics Company\",\n    \"email\": \"primary_email@lawmatics.com\",\n    \"emails_attributes\": [\n        {\n            \"info\": \"jasmine+1@lawmatics.com\"\n        },\n        {\n            \"label\": \"Home\",\n            \"info\": \"jasmine+2@lawmatics.com\"\n        }\n    ],\n    \"phone\": \"800-555-1234\",\n    \"phone_numbers_attributes\": [\n        {\n            \"info\": \"916-235-5678\"\n        },\n        {\n            \"label\": \"Home\",\n            \"info\": \"916-234-5677\"\n        }\n    ],\n    \"street\": \"999 Black Water\",\n    \"street2\": \"Road\",\n    \"city\": \"San Diego\",\n    \"state\": \"CA\",\n    \"country\": \"United States\",\n    \"zipcode\": \"99999\",\n    \"addresses_attributes\": [\n        {\n            \"street\": \"128 White Water\",\n            \"street2\": \"Way\",\n            \"city\": \"Elk Grove\",\n            \"state\": \"CA\",\n            \"country\": \"United States\",\n            \"zipcode\": \"23422\"\n        }, \n        {\n            \"label\": \"Home\",\n            \"street\": \"7190 White Water\",\n            \"street2\": \"Way\",\n            \"city\": \"Sacramento\",\n            \"state\": \"CA\",\n            \"country\": \"United States\",\n            \"zipcode\": \"23422\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/companies?fields=all","description":"<p>Create a new <strong>Company</strong></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","companies"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"dc67f14d-e832-46c2-9725-936486ae3e25","name":"POST Create Company","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/plain","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Lawmatics Company\",\n    \"email\": \"primary_email@lawmatics.com\",\n    \"emails_attributes\": [\n        {\n            \"info\": \"jasmine+1@lawmatics.com\"\n        },\n        {\n            \"label\": \"Home\",\n            \"info\": \"jasmine+2@lawmatics.com\"\n        }\n    ],\n    \"phone\": \"800-555-1234\",\n    \"phone_numbers_attributes\": [\n        {\n            \"info\": \"916-235-5678\"\n        },\n        {\n            \"label\": \"Home\",\n            \"info\": \"916-234-5677\"\n        }\n    ],\n    \"street\": \"999 Black Water\",\n    \"street2\": \"Road\",\n    \"city\": \"San Diego\",\n    \"state\": \"CA\",\n    \"country\": \"United States\",\n    \"zipcode\": \"99999\",\n    \"addresses_attributes\": [\n        {\n            \"street\": \"128 White Water\",\n            \"street2\": \"Way\",\n            \"city\": \"Elk Grove\",\n            \"state\": \"CA\",\n            \"country\": \"United States\",\n            \"zipcode\": \"23422\"\n        }, \n        {\n            \"label\": \"Home\",\n            \"street\": \"7190 White Water\",\n            \"street2\": \"Way\",\n            \"city\": \"Sacramento\",\n            \"state\": \"CA\",\n            \"country\": \"United States\",\n            \"zipcode\": \"23422\"\n        }\n    ]\n}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/companies"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"28\",\n        \"type\": \"company\",\n        \"attributes\": {\n            \"name\": \"Lawmatics Company\",\n            \"email\": \"david1@example.com\",\n            \"address\": \"128 White Water, Way, Elk Grove, CA 23422, United States\",\n            \"city\": \"Elk Grove\",\n            \"state\": \"CA\",\n            \"zipcode\": \"23422\",\n            \"country\": \"United States\",\n            \"addresses\": [\n                {\n                    \"id\": 266,\n                    \"street\": \"128 White Water\",\n                    \"street2\": \"Way\",\n                    \"city\": \"Elk Grove\",\n                    \"state\": \"CA\",\n                    \"zipcode\": \"23422\",\n                    \"country\": \"United States\",\n                    \"created_at\": \"2022-08-23T16:51:11.769-07:00\",\n                    \"updated_at\": \"2022-08-23T16:51:11.769-07:00\",\n                    \"label\": \"Primary\",\n                    \"addressable_type\": \"Company\",\n                    \"addressable_id\": 28,\n                    \"firm_id\": 2,\n                    \"deleted_at\": null\n                },\n                {\n                    \"id\": 267,\n                    \"street\": \"7190 White Water\",\n                    \"street2\": \"Way\",\n                    \"city\": \"Sacramento\",\n                    \"state\": \"CA\",\n                    \"zipcode\": \"23422\",\n                    \"country\": \"United States\",\n                    \"created_at\": \"2022-08-23T16:51:11.778-07:00\",\n                    \"updated_at\": \"2022-08-23T16:51:11.778-07:00\",\n                    \"label\": \"Home\",\n                    \"addressable_type\": \"Company\",\n                    \"addressable_id\": 28,\n                    \"firm_id\": 2,\n                    \"deleted_at\": null\n                }\n            ],\n            \"phone_number\": \"619-555-2855\",\n            \"created_at\": \"2022-08-23T16:51:11.755-07:00\",\n            \"updated_at\": \"2022-08-23T16:51:11.809-07:00\"\n        },\n        \"relationships\": {\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"e776cec4-11ea-4764-9bf3-80eefd80a3b7"},{"name":"Update Company","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"b5ed81db-ddf0-41f4-994c-0248adffc817"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {","   pm.globals.set(\"company_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"997d14a7-fb50-4be7-a9bf-426f077bd4f1"}}],"id":"99bdc9bb-b1d7-459e-b57f-dc41eb4f8819","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Lawmatics Company\",\n    \"email\": \"primary_email_2@lawmatics.com\",\n    \"emails_attributes\": [\n        {\n            \"info\": \"jasmine+3@lawmatics.com\"\n        },\n        {\n            \"label\": \"Home\",\n            \"info\": \"jasmine+4@lawmatics.com\"\n        }\n    ],\n    \"phone\": \"800-555-4321\",\n    \"phone_numbers_attributes\": [\n        {\n            \"info\": \"916-235-5678\"\n        },\n        {\n            \"label\": \"Home\",\n            \"info\": \"916-234-5674\"\n        }\n    ],\n    \"street\": \"100 Black Water\",\n    \"street2\": \"Street\",\n    \"city\": \"San Diego\",\n    \"state\": \"CA\",\n    \"country\": \"United States\",\n    \"zipcode\": \"55123\",\n    \"addresses_attributes\": [\n        {\n            \"label\": \"test\",\n            \"street\": \"7190 White Water\",\n            \"street2\": \"Way\",\n            \"city\": \"Sacramento\",\n            \"state\": \"CA\",\n            \"country\": \"United States\",\n            \"zipcode\": \"23422\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/companies/:company_id","description":"<p>Update an existing <strong>Company</strong> by ID.</p>\n<p>Passing Custom Field id and value, will set the custom field value on the <strong>Company</strong>, and overwrite any existing value. Passing null as the value will clear it out.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","companies",":company_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"54818af2-af4a-4390-b98a-92fc3c1ef741","type":"any","value":"{{company_id}}","key":"company_id"}]}},"response":[{"id":"05c92ac1-f080-4f0e-bd38-dd8e05447cdf","name":"PUT/PATCH Update Company","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"text/plain","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Lawmatics Company\",\n    \"email\": \"primary_email_2@lawmatics.com\",\n    \"emails_attributes\": [\n        {\n            \"id\": 554,\n            \"info\": \"jasmine+3@lawmatics.com\"\n        },\n        {   \"id\": 555,\n            \"label\": \"Home\",\n            \"info\": \"jasmine+4@lawmatics.com\"\n        }\n    ],\n    \"phone\": \"800-555-4321\",\n    \"phone_numbers_attributes\": [\n        {\n            \"info\": \"916-235-5678\"\n        },\n        {\n            \"id\": 557,\n            \"label\": \"Home\",\n            \"info\": \"916-234-5674\"\n        }\n    ],\n    \"street\": \"100 Black Water\",\n    \"street2\": \"Street\",\n    \"city\": \"San Diego\",\n    \"state\": \"CA\",\n    \"country\": \"United States\",\n    \"zipcode\": \"55123\",\n    \"addresses_attributes\": [\n        {\n            \"id\": 267,\n            \"label\": \"test\",\n            \"street\": \"7190 White Water\",\n            \"street2\": \"Way\",\n            \"city\": \"Sacramento\",\n            \"state\": \"CA\",\n            \"country\": \"United States\",\n            \"zipcode\": \"23422\"\n        }\n    ],\n      \"custom_field_values\": [\n        {\n            \"id\": 7,\n            \"value\": 8\n        }\n    ]\n}","options":{"raw":{"language":"text"}}},"url":{"raw":"{{host}}/v1/companies/:company_id","host":["{{host}}"],"path":["v1","companies",":company_id"],"variable":[{"key":"company_id","value":"27"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"28\",\n        \"type\": \"company\",\n        \"attributes\": {\n            \"name\": \"Lawmatics Company\",\n            \"email\": \"david1@example.com\",\n            \"address\": \"128 White Water, Way, Elk Grove, CA 23422, United States\",\n            \"city\": \"Elk Grove\",\n            \"state\": \"CA\",\n            \"zipcode\": \"23422\",\n            \"country\": \"United States\",\n            \"addresses\": [\n                {\n                    \"addressable_id\": 28,\n                    \"label\": \"test\",\n                    \"city\": \"Sacramento\",\n                    \"country\": \"United States\",\n                    \"state\": \"CA\",\n                    \"street\": \"7190 White Water\",\n                    \"street2\": \"Way\",\n                    \"zipcode\": \"23422\",\n                    \"addressable_type\": \"Company\",\n                    \"firm_id\": 2,\n                    \"id\": 267,\n                    \"created_at\": \"2022-08-23T16:51:11.778-07:00\",\n                    \"updated_at\": \"2022-08-23T17:03:08.444-07:00\",\n                    \"deleted_at\": null\n                },\n                {\n                    \"id\": 266,\n                    \"street\": \"128 White Water\",\n                    \"street2\": \"Way\",\n                    \"city\": \"Elk Grove\",\n                    \"state\": \"CA\",\n                    \"zipcode\": \"23422\",\n                    \"country\": \"United States\",\n                    \"created_at\": \"2022-08-23T16:51:11.769-07:00\",\n                    \"updated_at\": \"2022-08-23T16:51:11.769-07:00\",\n                    \"label\": \"Primary\",\n                    \"addressable_type\": \"Company\",\n                    \"addressable_id\": 28,\n                    \"firm_id\": 2,\n                    \"deleted_at\": null\n                }\n            ],\n            \"phone_number\": \"619-555-2855\",\n            \"created_at\": \"2022-08-23T16:51:11.755-07:00\",\n            \"updated_at\": \"2022-08-23T17:03:08.856-07:00\"\n        },\n        \"relationships\": {\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"99bdc9bb-b1d7-459e-b57f-dc41eb4f8819"},{"name":"Delete Company","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"690f0d1c-30f4-4cbb-9f78-0e84a47de293"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {","   pm.globals.set(\"company_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"3fb9e230-dbe3-4730-9f95-5ac9fca7c2f0"}}],"id":"3fee3942-a093-4151-aeea-30a9cd2b5d1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/companies/:company_id","description":"<p>Delete an existing <strong>Company</strong> by ID.</p>\n<p>Warning: This is irreversible!</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","companies",":company_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"232a9f25-e3cb-487a-b76a-dd2871c44d4d","type":"any","value":"{{company_id}}","key":"company_id"}]}},"response":[{"id":"9731a317-d264-46cd-8ba9-0fda612b35e2","name":"Delete Company","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/companies/:company_id","host":["{{host}}"],"path":["v1","companies",":company_id"],"variable":[{"key":"company_id","value":"27"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"86a5015b12560805d3a37f2a70e55953\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"9623349a-c5e9-41e3-8cad-216ea432eb94"},{"key":"X-Runtime","value":"7.758076"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"27\",\n        \"type\": \"company\",\n        \"attributes\": {\n            \"name\": \"Lawmatics Company\",\n            \"email\": \"david1@example.com\",\n            \"address\": null,\n            \"city\": null,\n            \"state\": null,\n            \"zipcode\": null,\n            \"country\": null,\n            \"addresses\": [],\n            \"phone_number\": \"619-555-2855\",\n            \"created_at\": \"2022-08-23T15:38:24.009-07:00\",\n            \"updated_at\": \"2022-08-23T16:50:37.867-07:00\"\n        },\n        \"relationships\": {\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"3fee3942-a093-4151-aeea-30a9cd2b5d1c"}],"id":"5a4aaa33-2caa-4309-87d6-892b6f8c449d","_postman_id":"5a4aaa33-2caa-4309-87d6-892b6f8c449d","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Custom Emails","item":[{"name":"Custom Email","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"ebf8b404-2cd5-49bb-a7f1-f4aa9876f9c6"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_emails`, function (err, response) {","   pm.globals.set(\"custom_email_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"2e837f4e-efbf-4417-9940-dab75d845d44"}}],"id":"05242e3e-e55c-4d6b-a46e-4bffc81c8370","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/custom_emails/:custom_email_id","description":"<p>A specific <strong>custom email</strong> by id showcasing the custom email statistics such as unique open count, send count, bounce count, open rate, send rate, and bounce rate.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_emails",":custom_email_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"fe0e2360-7818-454f-9b61-4f0a57933299","type":"any","value":"{{custom_email_id}}","key":"custom_email_id"}]}},"response":[{"id":"4f3541e2-bb3a-4a80-b0dc-2b5a091adbba","name":"GET Custom Email","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/custom_emails/:custom_email_id","host":["{{host}}"],"path":["v1","custom_emails",":custom_email_id"],"variable":[{"key":"custom_email_id","value":"24"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"24\",\n        \"type\": \"custom_email\",\n        \"attributes\": {\n            \"name\": \"Welcome Email\",\n            \"subject\": \"Welcome!\",\n            \"opens\": 80,\n            \"sends\": 334,\n            \"bounces\": 8,\n            \"clicks\": 58,\n            \"open_rate\": 0.23952095808383234,\n            \"click_rate\": 0.017964071856287425,\n            \"bounce_rate\": 0.1467065868263473,\n            \"delivered_rate\": 0.7994011976047904,\n            \"promotional\": true,\n            \"created_at\": \"2023-06-29T15:04:44.943-07:00\",\n            \"updated_at\": \"2023-06-29T15:04:44.943-07:00\"\n        }\n    }\n}"}],"_postman_id":"05242e3e-e55c-4d6b-a46e-4bffc81c8370"},{"name":"Custom Emails","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"b9ce4ad0-7d61-49c4-95ce-6b550b6502dc"}}],"id":"2a4beddf-388a-4963-8734-bde1ac2a6783","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/custom_emails","description":"<p>A list of all <strong>custom emails</strong> in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_emails"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5568e10a-239b-41e0-ad8e-2c2561a806d9","name":"GET Custom Emails","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/custom_emails"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"24\",\n            \"type\": \"custom_email\",\n            \"attributes\": {\n                \"name\": \"Welcome Email\",\n                \"subject\": \"Welcome!\",\n                \"opens\": 80,\n                \"sends\": 334,\n                \"bounces\": 8,\n                \"clicks\": 58,\n                \"open_rate\": 0.23952095808383234,\n                \"click_rate\": 0.017964071856287425,\n                \"bounce_rate\": 0.1467065868263473,\n                \"delivered_rate\": 0.7994011976047904,\n                \"promotional\": true,\n                \"created_at\": \"2023-06-29T15:04:44.943-07:00\",\n                \"updated_at\": \"2023-06-29T15:04:44.943-07:00\"\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"custom_email\",\n            \"attributes\": {\n                \"name\": \"onboarding email\",\n                \"subject\": \"Thank you for Reaching out!\",\n                \"opens\": null,\n                \"sends\": null,\n                \"bounces\": null,\n                \"clicks\": null,\n                \"open_rate\": null,\n                \"click_rate\": null,\n                \"bounce_rate\": null,\n                \"delivered_rate\": null,\n                \"promotional\": false,\n                \"created_at\": \"2023-02-13T10:06:44.671-08:00\",\n                \"updated_at\": \"2023-02-13T10:06:44.671-08:00\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 2\n    },\n    \"links\": {\n        \"self\": \"/v1/custom_emails?page=1\"\n    }\n}"}],"_postman_id":"2a4beddf-388a-4963-8734-bde1ac2a6783"}],"id":"857564e7-3fbf-480d-afb3-6286e51dc313","_postman_id":"857564e7-3fbf-480d-afb3-6286e51dc313","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Custom Fields","item":[{"name":"Custom Field","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"9c353238-a362-4ed8-9f0f-7e357b0d932e"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_fields`, function (err, response) {","   pm.globals.set(\"custom_field_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"683dd892-c83b-4e1e-b645-b41c9ac27714"}}],"id":"e5081710-29fb-4981-9cff-eaae083bedc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/custom_fields/:custom_field_id","description":"<p>Specific Custom Field metadata by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_fields",":custom_field_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"feda8ae6-fe92-4c4e-b39b-350ad1239606","type":"any","value":"{{custom_field_id}}","key":"custom_field_id"}]}},"response":[{"id":"b30d2d4b-465c-488d-8c1a-ea6ab9ec8600","name":"GET Custom Field","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/custom_fields/13"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:19:48 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"3ae16e93a434991a019f6c5eafc44324\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Set-Cookie","value":"AWSALB=QHNtV9Jp8QmDcEruq1ur0YjEZsKxlhpWyeTsFzUU3WoBLWFgZ9GLUGT0i2lrFhvIByHmN72fnw8IFS0MkhVoUbA+wqKUSP2/FXQBLyVLJ/07NacRIDtcPICaCYRo; Expires=Wed, 24 Oct 2018 01:19:48 GMT; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"21275846-d151-4d06-8bd4-537815d0cf3d","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.012058","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.6563598.1539106472","key":"_ga"},{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.156666708.1539709908","key":"_gid"},{"expires":"Invalid Date","httpOnly":false,"domain":"api.lawmatics.com","path":"/","secure":false,"value":"QHNtV9Jp8QmDcEruq1ur0YjEZsKxlhpWyeTsFzUU3WoBLWFgZ9GLUGT0i2lrFhvIByHmN72fnw8IFS0MkhVoUbA+wqKUSP2/FXQBLyVLJ/07NacRIDtcPICaCYRo","key":"AWSALB"}],"responseTime":null,"body":"{\"data\":{\"id\":\"13\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Jurisdiction\",\"type\":\"PracticeArea\",\"field_type\":\"list\",\"practice_area\":\"Criminal Defense\",\"list_options\":[{\"id\":4,\"name\":\"West County\"},{\"id\":3,\"name\":\"East County\"},{\"id\":2,\"name\":\"South County\"},{\"id\":1,\"name\":\"North County\"}],\"created_at\":\"2018-01-08T10:05:25.432-08:00\",\"updated_at\":\"2018-01-08T10:05:25.432-08:00\"}}}"}],"_postman_id":"e5081710-29fb-4981-9cff-eaae083bedc5"},{"name":"Custom Fields","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"cb47874a-e69f-4128-bc98-b4f7c6be4af1"}}],"id":"c4ced645-9fa2-4e4d-9a52-86a4c454eab9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/custom_fields?fields=all","description":"<p>A <strong>paginated</strong> list of all Custom Field metadata in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_fields"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"ec40a573-2641-44a0-b3f9-b98e17bd027b","name":"GET Custom Fields","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/custom_fields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"e876eaa6aa11ea57afa5bc4955821309\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"ca2999e8-428f-48df-917d-259d21d43325","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.062167","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\"data\":[{\"id\":\"4638\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test Date\",\"field_type\":\"date\",\"visibility\":\"default\",\"type\":\"Prospect\",\"created_at\":\"2018-09-24T12:31:05.231-07:00\",\"updated_at\":\"2018-10-12T14:23:23.732-07:00\"}},{\"id\":\"1\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test Practice Area Checkbox\",\"field_type\":\"boolean\",\"visibility\":\"default\",\"type\":\"PracticeArea\",\"created_at\":\"2018-07-17T15:27:16.765-07:00\",\"updated_at\":\"2018-10-12T14:24:58.670-07:00\"}},{\"id\":\"4627\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test User Lookup\",\"field_type\":\"lookup\",\"visibility\":\"default\",\"type\":\"Prospect\",\"lookup_type\":\"User\",\"created_at\":\"2018-08-28T17:19:04.897-07:00\",\"updated_at\":\"2018-10-12T14:22:00.976-07:00\"}},{\"id\":\"4639\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test Time\",\"field_type\":\"time\",\"visibility\":\"default\",\"type\":\"Prospect\",\"created_at\":\"2018-09-24T12:31:15.295-07:00\",\"updated_at\":\"2018-10-12T14:23:35.585-07:00\"}},{\"id\":\"4644\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test Contact String\",\"field_type\":\"string\",\"visibility\":\"default\",\"type\":\"Contact\",\"created_at\":\"2018-10-10T17:38:24.915-07:00\",\"updated_at\":\"2018-10-12T14:24:42.034-07:00\"}},{\"id\":\"4631\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test DateTime\",\"field_type\":\"datetime\",\"visibility\":\"hidden\",\"type\":\"Prospect\",\"created_at\":\"2018-09-06T16:33:22.026-07:00\",\"updated_at\":\"2018-10-12T14:23:43.570-07:00\"}},{\"id\":\"7\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test Client String\",\"field_type\":\"string\",\"visibility\":\"default\",\"type\":\"Client\",\"created_at\":\"2018-07-22T13:37:40.043-07:00\",\"updated_at\":\"2018-10-12T14:24:01.079-07:00\"}},{\"id\":\"4\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test Client Currency\",\"field_type\":\"currency\",\"visibility\":\"default\",\"type\":\"Client\",\"created_at\":\"2018-07-22T13:00:57.587-07:00\",\"updated_at\":\"2018-10-12T14:24:08.556-07:00\"}},{\"id\":\"2\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Status\",\"field_type\":\"list\",\"visibility\":\"default\",\"type\":\"Prospect\",\"list_options\":[{\"id\":1,\"name\":\"Open\"},{\"id\":2,\"name\":\"Closed Won\"},{\"id\":3,\"name\":\"Closed Lost\"}],\"created_at\":\"2018-07-21T10:30:31.322-07:00\",\"updated_at\":\"2018-08-23T16:53:20.710-07:00\"}},{\"id\":\"5\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test Practice Area Text\",\"field_type\":\"text\",\"visibility\":\"default\",\"type\":\"PracticeArea\",\"created_at\":\"2018-07-22T13:01:26.681-07:00\",\"updated_at\":\"2018-10-12T14:24:48.621-07:00\"}},{\"id\":\"8\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test Money Field\",\"field_type\":\"currency\",\"visibility\":\"default\",\"type\":\"Prospect\",\"created_at\":\"2018-07-22T14:25:40.345-07:00\",\"updated_at\":\"2018-08-23T16:53:20.807-07:00\"}},{\"id\":\"9\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test PNC Lookup\",\"field_type\":\"lookup\",\"visibility\":\"starred\",\"type\":\"Prospect\",\"lookup_type\":\"Prospect\",\"created_at\":\"2018-08-03T18:12:09.181-07:00\",\"updated_at\":\"2018-10-12T14:22:44.470-07:00\"}},{\"id\":\"6\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Test PNC Picklist\",\"field_type\":\"list\",\"visibility\":\"starred\",\"type\":\"Prospect\",\"list_options\":[{\"id\":9,\"name\":\"Blue\"},{\"id\":11,\"name\":\"Red\"}],\"created_at\":\"2018-07-22T13:17:19.943-07:00\",\"updated_at\":\"2018-08-23T16:53:20.791-07:00\"}}]}"}],"_postman_id":"c4ced645-9fa2-4e4d-9a52-86a4c454eab9"},{"name":"Create Custom Field","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_custom_field_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"47015794-de8f-4181-bf04-b4d25cd2a4d0"}}],"id":"1b7b1916-dd33-480f-b4a6-80465000b1ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jurisdiction a0f96d93-f2cf-4004-8795-64a0cc2872b3\",\n    \"type\": \"PracticeArea\",\n    \"field_type\": \"list\",\n    \"practice_area\": \"Divorce\",\n    \"list_options\": [\"one\",\"two\",\"three\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/custom_fields","description":"<p>Create a new Custom Field</p>\n<p>Name: Custom Field's name</p>\n<p>Type: One of <code>Matter</code>, <code>Contact</code>, <code>Company</code>, <code>Client</code>, or <code>PracticeArea</code></p>\n<p>Visibility (optional): <code>starred</code>, <code>hidden</code>, <code>default</code> (default)</p>\n<p>field_type: One of <code>integer</code>, <code>boolean</code>, <code>string</code>, <code>text</code>, <code>currency</code>, <code>date</code>, <code>time</code>, <code>datetime</code>, <code>list</code>, <code>lookup</code>, <code>multi_picklist</code></p>\n<p>list_options: Required if field_type is <code>list</code> or <code>multi_picklist</code>, two options at minimum</p>\n<p>lookup_type: Required if field_type is <code>lookup</code>. One of <code>User</code>, <code>Contact</code>, <code>Company</code> or <code>Prospect</code></p>\n<p>practice_area: Name of practice area. Required if type is <code>PracticeArea</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_fields"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"04605574-5b5a-4a3d-a77b-7a27cd6ac7eb","name":"POST Create Custom Field","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jurisdiction\",\n    \"type\": \"PracticeArea\",\n    \"field_type\": \"list\",\n    \"practice_area\": \"High Treason\",\n    \"list_options\": [\"one\",\"two\",\"three\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/custom_fields"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"ec0751736db2ce98cc3d2a1c6567c43a\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"16e7abea-505b-4a7d-bc3f-d4936434a87b"},{"key":"X-Runtime","value":"0.629906"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"5\",\n        \"type\": \"custom_field\",\n        \"attributes\": {\n            \"name\": \"Jurisdiction\",\n            \"type\": \"Prospect\",\n            \"field_type\": \"list\",\n            \"practice_area\": \"High Treason\",\n            \"list_options\": [\n                {\n                    \"id\": 7,\n                    \"name\": \"one\"\n                },\n                {\n                    \"id\": 8,\n                    \"name\": \"two\"\n                },\n                {\n                    \"id\": 9,\n                    \"name\": \"three\"\n                }\n            ],\n            \"created_at\": \"2022-06-01T16:09:06.943-07:00\",\n            \"updated_at\": \"2022-06-01T16:09:06.943-07:00\",\n            \"visibility\": \"default\"\n        }\n    }\n}"}],"_postman_id":"1b7b1916-dd33-480f-b4a6-80465000b1ed"},{"name":"Update Custom Field","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"f2e88458-f439-44c1-9f5d-6e50ff23d5b7"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_fields`, function (err, response) {","   pm.globals.set(\"custom_field_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"75c7b897-7de8-45f1-9a86-c0f3938bd098"}}],"id":"d99f3308-f3da-4b7d-bd55-c7b5df4fb28a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jurisprudence 451030b7-0d8b-44c4-a61e-ecc982075469\",\n    \"type\": \"Contact\",\n    \"field_type\": \"multi_picklist\",\n    \"list_options\": [10, 20, 30]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/custom_fields/:custom_field_id","description":"<p>Update an existing Custom Field by ID.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_fields",":custom_field_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"b28b7b43-8716-4557-addb-dc1464a10ad2","type":"any","value":"{{custom_field_id}}","key":"custom_field_id"}]}},"response":[{"id":"7841c68d-b250-46e4-9339-3f83501eab0e","name":"PUT Update Custom Field","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jurisprudence\",\n    \"type\": \"Contact\",\n    \"field_type\": \"multi_picklist\",\n    \"list_options\": [10, 20, 30]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/custom_fields/:custom_field_id","host":["{{host}}"],"path":["v1","custom_fields",":custom_field_id"],"variable":[{"key":"custom_field_id","value":"7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"146fd005693f5513b7c22741a92bad84\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"24828cfe-c853-4ed0-9edd-01801f1d93cd"},{"key":"X-Runtime","value":"29.551599"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"7\",\n        \"type\": \"custom_field\",\n        \"attributes\": {\n            \"name\": \"Jurisprudence\",\n            \"type\": \"Contact\",\n            \"field_type\": \"multi_picklist\",\n            \"list_options\": [\n                {\n                    \"id\": 18,\n                    \"name\": \"10\"\n                },\n                {\n                    \"id\": 19,\n                    \"name\": \"20\"\n                },\n                {\n                    \"id\": 20,\n                    \"name\": \"30\"\n                }\n            ],\n            \"created_at\": \"2022-06-02T12:03:29.977-07:00\",\n            \"updated_at\": \"2022-06-02T12:06:07.154-07:00\",\n            \"visibility\": \"default\"\n        }\n    }\n}"}],"_postman_id":"d99f3308-f3da-4b7d-bd55-c7b5df4fb28a"},{"name":"Delete Custom Field","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"8524b3dd-b839-4718-9c2c-61f448260692"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_fields`, function (err, response) {","   pm.globals.set(\"custom_field_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"1c5c0a50-b807-4269-99da-1f222bbc3178"}}],"id":"e034ef5a-5e13-46e3-af55-c5ac997d4a05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/custom_fields/:custom_field_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","custom_fields",":custom_field_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c1dd00a2-091f-446d-9bf5-f5b7392f843a","type":"any","value":"{{custom_field_id}}","key":"custom_field_id"}]}},"response":[{"id":"9fca340e-bfd4-4b02-911c-6ade86f23ef5","name":"DELETE Delete Custom Field","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/custom_fields/:custom_field_id","host":["{{host}}"],"path":["v1","custom_fields",":custom_field_id"],"variable":[{"key":"custom_field_id","value":"7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"c4dcc3d4254894e367247cfdbb28ce8f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"767dbf69-30f4-4da3-897c-7dfd33e77be8"},{"key":"X-Runtime","value":"0.770847"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"7\",\n        \"type\": \"custom_field\",\n        \"attributes\": {\n            \"name\": \"Jurisprudence\",\n            \"type\": \"Contact\",\n            \"field_type\": \"multi_picklist\",\n            \"list_options\": [],\n            \"created_at\": \"2022-06-02T12:03:29.977-07:00\",\n            \"updated_at\": \"2022-06-02T12:10:42.915-07:00\",\n            \"visibility\": \"default\"\n        }\n    }\n}"}],"_postman_id":"e034ef5a-5e13-46e3-af55-c5ac997d4a05"}],"id":"9322f428-e419-4f8a-8ae8-57b80ca4b21e","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"e675852e-ff93-4663-8dd2-e1be1335901e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"2d74b440-82c8-4457-ac7b-2f99a9382317"}}],"_postman_id":"9322f428-e419-4f8a-8ae8-57b80ca4b21e","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Custom Forms","item":[{"name":"Custom Form","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"f6bd0162-27fd-4381-98eb-bc156a081450"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/forms`, function (err, response) {","   pm.globals.set(\"custom_form_uuid\", response.json().data[0].id);","});"],"type":"text/javascript","id":"903a648c-66e0-4764-a090-52b9b1fd5ccb"}}],"id":"f1bab46f-4163-44cc-9ad5-26e2a081eca4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{host}}/v1/forms/:custom_form_uuid?fields=all","description":"<p>This <em>Unauthenticated</em> endpoint takes a <strong>Custom Form</strong> id and returns metadata about that <strong>Custom Form</strong>. This metadata can be used to recreate a Lawmatics <strong>Custom Form</strong> to be filled using your own html code.</p>\n","urlObject":{"path":["v1","forms",":custom_form_uuid"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[{"id":"8144cb0f-9c15-4e43-8dfc-d7adc937628c","type":"any","value":"{{custom_form_uuid}}","key":"custom_form_uuid"}]}},"response":[{"id":"14af7d99-3574-4db1-98ce-8c432efc469a","name":"GET Custom Form","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/forms/31a81c7b-378f-4d5f-8d03-57c2fb43fe3c?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","forms","31a81c7b-378f-4d5f-8d03-57c2fb43fe3c"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"0b654022716a7b501ad7f4be03a6d1e5\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"8773236c-b839-41bd-9309-00711e2c2ae9","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.208304","name":"X-Runtime","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"31a81c7b-378f-4d5f-8d03-57c2fb43fe3c\",\n        \"type\": \"custom_form\",\n        \"attributes\": {\n            \"name\": \"Lawmatics Intake Form\",\n            \"type\": \"Prospect\",\n            \"created_at\": \"2018-09-12T16:42:41.024-07:00\",\n            \"updated_at\": \"2018-10-12T15:16:53.787-07:00\",\n            \"rows\": [\n                {\n                    \"components\": [\n                        {\n                            \"id\": \"first_name\",\n                            \"field_type\": \"string\",\n                            \"label\": \"First Name\",\n                            \"component_type\": \"field\",\n                            \"required\": true\n                        },\n                        {\n                            \"id\": \"last_name\",\n                            \"field_type\": \"string\",\n                            \"label\": \"Last Name\",\n                            \"component_type\": \"field\",\n                            \"required\": true\n                        }\n                    ]\n                },\n                {\n                    \"components\": [\n                        {\n                            \"id\": \"Q3VzdG9tRm9ybUNvbXBvbmVudDo6QWR2YW5jZWQtZ2VuZXJhbF9maWVsZC0yMDE4LTA4LTI3VDE3OjMxOjU5LjE0NVo=\",\n                            \"field_type\": \"list\",\n                            \"label\": \"General Field\",\n                            \"component_type\": \"general_field\",\n                            \"required\": false,\n                            \"list_options\": [\n                                {\n                                    \"label\": \"1\",\n                                    \"value\": 0\n                                },\n                                {\n                                    \"label\": \"2\",\n                                    \"value\": 1\n                                }\n                            ]\n                        }\n                    ]\n                },\n                {\n                    \"components\": [\n                        {\n                            \"id\": \"Q3VzdG9tRm9ybUNvbXBvbmVudDo6QWR2YW5jZWQtaG9yaXpvbnRhbF9kaXZpZGVyLTIwMTgtMDgtMjdUMjA6Mzk6MTAuNjMzWg==\",\n                            \"component_type\": \"horizontal_divider\"\n                        }\n                    ]\n                },\n                {\n                    \"components\": [\n                        {\n                            \"id\": \"Q3VzdG9tRm9ybUNvbXBvbmVudDo6QWR2YW5jZWQtaW5zdHJ1Y3Rpb25zLTIwMTgtMDgtMjdUMjA6Mzk6MDIuNDUxWg==\",\n                            \"label\": \"<p>Instructions text</p>\",\n                            \"component_type\": \"instructions\"\n                        }\n                    ]\n                },\n                {\n                    \"components\": [\n                        {\n                            \"id\": \"Q3VzdG9tRm9ybUNvbXBvbmVudDo6QWR2YW5jZWQtZ2VuZXJhbF9maWVsZC0yMDE4LTA4LTI3VDE4OjI2OjAzLjI5Mlo=\",\n                            \"field_type\": \"boolean\",\n                            \"label\": \"Is Lawmatics Awesome?\",\n                            \"component_type\": \"general_field\",\n                            \"required\": false\n                        },\n                        {\n                            \"id\": \"RmllbGRzOjpTdGFuZGFyZEZpZWxkLUNvbnRhY3QtbGFzdF9uYW1l\",\n                            \"field_type\": \"integer\",\n                            \"label\": \"Integer Custom Field\",\n                            \"component_type\": \"field\",\n                            \"required\": false\n                        },\n                        {\n                            \"id\": \"birthdate\",\n                            \"field_type\": \"date\",\n                            \"label\": \"Birthdate\",\n                            \"component_type\": \"field\",\n                            \"required\": false\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"f1bab46f-4163-44cc-9ad5-26e2a081eca4"},{"name":"Custom Forms","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"40abe948-3771-432e-b4f8-8a61ca7b00b9"}}],"id":"746d372a-8592-4828-bc82-13d4434c3e5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/forms","description":"<p>A <strong>paginated</strong> list of all Custom Forms in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","forms"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"123d7994-fbfd-4f90-83ba-42eb5fd98e5b","name":"GET Custom Forms","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/forms?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","forms"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"51e64335cc8e291ea9c043f57358d00f\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"9548e2f6-61f0-45c3-8130-2bff33dad26b","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"2.206322","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\"data\":[{\"id\":\"ad79c099-6c37-47d0-9452-cdbeb297559f\",\"type\":\"custom_form\",\"attributes\":{\"name\":\"Test Prospect Intake Form\",\"type\":\"Prospect\",\"created_at\":\"2018-09-12T16:42:41.024-07:00\",\"updated_at\":\"2018-10-12T15:16:53.787-07:00\",\"rows\":[{\"components\":[{\"id\":\"first_name\",\"field_type\":\"string\",\"label\":\"First name\",\"component_type\":\"field\",\"required\":true},{\"id\":\"last_name\",\"field_type\":\"string\",\"label\":\"Last name\",\"component_type\":\"field\",\"required\":true}]},{\"components\":[{\"id\":\"RmllbGRzOjpDdXN0b21GaWVsZC1DdXN0b21GaWVsZDo6UHJhY3RpY2VBcmVhLTU=\",\"field_type\":\"text\",\"label\":\"Test Practice Area Text\",\"component_type\":\"field\",\"required\":false}]},{\"components\":[{\"id\":\"Q3VzdG9tRm9ybUNvbXBvbmVudDo6QWR2YW5jZWQtaW5zdHJ1Y3Rpb25zLTIwMTgtMDktMTJUMjM6NDI6NDUuNjMxWg==\",\"label\":\"\\u003cp\\u003e\\u003cmark class=\\\"marker-blue\\\"\\u003eInstructions\\u003c/mark\\u003e\\u003c/p\\u003e\\u003cfigure class=\\\"image\\\"\\u003e\\u003cimg src=\\\"https://35010.cdn.cke-cs.com/xYsJJYSdHzfBDI20OIec/animations/140d1fdb22a2b76c73a2cbc080472d798c0f1e6e28720cf9_tumblr_obenjvTUOK1qzn6p7o1_400.gif\\\" srcset=\\\"https://35010.cdn.cke-cs.com/xYsJJYSdHzfBDI20OIec/animations/140d1fdb22a2b76c73a2cbc080472d798c0f1e6e28720cf9_tumblr_obenjvTUOK1qzn6p7o1_400.gif/w_135 135w, https://35010.cdn.cke-cs.com/xYsJJYSdHzfBDI20OIec/animations/140d1fdb22a2b76c73a2cbc080472d798c0f1e6e28720cf9_tumblr_obenjvTUOK1qzn6p7o1_400.gif/w_215 215w, https://35010.cdn.cke-cs.com/xYsJJYSdHzfBDI20OIec/animations/140d1fdb22a2b76c73a2cbc080472d798c0f1e6e28720cf9_tumblr_obenjvTUOK1qzn6p7o1_400.gif/w_295 295w, https://35010.cdn.cke-cs.com/xYsJJYSdHzfBDI20OIec/animations/140d1fdb22a2b76c73a2cbc080472d798c0f1e6e28720cf9_tumblr_obenjvTUOK1qzn6p7o1_400.gif/w_375 375w\\\" sizes=\\\"100vw\\\" width=\\\"375\\\"\\u003e\\u003c/figure\\u003e\",\"required\":false,\"component_type\":\"instructions\"}]}]}}]}"}],"_postman_id":"746d372a-8592-4828-bc82-13d4434c3e5e"},{"name":"Custom Form Entries","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"3ad90d2a-0a2c-4093-b07a-3dd891729273"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/forms`, function (err, response) {","   pm.globals.set(\"custom_form_uuid\", response.json().data[0].id);","});"],"type":"text/javascript","id":"5c7a673c-533d-41ac-ab06-5f01c20ba5e7"}}],"id":"e4fbf4de-47c5-45bf-8027-252ab3e10312","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/forms/:custom_form_uuid/entries","description":"<p>A <strong>paginated</strong> list of all Custom Form Entries in Lawmatics by Custom Form uuid</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","forms",":custom_form_uuid","entries"],"host":["{{host}}"],"query":[],"variable":[{"id":"8d3d2613-575f-43a3-8e8f-eb2ce82df9cc","type":"any","value":"{{custom_form_uuid}}","key":"custom_form_uuid"}]}},"response":[{"id":"cb19ade5-50c0-42f7-8198-bff33cef1f85","name":"GET Custom Form Entries","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/forms/ad79c099-6c37-47d0-9452-cdbeb297559f/entries?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","forms","ad79c099-6c37-47d0-9452-cdbeb297559f","entries"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"8eccdca67fdfd1ba9035da69962db93e\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"ea0303f4-a306-4787-9f98-a708873c347a","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.112715","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\"data\":[{\"id\":\"91\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:30:48.711-07:00\",\"updated_at\":\"2018-10-17T12:30:48.711-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41869\",\"type\":\"prospect\"}}}},{\"id\":\"90\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:30:43.194-07:00\",\"updated_at\":\"2018-10-17T12:30:43.194-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41868\",\"type\":\"prospect\"}}}},{\"id\":\"89\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:30:36.721-07:00\",\"updated_at\":\"2018-10-17T12:30:36.721-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41867\",\"type\":\"prospect\"}}}},{\"id\":\"88\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:30:32.522-07:00\",\"updated_at\":\"2018-10-17T12:30:32.522-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41866\",\"type\":\"prospect\"}}}},{\"id\":\"87\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:29:55.684-07:00\",\"updated_at\":\"2018-10-17T12:29:55.684-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41865\",\"type\":\"prospect\"}}}},{\"id\":\"86\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:29:22.859-07:00\",\"updated_at\":\"2018-10-17T12:29:22.859-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41864\",\"type\":\"prospect\"}}}},{\"id\":\"85\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:29:16.213-07:00\",\"updated_at\":\"2018-10-17T12:29:16.213-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41863\",\"type\":\"prospect\"}}}},{\"id\":\"84\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:28:56.803-07:00\",\"updated_at\":\"2018-10-17T12:28:56.803-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41862\",\"type\":\"prospect\"}}}},{\"id\":\"83\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:25:34.196-07:00\",\"updated_at\":\"2018-10-17T12:25:34.196-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41861\",\"type\":\"prospect\"}}}},{\"id\":\"82\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:24:22.712-07:00\",\"updated_at\":\"2018-10-17T12:24:22.712-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41860\",\"type\":\"prospect\"}}}},{\"id\":\"81\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:24:04.170-07:00\",\"updated_at\":\"2018-10-17T12:24:04.170-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41859\",\"type\":\"prospect\"}}}},{\"id\":\"80\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:15:01.416-07:00\",\"updated_at\":\"2018-10-17T12:15:01.416-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41858\",\"type\":\"prospect\"}}}},{\"id\":\"79\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:14:35.492-07:00\",\"updated_at\":\"2018-10-17T12:14:35.492-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41857\",\"type\":\"prospect\"}}}},{\"id\":\"78\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:11:51.273-07:00\",\"updated_at\":\"2018-10-17T12:11:51.273-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41856\",\"type\":\"prospect\"}}}},{\"id\":\"77\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:10:33.065-07:00\",\"updated_at\":\"2018-10-17T12:10:33.065-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41855\",\"type\":\"prospect\"}}}},{\"id\":\"76\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:10:08.431-07:00\",\"updated_at\":\"2018-10-17T12:10:08.431-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41854\",\"type\":\"prospect\"}}}},{\"id\":\"75\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:09:46.031-07:00\",\"updated_at\":\"2018-10-17T12:09:46.031-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41853\",\"type\":\"prospect\"}}}},{\"id\":\"74\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:07:42.642-07:00\",\"updated_at\":\"2018-10-17T12:07:42.642-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41852\",\"type\":\"prospect\"}}}},{\"id\":\"73\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:06:47.744-07:00\",\"updated_at\":\"2018-10-17T12:06:47.744-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41851\",\"type\":\"prospect\"}}}},{\"id\":\"72\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:05:59.377-07:00\",\"updated_at\":\"2018-10-17T12:05:59.377-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41850\",\"type\":\"prospect\"}}}},{\"id\":\"71\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:03:15.314-07:00\",\"updated_at\":\"2018-10-17T12:03:15.314-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41849\",\"type\":\"prospect\"}}}},{\"id\":\"70\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:02:59.496-07:00\",\"updated_at\":\"2018-10-17T12:02:59.496-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41848\",\"type\":\"prospect\"}}}},{\"id\":\"69\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"test\"}],\"created_at\":\"2018-10-17T12:00:52.386-07:00\",\"updated_at\":\"2018-10-17T12:00:52.386-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41847\",\"type\":\"prospect\"}}}},{\"id\":\"63\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"Loblaw\"}],\"created_at\":\"2018-10-14T17:46:21.572-07:00\",\"updated_at\":\"2018-10-14T17:46:21.572-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41811\",\"type\":\"prospect\"}}}},{\"id\":\"62\",\"type\":\"custom_form_entry\",\"attributes\":{\"body\":[{\"label\":\"First name\",\"value\":\"Bob\"},{\"label\":\"Last name\",\"value\":\"Loblaw\"}],\"created_at\":\"2018-10-14T17:45:12.742-07:00\",\"updated_at\":\"2018-10-14T17:45:12.742-07:00\"},\"relationships\":{\"custom_form\":{\"data\":{\"id\":\"4\",\"type\":\"custom_form\"}},\"contactable\":{\"data\":{\"id\":\"41810\",\"type\":\"prospect\"}}}}],\"meta\":{\"total_pages\":2,\"limit_per_page\":25,\"total_entries\":50},\"links\":{\"self\":\"/v1/custom_form_entry?page=1\",\"next\":\"/v1/custom_form_entry?page=2\"}}"}],"_postman_id":"e4fbf4de-47c5-45bf-8027-252ab3e10312"},{"name":"Submit Custom Form Entry  (Form Data Body)","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"355f92d7-8649-4716-b22b-b0ea386e8410"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/forms`, function (err, response) {","   pm.globals.set(\"custom_form_uuid\", response.json().data[0].id);","});"],"type":"text/javascript","id":"e386783b-f6a1-4cb1-860e-ba7c7796e418"}}],"id":"b7313cd5-5de8-4518-bdd8-02331de8e25a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"Bob","description":"<p>Form Field values are submitted as field_id -&gt; value pairs. The specific field uuid can be found in Lawmatics, in the Custom Form builder, under \"API Details\"</p>\n","type":"text"},{"key":"last_name","value":"Loblaw","type":"text"},{"key":"utm_source","value":"facebook","description":"<p>Optional Source tracking field, this value can be extracted from the cookie set by your LM tracking pixel</p>\n","type":"text"},{"key":"utm_campaign","value":"lookalike1","description":"<p>Optional Campaign tracking field, this value can be extracted from the cookie set by your LM tracking pixel</p>\n","type":"text"},{"key":"referring_url","value":"https://www.google.com/some_search_query","description":"<p>Optional Referring URL, this value can be tracked and automatically set by your LM tracking pixel</p>\n","type":"text"},{"key":"RmllbGRzOjpDdXN0b21GaWVsZC1DdXN0b21GaWVsZDo6UHJvc3BlY3QtMTAyNw==","value":"An important case","description":"<p>Old v1 long id for custom field</p>\n","type":"text"},{"key":"custom_field_2263","value":"FILL ME IN","description":"<p>v2 simple id for custom field</p>\n","type":"text"}]},"url":"{{host}}/v1/forms/:custom_form_uuid/submit","description":"<p>This <em>Unauthenticated</em> (YOU DO NOT NEED A DEVELOPER APP) endpoint submits <strong>Custom Form</strong> values. Keys for the values use the <strong>Custom Form</strong> field ids found in Lawmatics, or found via the GET endpoint.</p>\n<p>Data should be serialized via form-data (plain html5 forms) or JSON body (shown in next example)</p>\n<p>Any automations will trigger as expected when this <strong>Custom Form</strong> is submitted via the API.</p>\n","urlObject":{"path":["v1","forms",":custom_form_uuid","submit"],"host":["{{host}}"],"query":[],"variable":[{"id":"1eba81c1-4d3d-45df-a49c-54d632cb3b8f","type":"any","value":"{{custom_form_uuid}}","key":"custom_form_uuid"}]}},"response":[{"id":"5b29b48c-8d99-42c8-b027-f5ed81fd047e","name":"POST Submit Custom Form (Form Data Body)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"Bob","description":"An example param for a standard form field","type":"text"},{"key":"last_name","value":"Loblaw","description":"An example param for a standard form field","type":"text"},{"key":"utm_source","value":"facebook","description":"An example param for a Source tracking field, this value can be extracted from the cookie set by your LM tracking pixel","type":"text"},{"key":"utm_campaign","value":"lookalike1","description":"An example param for a Campaign tracking field, this value can be extracted from the cookie set by your LM tracking pixel","type":"text"},{"key":"custom_field_2263","value":"CustomFieldValue","description":"An example param for a custom or non-standard field. (These are found under API details on the Form builder page).","type":"text"}]},"url":"https://api.lawmatics.com/v1/forms/31a81c7b-378f-4d5f-8d03-57c2fb43fe3c/submit"},"status":"Created","code":201,"_postman_previewlanguage":"auto","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"58956\",\n        \"type\": \"contact\",\n        \"attributes\": {\n            \"first_name\": \"Bob\",\n            \"last_name\": \"Loblaw\",\n            \"email\": \"bob@loblaw.com\",\n            \"created_at\": \"2018-10-17T12:43:21.570-07:00\",\n            \"updated_at\": \"2018-10-17T12:43:21.570-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"b7313cd5-5de8-4518-bdd8-02331de8e25a"},{"name":"Submit Custom Form Entry (JSON Body)","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"87eb4ab2-161f-43ba-b2d2-f6e930b41dc8"}}],"id":"b590b79e-529f-42ec-b79b-9d9bc3e5de24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Another\",\n\t\"last_name\": \"Test\",\n\t\"utm_source\": \"facebook\",\n\t\"utm_campaign\": \"test1\",\n\t\"RmllbGRzOjpDdXN0b21GaWVsZC1DdXN0b21GaWVsZDo6UHJvc3BlY3QtMTAyNw==\": \"An important case\",\n\t\"custom_field_2263\": \"FILL ME IN\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/forms/:custom_form_uuid/submit","description":"<p>This <em>Unauthenticated</em> (YOU DO NOT NEED A DEVELOPER APP) endpoint submits <strong>Custom Form</strong> values. Keys for the values use the <strong>Custom Form</strong> field ids found in Lawmatics, or found via the GET endpoint.</p>\n<p>Any automations will trigger as expected when this <strong>Custom Form</strong> is submitted via the API.</p>\n","urlObject":{"path":["v1","forms",":custom_form_uuid","submit"],"host":["{{host}}"],"query":[],"variable":[{"id":"1408027c-9041-4d69-bc01-64a85a5c84e5","type":"any","value":"{{custom_form_uuid}}","key":"custom_form_uuid"}]}},"response":[{"id":"603859dd-5964-44b8-8c44-954c1e452473","name":"POST Submit Custom Form (JSON Body)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Another\",\n\t\"last_name\": \"Test\",\n\t\"utm_source\": \"facebook\",\n\t\"utm_campaign\": \"test1\",\n\t\"RmllbGRzOjpDdXN0b21GaWVsZC1DdXN0b21GaWVsZDo6UHJvc3BlY3QtMTAyNw==\": \"An important case\",\n\t\"custom_field_2263\": \"FILL ME IN\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/forms/:custom_form_uuid/submit","host":["{{host}}"],"path":["v1","forms",":custom_form_uuid","submit"],"variable":[{"key":"custom_form_uuid","value":"c3005c33-c92b-4610-89d8-b54370b00ba2"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 30 Dec 2019 22:48:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=8DCToSAcwWrlk15ECQhJvBQBDJO4AXn2wRA/I49OPaCEAsRUv5xbKuJqCGfhXh1AKBQ6zOnW8DFK/aJJnrmVqSvXZguhjO8oFIjb0DyOKkP1qyMCDfVShiAva5bZ; Expires=Mon, 06 Jan 2020 22:48:51 GMT; Path=/"},{"key":"ETag","value":"W/\"8ccb5ca347640bd20b8c3bcc6bd168ef\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"7cc686ae-cb31-4e5a-8fd8-fc761ab5d4ea"},{"key":"X-Runtime","value":"0.882725"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"356248\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Another\",\n            \"last_name\": \"Test\",\n            \"utm_source\": \"facebook\",\n            \"utm_campaign\": \"test1\",\n            \"created_at\": \"2019-12-30T14:48:52.146-08:00\",\n            \"updated_at\": \"2019-12-30T14:48:52.206-08:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"b590b79e-529f-42ec-b79b-9d9bc3e5de24"}],"id":"c2e28dd0-16a2-4ef4-8b61-bcdf6c7738df","description":"<p>NOTE: Field IDs for fields that are not considered \"Standard\", such as General fields, and Custom fields, are referred to by special long-form uuids that are enumerated on the API details page of the Custom Form in Lawmatics. (E.g. <a href=\"https://app.lawmatics.com/custom-forms/:custom_form_id/api-details\">https://app.lawmatics.com/custom-forms/:custom_form_id/api-details</a>).</p>\n<p>The api details page link is found on the relevant Custom Form edit page as a button in the bottom action bar.</p>\n<p>Field IDs can also be found via the response body of the <code>GET Custom Form</code> endpoint.</p>\n<p>The \"custom_form_uuid\" needed to GET or POST a custom form, is also found on the API details page. It is NOT the same as the form custom form id you can see in the address bar of your browser on the Lawmatics form builder page.</p>\n<h4 id=\"form-components\">Form Components:</h4>\n<blockquote>\n<p><strong>Standard Fields</strong> - Common contact related Lawmatics defined fields. Standard fields have human readable field_ids.</p>\n</blockquote>\n<blockquote>\n<p><strong>Custom Fields</strong> - Custom user defined fields. Custom fields have long form \"uuid\" field_ids.</p>\n</blockquote>\n<blockquote>\n<p><strong>General Fields</strong> - General fields whose values are not considered important enough to save as data on a Client/Contact/PNC. Values saved on General fields are simply saved to the form submission record and can only be viewed on the <code>http://localhost:8080/custom-forms/:custom_form_id/values</code> page. General Fields have long form \"uuid\" field_ids.</p>\n</blockquote>\n<blockquote>\n<p><strong>Instruction Blocks</strong> - Blocks of User defined text these are read only and can not be set.</p>\n</blockquote>\n<h4 id=\"supported-standard-field-ids\">Supported Standard Field IDs:</h4>\n<p><code>\"first_name\"</code>\n<code>\"middle_name\"</code>\n<code>\"last_name\"</code>\n<code>\"birthdate\"</code>\n<code>\"name_prefix\"</code>\n<code>\"name_suffix\"</code>\n<code>\"informal_name\"</code>\n<code>\"employer\"</code>\n<code>\"occupation\"</code>\n<code>\"citizenship\"</code>\n<code>\"social_security\"</code>\n<code>\"driver_license\"</code>\n<code>\"gender\"</code>\n<code>\"marital_status\"</code>\n<code>\"timezone\"</code>\n<code>\"hobbies\"</code>\n<code>\"bio\"</code>\n<code>\"title\"</code>\n<code>\"email\"</code>\n<code>\"phone\"</code>\n<code>\"street\"</code>\n<code>\"street2\"</code>\n<code>\"city\"</code>\n<code>\"state\"</code>\n<code>\"zipcode\"</code>\n<code>\"country\"</code></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"962318b2-c772-455a-9931-53bda78d5e1b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"8511f7b6-a646-4b87-9624-0f6b84c747c8"}}],"_postman_id":"c2e28dd0-16a2-4ef4-8b61-bcdf6c7738df","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Email Addresses","item":[{"name":"Email Address","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"d74cc162-fae7-4f59-b47d-93896d88a7b0"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/email_addresses`, function (err, response) {","   pm.globals.set(\"email_address_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"32cb135a-c772-40f7-a5d4-dccb7f0b7c60"}}],"id":"b3627da9-3cdc-420b-9192-6ff28f117ebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/email_addresses/:email_address_id","description":"<p>A specific <strong>Email Address</strong> by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","email_addresses",":email_address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"23151252-f4ee-4bf9-8a54-4a5ec8c0b4a0","type":"any","value":"{{email_address_id}}","key":"email_address_id"}]}},"response":[{"id":"064469a0-8fe9-4359-b9da-1b92e1a53d28","name":"GET Email Address","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/email_addresses/:email_address_id","host":["{{host}}"],"path":["v1","email_addresses",":email_address_id"],"variable":[{"key":"email_address_id","value":"123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"3414d9aa552f6cdd9db2a8d681ecc847\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"3ff648bd-e604-4293-8ced-10d08a3e0de2"},{"key":"X-Runtime","value":"0.096809"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"123\",\n        \"type\": \"email_address\",\n        \"attributes\": {\n            \"label\": \"Primary\",\n            \"info\": \"susan61@gmail.com\"\n        },\n        \"relationships\": {\n            \"informationable\": {\n                \"data\": {\n                    \"id\": \"62\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"b3627da9-3cdc-420b-9192-6ff28f117ebb"},{"name":"Email Addresses","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"c00936c3-8d19-44d5-b2bc-492808fa815d"}}],"id":"c6ca5e0e-9933-4380-b916-f38ba4ba1acf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/email_addresses","description":"<p>A <strong>paginated</strong> list of all <strong>Email Addresses</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","email_addresses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"bb807b33-ab8c-44b5-bf1d-b63e5455876e","name":"GET Email Addresses","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/email_addresses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"2d545f4bd920972ad50c91bb3d853f17\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"e00dc2a7-8550-4acb-8078-169f06b699ca"},{"key":"X-Runtime","value":"0.164184"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"363\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"zoobiedooby213123123@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"193\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"356\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"189\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"304\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"162\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"302\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"161\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"300\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"160\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"298\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"159\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"296\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"158\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"294\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"157\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"292\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"156\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"290\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"155\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"288\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey+changed@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"154\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"286\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"153\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"284\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"152\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"276\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey+changed@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"148\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"274\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"147\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"272\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"146\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"270\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"145\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"268\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"144\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"266\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"143\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"264\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"142\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"260\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"140\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"258\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"139\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"256\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"138\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"254\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"137\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"252\",\n            \"type\": \"email_address\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"roey@lawmatics.com\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"136\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 6,\n        \"limit_per_page\": 25,\n        \"total_entries\": 138\n    },\n    \"links\": {\n        \"self\": \"/v1/email_addresses?page=1\",\n        \"next\": \"/v1/email_addresses?page=2\"\n    }\n}"}],"_postman_id":"c6ca5e0e-9933-4380-b916-f38ba4ba1acf"},{"name":"Create Email Address","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_email_address_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"e4d4efb1-f3d2-4188-8d83-3e9b9fa961a6"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/email_addresses`, function (err, response) {","   pm.globals.set(\"informationable_id\", response.json().data.find(({relationships}) => ","   relationships.informationable.data.type == 'contact').relationships.informationable.data.id)","});"],"type":"text/javascript","id":"b6341c8c-171a-44c6-bfd1-73267dfaa109"}}],"id":"3c71bada-fdd6-430d-b7b5-e0169dd6c79f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Test\",\n    \"info\": \"roey+api@lawmatics.com\",\n    \"informationable_type\": \"Contact\",\n    \"informationable_id\": {{informationable_id}}\n}"},"url":"{{host}}/v1/email_addresses","description":"<p>Create a new <strong>Email Address</strong></p>\n<p><strong>Required Fields</strong>: informationable, label, info</p>\n<p><strong>info:</strong> The <strong>Email Address</strong> string.</p>\n<p><strong>label</strong>: The <strong>Email Address's</strong> label e.g. Primary.</p>\n<p><strong>informationable_type</strong>: <strong>Prospect</strong>, <strong>Contact</strong>, <strong>Company</strong>, or <strong>Firm</strong> that the <strong>Email Address</strong> belongs to.</p>\n<p><strong>informationable_id:</strong> Id of Record. <strong>Firm</strong> type doesn't need an ID passed and it will be ignored.</p>\n<p>Note - Setting the <strong>Email Address</strong> through a <strong>Prospect</strong> (Matter) will set it on on the <strong>Prospects</strong>' <strong>Contact</strong>/<strong>Company</strong>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","email_addresses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8506b21e-6874-4474-a2fe-909f3fd76447","name":"POST Create Email Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Test\",\n    \"info\": \"roey+api@lawmatics.com\",\n    \"informationable_type\": \"Prospect\",\n    \"informationable_id\": 113\n}"},"url":"{{host}}/v1/email_addresses"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"98064004a3062938fc0390e8dc8c6722\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"6ff45c23-334a-4872-9a19-7debe14fd2b2"},{"key":"X-Runtime","value":"0.125842"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"378\",\n        \"type\": \"email_address\",\n        \"attributes\": {\n            \"label\": \"Test\",\n            \"info\": \"roey+api@lawmatics.com\"\n        },\n        \"relationships\": {\n            \"informationable\": {\n                \"data\": {\n                    \"id\": \"112\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"3c71bada-fdd6-430d-b7b5-e0169dd6c79f"},{"name":"Update Email Address","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"ad4229c4-7294-496a-9274-ccf5e3344468"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/email_addresses`, function (err, response) {","   pm.globals.set(\"informationable_id\", response.json().data.find(({relationships}) => ","   relationships.informationable.data.type == 'contact').relationships.informationable.data.id)","});"],"type":"text/javascript","id":"eafaadfd-78df-4ca1-9ce6-4ec7b92d9888"}}],"id":"b1e41412-033c-4c84-8b82-3956aa7fbfd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"New Label\",\n    \"info\": \"roey+changed@lawmatics.com\",\n    \"informationable_type\": \"Contact\",\n    \"informationable_id\": {{informationable_id}}\n}"},"url":"{{host}}/v1/email_addresses/:email_address_id","description":"<p>Updates a <strong>Email Address</strong> by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","email_addresses",":email_address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"aa49ea69-39ad-457a-a548-eb48c8d1b572","type":"any","value":"{{email_address_id}}","key":"email_address_id"}]}},"response":[{"id":"6b5ccb0c-18ee-450e-829f-e3632e1f1ef4","name":"PUT Update Email Address","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"New Label\",\n    \"info\": \"roey+changed@lawmatics.com\",\n    \"informationable_type\": \"Prospect\",\n    \"informationable_id\": 113\n}"},"url":{"raw":"{{host}}/v1/email_addresses/:email_address_id","host":["{{host}}"],"path":["v1","email_addresses",":email_address_id"],"variable":[{"key":"email_address_id","value":"{{created_email_address_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"f9af06d55e06c77880b503695b024acc\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"368f7ec6-8180-493f-88c3-5d5a820b3a78"},{"key":"X-Runtime","value":"0.103245"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"379\",\n        \"type\": \"email_address\",\n        \"attributes\": {\n            \"label\": \"New Label\",\n            \"info\": \"roey+changed@lawmatics.com\"\n        },\n        \"relationships\": {\n            \"informationable\": {\n                \"data\": {\n                    \"id\": \"112\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"b1e41412-033c-4c84-8b82-3956aa7fbfd1"},{"name":"Delete Email Address","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"a27c154e-50b5-48a2-bd37-e899e06be232"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/email_addresses`, function (err, response) {","   pm.globals.set(\"email_address_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"aa7999f2-0d9b-4713-a2f0-0be6c81b4c5b"}}],"id":"d89d8085-122f-4ff8-8eaa-1821afa007fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/email_addresses/:email_address_id","description":"<p>Delete a <strong>Email Address</strong> by ID</p>\n<p><strong>email_address_id</strong>: ID of the <strong>Email Address</strong> to delete</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","email_addresses",":email_address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"cfce042a-33dd-46c8-a2ef-ce3c3588d8d5","type":"any","value":"{{email_address_id}}","key":"email_address_id"}]}},"response":[{"id":"0218761c-714a-493f-a9ef-db22b616e746","name":"DELETE Delete Email Address","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/v1/email_addresses/:email_address_id","host":["{{host}}"],"path":["v1","email_addresses",":email_address_id"],"variable":[{"key":"email_address_id","value":"{{created_email_address_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"f9af06d55e06c77880b503695b024acc\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"3819928d-6947-4373-9a77-f93f9d38d771"},{"key":"X-Runtime","value":"0.156250"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"379\",\n        \"type\": \"email_address\",\n        \"attributes\": {\n            \"label\": \"New Label\",\n            \"info\": \"roey+changed@lawmatics.com\"\n        },\n        \"relationships\": {\n            \"informationable\": {\n                \"data\": {\n                    \"id\": \"112\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"d89d8085-122f-4ff8-8eaa-1821afa007fc"}],"id":"82dc19ee-5d5b-420e-9a88-2a930bd759d4","description":"<p>A <strong>Email Address</strong> is contact information that belongs to a <strong>Firm</strong>, <strong>Contact</strong>, or <strong>Company.</strong></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"146f62da-b0bd-4ed8-bdc8-bcf4a01bf8a6"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"765f217f-4136-4eca-908a-1c083688be32"}}],"_postman_id":"82dc19ee-5d5b-420e-9a88-2a930bd759d4","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Email Campaigns","item":[{"name":"Email Campaign","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/email_campaigns`, function (err, response) {","   pm.globals.set(\"email_campaign_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"3de9e038-9c16-4084-8afd-890d64e7c90f"}}],"id":"9a6be9ee-5c3e-4efe-b68e-65433f430e17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/email_campaigns/:id","description":"<p>Returns a specific campaign in <strong>Lawmatics</strong>.</p>\n<p>To retrieve a specific campaign, use the following format: TypeofCampaign-id</p>\n<p>An example of retrieving a marketing campaign would be:<br />/v1/email_campaigns/MarketingCampaign-1</p>\n<p>An example of retrieving a recurring campaign would be:<br />/v1/email_campaigns/RecurringCampaign-1</p>\n<p>An example of retrieving a date campaign would be:<br />/v1/email_campaigns/DateCampaign-1</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","email_campaigns",":id"],"host":["{{host}}"],"query":[],"variable":[{"id":"6659c3ec-18ba-4221-af4e-5e8581f2cd5c","type":"any","value":"{{email_campaign_id}}","key":"id"}]}},"response":[{"id":"f46d0392-77e7-4d80-ac7b-8e063205af04","name":"GET Email Campaign","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/email_campaigns/MarketingCampaign-1"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"MarketingCampaign-1\",\n        \"type\": \"marketing_campaign_view\",\n        \"attributes\": {\n            \"name\": \"new campagin\",\n            \"status\": 0,\n            \"open_rate\": null,\n            \"send_count\": 0,\n            \"sent_at\": null,\n            \"started_processing_at\": \"2023-04-17T11:36:37.108-07:00\",\n            \"campaign_type\": \"MarketingCampaign\",\n            \"created_at\": \"2023-04-17T10:47:32.675-07:00\"\n        },\n        \"relationships\": {\n            \"audience\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"audience\"\n                }\n            },\n            \"custom_email\": {\n                \"data\": {\n                    \"id\": \"23\",\n                    \"type\": \"custom_email\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"9a6be9ee-5c3e-4efe-b68e-65433f430e17"},{"name":"Email Campaigns","id":"3f9d9fe5-4623-42b4-ade1-988fa631fed4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/email_campaigns","description":"<p>Returns all email campaigns in <strong>Lawmatics</strong>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","email_campaigns"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"023d6465-45a0-493a-ae38-ed2baeed8fc6","name":"GET Email Campaigns","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/email_campaigns"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"RecurringCampaign-1\",\n            \"type\": \"marketing_campaign_view\",\n            \"attributes\": {\n                \"name\": \"jasmine recurring\",\n                \"status\": 1,\n                \"open_rate\": null,\n                \"send_count\": 0,\n                \"sent_at\": \"2023-07-26T16:29:07.937-07:00\",\n                \"started_processing_at\": \"2023-07-26T16:28:19.471-07:00\",\n                \"campaign_type\": \"RecurringCampaign\",\n                \"created_at\": \"2023-07-24T11:28:27.459-07:00\"\n            },\n            \"relationships\": {\n                \"audience\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"audience\"\n                    }\n                },\n                \"custom_email\": {\n                    \"data\": {\n                        \"id\": \"25\",\n                        \"type\": \"custom_email\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"MarketingCampaign-1\",\n            \"type\": \"marketing_campaign_view\",\n            \"attributes\": {\n                \"name\": \"new campagin\",\n                \"status\": 0,\n                \"open_rate\": null,\n                \"send_count\": 0,\n                \"sent_at\": null,\n                \"started_processing_at\": \"2023-04-17T11:36:37.108-07:00\",\n                \"campaign_type\": \"MarketingCampaign\",\n                \"created_at\": \"2023-04-17T10:47:32.675-07:00\"\n            },\n            \"relationships\": {\n                \"audience\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"audience\"\n                    }\n                },\n                \"custom_email\": {\n                    \"data\": {\n                        \"id\": \"23\",\n                        \"type\": \"custom_email\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 2\n    },\n    \"links\": {\n        \"self\": \"/v1/marketing_campaign_views?page=1\"\n    }\n}"},{"id":"fdeaf61e-5c34-490c-8d9b-ffa19cb85d3d","name":"GET Email Campaigns by Type","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/email_campaigns?filter_by=campaign_type&filter_on=MarketingCampaign","host":["{{host}}"],"path":["v1","email_campaigns"],"query":[{"key":"filter_by","value":"campaign_type"},{"key":"filter_on","value":"MarketingCampaign"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"MarketingCampaign-2\",\n            \"type\": \"email_campaign\",\n            \"attributes\": {\n                \"name\": \"run once\",\n                \"status\": 0,\n                \"open_rate\": null,\n                \"send_count\": 0,\n                \"sent_at\": null,\n                \"started_processing_at\": \"2023-07-28T07:41:18.465-07:00\",\n                \"campaign_type\": \"MarketingCampaign\",\n                \"created_at\": \"2023-07-28T07:41:14.484-07:00\"\n            },\n            \"relationships\": {\n                \"audience\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"audience\"\n                    }\n                },\n                \"custom_email\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"custom_email\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"MarketingCampaign-15\",\n            \"type\": \"email_campaign\",\n            \"attributes\": {\n                \"name\": \"another marketing campaign\",\n                \"status\": 0,\n                \"open_rate\": null,\n                \"send_count\": null,\n                \"sent_at\": null,\n                \"started_processing_at\": null,\n                \"campaign_type\": \"MarketingCampaign\",\n                \"created_at\": \"2023-08-09T14:32:34.630-07:00\"\n            },\n            \"relationships\": {\n                \"audience\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"audience\"\n                    }\n                },\n                \"custom_email\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"custom_email\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 2\n    },\n    \"links\": {\n        \"self\": \"/v1/marketing_campaign_views?page=1\"\n    }\n}"}],"_postman_id":"3f9d9fe5-4623-42b4-ade1-988fa631fed4"}],"id":"86630fc1-2e82-4763-9997-205aa60daaa1","_postman_id":"86630fc1-2e82-4763-9997-205aa60daaa1","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Email Campaign Stats","item":[{"name":"Email Campaign Stats","event":[{"listen":"prerequest","script":{"exec":["let token = pm.environment.get('access_token')","","pm.sendRequest({","   url: `${pm.environment.get('host')}/v1/email_campaigns`,","   method: 'GET',","   header: {","       'Authorization': `Bearer ${token}`","   }   ","}, function (err, response) {","   pm.globals.set(\"email_campaign_id\", response.json().data.find(campaign => campaign.attributes.campaign_type === 'MarketingCampaign').id);","});"],"type":"text/javascript","id":"92359f0a-4fbe-43ef-b190-91a804d01ab2"}}],"id":"27d75c3f-8166-4b0e-8a86-efc8e0d89707","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/email_campaign_stats/:id","description":"<p>Retrieves a statistics of a specific email campaign in Lawmatics.</p>\n<p>To retrieve a specific campaign, use the following format: TypeofCampaign-id</p>\n<p>An example of retrieving statistics of a marketing campaign would be:<br />/v1/email_campaign_stats/MarketingCampaign-1</p>\n<p>An example of retrieving statistics of a date campaign would be:<br />/v1/email_campaign_stats/DateCampaign-1</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","email_campaign_stats",":id"],"host":["{{host}}"],"query":[],"variable":[{"id":"0349a1d3-28e4-4e5b-8e16-038de8b94bd8","type":"any","value":"{{email_campaign_id}}","key":"id"}]}},"response":[{"id":"6ddb9043-3242-4c34-a4cb-dc2dd2781b73","name":"GET Email Campaign Stats","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/email_campaign_stats/:id","host":["{{host}}"],"path":["v1","email_campaign_stats",":id"],"variable":[{"key":"id","value":"MarketingCampaign-1"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": null,\n            \"type\": \"email_event\",\n            \"attributes\": {\n                \"contactable_id\": 160,\n                \"email\": \"jasmine+3@lawmatics.com\",\n                \"first_name\": \"lastOne3\",\n                \"last_name\": null,\n                \"delivered\": false,\n                \"bounces\": 0,\n                \"clicks\": 0,\n                \"opens\": 0\n            }\n        },\n        {\n            \"id\": null,\n            \"type\": \"email_event\",\n            \"attributes\": {\n                \"contactable_id\": 146,\n                \"email\": \"jasmine+2@lawmatics.com\",\n                \"first_name\": \"lastOne2\",\n                \"last_name\": null,\n                \"delivered\": false,\n                \"bounces\": 0,\n                \"clicks\": 0,\n                \"opens\": 0\n            }\n        },\n        {\n            \"id\": null,\n            \"type\": \"email_event\",\n            \"attributes\": {\n                \"contactable_id\": 149,\n                \"email\": \"bran@example.com\",\n                \"first_name\": \"Bran\",\n                \"last_name\": \"Stark\",\n                \"delivered\": false,\n                \"bounces\": 0,\n                \"clicks\": 0,\n                \"opens\": 0\n            }\n        },\n        {\n            \"id\": null,\n            \"type\": \"email_event\",\n            \"attributes\": {\n                \"contactable_id\": 145,\n                \"email\": \"jasmine+3@lawmatics.com\",\n                \"first_name\": \"lastOne3\",\n                \"last_name\": null,\n                \"delivered\": false,\n                \"bounces\": 0,\n                \"clicks\": 0,\n                \"opens\": 0\n            }\n        },\n        {\n            \"id\": null,\n            \"type\": \"email_event\",\n            \"attributes\": {\n                \"contactable_id\": 221,\n                \"email\": \"jasmine+1@lawmatics.com\",\n                \"first_name\": \"lastOne\",\n                \"last_name\": null,\n                \"delivered\": false,\n                \"bounces\": 0,\n                \"clicks\": 0,\n                \"opens\": 0\n            }\n        },\n        {\n            \"id\": null,\n            \"type\": \"email_event\",\n            \"attributes\": {\n                \"contactable_id\": 151,\n                \"email\": \"jasmine+3@lawmatics.com\",\n                \"first_name\": \"lastOne3\",\n                \"last_name\": null,\n                \"delivered\": false,\n                \"bounces\": 0,\n                \"clicks\": 0,\n                \"opens\": 0\n            }\n        },\n        {\n            \"id\": null,\n            \"type\": \"email_event\",\n            \"attributes\": {\n                \"contactable_id\": 152,\n                \"email\": \"jasmine+1@lawmatics.com\",\n                \"first_name\": \"lastOne\",\n                \"last_name\": null,\n                \"delivered\": false,\n                \"bounces\": 0,\n                \"clicks\": 0,\n                \"opens\": 0\n            }\n        },\n        {\n            \"id\": null,\n            \"type\": \"email_event\",\n            \"attributes\": {\n                \"contactable_id\": 144,\n                \"email\": \"jasmine+2@lawmatics.com\",\n                \"first_name\": \"lastOne2\",\n                \"last_name\": null,\n                \"delivered\": false,\n                \"bounces\": 0,\n                \"clicks\": 0,\n                \"opens\": 0\n            }\n        },\n        {\n            \"id\": null,\n            \"type\": \"email_event\",\n            \"attributes\": {\n                \"contactable_id\": 155,\n                \"email\": \"jasmine+1@lawmatics.com\",\n                \"first_name\": \"lastOne\",\n                \"last_name\": null,\n                \"delivered\": false,\n                \"bounces\": 0,\n                \"clicks\": 0,\n                \"opens\": 0\n            }\n        },\n        {\n            \"id\": null,\n            \"type\": \"email_event\",\n            \"attributes\": {\n                \"contactable_id\": 132,\n                \"email\": \"sansastark@example.com\",\n                \"first_name\": \"Sansa\",\n                \"last_name\": \"Stark\",\n                \"delivered\": false,\n                \"bounces\": 0,\n                \"clicks\": 0,\n                \"opens\": 0\n            }\n        }\n    ]\n}\n"}],"_postman_id":"27d75c3f-8166-4b0e-8a86-efc8e0d89707"}],"id":"d7cb7732-9ed3-4818-82ce-fa226a8528e7","_postman_id":"d7cb7732-9ed3-4818-82ce-fa226a8528e7","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Events (Appointments)","item":[{"name":"Event","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"965eb644-e83e-4e65-8055-e155cf727fc5"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/events`, function (err, response) {","   pm.globals.set(\"event_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"82559381-acd9-4e9a-81da-f686ddbdd43d"}}],"id":"e06937b7-65ce-42b3-8562-2cb959c1af6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/events/:event_id","description":"<p>A <strong>paginated</strong> list of all Events in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","events",":event_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"e48b9cc9-83a4-49e9-826d-e7ddb87871a9","type":"any","value":"{{event_id}}","key":"event_id"}]}},"response":[{"id":"0c561a2d-8c7c-47f1-bc4d-f5e99873c641","name":"GET Event","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/events/:event_id?fields=all","host":["{{host}}"],"path":["v1","events",":event_id"],"query":[{"key":"fields","value":"all"}],"variable":[{"key":"event_id","value":"14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"d8ada6f6b811cd3dfe019cd17605c148\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"f1e975b5-2ad0-4484-be70-6c528576d342"},{"key":"X-Runtime","value":"0.305908"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"14\",\n        \"type\": \"event\",\n        \"attributes\": {\n            \"name\": \"New Appointment\",\n            \"description\": \"API Appointment\",\n            \"time_zone\": \"America/Los_Angeles\",\n            \"start_date\": \"2022-06-28T15:00:00.000-07:00\",\n            \"end_date\": \"2020-06-29T00:00:00.000-07:00\",\n            \"all_day\": true,\n            \"reminder_type\": \"minutes\",\n            \"reminder_delay_length\": 10,\n            \"reminder_sent\": false,\n            \"location\": {\n                \"id\": 1,\n                \"name\": \"Miami Location\",\n                \"locationable_type\": \"Firm\",\n                \"locationable_id\": 2,\n                \"address_id\": 101,\n                \"firm_id\": 2,\n                \"created_at\": \"2021-10-31T19:59:38.874-07:00\",\n                \"updated_at\": \"2021-10-31T19:59:38.874-07:00\"\n            },\n            \"send_invites\": true,\n            \"event_type_id\": 4,\n            \"attendee_name\": \"Jennifer Lee\",\n            \"attendee_email\": \"jennifer1@gmail.com\",\n            \"attendee_phone\": \"651-555-7796\",\n            \"location_name\": \"Miami Location\",\n            \"location_address\": \"1234 Miami, Miami, FL 12345, United States\",\n            \"zoom_us_meeting_url\": null,\n            \"created_at\": \"2022-05-10T15:19:38.947-07:00\",\n            \"updated_at\": \"2022-05-10T15:19:39.011-07:00\"\n        },\n        \"relationships\": {\n            \"eventable\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"users\": {\n                \"data\": [\n                    {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                ]\n            },\n            \"event_type\": {\n                \"data\": {\n                    \"id\": \"4\",\n                    \"type\": \"event_type\"\n                }\n            },\n            \"address\": {\n                \"data\": {\n                    \"id\": \"101\",\n                    \"type\": \"address\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"e06937b7-65ce-42b3-8562-2cb959c1af6b"},{"name":"Events","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is Okay\", function () {","    pm.response.to.be.ok;","});","pm.test(\"Response time is less than 6s\", function () {","    pm.expect(pm.response.responseTime).to.be.below(6000);","});"],"type":"text/javascript","id":"17d27f24-81d3-4c01-b6aa-70873b029ad6"}}],"id":"b75357d2-5290-4f4d-bf5c-aae043f6ae19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/events","description":"<p>A <strong>paginated</strong> list of all Events in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","events"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8367fa78-f884-48ad-b126-82761fa175d4","name":"GET Events","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/events?fields=all","host":["{{host}}"],"path":["v1","events"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"c0b83df00a4a4f5d9c3aa251a4bdf259\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"7cb37883-d252-494f-b288-6d25bbf5af8a"},{"key":"X-Runtime","value":"0.868393"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5\",\n            \"type\": \"event\",\n            \"attributes\": {\n                \"name\": \"Initial Consultation\",\n                \"description\": \"test\",\n                \"time_zone\": \"America/Los_Angeles\",\n                \"start_date\": \"2021-12-31T22:01:00.000-08:00\",\n                \"end_date\": \"2021-12-31T22:31:00.000-08:00\",\n                \"all_day\": false,\n                \"reminder_type\": \"minutes\",\n                \"reminder_delay_length\": null,\n                \"reminder_sent\": false,\n                \"location\": {\n                    \"id\": 1,\n                    \"name\": \"Miami Location\",\n                    \"locationable_type\": \"Firm\",\n                    \"locationable_id\": 2,\n                    \"address_id\": 101,\n                    \"firm_id\": 2,\n                    \"created_at\": \"2021-10-31T19:59:38.874-07:00\",\n                    \"updated_at\": \"2021-10-31T19:59:38.874-07:00\"\n                },\n                \"send_invites\": null,\n                \"event_type_id\": 5\n            },\n            \"relationships\": {\n                \"eventable\": {\n                    \"data\": {\n                        \"id\": \"105\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"5\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"event_type\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"event_type\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"4\",\n            \"type\": \"event\",\n            \"attributes\": {\n                \"name\": \"Statute of Limitations\",\n                \"description\": null,\n                \"time_zone\": \"America/Los_Angeles\",\n                \"start_date\": \"2021-12-08T00:00:00.000-08:00\",\n                \"end_date\": \"2021-12-08T00:00:00.000-08:00\",\n                \"all_day\": true,\n                \"reminder_type\": null,\n                \"reminder_delay_length\": null,\n                \"reminder_sent\": false,\n                \"location\": null,\n                \"send_invites\": false,\n                \"event_type_id\": 4\n            },\n            \"relationships\": {\n                \"eventable\": {\n                    \"data\": {\n                        \"id\": \"101\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"5\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"event_type\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"event_type\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"event\",\n            \"attributes\": {\n                \"name\": \"Initial Consultation\",\n                \"description\": \"test\\n\\nMatter Phone: 520-730-1042\",\n                \"time_zone\": \"America/New_York\",\n                \"start_date\": \"2021-11-11T14:43:00.000-08:00\",\n                \"end_date\": \"2021-11-11T15:13:00.000-08:00\",\n                \"all_day\": false,\n                \"reminder_type\": null,\n                \"reminder_delay_length\": null,\n                \"reminder_sent\": false,\n                \"location\": {\n                    \"id\": 1,\n                    \"name\": \"Miami Location\",\n                    \"locationable_type\": \"Firm\",\n                    \"locationable_id\": 2,\n                    \"address_id\": 101,\n                    \"firm_id\": 2,\n                    \"created_at\": \"2021-10-31T19:59:38.874-07:00\",\n                    \"updated_at\": \"2021-10-31T19:59:38.874-07:00\"\n                },\n                \"send_invites\": null,\n                \"event_type_id\": 3\n            },\n            \"relationships\": {\n                \"eventable\": {\n                    \"data\": null\n                },\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"5\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"event_type\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"event_type\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"event\",\n            \"attributes\": {\n                \"name\": \"New Appointment - Joseph Brown\",\n                \"description\": \"API Appointment\\n\\nMatter Phone: 619-555-7327\",\n                \"time_zone\": \"America/Halifax\",\n                \"start_date\": \"2020-06-28T00:00:00.000-07:00\",\n                \"end_date\": \"2020-06-29T00:00:00.000-07:00\",\n                \"all_day\": false,\n                \"reminder_type\": \"minutes\",\n                \"reminder_delay_length\": 10,\n                \"reminder_sent\": false,\n                \"location\": {\n                    \"id\": 1,\n                    \"name\": \"Miami Location\",\n                    \"locationable_type\": \"Firm\",\n                    \"locationable_id\": 2,\n                    \"address_id\": 101,\n                    \"firm_id\": 2,\n                    \"created_at\": \"2021-10-31T19:59:38.874-07:00\",\n                    \"updated_at\": \"2021-10-31T19:59:38.874-07:00\"\n                },\n                \"send_invites\": true,\n                \"event_type_id\": 5\n            },\n            \"relationships\": {\n                \"eventable\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"3\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"event_type\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"event_type\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"event\",\n            \"attributes\": {\n                \"name\": \"New Appointment\",\n                \"description\": \"API Appointment\\n\\nMatter Phone: 619-555-7327\",\n                \"time_zone\": \"America/New_York\",\n                \"start_date\": \"2020-06-28T00:00:00.000-07:00\",\n                \"end_date\": \"2020-06-29T00:00:00.000-07:00\",\n                \"all_day\": false,\n                \"reminder_type\": \"minutes\",\n                \"reminder_delay_length\": 10,\n                \"reminder_sent\": false,\n                \"location\": {\n                    \"id\": 1,\n                    \"name\": \"Miami Location\",\n                    \"locationable_type\": \"Firm\",\n                    \"locationable_id\": 2,\n                    \"address_id\": 101,\n                    \"firm_id\": 2,\n                    \"created_at\": \"2021-10-31T19:59:38.874-07:00\",\n                    \"updated_at\": \"2021-10-31T19:59:38.874-07:00\"\n                },\n                \"send_invites\": true,\n                \"event_type_id\": 5\n            },\n            \"relationships\": {\n                \"eventable\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"3\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"event_type\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"event_type\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 5\n    },\n    \"links\": {\n        \"self\": \"/v1/events?page=1\"\n    }\n}"}],"_postman_id":"b75357d2-5290-4f4d-bf5c-aae043f6ae19"},{"name":"Create Event","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_event_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"40f569fc-9027-488e-9357-292ec74495e3"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   pm.globals.set(\"user_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/locations`, function (err, response) {","   pm.globals.set(\"location_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/event_types?fields=type,id&filter_by=type&filter_on=AppointmentEventType`, function (err, response) {","   pm.globals.set(\"event_type_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"8277adf6-ec05-4a0f-afcb-94c44f1608e8"}}],"id":"462a5306-ca2a-4560-a1e0-fba198e3da6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"New Appointment\",\n    \"description\": \"API Appointment\",\n    \"start_date\": \"2022-06-28T15:00:00-07:00\",\n    \"end_date\": \"2022-06-28T15:30:00-07:00\",\n    \"user_ids\": [\n        {{user_id}}\n    ],\n    \"all_day\": false,\n    \"eventable_type\": \"Prospect\",\n    \"eventable_id\": {{prospect_id}},\n    \"event_type_id\": {{event_type_id}},\n    \"location_id\": {{location_id}},\n    \"reminder_delay_length\": 10,\n    \"reminder_type\": \"minutes\",\n    \"send_invites\": true,\n    \"no_show\": false,\n    \"time_zone\": \"America/Halifax\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/events","description":"<p>Create a new <strong>Event</strong>/Appointment</p>\n<p><strong>Optional Fields</strong>: Reminder fields, <strong>Location</strong> fields, time_zone</p>\n<p><strong>eventable_type, eventable_id</strong>: The <strong>Prospect</strong>, <strong>Contact</strong>, or <strong>Client</strong> that the appointment is with.</p>\n<p><strong>user_ids</strong>: The Firm <strong>Users</strong> hosting the appointment.</p>\n<p><strong>reminder_type</strong>: 'minutes', 'hours', 'days', 'weeks', months'</p>\n<p><strong>reminder_delay_length:</strong> Integer value (combined with reminder_type) for how long to wait to send a reminder</p>\n<p><strong>send_invites:</strong> (default true)</p>\n<p><strong>all_day:</strong> (default false)</p>\n<p><strong>time_zone</strong>: a valid <a href=\"https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\">tz identifier string</a>), (defaults to null)</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","events"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ec85ef81-b7f2-4b83-86f0-dc40efc415aa","name":"POST Create Event","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Appointment\",\n\t\"description\": \"API Appointment\",\n\t\"start_date\": \"06/28/2020\",\n\t\"end_date\": \"06/29/2020\",\n\t\"user_ids\": [17],\n\t\"all_day\": false,\n\t\"eventable_type\": \"Prospect\",\n\t\"eventable_id\": \"15407\",\n\t\"event_type_id\": \"23\",\n\t\"location_id\": \"1\",\n\t\"reminder_delay_length\": 10,\n\t\"reminder_type\": \"minutes\",\n    \"time_zone\": \"America/Los_Angeles\"\n}"},"url":{"raw":"{{host}}/v1/events?fields=all","host":["{{host}}"],"path":["v1","events"],"query":[{"key":"fields","value":"all"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Aug 2019 20:48:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=A8F6zBQgbkSA5Fz7WD2Fgmp27ZDzjC2gEc/ltVZU2II31+LnLIWobcdISVCBGzMpJecTpXc8h1HT50kjrHjETL+5IbZmsANsq0AQBVMqHIhWnGufsphme/JJh47W; Expires=Wed, 04 Sep 2019 20:48:10 GMT; Path=/"},{"key":"ETag","value":"W/\"7a02c95c1fc42a7738270cb26d1b8dd5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"46074845-17f0-4946-9b59-fc8528e50f7a"},{"key":"X-Runtime","value":"0.095035"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"13918\",\n        \"type\": \"event\",\n        \"attributes\": {\n            \"name\": \"New Appointment\",\n            \"description\": \"API Appointment\",\n            \"start_date\": \"2020-06-28T00:00:00.000-07:00\",\n            \"end_date\": \"2020-06-29T00:00:00.000-07:00\",\n            \"all_day\": false,\n            \"reminder_type\": \"minutes\",\n            \"reminder_delay_length\": 10,\n            \"reminder_sent\": false,\n            \"location\": {\n                \"id\": 1,\n                \"name\": \"LM Office\",\n                \"locationable_type\": \"Firm\",\n                \"locationable_id\": 15,\n                \"address_id\": 3588,\n                \"firm_id\": 15,\n                \"created_at\": \"2018-09-07T09:18:55.353-07:00\",\n                \"updated_at\": \"2018-09-07T09:18:55.353-07:00\"\n            },\n            \"send_invites\": false,\n            \"event_type_id\": 23,\n            \"time_zone\": \"America/Los_Angeles\"\n        },\n        \"relationships\": {\n            \"event_type\": {\n                \"data\": {\n                    \"id\": \"23\",\n                    \"type\": \"event_type\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"462a5306-ca2a-4560-a1e0-fba198e3da6c"},{"name":"Update Event","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"aaf01486-a58c-4864-9207-66f541ee95f6"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   pm.globals.set(\"user_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/locations`, function (err, response) {","   pm.globals.set(\"location_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/event_types?fields=type,id&filter_by=type&filter_on=AppointmentEventType`, function (err, response) {","   pm.globals.set(\"event_type_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"28dcc256-57c9-46d7-961e-07c04635c6a0"}}],"id":"cafedc90-2d4b-4306-915e-ff348e6ce34e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Appointment Changed\",\n\t\"description\": \"API Appointment\",\n\t\"start_date\": \"06/28/2020\",\n\t\"end_date\": \"06/29/2020\",\n\t\"user_ids\": [{{user_id}}],\n\t\"all_day\": false,\n\t\"eventable_type\": \"Prospect\",\n\t\"eventable_id\": {{prospect_id}},\n\t\"event_type_id\": {{event_type_id}},\n\t\"location_id\": {{location_id}},\n\t\"reminder_delay_length\": 10,\n\t\"reminder_type\": \"minutes\",\n\t\"send_invites\": true,\n\t\"no_show\": true,\n    \"time_zone\": \"America/Los_Angeles\"\n}"},"url":"{{host}}/v1/events/:event_id","description":"<p>Update an existing Matter by ID.</p>\n<p>PATCH works for this endpoint as well as PUT.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","events",":event_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c60127fb-c0f2-4010-9962-ebd89f03e15d","type":"any","value":"{{created_event_id}}","key":"event_id"}]}},"response":[{"id":"7d7fc8f1-c4aa-427c-ae74-79c5c856c115","name":"PUT Update Event","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Appointment\",\n\t\"description\": \"API Appointment\",\n\t\"start_date\": \"06/28/2020\",\n\t\"end_date\": \"06/29/2020\",\n\t\"user_ids\": [3],\n\t\"all_day\": false,\n\t\"eventable_type\": \"Prospect\",\n\t\"eventable_id\": \"3\",\n\t\"event_type_id\": \"5\",\n\t\"location_id\": \"1\",\n\t\"reminder_delay_length\": 10,\n\t\"reminder_type\": \"minutes\",\n\t\"send_invites\": true,\n\t\"no_show\": true,\n    \"time_zone\": \"America/Los_Angeles\"\n}"},"url":{"raw":"{{host}}/v1/events/:event_id?fields=all","host":["{{host}}"],"path":["v1","events",":event_id"],"query":[{"key":"fields","value":"all"}],"variable":[{"key":"event_id","value":"{{created_event_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"438e3e9bbde390baabab8ef56cbc64f6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"ccbd72f4-0dea-4e8a-a140-6506740fcf28"},{"key":"X-Runtime","value":"0.080994"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"type\": \"event\",\n        \"attributes\": {\n            \"name\": \"New Appointment\",\n            \"description\": \"API Appointment\\n\\nMatter Phone: 619-555-7327\",\n            \"start_date\": \"2020-06-28T00:00:00.000-07:00\",\n            \"end_date\": \"2020-06-29T00:00:00.000-07:00\",\n            \"all_day\": false,\n            \"reminder_type\": \"minutes\",\n            \"reminder_delay_length\": 10,\n            \"reminder_sent\": false,\n            \"location\": {\n                \"id\": 1,\n                \"name\": \"Miami Location\",\n                \"locationable_type\": \"Firm\",\n                \"locationable_id\": 2,\n                \"address_id\": 101,\n                \"firm_id\": 2,\n                \"created_at\": \"2021-10-31T19:59:38.874-07:00\",\n                \"updated_at\": \"2021-10-31T19:59:38.874-07:00\"\n            },\n            \"send_invites\": true,\n            \"event_type_id\": 5,\n            \"time_zone\": \"America/Los_Angeles\"\n        },\n        \"relationships\": {\n            \"users\": {\n                \"data\": [\n                    {\n                        \"id\": \"3\",\n                        \"type\": \"user\"\n                    }\n                ]\n            },\n            \"event_type\": {\n                \"data\": {\n                    \"id\": \"5\",\n                    \"type\": \"event_type\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"cafedc90-2d4b-4306-915e-ff348e6ce34e"},{"name":"Cancel Event","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"89482301-ffaf-4279-846b-073377f2eaa1"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/events`, function (err, response) {","   pm.globals.set(\"event_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"b6e45743-dba2-4bdf-bd95-4ace64131b2d"}}],"id":"c0caac84-82c8-4274-ad59-79c839459d4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/events/:event_id?notify_attendees=true","description":"<p>Cancels an existing Event/Appointment</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","events",":event_id"],"host":["{{host}}"],"query":[{"key":"notify_attendees","value":"true"}],"variable":[{"id":"1beac25b-6835-4f08-b1b9-a1bcce30e72c","description":{"content":"<p>The event/appointment</p>\n","type":"text/plain"},"type":"any","value":"{{event_id}}","key":"event_id"}]}},"response":[{"id":"8c876237-2530-4f2b-9e50-2753ff28f4d2","name":"DELETE Cancel Event","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/v1/events/:event_id?notify_attendees=true","host":["{{host}}"],"path":["v1","events",":event_id"],"query":[{"key":"notify_attendees","value":"true"}],"variable":[{"key":"event_id","value":"{{created_event_id}}","description":"The event/appointment"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"121e1449aec4cafcd0d37de002d1e8d2\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"da5927af-fc05-46bc-bcbb-3b4152e0e4ed"},{"key":"X-Runtime","value":"0.271719"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"6\",\n        \"type\": \"event\",\n        \"attributes\": {\n            \"name\": \"New Appointment\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"c0caac84-82c8-4274-ad59-79c839459d4c"}],"id":"4d98c633-8bbd-4e45-b01f-8c81eeca7ae1","description":"<p><em>Events</em> are also referred to in the app as \"Appointments\"</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"fa92bd50-b67a-4c14-a50f-86fc059ed816"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ed7775f1-28af-4a95-9b23-ad4c6c8ba437"}}],"_postman_id":"4d98c633-8bbd-4e45-b01f-8c81eeca7ae1","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Event Locations","item":[{"name":"Locations","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"399d53d3-57f3-499f-a627-7d2514f26a0c"}}],"id":"52558b3f-a09d-4ed2-a47b-6b37010c93f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/locations","description":"<p>A <strong>paginated</strong> list of all Firm Locations in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","locations"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"da2e8d43-0495-4ff4-b6e2-e37bab663cf3","name":"GET Locations","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/locations?fields=all","host":["{{host}}"],"path":["v1","locations"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Jul 2022 22:40:34 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=1IRzM73XbdtXoIWjUBTLT+75vgunsZgOm4U5vW8L2XMXF5opUo3idTOTQ0PD67gclqqvRJH9wzCHHfuLmRW9NccYxuQi8wG7glrXT9a2X+ECxCMl5vlx2MAjOqKF; Expires=Fri, 08 Jul 2022 22:40:34 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=1IRzM73XbdtXoIWjUBTLT+75vgunsZgOm4U5vW8L2XMXF5opUo3idTOTQ0PD67gclqqvRJH9wzCHHfuLmRW9NccYxuQi8wG7glrXT9a2X+ECxCMl5vlx2MAjOqKF; Expires=Fri, 08 Jul 2022 22:40:34 GMT; Path=/; SameSite=None; Secure"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"c80cf90be5b337bef8e80ec5fee22dc8\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"5e241bad-3ef3-46a0-a2f1-e4e9271d811a"},{"key":"X-Runtime","value":"0.028762"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"2985\",\n            \"type\": \"location\",\n            \"attributes\": {\n                \"name\": \"Zoom\",\n                \"address\": \"www.zoom.com\",\n                \"created_at\": \"2021-09-23T11:37:21.602-07:00\",\n                \"updated_at\": \"2021-09-23T11:37:21.602-07:00\"\n            },\n            \"relationships\": {\n                \"address\": {\n                    \"data\": {\n                        \"id\": \"1033526\",\n                        \"type\": \"address\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"314\",\n            \"type\": \"location\",\n            \"attributes\": {\n                \"name\": \"Phone Conference\",\n                \"address\": \"800-883-1105 ext. 2\",\n                \"created_at\": \"2019-05-15T14:07:18.373-07:00\",\n                \"updated_at\": \"2019-05-15T14:07:18.373-07:00\"\n            },\n            \"relationships\": {\n                \"address\": {\n                    \"data\": {\n                        \"id\": \"82052\",\n                        \"type\": \"address\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"location\",\n            \"attributes\": {\n                \"name\": \"Spokane - Conference Room B\",\n                \"address\": \"711 W. Indiana, Spokane, WA 99205, United States\",\n                \"created_at\": \"2018-09-07T10:52:27.992-07:00\",\n                \"updated_at\": \"2018-09-07T10:52:27.992-07:00\"\n            },\n            \"relationships\": {\n                \"address\": {\n                    \"data\": {\n                        \"id\": \"3590\",\n                        \"type\": \"address\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"location\",\n            \"attributes\": {\n                \"name\": \"Spokane - Conference Room A\",\n                \"address\": \"711 W. Indiana, Spokane, WA 99205, United States\",\n                \"created_at\": \"2018-09-07T10:49:00.735-07:00\",\n                \"updated_at\": \"2018-09-07T10:49:00.735-07:00\"\n            },\n            \"relationships\": {\n                \"address\": {\n                    \"data\": {\n                        \"id\": \"3590\",\n                        \"type\": \"address\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"location\",\n            \"attributes\": {\n                \"name\": \"LM Office\",\n                \"address\": \"4250 Executive Square, Suite 101, La Jolla, CA 92037, United States\",\n                \"created_at\": \"2018-09-07T09:18:55.353-07:00\",\n                \"updated_at\": \"2018-09-07T09:18:55.353-07:00\"\n            },\n            \"relationships\": {\n                \"address\": {\n                    \"data\": {\n                        \"id\": \"3588\",\n                        \"type\": \"address\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 5\n    },\n    \"links\": {\n        \"self\": \"/v1/locations?page=1\"\n    }\n}"}],"_postman_id":"52558b3f-a09d-4ed2-a47b-6b37010c93f3"}],"id":"ce5186cc-fa5b-4ca0-987e-0ae810046309","description":"<p>These are Firm related Locations (for events) that can be configured in Firm settings.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"f892852f-a703-448b-8970-de356f439b11"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response time is less than 400ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(400);","});","pm.test(\"Status code is Successful\", function () {","    pm.response.to.be.ok","});"],"id":"cc57b524-ce9a-45e3-8862-8a6c2be5dc37"}}],"_postman_id":"ce5186cc-fa5b-4ca0-987e-0ae810046309","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Event Types","item":[{"name":"Event Type","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"15f9bc7d-9aab-46de-ba10-a588e91bced6"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/event_types`, function (err, response) {","   pm.globals.set(\"event_type_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"a7043fb0-83b3-47ff-a09c-024c838957ea"}}],"id":"54970817-60b1-43b4-8af4-735d747b7a85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/event_types/:event_type_id","description":"<p>A specific <strong>Event Type</strong> by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","event_types",":event_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"0e15ee5a-2a54-4750-8cb0-9bca8c7d41fd","type":"any","value":"{{event_type_id}}","key":"event_type_id"}]}},"response":[{"id":"597ddc25-11c3-4695-8046-effffadce3fb","name":"GET Event Type","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/event_types/:event_type_id?fields=all","host":["{{host}}"],"path":["v1","event_types",":event_type_id"],"query":[{"key":"fields","value":"all"}],"variable":[{"key":"event_type_id","value":"{{created_event_type_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"8ec547f220bc01feb06836ba68411c57\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"ccf87a84-abbf-45b3-8596-6169ae5ff32c"},{"key":"X-Runtime","value":"0.089710"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"14\",\n        \"type\": \"event_type\",\n        \"attributes\": {\n            \"name\": \"test6\",\n            \"duration\": 30,\n            \"created_at\": \"2022-06-26T17:29:20.139-07:00\",\n            \"updated_at\": \"2022-06-26T17:29:20.139-07:00\"\n        },\n        \"relationships\": {\n            \"events\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"54970817-60b1-43b4-8af4-735d747b7a85"},{"name":"Event Types","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"54d47e32-141b-46dc-a5d6-76826b2cf973"}}],"id":"d7d4cbed-99a8-4d9e-ae48-f2f507242b0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/event_types","description":"<p>A <strong>paginated</strong> list of all <strong>Event Types</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","event_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e0bfe34a-3fb0-4caa-b7f1-6693ba5f5d1e","name":"GET Event Types","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/event_types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"9d54c43342500c28735c1b9a8789cce1\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"10134758-40bd-46df-9434-c24f0f238766"},{"key":"X-Runtime","value":"0.423784"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5\",\n            \"type\": \"event_type\",\n            \"attributes\": {\n                \"name\": \"Seminar\"\n                \"duration\": 30,\n                \"created_at\": \"2021-10-31T20:00:25.779-07:00\",\n                \"updated_at\": \"2022-03-29T17:41:14.493-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"4\",\n            \"type\": \"event_type\",\n            \"attributes\": {\n                \"name\": \"Statute of Limitations\",\n                \"duration\": 30,\n                \"created_at\": \"2021-10-26T15:47:05.612-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:05.612-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"event_type\",\n            \"attributes\": {\n                \"name\": \"Initial Consultation\",\n                \"duration\": 30,\n                \"created_at\": \"2021-10-26T15:47:05.611-07:00\",\n                \"updated_at\": \"2021-10-26T15:47:05.611-07:00\"\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 3\n    },\n    \"links\": {\n        \"self\": \"/v1/event_types?page=1\"\n    }\n}"}],"_postman_id":"d7d4cbed-99a8-4d9e-ae48-f2f507242b0b"},{"name":"Create Event Type","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_event_type_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"5d56a474-41cf-440f-84ad-d53c20b89d62"}}],"id":"787ba903-961b-4dd3-9bb8-6180a0f92ec3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test Event Type\",\n    \"duration\": 30\n}"},"url":"{{host}}/v1/event_types","description":"<p>Create a new <strong>Event Type</strong></p>\n<p><strong>duration</strong>: Default event duration (in minutes)</p>\n<p><strong>name</strong>: Name of the <strong>Event Type</strong></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","event_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"36e99ef1-a862-48fb-86bb-06c14e04e4b6","name":"POST Create Event Type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"test5\",\n    \"duration\": 30\n}"},"url":"{{host}}/v1/event_types"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"939b6120afd40e90273bb7c28c02b8f8\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a6ba33f8-137c-4246-8955-1f8a7c0dfa62"},{"key":"X-Runtime","value":"0.032795"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"13\",\n        \"type\": \"event_type\",\n        \"attributes\": {\n            \"name\": \"test5\",\n            \"duration\": 30,\n            \"created_at\": \"2022-06-26T17:28:08.821-07:00\",\n            \"updated_at\": \"2022-06-26T17:28:08.821-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"787ba903-961b-4dd3-9bb8-6180a0f92ec3"},{"name":"Update Event Type","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"02d7dbde-6e0b-418d-bf40-fbff5b2f91bb"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/event_types`, function (err, response) {","   pm.globals.set(\"event_type_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"b8d6a1ed-1c61-4a5a-b496-a79c847983d6"}}],"id":"17bc49c8-5786-4dae-967b-0687da641d9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Different Event Type\",\n    \"duration\": 60\n}"},"url":"{{host}}/v1/event_types/:event_type_id","description":"<p>Updates an <strong>Event Type</strong></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","event_types",":event_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"12af6eef-7c1a-43a6-b4e6-d98a565f8780","type":"any","value":"{{event_type_id}}","key":"event_type_id"}]}},"response":[{"id":"be850480-5c98-4dea-8b52-de3f6511eea8","name":"PUT Update Event Type","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Different Event Type\",\n    \"duration\": 60\n}"},"url":{"raw":"{{host}}/v1/event_types/:event_type_id","host":["{{host}}"],"path":["v1","event_types",":event_type_id"],"variable":[{"key":"event_type_id","value":"{{created_event_type_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"281716829600f6290ba7cfca0c556c94\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"692830cb-37fb-4a18-b4ba-4466bff63fe0"},{"key":"X-Runtime","value":"0.035370"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"17\",\n        \"type\": \"event_type\",\n        \"attributes\": {\n            \"name\": \"Different Event Type\",\n            \"duration\": 60,\n            \"created_at\": \"2022-06-26T17:34:30.915-07:00\",\n            \"updated_at\": \"2022-06-26T17:35:02.532-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"17bc49c8-5786-4dae-967b-0687da641d9f"},{"name":"Delete Event Type","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"97fa0a04-e256-478d-89fc-0c8c51171c72"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/event_types`, function (err, response) {","   pm.globals.set(\"event_type_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"abe8fc86-c7eb-4a07-8437-5e512f96a8e5"}}],"id":"98489cad-8bee-4cf2-bd89-471f62095c34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/event_types/:event_type_id","description":"<p>Delete an <strong>Event Type</strong></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","event_types",":event_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"d6487846-93f8-4831-aa78-e045c325ebc8","type":"any","value":"{{created_event_type_id}}","key":"event_type_id"}]}},"response":[{"id":"2e6377d1-ded0-4fd2-ad40-e2342247f1e1","name":"DEL Delete Event Type","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/v1/event_types/:event_type_id","host":["{{host}}"],"path":["v1","event_types",":event_type_id"],"variable":[{"key":"event_type_id","value":"{{created_event_type_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"281716829600f6290ba7cfca0c556c94\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"64f5494a-3063-4da0-add3-ddfcc04cb02e"},{"key":"X-Runtime","value":"0.034158"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"17\",\n        \"type\": \"event_type\",\n        \"attributes\": {\n            \"name\": \"Different Event Type\",\n            \"duration\": 60,\n            \"created_at\": \"2022-06-26T17:34:30.915-07:00\",\n            \"updated_at\": \"2022-06-26T17:35:02.532-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"98489cad-8bee-4cf2-bd89-471f62095c34"}],"id":"c4491601-26c4-422e-9a5d-abcf711dda26","description":"<p><strong>Event Types</strong> define <strong>Event</strong> defaults, and can trigger automations, for common types of <strong>Events</strong> created in Lawmatics.</p>\n<p>Configuring Calendar Availability defaults is not currently supported by the API. Go to Settings -&gt; Event Settings to configure the Event Type in more detail.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a97fd281-fb18-40fa-83e1-3796772fd171"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"778dbea5-7b6e-4393-9129-57fcf4622272"}}],"_postman_id":"c4491601-26c4-422e-9a5d-abcf711dda26","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Files","item":[{"name":"File","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"a13457b6-87ce-4244-8e40-9afdade3471b"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/files`, function (err, response) {","   pm.globals.set(\"file_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"2ecc985d-67fa-4870-8c5b-944ec38a603d"}}],"id":"ea844bc1-3796-49a6-8867-173188ee3e78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/files/:file_id","description":"<p>A specific File's metadata in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","files",":file_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"14df1341-b3f5-4051-ace0-0b5d935ffc2d","type":"any","value":"{{file_id}}","key":"file_id"}]}},"response":[{"id":"fc242035-d47a-48ca-b7ca-68b0f6d49fc4","name":"GET File","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/files/:file_id?fields=all","host":["{{host}}"],"path":["v1","files",":file_id"],"query":[{"key":"fields","value":"all"}],"variable":[{"key":"file_id","value":"{{file_id}}"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"2\",\n        \"type\": \"file\",\n        \"attributes\": {\n            \"name\": \"unnamed.png\",\n            \"file_size\": 8833,\n            \"file_url\": \"https://api.lawmatics.com/attachments/962626ca7818b57e20da04a9ededcfa3dbe240dc/store/1d5cd6d1a447ec549b8dc91f584050c8f625c29b376a39f9e531a0d0b666/unnamed.png\",\n            \"file_name\": \"unnamed.png\",\n            \"file_type\": \"image/png\",\n            \"created_at\": \"2022-06-14T16:59:22.915-07:00\",\n            \"updated_at\": \"2022-06-14T16:59:22.915-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"firm\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"ea844bc1-3796-49a6-8867-173188ee3e78"},{"name":"Files","event":[{"listen":"test","script":{"exec":["pm.test(\"Response time is less than 6000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(6000);","});","","pm.test(\"Status code is Successful\", function () {","    pm.response.to.be.ok","});"],"type":"text/javascript","id":"3056478d-839e-496c-96ab-73d185794187"}}],"id":"f85db480-2eef-42a6-bebb-8db12dafd098","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/files","description":"<p>A <strong>paginated</strong> list of all File metadata in Lawmatics</p>\n<p>Can be filtered by <code>matter_id</code> , <code>prospect_id</code> , <code>contact_id</code> , <code>client_id</code> and <code>firm</code></p>\n<p>as well as all the regular fields as referenced by our Param Guide (most fields returned by<code>?fields=all</code>).</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","files"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"b66078d8-beb0-48e6-af3c-b05c7c6914dc","name":"GET Files","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/files"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"924adef8c3dda08b0fa6e077dcb26292\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"dcc86f78-e42c-4f07-8223-17c60ea24efe"},{"key":"X-Runtime","value":"3.472721"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"48\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223139Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=f861eb81cb5e418a8a0d8553f47fdba3796dd8c0fdf7589784147fc322a06c9a\",\n                \"file_size\": 0,\n                \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-08-04T14:55:13.759-07:00\",\n                \"updated_at\": \"2022-08-04T14:55:13.759-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"45\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"spaceroey.png\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/d8638a97af376bbfe4c37a02b58bdc00be27412ba3df2c827ac2ef43c83d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223139Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=d999a7c1f3826190e3b562fd60d7aa776503d8dbe540e7c51e043679e6cceb74\",\n                \"file_size\": 0,\n                \"file_name\": \"spaceroey.png\",\n                \"file_type\": \"image/png\",\n                \"created_at\": \"2022-08-04T09:54:25.820-07:00\",\n                \"updated_at\": \"2022-08-04T09:54:25.820-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"231\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"44\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Bob Man - Form Submission 07/25/2022 03:28pm PDT - Internal Form.pdf\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/14ec6afab06c33e4380cabf1afae1e1d010a70d9ea15b18bbb6beaabe1ea?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223139Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=a70b8170ae975cdb5a6f9e02d0e678336c07f58fc12246070662088efbb1581b\",\n                \"file_size\": 0,\n                \"file_name\": \"bob_man_form_submission_1658788088_internal_form.pdf\",\n                \"file_type\": \"application/pdf\",\n                \"created_at\": \"2022-07-25T15:28:12.293-07:00\",\n                \"updated_at\": \"2022-07-25T15:28:12.293-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"191\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"43\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Bob Man - Form Submission 07/25/2022 03:27pm PDT - Internal Form.pdf\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/027bfa7a400265118a10f0bb5b7ba5f628c3a822f931c7bec272a46ba84f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223139Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=977832ca88970c3201a4cef9ccbb135260db161aa8e30d3d78691ba447e49f8a\",\n                \"file_size\": 0,\n                \"file_name\": \"bob_man_form_submission_1658788029_internal_form.pdf\",\n                \"file_type\": \"application/pdf\",\n                \"created_at\": \"2022-07-25T15:27:12.733-07:00\",\n                \"updated_at\": \"2022-07-25T15:27:12.733-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"190\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"42\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Lisa Williams - Form Submission 07/25/2022 03:24pm PDT - Internal Form.pdf\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/e0dae1bf5bc8525a493b0095ac3cbb968ecb26288792a190f5cec10fdf7a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223139Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b871cf316e75f16e3efa502a3aa00a863f06dc645de2d1a01b5906d11806c204\",\n                \"file_size\": 0,\n                \"file_name\": \"lisa_williams_form_submission_1658787883_internal_form.pdf\",\n                \"file_type\": \"application/pdf\",\n                \"created_at\": \"2022-07-25T15:24:51.675-07:00\",\n                \"updated_at\": \"2022-07-25T15:24:51.675-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"189\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"41\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Cool!!asdasdasd.png.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/4ff0aeabc979f59d118a0c809c51533b0bf04305376d565aa820c364e924?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223139Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=02919ec93a8cdb656b2d35840733642e9b98bbee0d4e392b46748d082ae44720\",\n                \"file_size\": 0,\n                \"file_name\": \"Cool!!asdasdasd.png.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-07-25T10:35:42.954-07:00\",\n                \"updated_at\": \"2022-07-27T11:24:44.621-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"40\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"cool story.csv\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/2807232cdaa3d43e2089347172dbc5d123025e2ceb76439f9b0cc340ad66?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223140Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=fe592825976776b6998a547d2109ea3161636b8c0373b2229accf3431281928c\",\n                \"file_size\": 0,\n                \"file_name\": \"cool story.csv\",\n                \"file_type\": \"text/csv\",\n                \"created_at\": \"2022-07-12T13:11:14.184-07:00\",\n                \"updated_at\": \"2022-07-12T17:01:17.287-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"168\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"39\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Invoice #1.pdf\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/a6c745e68adfc23759b2456c8bc09ac9d98d527c98cf4ff740c33198413e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223140Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=74798bd6e7f7619577c7d34a970b581f0f9f5627a929fa8ba140b71ddfe77ede\",\n                \"file_size\": 0,\n                \"file_name\": \"Invoice #1.pdf\",\n                \"file_type\": \"application/pdf\",\n                \"created_at\": \"2022-07-06T18:56:55.603-07:00\",\n                \"updated_at\": \"2022-07-06T18:56:55.603-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"invoice\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"38\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"test - Form Submission 07/04/2022 05:48pm PDT - Rel Block.pdf\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/eae6f302adda6078a79fe611ffc5afccba774a4b3738b6c8a97026911c83?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223140Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=fd5d85259985e2d9a8c06adb59c7438144d2ed98ee1d6784c708a48f00d84530\",\n                \"file_size\": 0,\n                \"file_name\": \"test_form_submission_1656982120_rel_block.pdf\",\n                \"file_type\": \"application/pdf\",\n                \"created_at\": \"2022-07-04T17:48:43.286-07:00\",\n                \"updated_at\": \"2022-07-04T17:48:43.286-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"168\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"37\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Test Hello.pdf\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/5e1a9d6f5e98f728d178f4bc70555db8ba1ad9c9ef952b30bd9492ca3d2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223140Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=c5f3592ad48e309d92e11cb5a654105c7124ba43bc1de8e4d39413ac32023233\",\n                \"file_size\": 0,\n                \"file_name\": \"Test Hello.pdf\",\n                \"file_type\": \"application/pdf\",\n                \"created_at\": \"2022-07-03T18:19:29.673-07:00\",\n                \"updated_at\": \"2022-07-12T13:09:19.042-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"168\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"36\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"test - Form Submission 07/03/2022 06:16pm PDT - Internal Form.pdf\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/c3e44f8bb947e82c1e8cb3959e3c34eac7dec8757684fa5f86067642cfbf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223140Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=7708eb3345e86ebfaf233cab40b3fd157d2e8bb7227564c663142e2ac6cdf62a\",\n                \"file_size\": 0,\n                \"file_name\": \"test_form_submission_1656897411_internal_form.pdf\",\n                \"file_type\": \"application/pdf\",\n                \"created_at\": \"2022-07-03T18:16:58.807-07:00\",\n                \"updated_at\": \"2022-07-03T18:16:58.807-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"167\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"35\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/5ff972883ad42adbbe87a7cef1d5ce1cd5d31ccf1d7e702c8a724b24fef8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223140Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=6627d0e5484239b97241f9e89de69b0aa723d370025d34e7071a8733ccdf99c5\",\n                \"file_size\": 0,\n                \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-07-03T16:00:00.571-07:00\",\n                \"updated_at\": \"2022-07-03T16:00:00.571-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"34\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"stones.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/203d0529a67d9abf75f69733714a15a3f634f907b60082e4030c3e81bc2f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223140Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=ff98e4c5fa2d418e608c61efbbc413b16ac2d070fd747fb04774daf147cae876\",\n                \"file_size\": 0,\n                \"file_name\": \"stones.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-07-01T10:28:01.073-07:00\",\n                \"updated_at\": \"2022-07-01T10:28:01.073-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"189\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"33\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Folder.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/a83e5e0c6936fe3f0dc5421782dbc79ce8c6c7ecba3854a40e1ea67491b8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223140Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=ffdd44a278b0bc912203a54ec73a117f9cb8f13bf95776cc8131fa785c16a594\",\n                \"file_size\": 0,\n                \"file_name\": \"Folder.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-07-01T10:20:23.803-07:00\",\n                \"updated_at\": \"2022-07-01T10:20:23.803-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"189\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"32\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/095ab26b896eea101eab5a9c778607738f10ede4833a735886a7d1bd4bc2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223140Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=8261cf5387a1b8d12e23f6a10aab78f25c21f80c3a45a7f85d43edb1de7bb4ad\",\n                \"file_size\": 0,\n                \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-06-26T15:31:41.098-07:00\",\n                \"updated_at\": \"2022-06-26T15:31:41.098-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"31\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/9900cf727fb296b32d96c1db7247152cc9a131ba4300fee9b5c7979f203c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223141Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=196b87bb17c4f8259b1ce8861c2dbfe207d56b34842cfdad5d4d5db81d4cc19e\",\n                \"file_size\": 0,\n                \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-06-26T15:30:53.907-07:00\",\n                \"updated_at\": \"2022-06-26T15:30:53.907-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"30\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/fade18ead85043c48ae4a4d1eb369f8a1a161ab828c0884d1b85a0abc7d4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223141Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b7cd060b822570ec7a5a543fdb6713f0642c794070b354e450609e28406f8b36\",\n                \"file_size\": 0,\n                \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-06-25T17:18:40.392-07:00\",\n                \"updated_at\": \"2022-06-25T17:18:40.392-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"29\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/be01f4136fc22d0d0ad721d4e8f622fab1b53f18bba33c5d4813784fad00?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223141Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=9543b444af2e36af1855d9c1e95e74aaa21320fedcabc3e5e0815a9d47942844\",\n                \"file_size\": 0,\n                \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-06-25T10:02:41.453-07:00\",\n                \"updated_at\": \"2022-06-25T10:02:41.453-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"28\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/d5d211a740262b977e34de50464f050f2760e93f8a10c1403ba79a47f1b4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223141Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=7e50202a183abcb05e61ba8d4f9c625de56047e3e4048b6402214324b5489856\",\n                \"file_size\": 0,\n                \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-06-25T10:01:20.655-07:00\",\n                \"updated_at\": \"2022-06-25T10:01:20.655-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"27\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/23e3f75eda7a156633835c9bb138da3b033879878e0117616d89dcaf0378?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223141Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=c406ffd1f797bfe849af963781bb8e4c9558c408e58d3cd85abe32063f6facd3\",\n                \"file_size\": 0,\n                \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-06-24T19:25:43.550-07:00\",\n                \"updated_at\": \"2022-06-24T19:25:43.550-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"26\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/7f5fee8fa2873b2150d672f1be983d08286c0d5751618ead58a38ee630ff?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223141Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=4b3504f50db9cd2a50d2599d198bd95133a868761bc7d34f9fdbf141fc9c5d68\",\n                \"file_size\": 0,\n                \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-06-24T19:25:00.768-07:00\",\n                \"updated_at\": \"2022-06-24T19:25:00.768-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"25\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"stones.jpg\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/ba1b760b74e7110cf64b8e1aec353a2a36678cd263ab79231912e0686a14?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223141Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=04b459f6d6de1e747aad63f3373d156080974b2ddc48c236e32042c107a58c73\",\n                \"file_size\": 0,\n                \"file_name\": \"stones.jpg\",\n                \"file_type\": \"image/jpeg\",\n                \"created_at\": \"2022-06-20T18:03:45.722-07:00\",\n                \"updated_at\": \"2022-06-20T18:03:45.722-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"162\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"24\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"(opening title) Forsaken.mp3\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/dd24455f01dd651fe073afaf1edfd995624f5b65f1cbba74a21fd83d4a34?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223141Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=d28d8755301fd9781d2b99bad2056540dddecf76d158c45629ad648c5deb481d\",\n                \"file_size\": 0,\n                \"file_name\": \"(opening title) Forsaken.mp3\",\n                \"file_type\": \"audio/mpeg\",\n                \"created_at\": \"2022-06-20T01:05:23.906-07:00\",\n                \"updated_at\": \"2022-06-20T01:05:23.906-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"150\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"23\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"LM_Matter_import3 (1).csv\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/a1f4a97561c339a1f54d547b70a57c98226f0b5b554f088a035d79b3a34e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223141Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=e8e1b5f45f41eed3d74f8a7ab82cd23d9208b5dcfa570a4b2e86003f2986e25c\",\n                \"file_size\": 0,\n                \"file_name\": \"LM_Matter_import3 (1).csv\",\n                \"file_type\": \"text/csv\",\n                \"created_at\": \"2022-06-19T23:25:01.629-07:00\",\n                \"updated_at\": \"2022-06-19T23:46:30.803-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"150\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"22\",\n            \"type\": \"file\",\n            \"attributes\": {\n                \"name\": \"goosby_res_sdf-13.pdf\",\n                \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/c31f89fa03259249fd13b037f2fbbb5cf1163099491c2b409a5af3c4e706?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223142Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=0f4baaf819aead8e88b6c09fbb0f77902987953557a2d7d7fd053195cfda9d29\",\n                \"file_size\": 0,\n                \"file_name\": \"goosby_res_sdf-13.pdf\",\n                \"file_type\": \"application/pdf\",\n                \"created_at\": \"2022-06-19T23:15:31.597-07:00\",\n                \"updated_at\": \"2022-06-19T23:15:31.597-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"150\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 2,\n        \"limit_per_page\": 25,\n        \"total_entries\": 45\n    },\n    \"links\": {\n        \"self\": \"/v1/documents?page=1\",\n        \"next\": \"/v1/documents?page=2\"\n    }\n}"},{"id":"599c5efd-219a-4173-99de-ca47fb5d05d8","name":"GET Files for a specific Matter","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/files?filter_by=matter_id&filter_on=116","host":["{{host}}"],"path":["v1","files"],"query":[{"key":"filter_by","value":"matter_id"},{"key":"filter_on","value":"116"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"dd7667b6-f380-4b8a-8443-8ea93a9c7a9a","name":"GET Firm Files","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/files?filter_by=documentable_type&filter_on=firm","host":["{{host}}"],"path":["v1","files"],"query":[{"key":"filter_by","value":"documentable_type"},{"key":"filter_on","value":"firm"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f05ec3e6-f88f-48c4-be08-2d3bb58b1006","name":"GET Contact Files","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/files?filter_by=contact_id&filter_on=34","host":["{{host}}"],"path":["v1","files"],"query":[{"key":"filter_by","value":"contact_id"},{"key":"filter_on","value":"34"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f85db480-2eef-42a6-bebb-8db12dafd098"},{"name":"Download File","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/files`, function (err, response) {","   pm.globals.set(\"file_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"8ba28b22-e465-40ac-b370-0f11d362e356"}},{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"1eda8a5f-a3b6-4623-a3fc-47ad3fefaa54"}}],"id":"d55e8097-eabb-419d-a494-0110d67030bb","protocolProfileBehavior":{"disabledSystemHeaders":{},"followRedirects":true,"disableUrlEncoding":false,"disableCookies":false,"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/files/download/:id","description":"<ul>\n<li><p>When testing from <strong>Postman</strong> please click on '<strong>Send and download</strong>' option instead of '<strong>Send</strong>'.</p>\n</li>\n<li><p>a 404 can be sent case the file isn't found.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","files","download",":id"],"host":["{{host}}"],"query":[],"variable":[{"id":"9f4e309d-9e03-4c7a-a225-1bb7998131da","type":"any","value":"{{file_id}}","key":"id"}]}},"response":[{"id":"e2a66a1c-6726-45e1-9a0b-e38d90762594","name":"Download File","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/files/download/:id","host":["{{host}}"],"path":["v1","files","download",":id"],"variable":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":""},{"key":"Access-Control-Allow-Method","value":""},{"key":"Cache-Control","value":"public, max-age=31536000"},{"key":"Expires","value":"Sat, 10 Jun 2023 16:19:42 GMT"},{"key":"Content-Type","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},{"key":"Content-Disposition","value":"inline; filename=\"sheet2.xlsx\""},{"key":"Last-Modified","value":"Fri, 10 Jun 2022 16:19:42 GMT"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Request-Id","value":"aa7cfefc-4f60-44f9-8b86-118d292c4637"},{"key":"X-Runtime","value":"3.919725"},{"key":"Vary","value":"Origin"},{"key":"Content-Length","value":"9299"}],"cookie":[],"responseTime":null,"body":""},{"id":"e55cbf40-db16-4752-810e-f11f8ce718b2","name":"File Not Found","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/files/download/:id","host":["{{host}}"],"path":["v1","files","download",":id"],"variable":[{"key":"id","value":"invalidId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"702db896-1193-42e9-870f-0f417d511b57"},{"key":"X-Runtime","value":"0.711911"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"status\": 404,\n            \"title\": \"Not found\",\n            \"detail\": \"File with id invalidId was not found.\"\n        }\n    ]\n}"}],"_postman_id":"d55e8097-eabb-419d-a494-0110d67030bb"},{"name":"Upload File","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_file_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"65895726-4354-45fe-a0d3-31bc01f14086"}}],"id":"4397e206-63b6-440c-8d9a-80ac24a6278a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Firm","description":"<p>Firm/Contact/Matter</p>\n","type":"text"},{"key":"documentable_id","value":"1","description":"<p>ID of the Documentable to attach the file to</p>\n","type":"text","disabled":true},{"key":"file","type":"file","src":"README.md"},{"key":"path[]","value":"Folder 1","type":"text","disabled":true},{"key":"path[]","value":"Folder 2","type":"text","disabled":true}]},"url":"{{host}}/v1/files","description":"<p>Uploads a file to a Firm, Matter, Contact or Client</p>\n<p>Max allowed file size is 1GB. However, we recommend to avoid files greater than 100MB.</p>\n<p><strong>documentable_type</strong>: One of [\"firm\", \"client\", \"matter\", \"contact\"]</p>\n<p><strong>documentable_id:</strong> The record ID, not needed for Firm documentable_type.</p>\n<p><strong>file</strong>: File to upload</p>\n<p><strong>folder_id:</strong> the Folder ID the file should be located in</p>\n<p><strong>name:</strong> name for the File. Defaults to uploaded file name</p>\n<p><strong>path:</strong> String Array. e.g. [\"Root\", \"Folder 1\", \"Folder 2\"]. Finds folder with name or creates it if it doesn't exist. Path overrides folder_id if both given.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","files"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f766cdb5-eea3-4699-9e8f-e8385b573b9d","name":"POST Upload File","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Firm","type":"text"},{"key":"documentable_id","value":"1","type":"text","disabled":true},{"key":"file","type":"file","src":["/Users/rchasman/Pictures/Lawmatics_LinkedIn_Header.jpg"]}]},"url":"{{host}}/v1/files"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"c8a702cf969372e64bc6ec08be8b83e3\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"7a8ca61e-7dc3-42b4-8b83-4cb5e6ade9bf"},{"key":"X-Runtime","value":"0.830422"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"48\",\n        \"type\": \"file\",\n        \"attributes\": {\n            \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n            \"file_size\": 504210,\n            \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T215513Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=bf5c169514e8ac883b0240e019c2adf3390d03368db9580393499e89015bc49f\",\n            \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n            \"file_type\": \"image/jpeg\",\n            \"created_at\": \"2022-08-04T14:55:13.759-07:00\",\n            \"updated_at\": \"2022-08-04T14:55:13.759-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"firm\"\n                }\n            }\n        }\n    }\n}"},{"id":"0246006a-80e2-4551-a0b0-37e99b7ec166","name":"POST Upload File to a file path","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Firm","type":"text"},{"key":"documentable_id","value":"1","type":"text","disabled":true},{"key":"file","type":"file","src":["/Users/rchasman/Pictures/Lawmatics_LinkedIn_Header.jpg"]},{"key":"path[]","value":"Folder 1","type":"text"},{"key":"path[]","value":"Folder 2","type":"text"},{"key":"path[]","value":"Folder 3","type":"text"}]},"url":"{{host}}/v1/files"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"c8a702cf969372e64bc6ec08be8b83e3\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"7a8ca61e-7dc3-42b4-8b83-4cb5e6ade9bf"},{"key":"X-Runtime","value":"0.830422"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"48\",\n        \"type\": \"file\",\n        \"attributes\": {\n            \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n            \"file_size\": 504210,\n            \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T215513Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=bf5c169514e8ac883b0240e019c2adf3390d03368db9580393499e89015bc49f\",\n            \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n            \"file_type\": \"image/jpeg\",\n            \"folder_id\": 234,\n            \"created_at\": \"2022-08-04T14:55:13.759-07:00\",\n            \"updated_at\": \"2022-08-04T14:55:13.759-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"firm\"\n                }\n            }\n        }\n    }\n}"},{"id":"980ce5b2-006f-48ed-9600-92a762b3b483","name":"POST Upload File to a specifc folder","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Firm","type":"text"},{"key":"documentable_id","value":"1","type":"text","disabled":true},{"key":"file","type":"file","src":["/Users/rchasman/Pictures/Lawmatics_LinkedIn_Header.jpg"]},{"key":"folder_id","value":"123","description":"Folder ID to uplaod to","type":"text"}]},"url":"{{host}}/v1/files"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"c8a702cf969372e64bc6ec08be8b83e3\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"7a8ca61e-7dc3-42b4-8b83-4cb5e6ade9bf"},{"key":"X-Runtime","value":"0.830422"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"48\",\n        \"type\": \"file\",\n        \"attributes\": {\n            \"name\": \"Lawmatics_LinkedIn_Header.jpg\",\n            \"file_size\": 504210,\n            \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T215513Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=bf5c169514e8ac883b0240e019c2adf3390d03368db9580393499e89015bc49f\",\n            \"file_name\": \"Lawmatics_LinkedIn_Header.jpg\",\n            \"folder_id\": 123,\n            \"file_type\": \"image/jpeg\",\n            \"created_at\": \"2022-08-04T14:55:13.759-07:00\",\n            \"updated_at\": \"2022-08-04T14:55:13.759-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"firm\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"4397e206-63b6-440c-8d9a-80ac24a6278a"},{"name":"Update File Metadata","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_file_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"7bf73776-2c8e-497f-8f63-f5bb403b0d8c"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/files`, function (err, response) {","   pm.globals.set(\"file_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/folders`, function (err, response) {","   pm.globals.set(\"folder_id\", response.json().data[0].id);","   pm.globals.set(\"documentable_id\", response.json().data[0].relationships.documentable.data.id);","   pm.globals.set(\"documentable_type\", response.json().data[0].relationships.documentable.data.type);","});"],"type":"text/javascript","id":"a9147b61-358c-4568-889c-94c024e28400"}}],"id":"085bbe5c-78da-4459-9350-39b799564b6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"{{documentable_type}}","type":"text"},{"key":"documentable_id","value":"{{documentable_id}}","type":"text"},{"key":"name","value":"Changed Name","type":"text"},{"key":"file_name","value":"Wow.jpg","type":"text"},{"key":"folder_id","value":"{{folder_id}}","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"{{host}}/v1/files/:file_id","description":"<p>Updates an <strong>File</strong> by ID</p>\n<p><strong>documentable_type</strong>: One of [\"firm\", \"client\", \"matter\", \"contact\"]</p>\n<p><strong>documentable_id:</strong> The record ID, not needed for Firm documentable_type.</p>\n<p><strong>file</strong>: File to upload</p>\n<p><strong>folder_id:</strong> the Folder ID the file should be located in</p>\n<p><strong>name:</strong> name for the File. Defaults to uploaded file name</p>\n<p><strong>path:</strong> String Array. e.g. [\"Root\", \"Folder 1\", \"Folder 2\"]. Finds folder with name or creates it if it doesn't exist. Path overrides folder_id if both given.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","files",":file_id"],"host":["{{host}}"],"query":[{"disabled":true,"key":"","value":null}],"variable":[{"id":"1b75ce3d-d8ac-405b-94a1-2aff854f422c","type":"any","value":"{{file_id}}","key":"file_id"}]}},"response":[{"id":"14ecb129-d998-4a9a-9d53-e11c28cd9b28","name":"PUT Update File Metadata","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Prospect","type":"text"},{"key":"documentable_id","value":"3","type":"text"},{"key":"name","value":"Changed Name.jpg","type":"text"},{"key":"path[]","value":"Folder A","description":"Folder Path Array","type":"text"},{"key":"path[]","value":"Sub Folder B","description":"Folder Path Array","type":"text"},{"key":"id","value":"48","description":"File ID","type":"text"}]},"url":{"raw":"daa3-64-158-23-250.ngrok-free.app/v1/files/:file_id","host":["daa3-64-158-23-250","ngrok-free","app"],"path":["v1","files",":file_id"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"file_id","value":"{{created_file_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"05af258ba67e59ad4ea5cccec905070f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"355dc4bb-1339-4ec2-88d8-1f5491d82f04"},{"key":"X-Runtime","value":"0.980937"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"48\",\n        \"type\": \"file\",\n        \"attributes\": {\n            \"name\": \"Changed Name.jpg\",\n            \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223323Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=58ca60aa950be962522f7d59d1cbc3cc4bed1918984202d27d846a2e9936c301\",\n            \"file_size\": 0,\n            \"file_name\": \"Wow.jpg\",\n            \"file_type\": \"image/jpeg\",\n            \"folder_id\": 456,\n            \"created_at\": \"2022-08-04T14:55:13.759-07:00\",\n            \"updated_at\": \"2022-08-04T15:33:22.647-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"3\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"},{"id":"dde40861-6b05-4cd0-8553-052d82eebdea","name":"PUT Move file to file path","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"48","description":"File ID","type":"text"},{"key":"path[]","value":"Folder A","type":"text"},{"key":"path[]","value":"Sub Folder B","type":"text"}]},"url":{"raw":"daa3-64-158-23-250.ngrok-free.app/v1/files/:file_id","host":["daa3-64-158-23-250","ngrok-free","app"],"path":["v1","files",":file_id"],"query":[{"key":"","value":null,"disabled":true}],"variable":[{"key":"file_id","value":"{{created_file_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"05af258ba67e59ad4ea5cccec905070f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"355dc4bb-1339-4ec2-88d8-1f5491d82f04"},{"key":"X-Runtime","value":"0.980937"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"48\",\n        \"type\": \"file\",\n        \"attributes\": {\n            \"name\": \"Changed Name.jpg\",\n            \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223323Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=58ca60aa950be962522f7d59d1cbc3cc4bed1918984202d27d846a2e9936c301\",\n            \"file_size\": 0,\n            \"file_name\": \"Wow.jpg\",\n            \"file_type\": \"image/jpeg\",\n            \"folder_id\": 789,\n            \"created_at\": \"2022-08-04T14:55:13.759-07:00\",\n            \"updated_at\": \"2022-08-04T15:33:22.647-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"3\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"085bbe5c-78da-4459-9350-39b799564b6c"},{"name":"Delete File","event":[{"listen":"test","script":{"exec":["pm.test(\"Response time is less than 6000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(6000);","});","","pm.test(\"Status code is Successful\", function () {","    pm.response.to.be.ok","});"],"type":"text/javascript","id":"8622bc31-955d-43c1-89e2-3a71be894adc"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/files`, function (err, response) {","   pm.globals.set(\"file_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"3ccba6b1-1aa2-4c89-940d-78dd5a5e1d44"}}],"id":"084a3561-a08b-4b09-84ea-f4fd709b7ef6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/files/:file_id","description":"<p>Deletes a <strong>File</strong> by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","files",":file_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"84a7ffa7-d9f2-40bf-8103-5a3abad8f4b3","type":"any","value":"{{file_id}}","key":"file_id"}]}},"response":[{"id":"d7c7b96a-2bc9-4e26-b629-0183a09c4fbe","name":"DELETE Delete File","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/files/:file_id","host":["{{host}}"],"path":["v1","files",":file_id"],"variable":[{"key":"file_id","value":"{{created_file_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"6edccdfb932134cb28ff8480de0d8b4a\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"101d6204-de7e-495e-9e60-17b5d2304809"},{"key":"X-Runtime","value":"0.504538"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"48\",\n        \"type\": \"file\",\n        \"attributes\": {\n            \"name\": \"Changed Name\",\n            \"file_url\": \"https://rchasman-lawmatics-development.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIKJQSU7753SY6L5A%2F20220804%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T223345Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=0d2ef50d2036f61041bad3cd7fd4ff83dc79ddd3e42b3baf2630fa30361201ec\",\n            \"file_size\": 0,\n            \"file_name\": \"Wow.jpg\",\n            \"file_type\": \"image/jpeg\",\n            \"created_at\": \"2022-08-04T14:55:13.759-07:00\",\n            \"updated_at\": \"2022-08-04T15:33:45.619-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"3\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"084a3561-a08b-4b09-84ea-f4fd709b7ef6"}],"id":"a8ca351d-cfbd-4a87-9356-ac3d0b85e131","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a6abbb8e-a424-4954-be0d-5411caa4615d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d374c43c-c0f2-471c-ba31-34bfb82b988b"}}],"_postman_id":"a8ca351d-cfbd-4a87-9356-ac3d0b85e131","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Folders","item":[{"name":"Folder","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"d6a1e918-13d6-4a23-91bb-1b61d9f95973"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/folders`, function (err, response) {","   pm.globals.set(\"folder_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"f37d5251-6fba-4686-a770-47f5536f5609"}}],"id":"01d494db-a72e-4d45-be43-81373741ed60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/folders/:folder_id","description":"<p>A specific Folder's metadata in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","folders",":folder_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"64271f07-fc93-43e0-b4e5-2c979db8e837","type":"any","value":"{{folder_id}}","key":"folder_id"}]}},"response":[{"id":"339409cc-a138-470e-84d5-fde4f408b3a0","name":"GET Folder","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/folders/3?fields=all","host":["{{host}}"],"path":["v1","folders","3"],"query":[{"key":"fields","value":"all"}]}},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"3\",\n        \"type\": \"folder\",\n        \"attributes\": {\n            \"name\": \"images\",\n            \"created_at\": \"2023-07-06T15:58:41.855-07:00\",\n            \"updated_at\": \"2023-07-06T15:58:41.855-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"144\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"01d494db-a72e-4d45-be43-81373741ed60"},{"name":"Folders","event":[{"listen":"test","script":{"exec":["pm.test(\"Response time is less than 6000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(6000);","});","","pm.test(\"Status code is Successful\", function () {","    pm.response.to.be.ok","});"],"type":"text/javascript","id":"b0c2f724-ee4d-413f-9357-9b1ab3547aea"}}],"id":"a447c7ad-40f4-4817-b2e9-a847dda11354","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/folders","description":"<p>A <strong>paginated</strong> list of all Folder metadata in Lawmatics</p>\n<p>Can be filtered by <code>matter_id</code> , <code>prospect_id</code> , <code>contact_id</code></p>\n<p>as well as all the regular fields as referenced by our Param Guide (most fields returned by<code>?fields=all</code>).</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","folders"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"299ccc1c-614c-400f-9f94-43ef4e32fc2f","name":"GET Folders","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/folders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"924adef8c3dda08b0fa6e077dcb26292\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"dcc86f78-e42c-4f07-8223-17c60ea24efe"},{"key":"X-Runtime","value":"3.472721"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"11\",\n            \"type\": \"folder\",\n            \"attributes\": {\n                \"name\": \"eulogy\",\n                \"created_at\": \"2023-07-06T16:10:00.232-07:00\",\n                \"updated_at\": \"2023-07-06T16:10:00.232-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"142\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"6\",\n            \"type\": \"folder\",\n            \"attributes\": {\n                \"name\": \"docs\",\n                \"created_at\": \"2023-07-06T16:01:22.321-07:00\",\n                \"updated_at\": \"2023-07-06T16:01:22.321-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"144\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"folder\",\n            \"attributes\": {\n                \"name\": \"images\",\n                \"created_at\": \"2023-07-06T15:58:41.855-07:00\",\n                \"updated_at\": \"2023-07-06T15:58:41.855-07:00\"\n            },\n            \"relationships\": {\n                \"documentable\": {\n                    \"data\": {\n                        \"id\": \"144\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 3\n    },\n    \"links\": {\n        \"self\": \"/v1/folders?page=1\"\n    }\n}"}],"_postman_id":"a447c7ad-40f4-4817-b2e9-a847dda11354"},{"name":"Create Folder","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_folder_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"0765ce28-51c6-4ed7-acc7-18422ca6e47a"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/folders`, function (err, response) {","   pm.globals.set(\"folder_id\", response.json().data[0].id);","","   const { id, type } = response.json().data[0].relationships.documentable.data","   documentable_type = type.charAt(0).toUpperCase() + type.slice(1)","   pm.globals.set(\"documentable_type\", documentable_type);","   pm.globals.set(\"documentable_id\", id);","});"],"type":"text/javascript","id":"d59550d0-ec8c-4b19-b9ca-1be31d8e9f6e"}}],"id":"01d7d67f-3362-457e-a5b4-a90cd1f2d643","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"{{documentable_type}}","type":"text"},{"key":"documentable_id","value":"{{documentable_id}}","type":"text"},{"key":"name","value":"This is a folder","type":"text"},{"key":"folder_id","value":"{{folder_id}}","type":"text"}]},"url":"{{host}}/v1/folders","description":"<p>Creates a folder for a Matter or Contact</p>\n<p><strong>documentable_type</strong>: One of [\"matter\", \"contact\"]</p>\n<p><strong>documentable_id:</strong> The record ID</p>\n<p><strong>name</strong>: Folder name. Must be unique within parent folder. Returns 429 if name is already taken. Any slashes \"/\" in folder name will be replaces with colons \":\"</p>\n<p><strong>folder_id</strong>: Folder ID if adding a subfolder</p>\n<p><strong>path:</strong> String Array. e.g. [\"Root\", \"Folder 1\", \"Folder 2\"]. Finds the folder with the name or creates it if it doesn't exist. Path overrides folder_id if both given.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","folders"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"0d6b7091-fb94-4598-ad0f-869f3d5f528f","name":"POST Create Folder","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Matter","type":"text"},{"key":"documentable_id","value":"144","type":"text"},{"key":"folder_id","value":"14","type":"text"},{"key":"name","value":"This is a folder","description":"Must be unique within folder.  \"/\" in folder name will be replaces with \":\"","type":"text"},{"key":"path[]","value":"Folder A","type":"text"},{"key":"path[]","value":"Folder B","type":"text"},{"key":"path","value":"Folder C","type":"text"}]},"url":"daa3-64-158-23-250.ngrok-free.app/v1/folders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"c8a702cf969372e64bc6ec08be8b83e3\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"7a8ca61e-7dc3-42b4-8b83-4cb5e6ade9bf"},{"key":"X-Runtime","value":"0.830422"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"21\",\n        \"type\": \"folder\",\n        \"attributes\": {\n            \"name\": \"This is a folder\",\n            \"created_at\": \"2023-07-07T15:19:05.673-07:00\",\n            \"updated_at\": \"2023-07-07T15:19:05.673-07:00\",\n            \"folder_id\": 456\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"144\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"folders\": {\n                \"data\": []\n            }\n        }\n    }\n}"},{"id":"dfd423ec-279e-4731-ae9d-87fb89c521fe","name":"POST Create Subfolder","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Matter","type":"text"},{"key":"documentable_id","value":"1","type":"text"},{"key":"folder_id","value":"1397","type":"text"},{"key":"name","value":"Subfolder","description":"Must be unique within parent folder.  \"/\" in folder name will be replaces with \":\"","type":"text"}]},"url":"{{host}}/v1/folders"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"\"data\": {\n    \"id\": \"21\",\n    \"type\": \"folder\",\n    \"attributes\": {\n        \"name\": \"This is a folder\",\n        \"created_at\": \"2023-07-07T15:19:05.673-07:00\",\n        \"updated_at\": \"2023-07-07T15:19:05.673-07:00\",\n        \"folder_id\": 1397\n    },\n    \"relationships\": {\n        \"documentable\": {\n            \"data\": {\n                \"id\": \"1\",\n                \"type\": \"prospect\"\n            }\n        },\n        \"folders\": {\n            \"data\": []\n        }\n    }\n}\n"},{"id":"17c42de2-3ff5-43c3-9334-33f857ee2d29","name":"POST Create Subfolders by folder path","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Matter","type":"text"},{"key":"documentable_id","value":"1","type":"text"},{"key":"name","value":"Subfolder","description":"Must be unique within folder.  \"/\" in folder name will be replaces with \":\"","type":"text"},{"key":"path[]","value":"foo","description":"root file","type":"text"},{"key":"path[]","value":"bar","type":"text"},{"key":"path[]","value":"baz","type":"text"}]},"url":"{{host}}/v1/folders"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"\"data\": {\n    \"id\": \"21\",\n    \"type\": \"folder\",\n    \"attributes\": {\n        \"name\": \"This is a folder\",\n        \"created_at\": \"2023-07-07T15:19:05.673-07:00\",\n        \"updated_at\": \"2023-07-07T15:19:05.673-07:00\",\n        \"folder_id\": 456\n    },\n    \"relationships\": {\n        \"documentable\": {\n            \"data\": {\n                \"id\": \"1\",\n                \"type\": \"prospect\"\n            }\n        },\n        \"folders\": {\n            \"data\": []\n        }\n    }\n}\n"}],"_postman_id":"01d7d67f-3362-457e-a5b4-a90cd1f2d643"},{"name":"Update Folder","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_file_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"f44531bc-3788-421e-aa6b-2aaad2d31382"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/folders`, function (err, response) {","   pm.globals.set(\"folder_id\", response.json().data[0].id);","","   const { id, type } = response.json().data[0].relationships.documentable.data","   documentable_type = type.charAt(0).toUpperCase() + type.slice(1)","   pm.globals.set(\"documentable_type\", documentable_type);","   pm.globals.set(\"documentable_id\", id);","});"],"type":"text/javascript","id":"68d9c537-338f-465e-af8f-96ddd500ba6d"}}],"id":"65d46a82-f946-428d-8e8c-ed10ca1f4a78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"{{documentable_type}}","type":"text"},{"key":"documentable_id","value":"{{documentable_id}}","type":"text"},{"key":"name","value":"Changed Id","description":"<p>Must be unique within folder.  \"/\" in folder name will be replaces with \":\"</p>\n","type":"text"}]},"url":"{{host}}/v1/folders/:folder_id","description":"<p>Updates a <strong>Folder</strong> by ID</p>\n<p><strong>documentable_type</strong>: One of [\"matter\", \"contact\"]</p>\n<p><strong>documentable_id:</strong> The record ID</p>\n<p><strong>name</strong>: Folder name. Must be unique within parent folder. Returns 429 if name is already taken. Any slashes \"/\" in folder name will be replaces with colons \":\"</p>\n<p><strong>folder_id</strong>: Folder ID if adding a subfolder</p>\n<p><strong>path:</strong> String Array. e.g. [\"Root\", \"Folder 1\", \"Folder 2\"]. Finds folders with the name or creates it if it doesn't exist. Moves folder into the Folder with the last name in the path. <code>path</code> overrides <strong><code>folder_id</code></strong> if both given.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","folders",":folder_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"2119d45e-d567-4c46-899f-47fdf65bdc37","type":"any","value":"{{folder_id}}","key":"folder_id"}]}},"response":[{"id":"ae3b06e5-5e42-4085-bdc3-041a334dc199","name":"PUT Update Folder","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Matter","type":"text"},{"key":"documentable_id","value":"144","type":"text"},{"key":"name","value":"Changed Name","description":"Must be unique within folder.  \"/\" in folder name will be replaces with \":\"","type":"text"},{"key":"folder_id","value":"","type":"text","disabled":true}]},"url":"daa3-64-158-23-250.ngrok-free.app/v1/folders/144"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"05af258ba67e59ad4ea5cccec905070f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"355dc4bb-1339-4ec2-88d8-1f5491d82f04"},{"key":"X-Runtime","value":"0.980937"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"20\",\n        \"type\": \"folder\",\n        \"attributes\": {\n            \"name\": \"Changed name\",\n            \"created_at\": \"2023-07-07T15:14:15.974-07:00\",\n            \"updated_at\": \"2023-07-07T15:29:39.922-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"144\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"folders\": {\n                \"data\": []\n            }\n        }\n    }\n}"},{"id":"a5d9499d-747a-46e7-8a5d-9dea3a450376","name":"PUT Update Subfolder","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Matter","type":"text"},{"key":"documentable_id","value":"144","type":"text"},{"key":"name","value":"Changed Name","description":"Must be unique within folder.  \"/\" in folder name will be replaces with \":\"","type":"text"},{"key":"folder_id","value":"","description":"Folder ID of new parent folder","type":"text"}]},"url":"{{host}}/v1/folders/144"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"05af258ba67e59ad4ea5cccec905070f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"355dc4bb-1339-4ec2-88d8-1f5491d82f04"},{"key":"X-Runtime","value":"0.980937"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"20\",\n        \"type\": \"folder\",\n        \"attributes\": {\n            \"name\": \"Subfolder is now a root folder\",\n            \"created_at\": \"2023-07-07T15:14:15.974-07:00\",\n            \"updated_at\": \"2023-07-10T10:03:45.312-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"225\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"folders\": {\n                \"data\": []\n            },\n            \"files\": {\n                \"data\": []\n            }\n        }\n    }\n}"},{"id":"f6c0234f-949a-4894-a4c7-bde86d92be5b","name":"PUT Update Subfolder by folder path","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Matter","type":"text"},{"key":"documentable_id","value":"143","type":"text"},{"key":"name","value":"Changed Name","description":"Must be unique within folder.  \"/\" in folder name will be replaces with \":\"","type":"text","disabled":true},{"key":"path[]","value":"foo","type":"text"}]},"url":"{{host}}/v1/folders/164"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"05af258ba67e59ad4ea5cccec905070f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"355dc4bb-1339-4ec2-88d8-1f5491d82f04"},{"key":"X-Runtime","value":"0.980937"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"164\",\n        \"type\": \"folder\",\n        \"attributes\": {\n            \"name\": \"bar\",\n            \"created_at\": \"2024-01-19T11:29:34.054-08:00\",\n            \"updated_at\": \"2024-01-19T11:41:57.557-08:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"143\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"folders\": {\n                \"data\": [\n                    {\n                        \"id\": \"159\",\n                        \"type\": \"folder\"\n                    }\n                ]\n            },\n            \"files\": {\n                \"data\": [\n                    {\n                        \"id\": \"159\",\n                        \"type\": \"file\"\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"65d46a82-f946-428d-8e8c-ed10ca1f4a78"},{"name":"Delete Folder","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"97a7587b-99ec-4db8-a8fb-716e777ec010"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/folders`, function (err, response) {","   pm.globals.set(\"folder_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"5fe82a4b-570c-4a89-a2b9-a8487680d67b"}}],"id":"761a32da-1edf-44fa-aa86-f64a5edc0139","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/folders/:folder_id","description":"<p>Deletes a <strong>Folder</strong> by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","folders",":folder_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"9c448220-f758-43a3-bda4-faed7c89bde8","type":"any","value":"{{folder_id}}","key":"folder_id"}]}},"response":[{"id":"9906083a-795a-47bf-8cfa-35b1fd91cee2","name":"DELETE Folder","originalRequest":{"method":"DELETE","header":[],"url":"{{host}}/v1/folders/17"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"6edccdfb932134cb28ff8480de0d8b4a\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"101d6204-de7e-495e-9e60-17b5d2304809"},{"key":"X-Runtime","value":"0.504538"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"17\",\n        \"type\": \"folder\",\n        \"attributes\": {\n            \"name\": \"videos\",\n            \"created_at\": \"2023-07-07T14:55:12.311-07:00\",\n            \"updated_at\": \"2023-07-07T14:55:37.861-07:00\"\n        },\n        \"relationships\": {\n            \"documentable\": {\n                \"data\": {\n                    \"id\": \"144\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"folders\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"761a32da-1edf-44fa-aa86-f64a5edc0139"}],"id":"41dd0423-c4f5-46b8-b9b4-ff331a81e763","_postman_id":"41dd0423-c4f5-46b8-b9b4-ff331a81e763","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Matters (Prospects)","item":[{"name":"Matter Finders","item":[{"name":"Find Matter By Phone Number","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects?fields=all`, function (err, response) {","   pm.globals.set(\"phone\", response.json().data.find(({attributes}) => attributes.phone).attributes.phone);","});","",""],"type":"text/javascript","id":"0bc5856d-377c-42c3-b521-a2ada455773b"}}],"id":"f1ebf6f5-7015-4dbc-b686-5b10cd19434b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/prospects/find_by_phone/:phone_number","description":"<p>Fuzzy find a specific Matter by Phone Number.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects","find_by_phone",":phone_number"],"host":["{{host}}"],"query":[],"variable":[{"id":"e70bb086-f414-4f5f-ab72-ba7e1aefb8c9","description":{"content":"<p>Any valid phone number. We strip all non digits when matching, and try with and without the leading 1 for US country codes.</p>\n","type":"text/plain"},"type":"any","value":"{{phone}}","key":"phone_number"}]}},"response":[{"id":"14cf9327-7b61-4349-a676-c08a97df3382","name":"GET Find Matter By Phone Number","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/prospects/find_by_phone/5555555"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"fe5742a93141b540658d83170b538ce3\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"793bcf21-4400-4dc1-a035-1adfd69bd02f","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.511475","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"41871\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Roey\",\n            \"last_name\": \"Chasman\",\n            \"email\": \"roey+api@lawmatics.com\",\n            \"phone\": \"5555555555\",\n            \"created_at\": \"2018-10-17T17:24:43.293-07:00\",\n            \"updated_at\": \"2018-10-17T17:24:43.293-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"f1ebf6f5-7015-4dbc-b686-5b10cd19434b"},{"name":"Find Matter By Email Address","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects?fields=all`, function (err, response) {","   pm.globals.set(\"email\", response.json().data.find(({attributes}) => attributes.email).attributes.email);","});","",""],"type":"text/javascript","id":"a9a1c658-04f4-4dbb-9bbd-0f747ff91e03"}}],"id":"8ebb84f2-fedf-4bdc-9720-49c4c377878b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/prospects/find_by_email/:email_address","description":"<p>Fuzzy find a specific Matter by Email Address.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects","find_by_email",":email_address"],"host":["{{host}}"],"query":[],"variable":[{"id":"73158c8c-5ea2-40c7-89a9-5658acf9aebe","description":{"content":"<p>A valid email address</p>\n","type":"text/plain"},"type":"any","value":"{{email}}","key":"email_address"}]}},"response":[{"id":"bb517a6c-17fc-4e92-9e8c-2905fa8a5036","name":"GET Find Matter By Email Address","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/prospects/find_by_email/roey+api@lawmatics.com"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"41871\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Roey\",\n            \"last_name\": \"Chasman\",\n            \"email\": \"roey+api@lawmatics.com\",\n            \"phone\": \"5555555555\",\n            \"created_at\": \"2018-10-17T17:24:43.293-07:00\",\n            \"updated_at\": \"2018-10-17T17:24:43.293-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"8ebb84f2-fedf-4bdc-9720-49c4c377878b"},{"name":"Find Matter By Name","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects?fields=all`, function (err, response) {","   pm.globals.set(\"name\", response.json().data.find(({attributes}) => attributes.first_name).attributes.first_name);","});"],"type":"text/javascript","id":"90e0770d-438f-47d3-b14a-b529dcb63e64"}}],"id":"50cf0db4-f5db-4dc0-b079-fc1460a585de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/prospects/find_by_name/:name","description":"<p>Fuzzy find (case-insensitive) a specific Matter by their Name. You can pass either '{first_name} {last_name}' or simply '{first_name}'</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects","find_by_name",":name"],"host":["{{host}}"],"query":[],"variable":[{"id":"244f0f38-7a28-4f60-bf04-2b0ae530981f","description":{"content":"<p>We return the closest match. For better results include the PNC Contact's last name.</p>\n","type":"text/plain"},"type":"any","value":"{{name}}","key":"name"}]}},"response":[{"id":"8d5e7192-dc71-4959-87eb-e0ec225a14a5","name":"GET Find Matter By Name","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/prospects/find_by_name/rOeY%20cHaS"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"41871\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Roey\",\n            \"last_name\": \"Chasman\",\n            \"email\": \"roey+api@lawmatics.com\",\n            \"phone\": \"5555555555\",\n            \"created_at\": \"2018-10-17T17:24:43.293-07:00\",\n            \"updated_at\": \"2018-10-17T17:24:43.293-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"50cf0db4-f5db-4dc0-b079-fc1460a585de"}],"id":"8806fb00-9766-4528-b0bc-4d9d63fcdd37","description":"<p>The following endpoints are fuzzy find endpoints, returning the first <strong>Matter</strong> which matches the passed values.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d893a21b-c590-4675-96cf-5e1c48b751ea"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response has a body with an id\", function () {","    const body = pm.response.json()","    pm.expect(body.data).have.property('id');","});"],"id":"dcf04c11-a4c1-47b8-bdae-00568018c5f3"}}],"_postman_id":"8806fb00-9766-4528-b0bc-4d9d63fcdd37","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Matter Interactions","item":[{"name":"Interaction","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"5d8f08be-88f9-4025-8d82-4ba7a5805ecc"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/interactions`, function (err, response) {","   pm.globals.set(\"interaction_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"c2236df2-5759-4a51-85c5-5ed76522f688"}}],"id":"6ee3f399-1a90-411c-b937-1dc238aae874","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/interactions/:interaction_id","description":"<p>Retrieves an interaction by its ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","interactions",":interaction_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"98bc967a-d5b1-4040-a775-1836fadac0c9","type":"any","value":"{{interaction_id}}","key":"interaction_id"}]}},"response":[{"id":"7b477427-0d3a-4823-b9ab-531e0ac9e6ce","name":"GET Interaction","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/interactions/69"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"d8ada6f6b811cd3dfe019cd17605c148\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"f1e975b5-2ad0-4484-be70-6c528576d342"},{"key":"X-Runtime","value":"0.305908"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"69\",\n        \"type\": \"interaction\",\n        \"attributes\": {\n            \"interaction_type\": \"One kind of interaction\",\n            \"body\": \"The one - cannot change.\",\n            \"happened_at\": \"2019-03-01T14:00:00.000-08:00\",\n            \"created_at\": \"2022-08-23T20:19:47.926-07:00\",\n            \"updated_at\": \"2022-08-24T15:30:15.255-07:00\"\n        },\n        \"relationships\": {\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"interactable\": {\n                \"data\": {\n                    \"id\": \"144\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"6ee3f399-1a90-411c-b937-1dc238aae874"},{"name":"Interactions","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is Okay\", function () {","    pm.response.to.be.ok;","});","pm.test(\"Response time is less than 6s\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1200);","});"],"type":"text/javascript","id":"a1058718-37c5-4392-8db4-05af5bab8fdd"}}],"id":"f268a2dd-750e-4ee3-a40f-0ca54c017dd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/interactions/","description":"<p>A <strong>paginated</strong> list of all Interactions in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","interactions",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"4c3f78b3-faeb-4032-97f0-1a7336e5c0c5","name":"GET Interactions","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/interactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"c0b83df00a4a4f5d9c3aa251a4bdf259\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"7cb37883-d252-494f-b288-6d25bbf5af8a"},{"key":"X-Runtime","value":"0.868393"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"70\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"A type of interaction\",\n                \"body\": \"The two.\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-24T15:29:44.289-07:00\",\n                \"updated_at\": \"2022-08-24T15:29:44.289-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"143\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"69\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"One kind of interaction\",\n                \"body\": \"The one - cannot change.\",\n                \"happened_at\": \"2019-03-01T14:00:00.000-08:00\",\n                \"created_at\": \"2022-08-23T20:19:47.926-07:00\",\n                \"updated_at\": \"2022-08-24T15:30:15.255-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"144\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"68\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction.\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-19T07:08:05.717-07:00\",\n                \"updated_at\": \"2022-08-19T07:08:05.717-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"143\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"67\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction.\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-19T06:57:07.842-07:00\",\n                \"updated_at\": \"2022-08-19T06:57:07.842-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"143\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"65\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"Phone Call\",\n                \"body\": \"2016\",\n                \"happened_at\": \"2016-08-18T21:02:00.790-07:00\",\n                \"created_at\": \"2022-08-18T21:03:08.111-07:00\",\n                \"updated_at\": \"2022-08-18T21:03:08.111-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"143\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"33\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction.\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-17T07:45:22.510-07:00\",\n                \"updated_at\": \"2022-08-17T07:45:22.510-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"32\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction.\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-17T07:18:57.068-07:00\",\n                \"updated_at\": \"2022-08-17T07:18:57.068-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"31\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction.\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-17T07:18:20.243-07:00\",\n                \"updated_at\": \"2022-08-17T07:18:20.243-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"29\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction.\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-16T18:31:05.746-07:00\",\n                \"updated_at\": \"2022-08-16T18:31:05.748-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"121\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"28\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction.\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-16T18:31:00.704-07:00\",\n                \"updated_at\": \"2022-08-16T18:31:00.713-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"27\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction.\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-16T10:13:38.683-07:00\",\n                \"updated_at\": \"2022-08-16T10:13:38.685-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"26\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction too\",\n                \"body\": \"Body of the Interaction!\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-16T10:13:28.379-07:00\",\n                \"updated_at\": \"2022-08-16T10:13:28.381-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"25\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction!\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-16T10:13:20.531-07:00\",\n                \"updated_at\": \"2022-08-16T10:13:20.534-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"24\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-16T10:13:16.189-07:00\",\n                \"updated_at\": \"2022-08-16T10:13:16.207-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"23\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-16T10:04:07.490-07:00\",\n                \"updated_at\": \"2022-08-16T10:04:07.522-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"22\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"some type of Interaction\",\n                \"body\": \"Body of the Interaction\",\n                \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n                \"created_at\": \"2022-08-16T09:52:39.900-07:00\",\n                \"updated_at\": \"2022-08-16T09:52:39.917-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"21\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"77777\",\n                \"body\": \"77777\",\n                \"happened_at\": \"2022-03-01T14:00:00.000-08:00\",\n                \"created_at\": \"2022-08-16T09:04:14.069-07:00\",\n                \"updated_at\": \"2022-08-16T09:12:12.824-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"6\",\n            \"type\": \"interaction\",\n            \"attributes\": {\n                \"interaction_type\": \"77777\",\n                \"body\": \"77777\",\n                \"happened_at\": \"2022-03-01T14:00:00.000-08:00\",\n                \"created_at\": \"2022-08-16T08:23:18.610-07:00\",\n                \"updated_at\": \"2022-08-16T10:20:42.847-07:00\"\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"interactable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 18\n    },\n    \"links\": {\n        \"self\": \"/v1/interactions?page=1\"\n    }\n}"}],"_postman_id":"f268a2dd-750e-4ee3-a40f-0ca54c017dd3"},{"name":"Create Interaction","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_interaction_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"9716d7f2-f7c0-40dc-93c9-831a214df797"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"23de476e-d6d7-4f64-82f3-231cf191bdd4"}}],"id":"34108115-f81f-4846-9cbf-c465aa90fbc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"happened_at\": \"2022-06-29T15:00:00-07:00\",\n    \"prospect_id\": {{prospect_id}},\n    \"body\":\"Body of the Interaction\",\n    \"interaction_type\":\"some type of Interaction\"\n}"},"url":"{{host}}/v1/interactions","description":"<p>Create a new <strong>Interaction</strong></p>\n<p>Required fields:</p>\n<p><strong>happened_at</strong>: timestamp meaning when the interaction happened</p>\n<p><strong>prospect_id:</strong> Integer value, id of the prospect this interaction is related to</p>\n<p><strong>body:</strong> text describing the interaction</p>\n<p><strong>interaction_type:</strong> a string describing the kind of interaction that happened</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","interactions"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"74dde896-c909-4f69-bd0a-e2315612952f","name":"POST Create Interaction","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"happened_at\": \"202-06-29T15:00:00-07:00\",\n    \"prospect_id\": 12,\n    \"body\":\"Body of the Interaction\",\n    \"interaction_type\":\"some type of Interaction\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/interaction"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Aug 2019 20:48:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=A8F6zBQgbkSA5Fz7WD2Fgmp27ZDzjC2gEc/ltVZU2II31+LnLIWobcdISVCBGzMpJecTpXc8h1HT50kjrHjETL+5IbZmsANsq0AQBVMqHIhWnGufsphme/JJh47W; Expires=Wed, 04 Sep 2019 20:48:10 GMT; Path=/"},{"key":"ETag","value":"W/\"7a02c95c1fc42a7738270cb26d1b8dd5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"46074845-17f0-4946-9b59-fc8528e50f7a"},{"key":"X-Runtime","value":"0.095035"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"71\",\n        \"type\": \"interaction\",\n        \"attributes\": {\n            \"interaction_type\": \"A type of interaction\",\n            \"body\": \"the body\",\n            \"happened_at\": \"2022-06-29T15:00:00.000-07:00\",\n            \"created_at\": \"2022-08-24T20:42:19.343-07:00\",\n            \"updated_at\": \"2022-08-24T20:42:19.343-07:00\"\n        },\n        \"relationships\": {\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"interactable\": {\n                \"data\": {\n                    \"id\": \"143\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"34108115-f81f-4846-9cbf-c465aa90fbc3"},{"name":"Update Interaction","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"627b68f8-b1a1-4b2a-9148-b8e5a7c466bf"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/interactions`, function (err, response) {","   pm.globals.set(\"interaction_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"5afeeaa1-4178-4048-82e6-56e5cb4b7c2d"}}],"id":"9b47f09f-2008-48b4-bc66-3ccbf5248d42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"happened_at\": \"2019-02-29T15:00:00-07:00\",\n    \"body\":\"The one - from 143 to 144\",\n    \"interaction_type\":\"One kind of interaction\"\n}"},"url":"{{host}}/v1/interactions/:interaction_id","description":"<p>Update an existing Interaction by ID.</p>\n<p>PATCH works for this endpoint as well as PUT.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","interactions",":interaction_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"10f0c7c9-672e-44df-bdd2-4093ff8f32d9","type":"any","value":"{{created_interaction_id}}","key":"interaction_id"}]}},"response":[{"id":"9003c924-f8c2-4b76-b81e-5b47e858dad5","name":"PUT Update Interaction","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"happened_at\": \"2022-06-29T15:00:00-07:00\",\n    \"body\":\"A changed body.\",\n    \"interaction_type\":\"One kind of interaction\"\n}"},"url":{"raw":"{{host}}/v1/events/:event_id","host":["{{host}}"],"path":["v1","events",":event_id"],"variable":[{"key":"event_id","value":"{{created_event_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"438e3e9bbde390baabab8ef56cbc64f6\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"ccbd72f4-0dea-4e8a-a140-6506740fcf28"},{"key":"X-Runtime","value":"0.080994"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"69\",\n        \"type\": \"interaction\",\n        \"attributes\": {\n            \"interaction_type\": \"One kind of interaction\",\n            \"body\": \"A changed body.\",\n            \"happened_at\": \"2019-03-01T14:00:00.000-08:00\",\n            \"created_at\": \"2022-08-23T20:19:47.926-07:00\",\n            \"updated_at\": \"2022-08-24T20:43:05.020-07:00\"\n        },\n        \"relationships\": {\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"interactable\": {\n                \"data\": {\n                    \"id\": \"144\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"9b47f09f-2008-48b4-bc66-3ccbf5248d42"},{"name":"Delete Interaction","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"0f9e6872-5c61-4ed3-bfae-d2ac53352867"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/interactions`, function (err, response) {","   pm.globals.set(\"interaction_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"7d60d623-0cb6-46f5-ac63-a5b435d6fb52"}}],"id":"c7095872-dd13-46f0-9ec8-e65eda871c7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/interactions/:interaction_id","description":"<p>Deletes an existing interaction</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","interactions",":interaction_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"4f59eb8e-50df-499e-aee6-4c58380614e8","type":"any","value":"{{interaction_id}}","key":"interaction_id"}]}},"response":[{"id":"9e5adeac-65c2-427e-ad7d-98c0f65a4b57","name":"DELETE Interaction","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/interaction/69"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"121e1449aec4cafcd0d37de002d1e8d2\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"da5927af-fc05-46bc-bcbb-3b4152e0e4ed"},{"key":"X-Runtime","value":"0.271719"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"69\",\n        \"type\": \"interaction\",\n        \"attributes\": {\n            \"interaction_type\": \"One kind of interaction\",\n            \"body\": \"A changed body.\",\n            \"happened_at\": \"2019-03-01T14:00:00.000-08:00\",\n            \"created_at\": \"2022-08-23T20:19:47.926-07:00\",\n            \"updated_at\": \"2022-08-24T20:43:25.148-07:00\"\n        },\n        \"relationships\": {\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"interactable\": {\n                \"data\": {\n                    \"id\": \"144\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"c7095872-dd13-46f0-9ec8-e65eda871c7d"}],"id":"ed9c9ce7-5a91-4129-9181-93c77bea7d85","description":"<p>External <strong>Interaction</strong> logs that will be displayed in the activity timeline of a <strong>Matter</strong>.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"80894ab9-89b5-4944-978c-d4f67f99624f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5bfbf5dd-6389-4ed8-8e81-159a069cd2ef"}}],"_postman_id":"ed9c9ce7-5a91-4129-9181-93c77bea7d85","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Matter Marketing Campaigns","item":[{"name":"Campaign","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/campaigns`, function (err, response) {","   pm.globals.set(\"campaign_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"043c4681-c812-4dc9-9080-3a326eededa7"}}],"id":"3e3455ca-f52c-4fd6-90ff-a1f31dc44dd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/campaigns/:campaign_id","description":"<p>A specific Marketing Campaign by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","campaigns",":campaign_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"b0518f19-52f9-4d74-b494-c74a1f01a41f","type":"any","value":"{{campaign_id}}","key":"campaign_id"}]}},"response":[{"id":"91820b14-1f60-4246-ab64-450f3d79ea7c","name":"GET Campaign","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/campaigns/286?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","campaigns","286"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"43ee10a8f125502530043754a8c0abf9\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"126eb837-e4f5-4c6e-aaea-0616a925d7ff","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.026408","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"192\",\n        \"type\": \"campaign\",\n        \"attributes\": {\n            \"name\": \"ClioCon 2018\",\n            \"description\": \"ClioCon in New Orleans 2018\",\n            \"utm_match\": \"clio_con\",\n            \"tracking_number\": \"+18556347246\",\n            \"pnc_count\": 9,\n            \"created_at\": \"2018-10-04T10:35:00.880-07:00\",\n            \"updated_at\": \"2018-10-04T10:35:00.880-07:00\"\n        },\n        \"relationships\": {\n            \"source\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"source\"\n                }\n            },\n            \"prospects\": {\n                \"data\": [\n                    {\n                        \"id\": \"12505\",\n                        \"type\": \"prospect\"\n                    },\n                    {\n                        \"id\": \"6017\",\n                        \"type\": \"prospect\"\n                    },\n                    {\n                        \"id\": \"5977\",\n                        \"type\": \"prospect\"\n                    },\n                    {\n                        \"id\": \"5974\",\n                        \"type\": \"prospect\"\n                    },\n                    {\n                        \"id\": \"5971\",\n                        \"type\": \"prospect\"\n                    },\n                    {\n                        \"id\": \"5968\",\n                        \"type\": \"prospect\"\n                    },\n                    {\n                        \"id\": \"5966\",\n                        \"type\": \"prospect\"\n                    },\n                    {\n                        \"id\": \"5963\",\n                        \"type\": \"prospect\"\n                    },\n                    {\n                        \"id\": \"5959\",\n                        \"type\": \"prospect\"\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"3e3455ca-f52c-4fd6-90ff-a1f31dc44dd1"},{"name":"Campaigns","id":"7c6552f8-d660-4783-bd89-74f15506df66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/campaigns","description":"<p>A <strong>paginated</strong> list of all Marketing Campaigns in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","campaigns"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5adf1c93-ef7b-4633-9a9f-2b4c04e39646","name":"GET Campaigns","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/campaigns"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"f1fa3afbde7d591af176761fb2d8363e\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"bdacb752-b482-4f6b-be8b-7fcc18d7b071","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.513929","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"284\",\n            \"type\": \"campaign\",\n            \"attributes\": {\n                \"name\": \"Landing Page Ad 1\",\n                \"created_at\": \"2018-10-11T18:09:55.363-07:00\",\n                \"updated_at\": \"2018-10-11T18:09:55.363-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"285\",\n            \"type\": \"campaign\",\n            \"attributes\": {\n                \"name\": \"Blog Ad 1\",\n                \"created_at\": \"2018-10-12T15:28:16.893-07:00\",\n                \"updated_at\": \"2018-10-12T15:28:23.512-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"286\",\n            \"type\": \"campaign\",\n            \"attributes\": {\n                \"name\": \"Banner Ad 1\",\n                \"created_at\": \"2018-10-12T15:28:34.041-07:00\",\n                \"updated_at\": \"2018-10-12T15:28:34.041-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"287\",\n            \"type\": \"campaign\",\n            \"attributes\": {\n                \"name\": \"Banner Ad 2\",\n                \"created_at\": \"2018-10-12T15:28:41.512-07:00\",\n                \"updated_at\": \"2018-10-12T15:28:45.320-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"288\",\n            \"type\": \"campaign\",\n            \"attributes\": {\n                \"name\": \"Roey Chasman\",\n                \"created_at\": \"2018-10-12T15:38:08.058-07:00\",\n                \"updated_at\": \"2018-10-12T15:38:08.058-07:00\"\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 5\n    },\n    \"links\": {\n        \"self\": \"/v1/campaigns?page=1\"\n    }\n}"}],"_postman_id":"7c6552f8-d660-4783-bd89-74f15506df66"}],"id":"3ad1a347-7caa-47b1-b733-fd36d54028aa","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c6b54b00-807f-4725-9da5-2df5c491ca11"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"99ed83fc-6a8a-4e2f-90ad-bcc6d37703a3"}}],"_postman_id":"3ad1a347-7caa-47b1-b733-fd36d54028aa","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Matter Marketing Sources","item":[{"name":"Source","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/sources`, function (err, response) {","   pm.globals.set(\"source_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"04b4f656-4bb8-4ea1-84cd-727a67496773"}}],"id":"97dadcf1-2e6f-4a9f-8946-a9262607c4f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/sources/:source_id","description":"<p>A specific Marketing Source by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","sources",":source_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"3f13f22f-6391-43b0-8ecd-962eb1101051","type":"any","value":"{{source_id}}","key":"source_id"}]}},"response":[{"id":"bdd6ae0f-ee37-4661-b399-8ecad5fd3091","name":"GET Source","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/sources/1374?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","sources","1374"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"48998395646735dac874c8c8386f90fe\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"c7355f61-d074-4a22-b605-35b029c90a17","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.706541","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"243\",\n        \"type\": \"source\",\n        \"attributes\": {\n            \"name\": \"Facebook\",\n            \"description\": null,\n            \"color\": \"#F70303\",\n            \"utm_match\": null,\n            \"spend_frequency\": \"weekly\",\n            \"tracking_number\": null,\n            \"pnc_count\": 0,\n            \"created_at\": \"2018-09-20T10:45:21.681-07:00\",\n            \"updated_at\": \"2018-09-20T10:45:21.681-07:00\"\n        },\n        \"relationships\": {\n            \"campaigns\": {\n                \"data\": [\n                    {\n                        \"id\": \"174\",\n                        \"type\": \"campaign\"\n                    }\n                ]\n            },\n            \"prospects\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"97dadcf1-2e6f-4a9f-8946-a9262607c4f8"},{"name":"Sources","id":"09f83e78-a1f7-4234-91bc-ceb2221628b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/sources","description":"<p>A <strong>paginated</strong> list of all Marketing Sources in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","sources"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e1219dfe-9823-430b-a860-81dab02467c8","name":"GET Sources","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/sources"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"96d14fd124b530a5be37cd7aac5cf2ab\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"7f6225e4-4099-4459-9f4b-ad38337a7cfc","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.473402","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"243\",\n            \"type\": \"source\",\n            \"attributes\": {\n                \"name\": \"Facebook\",\n                \"created_at\": \"2018-09-20T10:45:21.681-07:00\",\n                \"updated_at\": \"2018-09-20T10:45:21.681-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"200\",\n            \"type\": \"source\",\n            \"attributes\": {\n                \"name\": \"Nolo\",\n                \"created_at\": \"2018-08-29T15:14:15.629-07:00\",\n                \"updated_at\": \"2018-08-29T15:14:15.629-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"90\",\n            \"type\": \"source\",\n            \"attributes\": {\n                \"name\": \"ChatBot 101\",\n                \"created_at\": \"2018-07-20T09:44:43.821-07:00\",\n                \"updated_at\": \"2018-07-20T09:44:43.821-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"6\",\n            \"type\": \"source\",\n            \"attributes\": {\n                \"name\": \"Referrals\",\n                \"created_at\": \"2018-03-04T02:17:45.924-08:00\",\n                \"updated_at\": \"2018-04-12T14:13:01.357-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"source\",\n            \"attributes\": {\n                \"name\": \"Google\",\n                \"created_at\": \"2018-01-24T10:44:54.260-08:00\",\n                \"updated_at\": \"2018-01-24T10:44:54.260-08:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"source\",\n            \"attributes\": {\n                \"name\": \"Conferences\",\n                \"created_at\": \"2018-01-08T10:47:20.997-08:00\",\n                \"updated_at\": \"2018-10-05T09:02:59.114-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"source\",\n            \"attributes\": {\n                \"name\": \"Google PPC\",\n                \"created_at\": \"2018-01-08T10:02:16.040-08:00\",\n                \"updated_at\": \"2018-10-05T07:29:39.386-07:00\"\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 7\n    },\n    \"links\": {\n        \"self\": \"/v1/source?page=1\"\n    }\n}"}],"_postman_id":"09f83e78-a1f7-4234-91bc-ceb2221628b2"}],"id":"92bfa098-91c3-4b78-be38-ee3f5c24754a","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b825bb28-b14d-4e8a-86a1-f717dbe4283c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"4cb34690-f4c5-4851-b1ea-295c9b398d07"}}],"_postman_id":"92bfa098-91c3-4b78-be38-ee3f5c24754a","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Matter Pipelines","item":[{"name":"Pipeline","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/pipelines`, function (err, response) {","   pm.globals.set(\"pipeline_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"c053dac6-31b0-48ef-b509-ad2d543eb17c"}}],"id":"caf18aac-32df-427f-90df-3ab15bddbe1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/pipelines/:pipeline_id","description":"<p>A specific Pipeline by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","pipelines",":pipeline_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"6e5bb143-9fd4-490a-9431-b9d56d498281","type":"any","value":"{{pipeline_id}}","key":"pipeline_id"}]}},"response":[{"id":"b2c5804a-097e-423b-9a6d-71bb05afe00e","name":"GET Pipeline","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/pipelines/:pipeline_id?fields=all","host":["{{host}}"],"path":["v1","pipelines",":pipeline_id"],"query":[{"key":"fields","value":"all"}],"variable":[{"key":"pipeline_id","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"5dec75f61a17ba41b67a8964026d6920\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"dbaab9e9-d1d5-49a5-b5bd-1f0e0501a538"},{"key":"X-Runtime","value":"0.231155"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"4\",\n        \"type\": \"pipeline\",\n        \"attributes\": {\n            \"name\": \"Intake\",\n            \"description\": \"Intake Pipeline\",\n            \"statuses\": [\n                \"pnc\"\n            ],\n            \"pipeline_type\": \"intake\",\n            \"matter_count\": 174,\n            \"estimated_value\": \"$0.22\",\n            \"created_at\": \"2019-02-28T07:21:48.362-08:00\",\n            \"updated_at\": \"2019-02-28T07:21:48.362-08:00\"\n        },\n        \"relationships\": {\n            \"stages\": {\n                \"data\": [\n                    {\n                        \"id\": \"6\",\n                        \"type\": \"stage\"\n                    },\n                    {\n                        \"id\": \"7\",\n                        \"type\": \"stage\"\n                    },\n                    {\n                        \"id\": \"9\",\n                        \"type\": \"stage\"\n                    },\n                    {\n                        \"id\": \"148\",\n                        \"type\": \"stage\"\n                    },\n                    {\n                        \"id\": \"352\",\n                        \"type\": \"stage\"\n                    },\n                    {\n                        \"id\": \"138\",\n                        \"type\": \"stage\"\n                    },\n                    {\n                        \"id\": \"146\",\n                        \"type\": \"stage\"\n                    },\n                    {\n                        \"id\": \"147\",\n                        \"type\": \"stage\"\n                    }\n                ]\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"14\",\n                    \"type\": \"user\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"caf18aac-32df-427f-90df-3ab15bddbe1d"},{"name":"Pipelines","id":"69208926-5da2-49df-b40d-bd69497e52ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/pipelines","description":"<p>A <strong>paginated</strong> list of all Pipelines in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","pipelines"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"cb36acbd-7d0f-4236-aabb-1c76ed3443e9","name":"GET Pipelines","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/pipelines?fields=all","host":["{{host}}"],"path":["v1","pipelines"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"a6ba9f8df08c23b4dc7c208847873dca\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"ea601a0f-28d9-4192-9954-d43c7c078a18"},{"key":"X-Runtime","value":"0.459638"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"61\",\n            \"type\": \"pipeline\",\n            \"attributes\": {\n                \"name\": \"sdf\",\n                \"description\": \"sdfdfs\",\n                \"statuses\": [\n                    \"pnc\"\n                ],\n                \"pipeline_type\": \"normal\",\n                \"matter_count\": 0,\n                \"estimated_value\": \"$0\",\n                \"created_at\": \"2019-04-01T13:47:21.156-07:00\",\n                \"updated_at\": \"2019-04-01T13:47:21.156-07:00\"\n            },\n            \"relationships\": {\n                \"stages\": {\n                    \"data\": []\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"user\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"60\",\n            \"type\": \"pipeline\",\n            \"attributes\": {\n                \"name\": \"test23\",\n                \"description\": \"wow\",\n                \"statuses\": [\n                    \"pnc\"\n                ],\n                \"pipeline_type\": \"intake\",\n                \"matter_count\": 0,\n                \"estimated_value\": \"$0\",\n                \"created_at\": \"2019-04-01T13:46:50.796-07:00\",\n                \"updated_at\": \"2019-04-01T13:46:50.796-07:00\"\n            },\n            \"relationships\": {\n                \"stages\": {\n                    \"data\": [\n                        {\n                            \"id\": \"374\",\n                            \"type\": \"stage\"\n                        }\n                    ]\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"user\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"16\",\n            \"type\": \"pipeline\",\n            \"attributes\": {\n                \"name\": \"test\",\n                \"description\": \"test\",\n                \"statuses\": [\n                    \"pnc\"\n                ],\n                \"pipeline_type\": \"intake\",\n                \"matter_count\": 0,\n                \"estimated_value\": \"$0\",\n                \"created_at\": \"2019-03-12T10:45:35.796-07:00\",\n                \"updated_at\": \"2019-03-12T10:45:35.796-07:00\"\n            },\n            \"relationships\": {\n                \"stages\": {\n                    \"data\": []\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"user\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"4\",\n            \"type\": \"pipeline\",\n            \"attributes\": {\n                \"name\": \"Intake\",\n                \"description\": \"Intake Pipeline\",\n                \"statuses\": [\n                    \"pnc\"\n                ],\n                \"pipeline_type\": \"intake\",\n                \"matter_count\": 173,\n                \"estimated_value\": \"$0.22\",\n                \"created_at\": \"2019-02-28T07:21:48.362-08:00\",\n                \"updated_at\": \"2019-02-28T07:21:48.362-08:00\"\n            },\n            \"relationships\": {\n                \"stages\": {\n                    \"data\": [\n                        {\n                            \"id\": \"6\",\n                            \"type\": \"stage\"\n                        },\n                        {\n                            \"id\": \"7\",\n                            \"type\": \"stage\"\n                        },\n                        {\n                            \"id\": \"9\",\n                            \"type\": \"stage\"\n                        },\n                        {\n                            \"id\": \"148\",\n                            \"type\": \"stage\"\n                        },\n                        {\n                            \"id\": \"352\",\n                            \"type\": \"stage\"\n                        },\n                        {\n                            \"id\": \"138\",\n                            \"type\": \"stage\"\n                        },\n                        {\n                            \"id\": \"146\",\n                            \"type\": \"stage\"\n                        },\n                        {\n                            \"id\": \"147\",\n                            \"type\": \"stage\"\n                        }\n                    ]\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"14\",\n                        \"type\": \"user\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 4\n    },\n    \"links\": {\n        \"self\": \"/v1/pipeline?page=1\"\n    }\n}"}],"_postman_id":"69208926-5da2-49df-b40d-bd69497e52ff"}],"id":"d5e17433-d35a-43b1-a192-c43c87dde190","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"45dac7ff-0f02-4fe6-ac45-4eaea9ae5187"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3f021e61-f5b1-410c-b167-9d908f684463"}}],"_postman_id":"d5e17433-d35a-43b1-a192-c43c87dde190","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Matter Pipeline Stages","item":[{"name":"Stage","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"1dc40543-88ed-49cc-99b4-2a1992ec8a50"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/stages`, function (err, response) {","   pm.globals.set(\"stage_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"b10370a0-1ab5-4527-9da5-dc30f6b657e1"}}],"id":"510b06fa-ec06-4c20-9520-a08d41ff89e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/stages/:stage_id","description":"<p>A specific Stage by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","stages",":stage_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"7052061e-2bf6-452a-9663-cc2403290298","type":"any","value":"{{stage_id}}","key":"stage_id"}]}},"response":[{"id":"8c20e4f8-4131-4d1b-8325-619b76fdf618","name":"GET Stage","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/stages/:stage_id?fields=all","host":["{{host}}"],"path":["v1","stages",":stage_id"],"query":[{"key":"fields","value":"all"}],"variable":[{"key":"stage_id","value":"147"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"deff2277314a3a4c8cc43eeaaefdea90\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"92c91851-58ad-46a0-bbe7-5f666b03647c"},{"key":"X-Runtime","value":"0.160184"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"147\",\n        \"type\": \"stage\",\n        \"attributes\": {\n            \"name\": \"Initial Call\",\n            \"color\": \"#bcc2c94d\",\n            \"order\": 7,\n            \"created_at\": \"2018-10-02T11:25:35.532-07:00\",\n            \"updated_at\": \"2019-02-28T19:28:40.101-08:00\"\n        },\n        \"relationships\": {\n            \"prospects\": {\n                \"data\": [\n                    {\n                        \"id\": \"50645\",\n                        \"type\": \"prospect\"\n                    }\n                ]\n            },\n            \"pipeline\": {\n                \"data\": {\n                    \"id\": \"4\",\n                    \"type\": \"pipeline\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"510b06fa-ec06-4c20-9520-a08d41ff89e5"},{"name":"Stages","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"8092604f-14c9-4a81-a74b-8e8fcc301e1e"}}],"id":"9550eca0-8da8-40bf-8d39-76a989512af5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/stages","description":"<p>A <strong>paginated</strong> list of all Stages in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","stages"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"56338169-884a-47af-a685-feed3f84895c","name":"GET Stages Filtered By Pipeline","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/stages?fields=name,pipeline&filter_by=pipeline_id&filter_on=4","host":["{{host}}"],"path":["v1","stages"],"query":[{"key":"fields","value":"name,pipeline"},{"key":"filter_by","value":"pipeline_id"},{"key":"filter_on","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"9ebb45799c1f5885dd6df2589da4482c\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"86800377-f13e-42fb-b556-34288112ae9e"},{"key":"X-Runtime","value":"0.033421"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"352\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"test      w\"\n            },\n            \"relationships\": {\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"148\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Consult Completed\"\n            },\n            \"relationships\": {\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"147\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Initial Call\"\n            },\n            \"relationships\": {\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"146\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Consult Scheduled\"\n            },\n            \"relationships\": {\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"138\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Really very way too long stage name\"\n            },\n            \"relationships\": {\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"9\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Stage 3\"\n            },\n            \"relationships\": {\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"7\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Stage 2\"\n            },\n            \"relationships\": {\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"6\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Stage 1\"\n            },\n            \"relationships\": {\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 8\n    },\n    \"links\": {\n        \"self\": \"/v1/stage?page=1\"\n    }\n}"},{"id":"d6f3704f-cee3-4d7f-b370-1338cd01c6cd","name":"GET Stages","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/stages?fields=all","host":["{{host}}"],"path":["v1","stages"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"4b96a5c6dfc6ea80e666534692ec22b7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"0a581e82-6e94-42ee-a76e-fdfc4266b1e2"},{"key":"X-Runtime","value":"0.056537"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"352\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"test      w\",\n                \"color\": \"#757F8F\",\n                \"order\": 4,\n                \"created_at\": \"2019-01-10T16:13:55.733-08:00\",\n                \"updated_at\": \"2019-03-06T23:08:42.168-08:00\"\n            },\n            \"relationships\": {\n                \"prospects\": {\n                    \"data\": [\n                        {\n                            \"id\": \"54736\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"50661\",\n                            \"type\": \"prospect\"\n                        }\n                    ]\n                },\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"148\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Consult Completed\",\n                \"color\": \"#bcc2c94d\",\n                \"order\": 3,\n                \"created_at\": \"2018-10-02T11:25:36.329-07:00\",\n                \"updated_at\": \"2019-03-06T23:08:42.168-08:00\"\n            },\n            \"relationships\": {\n                \"prospects\": {\n                    \"data\": [\n                        {\n                            \"id\": \"54747\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54787\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54748\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54749\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54750\",\n                            \"type\": \"prospect\"\n                        }\n                    ]\n                },\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"147\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Initial Call\",\n                \"color\": \"#bcc2c94d\",\n                \"order\": 7,\n                \"created_at\": \"2018-10-02T11:25:35.532-07:00\",\n                \"updated_at\": \"2019-02-28T19:28:40.101-08:00\"\n            },\n            \"relationships\": {\n                \"prospects\": {\n                    \"data\": [\n                        {\n                            \"id\": \"50645\",\n                            \"type\": \"prospect\"\n                        }\n                    ]\n                },\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"146\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Consult Scheduled\",\n                \"color\": \"#bcc2c94d\",\n                \"order\": 6,\n                \"created_at\": \"2018-10-02T11:25:35.363-07:00\",\n                \"updated_at\": \"2019-02-28T19:28:40.096-08:00\"\n            },\n            \"relationships\": {\n                \"prospects\": {\n                    \"data\": [\n                        {\n                            \"id\": \"79\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"32\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"10\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"100\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"46\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"17877\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"17683\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"27\",\n                            \"type\": \"prospect\"\n                        }\n                    ]\n                },\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"138\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Really very way too long stage name\",\n                \"color\": \"#F70303\",\n                \"order\": 5,\n                \"created_at\": \"2018-08-07T16:55:52.659-07:00\",\n                \"updated_at\": \"2019-02-28T19:28:40.091-08:00\"\n            },\n            \"relationships\": {\n                \"prospects\": {\n                    \"data\": [\n                        {\n                            \"id\": \"54688\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"19\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54767\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"45305\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"6\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"41789\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"65\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"45302\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"16\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"90\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"93\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"60\",\n                            \"type\": \"prospect\"\n                        }\n                    ]\n                },\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"9\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Stage 3\",\n                \"color\": \"#70B08B\",\n                \"order\": 2,\n                \"created_at\": \"2018-07-17T17:40:21.805-07:00\",\n                \"updated_at\": \"2019-03-06T23:08:42.170-08:00\"\n            },\n            \"relationships\": {\n                \"prospects\": {\n                    \"data\": [\n                        {\n                            \"id\": \"50662\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"45306\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"41788\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"17682\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"17681\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"45303\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"128\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"21\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"68\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"26\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"95\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"52\",\n                            \"type\": \"prospect\"\n                        }\n                    ]\n                },\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"7\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Stage 2\",\n                \"color\": \"#DC438F\",\n                \"order\": 1,\n                \"created_at\": \"2018-07-16T15:12:39.502-07:00\",\n                \"updated_at\": \"2019-03-06T23:08:40.445-08:00\"\n            },\n            \"relationships\": {\n                \"prospects\": {\n                    \"data\": [\n                        {\n                            \"id\": \"40\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"45310\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"50649\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"45311\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"72\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"63\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"57\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"23\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"43\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"35\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"67\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"62\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"58\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"12\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"17\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"20\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"80\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"55\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"53\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"77\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"44\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"99\",\n                            \"type\": \"prospect\"\n                        }\n                    ]\n                },\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"6\",\n            \"type\": \"stage\",\n            \"attributes\": {\n                \"name\": \"Stage 1\",\n                \"color\": \"#7997C9\",\n                \"order\": 0,\n                \"created_at\": \"2018-07-16T15:12:39.495-07:00\",\n                \"updated_at\": \"2019-02-28T07:21:48.506-08:00\"\n            },\n            \"relationships\": {\n                \"prospects\": {\n                    \"data\": [\n                        {\n                            \"id\": \"54896\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54895\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54894\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54893\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54892\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54891\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54890\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54889\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54888\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54887\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54886\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54885\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54884\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54883\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54882\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54881\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54880\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54879\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54878\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54877\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54876\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54875\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54874\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54873\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54872\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54871\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54870\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54869\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54868\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54867\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54866\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54865\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54864\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54863\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54862\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54861\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54860\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54859\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54858\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54857\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54856\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54855\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54854\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54853\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54852\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54851\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54850\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54849\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54848\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54846\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54845\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54844\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54843\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54842\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54841\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54840\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54839\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54838\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54837\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54836\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54833\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54832\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54831\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54820\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54810\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54808\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54807\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54730\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"54733\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"50659\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"50664\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"50663\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"50665\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"45307\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"122\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"127\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"45308\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"45301\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"28\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"8\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"87\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"86\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"82\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"22\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"18\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"9\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"98\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"61\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"7\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"5\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"74\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"70\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"69\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"59\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"51\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"49\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"42\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"41\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"36\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"34\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"30\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"97\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"94\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"92\",\n                            \"type\": \"prospect\"\n                        },\n                        {\n                            \"id\": \"91\",\n                            \"type\": \"prospect\"\n                        }\n                    ]\n                },\n                \"pipeline\": {\n                    \"data\": {\n                        \"id\": \"4\",\n                        \"type\": \"pipeline\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 8\n    },\n    \"links\": {\n        \"self\": \"/v1/stage?page=1\"\n    }\n}"}],"_postman_id":"9550eca0-8da8-40bf-8d39-76a989512af5"}],"id":"8733eca6-65da-436b-b15b-56c2b0be7bbb","description":"<p>A <strong>Stage</strong> is a single step of a process <strong>Pipeline</strong>, that a <strong>Matter</strong> is in.</p>\n<p>Setting a <strong>Stage</strong> on a <strong>Matter</strong> is a way for a Lawmatics Firm to organize <strong>Matters</strong> according to their custom business processes.</p>\n<ul>\n<li>You can see a high level overview of all your <strong>Matters</strong> and their <strong>Stages</strong> in the <strong>Pipelines</strong> view.</li>\n<li>You can trigger automations to fire based on which <strong>Stage</strong> a <strong>Matter</strong> is currently in.</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"6ad49161-d232-44e5-988d-796142810e0e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"2b93f00f-4b94-44e9-9cd2-3c9b9a7b42de"}}],"_postman_id":"8733eca6-65da-436b-b15b-56c2b0be7bbb","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Matter Practice Areas","item":[{"name":"Practice Area","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/practice_areas`, function (err, response) {","   pm.globals.set(\"practice_area_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"51c8e050-7f2a-4ea5-ac09-86f8c2be34a7"}}],"id":"6e512fde-2660-4d8d-9509-7d9d62a6eca4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/practice_areas/:practice_area_id","description":"<p>A specific Practice Area by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","practice_areas",":practice_area_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c3388aa1-ff09-44e1-b8d7-a5eaf7ebc3c6","type":"any","value":"{{practice_area_id}}","key":"practice_area_id"}]}},"response":[{"id":"c68c4c82-fd08-4ad3-a318-e1d821f4c198","name":"GET Practice Area","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/practice_areas/63"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"51c763e3f2d0d39ceb337bb238807b39\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"1745af6c-8e96-4dfe-8e3b-2fad07885766","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.025256","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\"data\":{\"id\":\"63\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Family Law\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-07-23T14:41:38.401-07:00\",\"updated_at\":\"2018-07-23T14:41:38.401-07:00\"}}}"}],"_postman_id":"6e512fde-2660-4d8d-9509-7d9d62a6eca4"},{"name":"Practice Areas","id":"d455fc90-f8c0-47d4-80d0-d3b05bc8049d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/practice_areas","description":"<p>A <strong>paginated</strong> list of all Practice Areas in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","practice_areas"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"afdf30e3-5417-4f40-b771-45f27cc7c95d","name":"GET Practice Areas","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/practice_areas"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"7ab6c1839f8565358c9ddb6ec03075ed\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"8a3bda97-5e21-4377-8d17-8d871401bbbb","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.080161","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\"data\":[{\"id\":\"4\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Criminal Defense\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-07-16T15:13:04.112-07:00\",\"updated_at\":\"2018-07-16T15:13:04.112-07:00\"}},{\"id\":\"5\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Intellectual Property\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-07-16T15:13:04.114-07:00\",\"updated_at\":\"2018-07-16T15:13:04.114-07:00\"}},{\"id\":\"6\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Divorce\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-07-16T15:13:04.116-07:00\",\"updated_at\":\"2018-07-16T15:13:04.116-07:00\"}},{\"id\":\"63\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Family Law\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-07-23T14:41:38.401-07:00\",\"updated_at\":\"2018-07-23T14:41:38.401-07:00\"}},{\"id\":\"64\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Veterans Disability\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-07-23T14:41:38.691-07:00\",\"updated_at\":\"2018-07-23T14:41:38.691-07:00\"}},{\"id\":\"65\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Estate Planning\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-07-23T14:41:39.193-07:00\",\"updated_at\":\"2018-07-23T14:41:39.193-07:00\"}},{\"id\":\"94\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Expungement\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:06.060-07:00\",\"updated_at\":\"2018-08-07T16:49:06.060-07:00\"}},{\"id\":\"95\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Dui\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:06.134-07:00\",\"updated_at\":\"2018-08-07T16:49:06.134-07:00\"}},{\"id\":\"96\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Unknown\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:06.187-07:00\",\"updated_at\":\"2018-08-07T16:49:06.187-07:00\"}},{\"id\":\"97\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Misdemeanor\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:06.221-07:00\",\"updated_at\":\"2018-08-07T16:49:06.221-07:00\"}},{\"id\":\"98\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Non Practice Area\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:06.233-07:00\",\"updated_at\":\"2018-08-07T16:49:06.233-07:00\"}},{\"id\":\"99\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Domestic Violence\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:06.302-07:00\",\"updated_at\":\"2018-08-07T16:49:06.302-07:00\"}},{\"id\":\"100\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Felony\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:06.384-07:00\",\"updated_at\":\"2018-08-07T16:49:06.384-07:00\"}},{\"id\":\"101\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Marijuana\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:06.691-07:00\",\"updated_at\":\"2018-08-07T16:49:06.691-07:00\"}},{\"id\":\"102\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Asset Forfeiture\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:06.927-07:00\",\"updated_at\":\"2018-08-07T16:49:06.927-07:00\"}},{\"id\":\"103\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Juvenile\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:07.191-07:00\",\"updated_at\":\"2018-08-07T16:49:07.191-07:00\"}},{\"id\":\"104\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Marijuana Business\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:07.315-07:00\",\"updated_at\":\"2018-08-07T16:49:07.315-07:00\"}},{\"id\":\"105\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Prop 64\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:08.097-07:00\",\"updated_at\":\"2018-08-07T16:49:08.097-07:00\"}},{\"id\":\"106\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Prop 57\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:09.110-07:00\",\"updated_at\":\"2018-08-07T16:49:09.110-07:00\"}},{\"id\":\"107\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Unassigned\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-08-07T16:49:09.644-07:00\",\"updated_at\":\"2018-08-07T16:49:09.644-07:00\"}},{\"id\":\"109\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Business - Business General\",\"color\":\"#757F8F\",\"created_at\":\"2018-08-24T16:36:17.715-07:00\",\"updated_at\":\"2018-08-24T16:36:17.715-07:00\"}},{\"id\":\"125\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Paternity\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-10-08T14:26:25.945-07:00\",\"updated_at\":\"2018-10-08T14:26:25.945-07:00\"}},{\"id\":\"128\",\"type\":\"practice_area\",\"attributes\":{\"name\":\"Limited Scope\",\"color\":\"#bcc2c9\",\"created_at\":\"2018-10-11T10:11:54.969-07:00\",\"updated_at\":\"2018-10-11T10:11:54.969-07:00\"}}],\"meta\":{\"total_pages\":1,\"limit_per_page\":25,\"total_entries\":23},\"links\":{\"self\":\"/v1/practice_areas?page=1\"}}"}],"_postman_id":"d455fc90-f8c0-47d4-80d0-d3b05bc8049d"},{"name":"Create Practice Area","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_practice_area_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"b7f01acf-fb63-43c6-a34f-27597c2728a2"}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"a720e781-cf2f-449a-b629-6a286a8261f9"}}],"id":"5c5e80d6-2de7-4159-93ca-efa057bb3c7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test Practice Area ccc5f76a-cc9b-4b6a-8cbd-08964a00f060\",\n    \"color\": \"#bcc2c9\",\n\t\"statute_of_limitations_enabled\": true\n}"},"url":"{{host}}/v1/practice_areas","description":"<p>Create a new Practice Area</p>\n<p><strong>Optional Fields</strong>: statute_of_limitations_enabled</p>\n<p><strong>name</strong>: The Area name</p>\n<p><strong>color</strong>: The Area color. Can be any CSS valid color (hex, rgb, hsl, colorname string, etc)</p>\n<p><strong>statute_of_limitations_enabled</strong>: If Statute of Limitations is enabled</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","practice_areas"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"032a68de-32e8-4e51-a8a9-d8c8f9c6c346","name":"POST Create Practice Area","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Area\",\n    \"color\": \"#bcc2c9\",\n\t\"statute_of_limitations_enabled\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/practice_areas?fields=all","host":["{{host}}"],"path":["v1","practice_areas"],"query":[{"key":"fields","value":"all"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Aug 2019 20:48:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=A8F6zBQgbkSA5Fz7WD2Fgmp27ZDzjC2gEc/ltVZU2II31+LnLIWobcdISVCBGzMpJecTpXc8h1HT50kjrHjETL+5IbZmsANsq0AQBVMqHIhWnGufsphme/JJh47W; Expires=Wed, 04 Sep 2019 20:48:10 GMT; Path=/"},{"key":"ETag","value":"W/\"7a02c95c1fc42a7738270cb26d1b8dd5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"46074845-17f0-4946-9b59-fc8528e50f7a"},{"key":"X-Runtime","value":"0.095035"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"9\",\n        \"type\": \"practice_area\",\n        \"attributes\": {\n            \"name\": \"New Area\",\n            \"color\": \"#bcc2c9\",\n            \"statute_of_limitations_enabled\": true,\n            \"matter_count\": 0,\n            \"created_at\": \"2022-05-26T10:54:59.444-07:00\",\n            \"updated_at\": \"2022-05-26T10:54:59.444-07:00\"\n        },\n        \"relationships\": {\n            \"prospects\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"5c5e80d6-2de7-4159-93ca-efa057bb3c7a"},{"name":"Update Practice Area","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"6ececa07-ca03-4725-8d57-d57c46d96a7a"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/practice_areas`, function (err, response) {","   pm.globals.set(\"practice_area_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"9f44ae8b-4dbf-4089-b9d9-e4cf75bf7871"}}],"id":"8221ddf0-eae9-4019-a08a-4868e9c3c952","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Name\",\n    \"color\": \"#bcc2c9\",\n\t\"statute_of_limitations_enabled\": true\n}"},"url":"{{host}}/v1/practice_areas/:practice_area_id","description":"<p>Updates an existing Practice Area</p>\n<p><strong>Optional Fields</strong>: statute_of_limitations_enabled</p>\n<p><strong>name</strong>: The Area name</p>\n<p><strong>color</strong>: The Area color. Can be any CSS valid color (hex, rgb, hsl, colorname string, etc)</p>\n<p><strong>statute_of_limitations_enabled</strong>: If Statute of Limitations is enabled</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","practice_areas",":practice_area_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"70eb577c-e2c3-41f5-bfeb-0b834060bdf5","type":"any","value":"{{practice_area_id}}","key":"practice_area_id"}]}},"response":[{"id":"e43ce414-2369-4fe8-b6cd-5fb94c674de6","name":"PUT Update Practice Area","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Name\",\n    \"color\": \"#bcc2c9\",\n\t\"statute_of_limitations_enabled\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/practice_areas/:practice_area_id","host":["{{host}}"],"path":["v1","practice_areas",":practice_area_id"],"variable":[{"key":"practice_area_id","value":null}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Aug 2019 20:48:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=A8F6zBQgbkSA5Fz7WD2Fgmp27ZDzjC2gEc/ltVZU2II31+LnLIWobcdISVCBGzMpJecTpXc8h1HT50kjrHjETL+5IbZmsANsq0AQBVMqHIhWnGufsphme/JJh47W; Expires=Wed, 04 Sep 2019 20:48:10 GMT; Path=/"},{"key":"ETag","value":"W/\"7a02c95c1fc42a7738270cb26d1b8dd5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"46074845-17f0-4946-9b59-fc8528e50f7a"},{"key":"X-Runtime","value":"0.095035"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"9\",\n        \"type\": \"practice_area\",\n        \"attributes\": {\n            \"name\": \"New Name\",\n            \"color\": \"#bcc2c9\",\n            \"statute_of_limitations_enabled\": true,\n            \"matter_count\": 0,\n            \"created_at\": \"2022-05-26T10:54:59.444-07:00\",\n            \"updated_at\": \"2022-05-26T11:27:35.598-07:00\"\n        },\n        \"relationships\": {\n            \"prospects\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"8221ddf0-eae9-4019-a08a-4868e9c3c952"},{"name":"Delete Practice Area","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_event_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"7f084f6a-4f3a-4cd7-8219-cf5da44d300a"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/practice_areas`, function (err, response) {","   pm.globals.set(\"practice_area_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"f929313e-be69-4b02-a7e5-2ec7ecdc3b3b"}}],"id":"7fa98782-c6c3-4438-ba39-39104c93a6a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{host}}/v1/practice_areas/:practice_area_id","description":"<p>Deletes an existing Practice Area</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","practice_areas",":practice_area_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"d5129731-37f3-4360-a02f-ae77b65281bf","type":"any","value":"{{practice_area_id}}","key":"practice_area_id"}]}},"response":[{"id":"d3753da2-a648-49ff-8f5a-e841279e8123","name":"DELETE Update Practice Area","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"url":{"raw":"{{host}}/v1/practice_areas/:practice_area_id","host":["{{host}}"],"path":["v1","practice_areas",":practice_area_id"],"variable":[{"key":"practice_area_id","value":null}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Aug 2019 20:48:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=A8F6zBQgbkSA5Fz7WD2Fgmp27ZDzjC2gEc/ltVZU2II31+LnLIWobcdISVCBGzMpJecTpXc8h1HT50kjrHjETL+5IbZmsANsq0AQBVMqHIhWnGufsphme/JJh47W; Expires=Wed, 04 Sep 2019 20:48:10 GMT; Path=/"},{"key":"ETag","value":"W/\"7a02c95c1fc42a7738270cb26d1b8dd5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"46074845-17f0-4946-9b59-fc8528e50f7a"},{"key":"X-Runtime","value":"0.095035"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"9\",\n        \"type\": \"practice_area\",\n        \"attributes\": {\n            \"name\": \"New Name\",\n            \"created_at\": \"2022-05-26T10:54:59.444-07:00\",\n            \"updated_at\": \"2022-05-26T11:45:32.351-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"7fa98782-c6c3-4438-ba39-39104c93a6a4"}],"id":"6f6baed2-226f-4991-b320-8ad69fe3066d","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c5e35162-3ef8-4e07-9293-805b23bacf84"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"39cd92e1-dda9-4d55-a81f-d49785a28ff0"}}],"_postman_id":"6f6baed2-226f-4991-b320-8ad69fe3066d","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Matter Relationships","item":[{"name":"Relationship","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"0a91e4c4-cd98-48d5-95b6-294d43aa46bb"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/relationships`, function (err, response) {","   pm.globals.set(\"relationship_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"5eb2460d-4fbe-4794-8b99-c95aef08d3ab"}}],"id":"ca641f97-c285-4ff0-b041-02a58fdf46dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/relationships/:relationship_id","description":"<p>A specific <strong>Relationship</strong> by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","relationships",":relationship_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"8153923d-6fea-4e15-a15b-dad89c127df2","type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"be27be99-c2c7-4970-a728-061f7e6c3467","name":"GET Relationship","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/relationships/:relationship_id","host":["{{host}}"],"path":["v1","relationships",":relationship_id"],"variable":[{"key":"relationship_id","value":"{{created_relationship_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"239435163a3e3ba00b667767c93edadc\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"e1e22998-039c-4989-8213-6e4cf134039b"},{"key":"X-Runtime","value":"0.032465"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"2\",\n        \"type\": \"relationship\",\n        \"attributes\": {\n            \"name\": \"Spouse\",\n            \"prospect_id\": 101,\n            \"contact_id\": 6,\n            \"relationship_type_id\": 1,\n            \"created_at\": \"2021-10-31T19:34:53.641-07:00\",\n            \"updated_at\": \"2021-10-31T19:34:53.641-07:00\"\n        }\n    }\n}"}],"_postman_id":"ca641f97-c285-4ff0-b041-02a58fdf46dd"},{"name":"Relationships","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"c26659ee-3723-493e-8642-d581337f7213"}}],"id":"489f49e5-405e-4096-9d6d-d14f782dd10b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/relationships","description":"<p>A <strong>paginated</strong> list of all Relationships in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","relationships"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8b5b9372-9e91-4a96-b411-6cf3a5ace1a1","name":"GET Relationships","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/relationships?fields=all","host":["{{host}}"],"path":["v1","relationships"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"a0d20a9b9d5c17a10e15cb02adbe92c5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"b2fab58b-3eb2-4c03-80b3-cb4798f5a367"},{"key":"X-Runtime","value":"0.403351"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"4\",\n            \"type\": \"relationship\",\n            \"attributes\": {\n                \"name\": \"Child\",\n                \"prospect_id\": 101,\n                \"contact_id\": 8,\n                \"has_portal_access?\": false,\n                \"created_at\": \"2021-10-31T20:26:39.243-07:00\",\n                \"updated_at\": \"2021-10-31T20:26:39.243-07:00\"\n            },\n            \"relationships\": {\n                \"relationship_type\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"relationship_type\"\n                    }\n                },\n                \"custom_field\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"custom_field\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"relationship\",\n            \"attributes\": {\n                \"name\": \"Spouse\",\n                \"prospect_id\": 101,\n                \"contact_id\": 102,\n                \"has_portal_access?\": false,\n                \"created_at\": \"2021-10-31T19:34:53.637-07:00\",\n                \"updated_at\": \"2021-10-31T19:34:53.637-07:00\"\n            },\n            \"relationships\": {\n                \"relationship_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"relationship_type\"\n                    }\n                },\n                \"custom_field\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"custom_field\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"relationship\",\n            \"attributes\": {\n                \"name\": \"Brother\",\n                \"prospect_id\": 101,\n                \"contact_id\": 101,\n                \"has_portal_access?\": true,\n                \"created_at\": \"2021-10-31T19:31:56.908-07:00\",\n                \"updated_at\": \"2021-10-31T19:31:56.908-07:00\"\n            },\n            \"relationships\": {\n                \"relationship_type\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"relationship_type\"\n                    }\n                },\n                \"custom_field\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"custom_field\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 3\n    },\n    \"links\": {\n        \"self\": \"/v1/relationships?page=1\"\n    }\n}"}],"_postman_id":"489f49e5-405e-4096-9d6d-d14f782dd10b"},{"name":"Create Relationship","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"391e2acf-5dab-4ed3-87c3-7f368c9611d6"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {","   pm.globals.set(\"contact_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/relationship_types`, function (err, response) {","   pm.globals.set(\"relationship_type_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/relationships`, function (err, response) {","   relationship_id = response.json().data[0].id","   pm.sendRequest({url: `${pm.environment.get('host')}/v1/relationships/${relationship_id}`, method: 'DELETE'})","});"],"type":"text/javascript","id":"59c2310a-af18-40fc-a730-e36670685e65"}}],"id":"12c2ec6d-770a-4563-8103-08544106d02b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"prospect_id\": \"{{prospect_id}}\",\n\t\"contact_id\": \"{{contact_id}}\",\n\t\"relationship_type_id\": \"{{relationship_type_id}}\"\n}"},"url":"{{host}}/v1/relationships","description":"<p>Create a new Relationship</p>\n<p>If the <strong>Relationship Type</strong> allows multiple, you can create more than one <strong>Relationship</strong> per <strong>Matter</strong>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","relationships"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"502fe63f-0823-448a-acc1-f6a2845dc0df","name":"POST Create Relationship","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"prospect_id\": \"101\",\n\t\"contact_id\": \"8\",\n\t\"relationship_type_id\": \"2\"\n}"},"url":"{{host}}/v1/relationships"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"5493d3567a541a1b186305f86211e922\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"85eccd8d-72da-4a6a-b49b-49f9426e4754"},{"key":"X-Runtime","value":"0.228638"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"21\",\n        \"type\": \"relationship\",\n        \"attributes\": {\n            \"name\": \"Brother\",\n            \"prospect_id\": 101,\n            \"contact_id\": 8,\n            \"relationship_type_id\": 2,\n            \"created_at\": \"2021-10-31T23:21:53.269-07:00\",\n            \"updated_at\": \"2021-10-31T23:21:53.269-07:00\"\n        }\n    }\n}"}],"_postman_id":"12c2ec6d-770a-4563-8103-08544106d02b"},{"name":"Update Relationship","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"47e414bf-71fa-4018-bf16-53f7c9d882cb"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {","   pm.globals.set(\"contact_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/relationship_types`, function (err, response) {","   pm.globals.set(\"relationship_type_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/relationships`, function (err, response) {","   pm.globals.set(\"relationship_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"7ce496c6-4398-4ea0-85f4-4723ed422712"}}],"id":"699263a5-0987-4e38-a26a-5f90cba3a513","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"prospect_id\": \"{{prospect_id}}\",\n\t\"contact_id\": \"{{contact_id}}\",\n\t\"relationship_type_id\": \"{{relationship_type_id}}\"\n}"},"url":"{{host}}/v1/relationships/:relationship_id","description":"<p>Update Relationship</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","relationships",":relationship_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"70ae26d7-c586-4f24-9695-e252fcc87d4e","type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"68347452-12db-48d9-bf45-275162128e23","name":"PUT Update Relationship","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"prospect_id\": \"99\",\n\t\"contact_id\": \"7\",\n\t\"relationship_type_id\": \"9\"\n}"},"url":{"raw":"{{host}}/v1/relationships/:relationship_id","host":["{{host}}"],"path":["v1","relationships",":relationship_id"],"variable":[{"key":"relationship_id","value":"{{created_relationship_id}}"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"3e1db25ea7ae4dacf2ca8977d83d2b08\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"fadb5229-6fd1-4d2f-b834-d9fbbc3e05de"},{"key":"X-Runtime","value":"0.458669"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"19\",\n        \"type\": \"relationship\",\n        \"attributes\": {\n            \"name\": \"Aunties\",\n            \"prospect_id\": 99,\n            \"contact_id\": 7,\n            \"created_at\": \"2021-10-31T23:17:44.457-07:00\",\n            \"updated_at\": \"2021-10-31T23:20:50.162-07:00\",\n            \"relationship_type_id\": 9\n        }\n    }\n}"}],"_postman_id":"699263a5-0987-4e38-a26a-5f90cba3a513"},{"name":"Delete Relationship","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"c04ea87c-342d-461d-8cc7-b6bb6d6a526e"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/relationships`, function (err, response) {","   pm.globals.set(\"relationship_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"242e46e2-fe6c-444d-9902-aefcd9c28c80"}}],"id":"6d889847-1aae-4177-b578-9a83256a0920","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/relationships/:relationship_id","description":"<p>Delete a Relationship by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","relationships",":relationship_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"1b013107-466a-4ad6-8250-e6023550d157","type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"26b740a0-a5f6-45df-9698-bc0f25dcc4cf","name":"DEL Delete Relationship","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/v1/relationships/:relationship_id","host":["{{host}}"],"path":["v1","relationships",":relationship_id"],"variable":[{"key":"relationship_id","value":"{{created_relationship_id}}"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"f0cf077b-15bb-4dfc-8ba5-c404fb56cbf3"},{"key":"X-Runtime","value":"0.279033"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6d889847-1aae-4177-b578-9a83256a0920"}],"id":"bd5d4308-b3a8-4208-99e3-fb5c89f564c7","description":"<p><em>Relationships</em> are connections between a Matter and a Contact</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"27d2c576-6bfe-418e-9f17-0dab865982fa"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"f293052d-450d-471b-b546-f1bf44a51a88"}}],"_postman_id":"bd5d4308-b3a8-4208-99e3-fb5c89f564c7","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Matter Relationship Types","item":[{"name":"Relationship Type","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"cafa4ba0-d634-46ee-9a6c-416aabfae220"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/relationship_types`, function (err, response) {","   pm.globals.set(\"relationship_type_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"1fe84c58-3508-49a4-97e0-831fd4e0e0ce"}}],"id":"3ca701c3-a813-42d3-b79e-d9eb74447cde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/relationship_types/:relationship_type_id","description":"<p>A specific <strong>Relationship Type</strong> by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","relationship_types",":relationship_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"36117ae2-ffe6-47f1-98ed-3a01a3b82442","type":"any","value":"{{relationship_type_id}}","key":"relationship_type_id"}]}},"response":[{"id":"b8c79ca2-f0a5-4851-9e2c-3a9a820bf1e8","name":"GET Relationship","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/relationships/:relationship_id","host":["{{host}}"],"path":["v1","relationships",":relationship_id"],"variable":[{"key":"relationship_id","value":"{{created_relationship_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"239435163a3e3ba00b667767c93edadc\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"e1e22998-039c-4989-8213-6e4cf134039b"},{"key":"X-Runtime","value":"0.032465"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"2\",\n        \"type\": \"relationship\",\n        \"attributes\": {\n            \"name\": \"Spouse\",\n            \"prospect_id\": 101,\n            \"contact_id\": 6,\n            \"relationship_type_id\": 1,\n            \"created_at\": \"2021-10-31T19:34:53.641-07:00\",\n            \"updated_at\": \"2021-10-31T19:34:53.641-07:00\"\n        }\n    }\n}"}],"_postman_id":"3ca701c3-a813-42d3-b79e-d9eb74447cde"},{"name":"Relationship Types","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"25d1c4d4-5af1-4c60-a9a3-5ae7388dee0b"}}],"id":"0d39602f-4db1-45cc-b352-94059566ea79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/relationship_types","description":"<p>A <strong>paginated</strong> list of all Relationship Types in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","relationship_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"cf1fc40e-dbef-40b8-b457-3e235cf2372f","name":"GET Relationship Types","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/relationship_types?fields=all","host":["{{host}}"],"path":["v1","relationship_types"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"bcbbb447b34d967fc04f193ac5ef4018\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a3e89335-33ec-4b2b-ae8e-5b251aeddba2"},{"key":"X-Runtime","value":"0.243949"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"3\",\n            \"type\": \"relationship_type\",\n            \"attributes\": {\n                \"name\": \"Child\",\n                \"is_repeatable\": true\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"relationship_type\",\n            \"attributes\": {\n                \"name\": \"Brother\",\n                \"is_repeatable\": true\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"relationship_type\",\n            \"attributes\": {\n                \"name\": \"Spouse\",\n                \"is_repeatable\": false\n            },\n            \"relationships\": {\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 3\n    },\n    \"links\": {\n        \"self\": \"/v1/relationship_types?page=1\"\n    }\n}"}],"_postman_id":"0d39602f-4db1-45cc-b352-94059566ea79"},{"name":"Create Relationship Type","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_relationship_type_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"f8cff6e9-d4ad-4386-af6d-886ead3671d6"}}],"id":"27324730-379d-43d8-877e-dbb6936f45b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Spouse fc3b0c0b-f1dc-4a43-952b-b1e254ddbfe8\",\n\t\"is_repeatable\": false\n}"},"url":"{{host}}/v1/relationship_types","description":"<p>Create a new Relationship Type</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","relationship_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"b98b2aba-5134-426a-b5be-d637224d0e71","name":"POST Create Relationship Type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Aunties\",\n\t\"is_repeatable\": true\n}"},"url":"{{host}}/v1/relationship_types"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"cd3a34a9e5f2d0440daec254f5040cc4\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a1c7ac87-8486-42ff-8842-38496e835086"},{"key":"X-Runtime","value":"0.472323"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"9\",\n        \"type\": \"relationship_type\",\n        \"attributes\": {\n            \"name\": \"Aunties\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"27324730-379d-43d8-877e-dbb6936f45b2"},{"name":"Update Relationship Type","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"ded3743d-025f-4351-bf0c-78ee81af71a1"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/relationship_types`, function (err, response) {","   pm.globals.set(\"relationship_type_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"d234d2f8-a6df-4c8f-9985-98eafd0d8006"}}],"id":"aa5f4149-a7c9-4974-9bb9-b1276a8b9f31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Sister\"\n}"},"url":"{{host}}/v1/relationship_types/:relationship_type_id","description":"<p>Update Relationship</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","relationship_types",":relationship_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"511833d7-0098-4dc6-9c3a-20e1a8d1f2bb","type":"any","value":"{{relationship_type_id}}","key":"relationship_type_id"}]}},"response":[{"id":"a4f6486f-129b-4e97-9294-a81dd4292633","name":"PUT Update Relationship Type","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Changed Relationship Type\"\n}"},"url":{"raw":"{{host}}/v1/relationship_types/:relationship_type_id","host":["{{host}}"],"path":["v1","relationship_types",":relationship_type_id"],"variable":[{"key":"relationship_type_id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"689ec6fc841337059d07433e9192b37c\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"1b3e87c4-ed1f-426a-ab30-c474cff6621a"},{"key":"X-Runtime","value":"0.039713"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"2\",\n        \"type\": \"relationship_type\",\n        \"attributes\": {\n            \"name\": \"Changed Relationship Type\",\n            \"is_repeatable\": true,\n            \"created_at\": \"2021-10-31T16:22:05.472-07:00\",\n            \"updated_at\": \"2022-08-08T17:53:27.925-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"aa5f4149-a7c9-4974-9bb9-b1276a8b9f31"}],"id":"4b17f886-5982-4e0f-92d8-1c2bc5ec7e4c","description":"<p>These are configured in Matter Settings.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"e7bf7fa8-879d-4050-85e2-747da6d51d55"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a0bd6147-df53-4573-8d5f-6c8ba1bf0be3"}}],"_postman_id":"4b17f886-5982-4e0f-92d8-1c2bc5ec7e4c","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Matter Sub Statuses","item":[{"name":"Sub Status","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"5e7e8c34-e797-4958-98a3-a0a86117a223"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/sub_statuses`, function (err, response) {","   pm.globals.set(\"sub_status_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"f532fb24-ed79-4062-b53f-aa5d5e68ba32"}}],"id":"e9ec9d37-682b-4a95-8e2a-d753c70f6a27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/sub_statuses/:status_id","description":"<p>A specific Stage by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","sub_statuses",":status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"740e1e03-ec0d-4d6b-b3df-ee994cb2003c","type":"any","value":"{{sub_status_id}}","key":"status_id"}]}},"response":[{"id":"2e6e89a8-0bfc-43d5-9e55-af3cf023cc68","name":"GET Sub Status","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/sub_statuses/:status_id?fields=prospects","host":["{{host}}"],"path":["v1","sub_statuses",":status_id"],"query":[{"key":"fields","value":"prospects"}],"variable":[{"key":"status_id","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"a2183cf78617091ce702ef60ef570c23\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"fd9b9b77-0842-4cc1-9383-579b349f4d03"},{"key":"X-Runtime","value":"0.154208"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"3\",\n        \"type\": \"sub_status\",\n        \"attributes\": {},\n        \"relationships\": {\n            \"prospects\": {\n                \"data\": [\n                    {\n                        \"id\": \"116\",\n                        \"type\": \"prospect\"\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"e9ec9d37-682b-4a95-8e2a-d753c70f6a27"},{"name":"Sub Statuses","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"e48e74c7-f897-4234-88a9-b77eeb907fa0"}}],"id":"f4fae663-2809-4db2-b192-b507ae9d9035","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/sub_statuses","description":"<p>A <strong>paginated</strong> list of all Stages in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","sub_statuses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c23f885d-901d-4587-ae34-1b57c1935a82","name":"GET Sub Statuses","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/sub_statuses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"ea599f1b32f2ebe449053a3fc432c211\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"592473e4-d8cc-4944-9f6b-53b1d4d0ed24"},{"key":"X-Runtime","value":"0.042752"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"3\",\n            \"type\": \"sub_status\",\n            \"attributes\": {\n                \"name\": \"Divorced\",\n                \"status\": \"hired\",\n                \"created_at\": \"2022-02-14T11:49:44.857-08:00\",\n                \"updated_at\": \"2022-02-14T11:49:44.857-08:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"sub_status\",\n            \"attributes\": {\n                \"name\": \"Tickled\",\n                \"status\": \"pnc\",\n                \"created_at\": \"2022-02-14T11:49:06.326-08:00\",\n                \"updated_at\": \"2022-02-14T11:49:06.326-08:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"sub_status\",\n            \"attributes\": {\n                \"name\": \"Slapped\",\n                \"status\": \"lost\",\n                \"created_at\": \"2022-02-14T11:48:54.191-08:00\",\n                \"updated_at\": \"2022-02-14T11:48:54.191-08:00\"\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 3\n    },\n    \"links\": {\n        \"self\": \"/v1/sub_statuses?page=1\"\n    }\n}"}],"_postman_id":"f4fae663-2809-4db2-b192-b507ae9d9035"},{"name":"Create Sub Status","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_sub_status_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"49b66ecc-1bde-4923-876c-9e713c9f514a"}}],"id":"bc12e665-e387-4f6c-8ab7-870d0d44da06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Deal Closed 8bd48094-05e5-4aed-ae3e-fb149713d623\",\n    \"status\": \"hired\"\n}"},"url":"{{host}}/v1/sub_statuses","description":"<p>Create a new <strong>Matter Sub Status</strong></p>\n<p>Valid <code>status</code>values: 'hired', 'pnc', 'lost' (default 'pnc')</p>\n<p>Accepts <code>created_by_id</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","sub_statuses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"712358cc-31eb-4c49-9500-8294c84482db","name":"POST Create Sub Status","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Deal Closed\",\n    \"status\": \"Hired\"\n}"},"url":{"raw":"{{host}}/v1/sub_statuses?fields=all","host":["{{host}}"],"path":["v1","sub_statuses"],"query":[{"key":"fields","value":"all"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"111d1c032f51a25cd302467862657a32\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"dbc71dde-6f53-4c1d-9bac-4552c2a2c3a2"},{"key":"X-Runtime","value":"0.040766"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"280"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"8\",\n        \"type\": \"prospect_sub_status\",\n        \"attributes\": {\n            \"name\": \"Deal Closed\",\n            \"status\": \"hired\",\n            \"created_at\": \"2023-09-27T14:35:12.604-07:00\",\n            \"updated_at\": \"2023-09-27T14:35:12.604-07:00\"\n        },\n        \"relationships\": {\n            \"prospects\": {\n                \"data\": []\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"user\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"bc12e665-e387-4f6c-8ab7-870d0d44da06"},{"name":"Update Sub Status","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"85ccfc32-960c-4fe1-ba0f-e54e5467dc5d"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/sub_statuses`, function (err, response) {","   pm.globals.set(\"sub_status_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"a6a34589-94eb-4662-a911-fa37e25aab90"}}],"id":"ec9bfad2-2ef6-4b1a-9d80-aed2925bc63f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"New Hired\"\n}"},"url":"{{host}}/v1/sub_statuses/:sub_status_id","description":"<p>Update an existing <strong>Matter Sub Status</strong> by ID</p>\n<p>Valid <code>status</code>values: 'hired', 'pnc', 'lost' (default 'pnc')</p>\n<p>Accepts <code>created_by_id</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","sub_statuses",":sub_status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"cba0878a-0fb7-4661-a722-0bcb05489760","type":"any","value":"{{sub_status_id}}","key":"sub_status_id"}]}},"response":[{"id":"06e3e60f-f48f-4a69-88dd-b2fea96129fa","name":"PUT Update Sub Status","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"New Hired\"\n}"},"url":{"raw":"{{host}}/v1/sub_statuses/:sub_status_id","host":["{{host}}"],"path":["v1","sub_statuses",":sub_status_id"],"variable":[{"key":"sub_status_id","value":"{{created_sub_status_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"4c77325a07f28107126ac6daa594bf29\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8ddecd14-7d77-46c4-9c4d-bd417d52aefb"},{"key":"X-Runtime","value":"0.041843"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"209"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"12\",\n        \"type\": \"prospect_sub_status\",\n        \"attributes\": {\n            \"name\": \"New Hired\",\n            \"status\": \"hired\",\n            \"created_at\": \"2023-09-27T14:43:01.169-07:00\",\n            \"updated_at\": \"2023-09-27T14:43:27.373-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"ec9bfad2-2ef6-4b1a-9d80-aed2925bc63f"},{"name":"Delete Sub Status","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"93245bf3-aaf4-4161-899b-953cae4dcd99"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/sub_statuses`, function (err, response) {","   pm.globals.set(\"sub_status_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"c8d456f7-393e-4da6-ad63-e08d239563da"}}],"id":"3a7ab35f-406e-40ad-8c33-32236fa786c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/v1/sub_statuses/:sub_status_id","description":"<p>Delete an existing <strong>Matter Sub Status</strong> by ID.</p>\n<p>Warning: This is irreversible!</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","sub_statuses",":sub_status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"2e6c352d-24b7-4799-a1dc-7196fc1cf1cb","type":"any","value":"{{sub_status_id}}","key":"sub_status_id"}]}},"response":[{"id":"817d4b98-2f71-40af-822e-23675c9d36cf","name":"DEL Delete Sub Status","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/v1/sub_statuses/:sub_status_id","host":["{{host}}"],"path":["v1","sub_statuses",":sub_status_id"],"variable":[{"key":"sub_status_id","value":"{{created_sub_status_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"0c0ec4903c2fbd76219d14164cc2d607\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"4cd9dd99-dc9c-4f0f-b354-c40af362e738"},{"key":"X-Runtime","value":"0.198740"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"211"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"13\",\n        \"type\": \"prospect_sub_status\",\n        \"attributes\": {\n            \"name\": \"Deal Closed\",\n            \"status\": \"hired\",\n            \"created_at\": \"2023-09-27T14:43:55.410-07:00\",\n            \"updated_at\": \"2023-09-27T14:43:55.410-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"3a7ab35f-406e-40ad-8c33-32236fa786c5"}],"id":"52559dc0-2397-4de5-b412-9ab7b26a09e4","description":"<p>A <strong>Sub Status</strong> is a user defined sub category of the three main statuses (pnc, hired, lost) that a <em>Matter</em> can be in.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"5b97552e-42f6-4123-ae98-ecd16f030772"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"882689c2-0797-416f-881b-88904a17fd9a"}}],"_postman_id":"52559dc0-2397-4de5-b412-9ab7b26a09e4","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Create Matter","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_pnc_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"9aa121de-b222-466c-b165-f3e05e67e4d1"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/sub_statuses`, function (err, response) {","   pm.globals.set(\"sub_status_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/practice_areas`, function (err, response) {","   pm.globals.set(\"practice_area_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"96868b55-d444-4e64-8399-b5c40febf120"}}],"id":"104be611-aa10-4f2e-907a-5fbe4240caf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Lawmatics\",\n\t\"last_name\": \"Example\",\n\t\"email\": \"roey@lawmatics.com\",\n\t\"phone\": \"123-123-1234\",\n\t\"practice_area_id\": {{practice_area_id}},\n    \"sub_status_id\": {{sub_status_id}},\n\t\"notes\": [\n\t\t{\n\t\t\t\"name\": \"Example Note\",\n\t\t\t\"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\"\n\t\t}\n\t],\n    \"tags\": [\"Tag 1\", \"Tag 2\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/prospects","description":"<p>Create a new Matter</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"87b71ab6-4a43-4e27-836f-ceed446e296c","name":"POST Create Matter","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Lawmatics\",\n\t\"last_name\": \"Example\",\n\t\"email\": \"roey@lawmatics.com\",\n\t\"phone\": \"123-123-1234\",\n\t\"practice_area_id\": 986,\n\t\"notes\": [\n\t\t{\n\t\t\t\"name\": \"Example Note\",\n\t\t\t\"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\"\n\t\t}\n\t],\n\t\"custom_fields\": [\n\t\t{\n\t\t\t\"id\": \"6433\",\n\t\t\t\"value\": true\n\t\t},\n\t\t{\n\t\t\t\"id\": \"6435\",\n\t\t\t\"value\": \"1\"\n\t\t},\n\t\t{\n\t\t\t\"id\": \"6434\",\n\t\t\t\"value\": \"Contact String\"\n\t\t},\n        {\n            \"id\": \"6470\",\n            \"value\": \"06/28/1991\"\n        },\n        {\n            \"id\": \"4\",\n            \"value\": \"2023-12-31T00:00:00+00:00\"\n        }\n\t],\n    \"tags\": [\"Tag 1\", \"Tag 2\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/prospects"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 24 Sep 2023 00:09:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3451"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=JvxkolQ+aDjzspJo00XZzSa/jQyZqqgKOlG5aUONYxppbCcwX654Nf9WLly7YxxTO5JWQmtLtwbg5mo3o6eHT88ghBtlvEf9/j7m1nEoizrrGCz6i2Mp2x13ghew; Expires=Sun, 01 Oct 2023 00:09:01 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=JvxkolQ+aDjzspJo00XZzSa/jQyZqqgKOlG5aUONYxppbCcwX654Nf9WLly7YxxTO5JWQmtLtwbg5mo3o6eHT88ghBtlvEf9/j7m1nEoizrrGCz6i2Mp2x13ghew; Expires=Sun, 01 Oct 2023 00:09:01 GMT; Path=/; SameSite=None; Secure"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"ETag","value":"W/\"a03b5d93e2f5bd4994f6838fe42b64dc\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"f6f3b024-f5c7-4271-9db4-7854ef9d16f0"},{"key":"X-Runtime","value":"0.471083"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"6446448\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Lawmatics\",\n            \"last_name\": \"Example\",\n            \"case_title\": null,\n            \"case_number\": null,\n            \"case_blurb\": null,\n            \"status\": \"pnc\",\n            \"type_of_billing\": null,\n            \"email\": \"roey@lawmatics.com\",\n            \"phone\": \"123-123-1234\",\n            \"phone_number\": \"123-123-1234\",\n            \"email_address\": \"roey@lawmatics.com\",\n            \"address\": null,\n            \"birthdate\": null,\n            \"name_prefix\": null,\n            \"middle_name\": null,\n            \"name_suffix\": null,\n            \"sub_status\": \"Pnc\",\n            \"informal_name\": null,\n            \"employer\": null,\n            \"occupation\": null,\n            \"citizenship\": null,\n            \"bio\": \"bio field\",\n            \"title\": null,\n            \"hobbies\": null,\n            \"social_security\": null,\n            \"age\": null,\n            \"referring_url\": null,\n            \"driver_license\": null,\n            \"gender\": null,\n            \"marital_status\": null,\n            \"timezone\": null,\n            \"estimated_value_cents\": 0,\n            \"actual_value_cents\": 0,\n            \"lead_cost_cents\": 0,\n            \"date_of_last_contact\": \"2023-02-03T15:25:51.843-08:00\",\n            \"days_since_last_contact\": 232,\n            \"converted_date\": null,\n            \"statute_of_limitations\": null,\n            \"utm_source\": null,\n            \"utm_campaign\": null,\n            \"utm_medium\": null,\n            \"utm_term\": null,\n            \"street\": null,\n            \"street2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"zipcode\": null,\n            \"country\": null,\n            \"full_street\": null,\n            \"city_state_zip\": null,\n            \"full_address\": null,\n            \"photo_url\": null,\n            \"custom_fields\": [\n                {\n                    \"id\": \"6433\",\n                    \"name\": \"API TEST BOOLEAN (dont delete me)\",\n                    \"field_type\": \"boolean\",\n                    \"value\": true,\n                    \"formatted_value\": \"Yes\"\n                },\n                {\n                    \"id\": \"6435\",\n                    \"name\": \"API TEST PICKLIST (dont delete me)\",\n                    \"field_type\": \"list\",\n                    \"value\": \"3240\",\n                    \"formatted_value\": \"1\"\n                },\n                {\n                    \"id\": \"6434\",\n                    \"name\": \"API TEST STRING (dont delete me)\",\n                    \"field_type\": \"string\",\n                    \"value\": \"Contact String\",\n                    \"formatted_value\": \"Contact String\"\n                },\n                {\n                    \"id\": \"6470\",\n                    \"name\": \"Date Unsubscribed\",\n                    \"field_type\": \"date\",\n                    \"value\": \"1991-06-28\",\n                    \"formatted_value\": \"June 28, 1991\"\n                },\n                {\n                    \"id\": \"4\",\n                    \"name\": \"Date of Accident\",\n                    \"field_type\": \"datetime\",\n                    \"value\": \"2023-12-30T16:00:00.000-08:00\",\n                    \"formatted_value\": \"December 30, 2023 at 4:00pm PST\"\n                }\n            ],\n            \"custom_field_values\": {\n                \"4\": {\n                    \"id\": \"4\",\n                    \"name\": \"Date of Accident\",\n                    \"field_type\": \"datetime\",\n                    \"value\": \"2023-12-30T16:00:00.000-08:00\",\n                    \"formatted_value\": \"December 30, 2023 at 4:00pm PST\"\n                },\n                \"6433\": {\n                    \"id\": \"6433\",\n                    \"name\": \"API TEST BOOLEAN (dont delete me)\",\n                    \"field_type\": \"boolean\",\n                    \"value\": true,\n                    \"formatted_value\": \"Yes\"\n                },\n                \"6434\": {\n                    \"id\": \"6434\",\n                    \"name\": \"API TEST STRING (dont delete me)\",\n                    \"field_type\": \"string\",\n                    \"value\": \"Contact String\",\n                    \"formatted_value\": \"Contact String\"\n                },\n                \"6435\": {\n                    \"id\": \"6435\",\n                    \"name\": \"API TEST PICKLIST (dont delete me)\",\n                    \"field_type\": \"list\",\n                    \"value\": \"3240\",\n                    \"formatted_value\": \"1\"\n                },\n                \"6470\": {\n                    \"id\": \"6470\",\n                    \"name\": \"Date Unsubscribed\",\n                    \"field_type\": \"date\",\n                    \"value\": \"1991-06-28\",\n                    \"formatted_value\": \"June 28, 1991\"\n                }\n            },\n            \"created_at\": \"2023-09-23T17:09:01.232-07:00\",\n            \"updated_at\": \"2023-09-23T17:09:01.360-07:00\",\n            \"last_contacted_date\": \"2023-02-03T15:25:51.843-08:00\"\n        },\n        \"relationships\": {\n            \"source\": {\n                \"data\": null\n            },\n            \"stage\": {\n                \"data\": null\n            },\n            \"campaign\": {\n                \"data\": null\n            },\n            \"practice_area\": {\n                \"data\": {\n                    \"id\": \"986\",\n                    \"type\": \"practice_area\"\n                }\n            },\n            \"salesperson\": {\n                \"data\": null\n            },\n            \"lead_attorney\": {\n                \"data\": null\n            },\n            \"originating_attorney\": {\n                \"data\": null\n            },\n            \"owned_by\": {\n                \"data\": null\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"17\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contact\": {\n                \"data\": {\n                    \"id\": \"3546976\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"company\": {\n                \"data\": null\n            },\n            \"assigned_staff\": {\n                \"data\": []\n            },\n            \"events\": {\n                \"data\": []\n            },\n            \"file_requests\": {\n                \"data\": []\n            },\n            \"documents\": {\n                \"data\": []\n            },\n            \"notes\": {\n                \"data\": [\n                    {\n                        \"id\": \"6726504\",\n                        \"type\": \"note\"\n                    }\n                ]\n            },\n            \"tasks\": {\n                \"data\": []\n            },\n            \"emails\": {\n                \"data\": [\n                    {\n                        \"id\": \"4503447\",\n                        \"type\": \"email_address\"\n                    }\n                ]\n            },\n            \"phone_numbers\": {\n                \"data\": [\n                    {\n                        \"id\": \"4503448\",\n                        \"type\": \"phone_number\"\n                    }\n                ]\n            },\n            \"addresses\": {\n                \"data\": []\n            },\n            \"invoices\": {\n                \"data\": []\n            },\n            \"tags\": {\n                \"data\": [\n                    {\n                        \"id\": \"17506\",\n                        \"type\": \"tag\"\n                    },\n                    {\n                        \"id\": \"17507\",\n                        \"type\": \"tag\"\n                    }\n                ]\n            },\n            \"relationships\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"104be611-aa10-4f2e-907a-5fbe4240caf2"},{"name":"Create Matter From Contact (By ID)","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"c58f50e1-d6e8-4585-9879-3c7a00b9dd11"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {","   pm.globals.set(\"contact_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"d8a4b864-0bcf-4f1f-9da2-f7991e15c1b7"}}],"id":"2f0d3202-0c97-47d8-a72e-fb4f1659e94a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"case_title\": \"New Matter\",\n    \"first_name\": \"Existing\",\n    \"last_name\": \"Contact\",\n    \"contact_id\": {{contact_id}},\n    \"email\": \"roey+changed@lawmatics.com\"\n}"},"url":"{{host}}/v1/prospects?","description":"<p>Create a new Matter from an existing Contact.</p>\n<p>Passing <code>contact_id</code> to the request body will use the found Contact to create the new Matter, instead of creating a new Contact.</p>\n<p><em>Note:</em>\nAny passed contact fields will be updated on the matched Contact. You can find the Contact id via one of our Contact Finders endpoints.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[{"key":"","value":null}],"variable":[]}},"response":[{"id":"a062bb72-a02c-457e-b338-c01f26698900","name":"POST Create Matter From Contact (By ID)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"case_title\": \"New Matter\",\n    \"first_name\": \"Existing\",\n    \"last_name\": \"Contact\",\n    \"contact_id\": 76864,\n    \"email\": \"roey+changed@lawmatics.com\",\n    \"custom_fields\": [\n        {\n            \"id\": \"4664\",\n            \"value\": \"06/28/1991\"\n        }\n    ]\n}"},"url":{"raw":"{{host}}/v1/prospects?","host":["{{host}}"],"path":["v1","prospects"],"query":[{"key":null,"value":null}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"9ae7448c5667a23a98c77ba4ae9e6db9\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"0933835f-40f0-41b0-811d-a1065f8e541f"},{"key":"X-Runtime","value":"0.373210"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"54895\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Existing\",\n            \"last_name\": \"Contact\",\n            \"case_title\": \"New Matter\",\n            \"case_blurb\": null,\n            \"status\": \"pnc\",\n            \"email\": \"roey+changed@lawmatics.com\",\n            \"phone\": null,\n            \"phone_number\": null,\n            \"email_address\": \"roey+changed@lawmatics.com\",\n            \"address\": null,\n            \"photo_url\": null,\n            \"birthdate\": null,\n            \"name_prefix\": null,\n            \"middle_name\": null,\n            \"name_suffix\": null,\n            \"sub_status\": \"Pnc\",\n            \"informal_name\": null,\n            \"employer\": null,\n            \"occupation\": null,\n            \"citizenship\": null,\n            \"bio\": null,\n            \"title\": null,\n            \"hobbies\": null,\n            \"social_security\": null,\n            \"age\": null,\n            \"referring_url\": null,\n            \"driver_license\": null,\n            \"gender\": null,\n            \"marital_status\": null,\n            \"timezone\": null,\n            \"estimated_value_cents\": 0,\n            \"actual_value_cents\": 0,\n            \"lead_cost_cents\": 0,\n            \"date_of_last_contact\": \"2019-03-28T21:29:16.623-07:00\",\n            \"days_since_last_contact\": 0,\n            \"utm_source\": null,\n            \"utm_campaign\": null,\n            \"utm_medium\": null,\n            \"utm_term\": null,\n            \"street\": null,\n            \"street2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"zipcode\": null,\n            \"country\": null,\n            \"full_address\": null,\n            \"full_street\": null,\n            \"city_state_zip\": null,\n            \"custom_fields\": [\n                {\n                    \"id\": 4664,\n                    \"name\": \"Date 1\",\n                    \"field_type\": \"date\",\n                    \"value\": \"1991-06-28\",\n                    \"formatted_value\": \"June 28th, 1991\"\n                }\n            ],\n            \"created_at\": \"2019-03-28T21:29:16.623-07:00\",\n            \"updated_at\": \"2019-03-28T21:29:16.623-07:00\"\n        },\n        \"relationships\": {\n            \"source\": {\n                \"data\": null\n            },\n            \"stage\": {\n                \"data\": {\n                    \"id\": \"6\",\n                    \"type\": \"stage\"\n                }\n            },\n            \"campaign\": {\n                \"data\": null\n            },\n            \"practice_area\": {\n                \"data\": null\n            },\n            \"owned_by\": {\n                \"data\": null\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"3\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contact\": {\n                \"data\": {\n                    \"id\": \"76864\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"company\": {\n                \"data\": null\n            },\n            \"events\": {\n                \"data\": []\n            },\n            \"file_requests\": {\n                \"data\": []\n            },\n            \"documents\": {\n                \"data\": []\n            },\n            \"notes\": {\n                \"data\": []\n            },\n            \"tasks\": {\n                \"data\": []\n            },\n            \"invoices\": {\n                \"data\": []\n            },\n            \"emails\": {\n                \"data\": [\n                    {\n                        \"id\": \"106756\",\n                        \"type\": \"email\"\n                    }\n                ]\n            },\n            \"phone_numbers\": {\n                \"data\": []\n            },\n            \"addresses\": {\n                \"data\": []\n            },\n            \"relationships\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"2f0d3202-0c97-47d8-a72e-fb4f1659e94a"},{"name":"Create Matter From Contact (Matched By Field)","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"c372fcff-3716-4f49-a870-bc7a9f2cfd02"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {","   pm.globals.set(\"email\", response.json().data[0].attributes.email);","});"],"type":"text/javascript","id":"a3249c63-279a-4674-bd02-04d39fd2002a"}}],"id":"fd4070fe-c8a8-4da6-b017-f516ddfc3efc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"case_title\": \"New Matter\",\n\t\"first_name\": \"Matched\",\n\t\"last_name\": \"Contact\",\n\t\"match_contact_by\": \"email\",\n\t\"email\": \"{{email}}\",\n\t\"phone\": \"555-126-1235\"\n}"},"url":"{{host}}/v1/prospects?","description":"<p>Create a new Matter from existing Contact by matching on data.</p>\n<p>This is the same Create Matter endpoint, but matches an existing Contact based on the field passed to <code>match_contact_by</code> in the request body.</p>\n<ul>\n<li>If <strong>a</strong> Contact match is found, a new Matter for the matched Contact will be created.</li>\n<li>If <strong>more than one</strong> match is found, return the first Contact created in Lawmatics.</li>\n<li>If <strong>no</strong> match is found, a new Contact for the Matter will be created.</li>\n</ul>\n<p>Valid values for the <code>match_contact_by</code> param are: <code>email</code>, <code>name</code>, and <code>phone</code>.</p>\n<p><em>Note:</em></p>\n<p>Passed <code>contact_id</code> takes precedence, and will cause <code>match_contact_by</code> param to be ignored.</p>\n<p><code>match_contact_by</code> <code>name</code> will try to match on <code>first_name</code>, both <code>first_name</code> and <code>last_name</code>, or <code>name</code> params, depending on what is passed.</p>\n<p>If you don't pass the fields to match on, it will ignore the <code>match_contact_by</code> param and create a new Contact.</p>\n<p>The matched Contact will also be updated with any passed Contact fields.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[{"key":"","value":null}],"variable":[]}},"response":[{"id":"d6c9cd6f-8621-4358-9214-5df9ad51fae8","name":"POST Create Matter From Contact (Matched By Field)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"case_title\": \"New Matter\",\n\t\"first_name\": \"Matched\",\n\t\"last_name\": \"Contact\",\n\t\"match_contact_by\": \"email\",\n\t\"email\": \"test@lawmatics.com\",\n\t\"phone\": \"555-126-1235\"\n}"},"url":{"raw":"{{host}}/v1/prospects?","host":["{{host}}"],"path":["v1","prospects"],"query":[{"key":null,"value":null}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"b46afb55b40c3db988a50102bd3d7673\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"2d1cae82-1bd2-4cd0-998a-fd45bcf551f2"},{"key":"X-Runtime","value":"0.395030"},{"key":"Vary","value":"Origin"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"54896\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Matched\",\n            \"last_name\": \"Contact\",\n            \"case_title\": \"New Matter\",\n            \"case_blurb\": null,\n            \"status\": \"pnc\",\n            \"email\": \"test@lawmatics.com\",\n            \"phone\": \"555-126-1235\",\n            \"phone_number\": \"555-126-1235\",\n            \"email_address\": \"test@lawmatics.com\",\n            \"address\": null,\n            \"photo_url\": null,\n            \"birthdate\": null,\n            \"name_prefix\": null,\n            \"middle_name\": null,\n            \"name_suffix\": null,\n            \"sub_status\": \"Pnc\",\n            \"informal_name\": null,\n            \"employer\": null,\n            \"occupation\": null,\n            \"citizenship\": null,\n            \"bio\": null,\n            \"title\": null,\n            \"hobbies\": null,\n            \"social_security\": null,\n            \"age\": null,\n            \"referring_url\": null,\n            \"driver_license\": null,\n            \"gender\": null,\n            \"marital_status\": null,\n            \"timezone\": null,\n            \"estimated_value_cents\": 0,\n            \"actual_value_cents\": 0,\n            \"lead_cost_cents\": 0,\n            \"date_of_last_contact\": \"2019-03-28T21:30:30.977-07:00\",\n            \"days_since_last_contact\": 0,\n            \"utm_source\": null,\n            \"utm_campaign\": null,\n            \"utm_medium\": null,\n            \"utm_term\": null,\n            \"street\": null,\n            \"street2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"zipcode\": null,\n            \"country\": null,\n            \"full_address\": null,\n            \"full_street\": null,\n            \"city_state_zip\": null,\n            \"custom_fields\": [],\n            \"created_at\": \"2019-03-28T21:30:30.977-07:00\",\n            \"updated_at\": \"2019-03-28T21:30:30.977-07:00\"\n        },\n        \"relationships\": {\n            \"source\": {\n                \"data\": null\n            },\n            \"stage\": {\n                \"data\": {\n                    \"id\": \"6\",\n                    \"type\": \"stage\"\n                }\n            },\n            \"campaign\": {\n                \"data\": null\n            },\n            \"practice_area\": {\n                \"data\": null\n            },\n            \"owned_by\": {\n                \"data\": null\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"3\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contact\": {\n                \"data\": {\n                    \"id\": \"76884\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"company\": {\n                \"data\": null\n            },\n            \"events\": {\n                \"data\": []\n            },\n            \"file_requests\": {\n                \"data\": []\n            },\n            \"documents\": {\n                \"data\": []\n            },\n            \"notes\": {\n                \"data\": []\n            },\n            \"tasks\": {\n                \"data\": []\n            },\n            \"invoices\": {\n                \"data\": []\n            },\n            \"emails\": {\n                \"data\": [\n                    {\n                        \"id\": \"106787\",\n                        \"type\": \"email\"\n                    }\n                ]\n            },\n            \"phone_numbers\": {\n                \"data\": [\n                    {\n                        \"id\": \"106788\",\n                        \"type\": \"phone_number\"\n                    }\n                ]\n            },\n            \"addresses\": {\n                \"data\": []\n            },\n            \"relationships\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"fd4070fe-c8a8-4da6-b017-f516ddfc3efc"},{"name":"Create Matter From Company (By ID)","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"bd5aedf7-bef7-4c59-8523-eb5ec8ce17df"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {","   pm.globals.set(\"company_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"b3062287-5688-4e13-ad99-e43867e02f2f"}}],"id":"82a9f4f0-2b59-4aa2-be8f-0505c880c4b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"case_title\": \"Company Matter\",\n    \"first_name\": \"Bob\",\n    \"last_name\": \"Owner\",\n    \"company_id\": {{company_id}},\n    \"email\": \"roey+poc@lawmatics.com\",\n    \"phone\": \"555-555-5555\"\n}"},"url":"{{host}}/v1/prospects","description":"<p>Create a new Matter from an existing Contact.</p>\n<p>Passing <code>contact_id</code> to the request body will use the found Contact to create the new Matter, instead of creating a new Contact.</p>\n<p><em>Note:</em>\nAny passed contact fields will be updated on the matched Contact. You can find the Contact id via one of our Contact Finders endpoints.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ddc33639-2b9f-49e3-8954-5f3a057231f3","name":"POST Create Matter From Company (By ID)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"case_title\": \"Company Matter\",\n    \"first_name\": \"Bob\",\n    \"last_name\": \"Owner\",\n    \"company_id\": 2,\n    \"email\": \"roey+poc@lawmatics.com\",\n    \"phone\": \"555-555-5555\"\n}"},"url":"{{host}}/v1/prospects"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"db85751e18316852105eec2f130acf8c\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"23710838-a837-4b17-8870-944302ffe2d7"},{"key":"X-Runtime","value":"0.201944"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"282\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Bob\",\n            \"last_name\": \"Owner\",\n            \"case_title\": \"Company Matter\",\n            \"case_blurb\": null,\n            \"status\": \"pnc\",\n            \"email\": \"roey+poc@lawmatics.com\",\n            \"phone\": \"555-555-5555\",\n            \"phone_number\": \"555-555-5555\",\n            \"email_address\": null,\n            \"address\": null,\n            \"birthdate\": null,\n            \"name_prefix\": null,\n            \"middle_name\": null,\n            \"name_suffix\": null,\n            \"sub_status\": \"Pnc\",\n            \"informal_name\": null,\n            \"employer\": null,\n            \"occupation\": null,\n            \"citizenship\": null,\n            \"bio\": null,\n            \"title\": null,\n            \"hobbies\": null,\n            \"social_security\": null,\n            \"age\": null,\n            \"referring_url\": null,\n            \"driver_license\": null,\n            \"gender\": null,\n            \"marital_status\": null,\n            \"timezone\": null,\n            \"estimated_value_cents\": 0,\n            \"actual_value_cents\": 0,\n            \"lead_cost_cents\": 0,\n            \"date_of_last_contact\": null,\n            \"days_since_last_contact\": 1,\n            \"converted_date\": null,\n            \"statute_of_limitations\": null,\n            \"utm_source\": null,\n            \"utm_campaign\": null,\n            \"utm_medium\": null,\n            \"utm_term\": null,\n            \"street\": null,\n            \"street2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"zipcode\": null,\n            \"country\": null,\n            \"full_street\": null,\n            \"city_state_zip\": null,\n            \"full_address\": null,\n            \"photo_url\": null,\n            \"custom_fields\": [],\n            \"custom_field_values\": {},\n            \"created_at\": \"2022-10-04T17:45:15.090-07:00\",\n            \"updated_at\": \"2022-10-04T17:45:15.090-07:00\",\n            \"last_contacted_date\": \"2022-10-03T15:53:56.446-07:00\"\n        },\n        \"relationships\": {\n            \"source\": {\n                \"data\": null\n            },\n            \"stage\": {\n                \"data\": null\n            },\n            \"campaign\": {\n                \"data\": null\n            },\n            \"practice_area\": {\n                \"data\": null\n            },\n            \"salesperson\": {\n                \"data\": null\n            },\n            \"lead_attorney\": {\n                \"data\": null\n            },\n            \"originating_attorney\": {\n                \"data\": null\n            },\n            \"owned_by\": {\n                \"data\": null\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"5\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contact\": {\n                \"data\": {\n                    \"id\": \"302\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"company\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"company\"\n                }\n            },\n            \"assigned_staff\": {\n                \"data\": []\n            },\n            \"events\": {\n                \"data\": []\n            },\n            \"file_requests\": {\n                \"data\": []\n            },\n            \"documents\": {\n                \"data\": []\n            },\n            \"notes\": {\n                \"data\": []\n            },\n            \"tasks\": {\n                \"data\": []\n            },\n            \"emails\": {\n                \"data\": []\n            },\n            \"phone_numbers\": {\n                \"data\": []\n            },\n            \"addresses\": {\n                \"data\": []\n            },\n            \"invoices\": {\n                \"data\": []\n            },\n            \"tags\": {\n                \"data\": []\n            },\n            \"relationships\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"82a9f4f0-2b59-4aa2-be8f-0505c880c4b8"},{"name":"Create Matter From Company (By Name)","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"5807441b-8bfd-45a6-a7f9-e873d1ae311d"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {","   pm.globals.set(\"company_name\", response.json().data[0].attributes.name);","});"],"type":"text/javascript","id":"d6c72378-298e-4620-87d0-278170a3ea2b"}}],"id":"1d0c87f3-bab5-45b7-9a0f-de64ce83b01a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"case_title\": \"Company Matter\",\n    \"first_name\": \"Bob\",\n    \"last_name\": \"Owner\",\n    \"company_name\": \"{{company_name}}\",\n    \"email\": \"roey+poc@lawmatics.com\",\n    \"phone\": \"555-555-5555\"\n}"},"url":"{{host}}/v1/prospects","description":"<p>Create a new Matter from an existing Contact.</p>\n<p>Passing <code>contact_id</code> to the request body will use the found Contact to create the new Matter, instead of creating a new Contact.</p>\n<p><em>Note:</em>\nAny passed contact fields will be updated on the matched Contact. You can find the Contact id via one of our Contact Finders endpoints.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"9181736c-59a4-4b29-b31f-facbc6ed2266","name":"POST Create Matter From Company (By ID)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"case_title\": \"Company Matter\",\n    \"first_name\": \"Bob\",\n    \"last_name\": \"Owner\",\n    \"company_name\": \"Pringles\",\n    \"email\": \"roey+poc@lawmatics.com\",\n    \"phone\": \"555-555-5555\"\n}"},"url":"{{host}}/v1/prospects"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"45df64f98d9e357f22cb40d50e7a8838\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"5096510b-ee68-4609-a9d2-c4ad414ababd"},{"key":"X-Runtime","value":"1.235876"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"281\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Bob\",\n            \"last_name\": \"Owner\",\n            \"case_title\": \"Company Matter\",\n            \"case_blurb\": null,\n            \"status\": \"pnc\",\n            \"email\": \"roey+poc@lawmatics.com\",\n            \"phone\": \"555-555-5555\",\n            \"phone_number\": \"555-555-5555\",\n            \"email_address\": null,\n            \"address\": null,\n            \"birthdate\": null,\n            \"name_prefix\": null,\n            \"middle_name\": null,\n            \"name_suffix\": null,\n            \"sub_status\": \"Pnc\",\n            \"informal_name\": null,\n            \"employer\": null,\n            \"occupation\": null,\n            \"citizenship\": null,\n            \"bio\": null,\n            \"title\": null,\n            \"hobbies\": null,\n            \"social_security\": null,\n            \"age\": null,\n            \"referring_url\": null,\n            \"driver_license\": null,\n            \"gender\": null,\n            \"marital_status\": null,\n            \"timezone\": null,\n            \"estimated_value_cents\": 0,\n            \"actual_value_cents\": 0,\n            \"lead_cost_cents\": 0,\n            \"date_of_last_contact\": null,\n            \"days_since_last_contact\": 1,\n            \"converted_date\": null,\n            \"statute_of_limitations\": null,\n            \"utm_source\": null,\n            \"utm_campaign\": null,\n            \"utm_medium\": null,\n            \"utm_term\": null,\n            \"street\": null,\n            \"street2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"zipcode\": null,\n            \"country\": null,\n            \"full_street\": null,\n            \"city_state_zip\": null,\n            \"full_address\": null,\n            \"photo_url\": null,\n            \"custom_fields\": [],\n            \"custom_field_values\": {},\n            \"created_at\": \"2022-10-04T17:43:59.061-07:00\",\n            \"updated_at\": \"2022-10-04T17:43:59.061-07:00\",\n            \"last_contacted_date\": \"2022-10-03T15:53:56.446-07:00\"\n        },\n        \"relationships\": {\n            \"source\": {\n                \"data\": null\n            },\n            \"stage\": {\n                \"data\": null\n            },\n            \"campaign\": {\n                \"data\": null\n            },\n            \"practice_area\": {\n                \"data\": null\n            },\n            \"salesperson\": {\n                \"data\": null\n            },\n            \"lead_attorney\": {\n                \"data\": null\n            },\n            \"originating_attorney\": {\n                \"data\": null\n            },\n            \"owned_by\": {\n                \"data\": null\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"5\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contact\": {\n                \"data\": {\n                    \"id\": \"302\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"company\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"company\"\n                }\n            },\n            \"assigned_staff\": {\n                \"data\": []\n            },\n            \"events\": {\n                \"data\": []\n            },\n            \"file_requests\": {\n                \"data\": []\n            },\n            \"documents\": {\n                \"data\": []\n            },\n            \"notes\": {\n                \"data\": []\n            },\n            \"tasks\": {\n                \"data\": []\n            },\n            \"emails\": {\n                \"data\": []\n            },\n            \"phone_numbers\": {\n                \"data\": []\n            },\n            \"addresses\": {\n                \"data\": []\n            },\n            \"invoices\": {\n                \"data\": []\n            },\n            \"tags\": {\n                \"data\": []\n            },\n            \"relationships\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"1d0c87f3-bab5-45b7-9a0f-de64ce83b01a"},{"name":"Matter","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"a42f960b-71b0-4d89-927b-d7b2f779b286"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"316492e3-e9fa-4adc-87f5-e0e1cb9635db"}}],"id":"df73d157-9b37-4c7f-8314-3ab0f60794bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/prospects/:prospect_id","description":"<p>Return one Matter by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects",":prospect_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c08eded3-c445-4104-8f52-b670903588a2","type":"any","value":"{{prospect_id}}","key":"prospect_id"}]}},"response":[{"id":"67548a95-b519-4257-a10b-543aa47f9002","name":"GET Matter","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/prospects/25?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","prospects","25"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"981fbb5344d67b80186114ea12f7db21\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"ae9ba399-7d8b-48a8-bc85-64c6eb82de8c","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.018461","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"25\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Tyrion\",\n            \"last_name\": \"Lannister\",\n            \"case_title\": \"Drank bad wine\",\n            \"case_blurb\": \"Client drank a glass of wine and it made him sick\",\n            \"status\": \"active\",\n            \"email\": \"tyrion@small.com\",\n            \"phone\": null,\n            \"phone_number\": null,\n            \"email_address\": \"tyrion@small.com\",\n            \"address\": null,\n            \"birthdate\": null,\n            \"name_prefix\": null,\n            \"middle_name\": null,\n            \"name_suffix\": null,\n            \"sub_status\": \"Active\",\n            \"informal_name\": null,\n            \"employer\": null,\n            \"occupation\": null,\n            \"citizenship\": null,\n            \"bio\": null,\n            \"title\": null,\n            \"hobbies\": null,\n            \"social_security\": null,\n            \"age\": null,\n            \"referring_url\": null,\n            \"driver_license\": null,\n            \"gender\": null,\n            \"marital_status\": null,\n            \"timezone\": null,\n            \"estimated_value_cents\": 250000,\n            \"actual_value_cents\": 500000,\n            \"lead_cost_cents\": 0,\n            \"date_of_last_contact\": \"2018-03-07T13:51:38.789-08:00\",\n            \"days_since_last_contact\": 223,\n            \"photo_url\": \"https://lm.lawmatics.com/attachments/421159fc72cbab9106329e36635b4939b8a1ad93/store/14da96fb7824ad411b34313189f4aaaba4192b6d7b0624f7948f218225e7/photo\",\n            \"custom_fields\": [],\n            \"created_at\": \"2018-03-07T13:51:38.789-08:00\",\n            \"updated_at\": \"2018-10-16T14:43:25.697-07:00\"\n        },\n        \"relationships\": {\n            \"source\": {\n                \"data\": {\n                    \"id\": \"6\",\n                    \"type\": \"source\"\n                }\n            },\n            \"stage\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"stage\"\n                }\n            },\n            \"campaign\": {\n                \"data\": {\n                    \"id\": \"7\",\n                    \"type\": \"campaign\"\n                }\n            },\n            \"practice_area\": {\n                \"data\": {\n                    \"id\": \"3\",\n                    \"type\": \"practice_area\"\n                }\n            },\n            \"owned_by\": {\n                \"data\": null\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"15\",\n                    \"type\": \"user\"\n                }\n            },\n            \"events\": {\n                \"data\": []\n            },\n            \"documents\": {\n                \"data\": []\n            },\n            \"notes\": {\n                \"data\": []\n            },\n            \"tasks\": {\n                \"data\": [\n                    {\n                        \"id\": \"51\",\n                        \"type\": \"task\"\n                    }\n                ]\n            },\n            \"invoices\": {\n                \"data\": []\n            },\n            \"emails\": {\n                \"data\": [\n                    {\n                        \"id\": \"29\",\n                        \"type\": \"email\"\n                    }\n                ]\n            },\n            \"phone_numbers\": {\n                \"data\": []\n            },\n            \"addresses\": {\n                \"data\": []\n            },\n            \"relationships\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"df73d157-9b37-4c7f-8314-3ab0f60794bf"},{"name":"Matter With All Fields","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"eca139c8-4d0d-4e8d-8035-038a41d5d5f0"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"74423dde-070d-4c2c-bf7a-362cbc028947"}}],"id":"3541164b-2cdc-416a-866a-79a7f922eb28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/prospects/:prospect_id?fields=all","description":"<p>Return one Matter by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects",":prospect_id"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[{"id":"22f5cdf1-54ee-4a70-a81e-c3dc240a251f","type":"any","value":"{{prospect_id}}","key":"prospect_id"}]}},"response":[{"id":"a0dd37e5-c1ce-41ec-a74e-1c666a66828f","name":"GET Matter","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/prospects/25?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","prospects","25"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"981fbb5344d67b80186114ea12f7db21\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"ae9ba399-7d8b-48a8-bc85-64c6eb82de8c","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.018461","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"25\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Tyrion\",\n            \"last_name\": \"Lannister\",\n            \"case_title\": \"Drank bad wine\",\n            \"case_blurb\": \"Client drank a glass of wine and it made him sick\",\n            \"status\": \"active\",\n            \"email\": \"tyrion@small.com\",\n            \"phone\": null,\n            \"phone_number\": null,\n            \"email_address\": \"tyrion@small.com\",\n            \"address\": null,\n            \"birthdate\": null,\n            \"name_prefix\": null,\n            \"middle_name\": null,\n            \"name_suffix\": null,\n            \"sub_status\": \"Active\",\n            \"informal_name\": null,\n            \"employer\": null,\n            \"occupation\": null,\n            \"citizenship\": null,\n            \"bio\": null,\n            \"title\": null,\n            \"hobbies\": null,\n            \"social_security\": null,\n            \"age\": null,\n            \"referring_url\": null,\n            \"driver_license\": null,\n            \"gender\": null,\n            \"marital_status\": null,\n            \"timezone\": null,\n            \"estimated_value_cents\": 250000,\n            \"actual_value_cents\": 500000,\n            \"lead_cost_cents\": 0,\n            \"date_of_last_contact\": \"2018-03-07T13:51:38.789-08:00\",\n            \"days_since_last_contact\": 223,\n            \"photo_url\": \"https://lm.lawmatics.com/attachments/421159fc72cbab9106329e36635b4939b8a1ad93/store/14da96fb7824ad411b34313189f4aaaba4192b6d7b0624f7948f218225e7/photo\",\n            \"custom_fields\": [],\n            \"created_at\": \"2018-03-07T13:51:38.789-08:00\",\n            \"updated_at\": \"2018-10-16T14:43:25.697-07:00\"\n        },\n        \"relationships\": {\n            \"source\": {\n                \"data\": {\n                    \"id\": \"6\",\n                    \"type\": \"source\"\n                }\n            },\n            \"stage\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"stage\"\n                }\n            },\n            \"campaign\": {\n                \"data\": {\n                    \"id\": \"7\",\n                    \"type\": \"campaign\"\n                }\n            },\n            \"practice_area\": {\n                \"data\": {\n                    \"id\": \"3\",\n                    \"type\": \"practice_area\"\n                }\n            },\n            \"owned_by\": {\n                \"data\": null\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"15\",\n                    \"type\": \"user\"\n                }\n            },\n            \"events\": {\n                \"data\": []\n            },\n            \"documents\": {\n                \"data\": []\n            },\n            \"notes\": {\n                \"data\": []\n            },\n            \"tasks\": {\n                \"data\": [\n                    {\n                        \"id\": \"51\",\n                        \"type\": \"task\"\n                    }\n                ]\n            },\n            \"invoices\": {\n                \"data\": []\n            },\n            \"emails\": {\n                \"data\": [\n                    {\n                        \"id\": \"29\",\n                        \"type\": \"email\"\n                    }\n                ]\n            },\n            \"phone_numbers\": {\n                \"data\": []\n            },\n            \"addresses\": {\n                \"data\": []\n            },\n            \"relationships\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"3541164b-2cdc-416a-866a-79a7f922eb28"},{"name":"Matters","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"c9250d18-83ce-4948-9436-e81350379701"}}],"id":"47725c33-525e-41c1-9e3f-fa3e3b45caa1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/prospects?fields=all","description":"<p>A <strong>paginated</strong> list of all Matters in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"84c331b6-0d3b-465c-ba13-42ee9c0ba0db","name":"GET Matters","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/prospects?page=1&sort_order=asc","protocol":"https","host":["api","lawmatics","com"],"path":["v1","prospects"],"query":[{"key":"page","value":"1"},{"key":"sort_order","value":"asc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:11:24 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"4d02eedc7416d66fd351180fb85e31bd\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Set-Cookie","value":"AWSALB=n5ciJoiZyBtDr5V8bfRiBlxwTbKcu2RF9udRGgC+EbXWjcZgCkljgvcmZuFLAtOEJcXXqtS4D7Z0m8B63VYDuZu3SHV87N9aCk6cVx4WIlRa1zaL52l6ElbjPLhK; Expires=Wed, 24 Oct 2018 01:11:24 GMT; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"aefd1389-84dc-4186-89ab-a54cee689313","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.084050","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.6563598.1539106472","key":"_ga"},{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.156666708.1539709908","key":"_gid"},{"expires":"Invalid Date","httpOnly":false,"domain":"api.lawmatics.com","path":"/","secure":false,"value":"n5ciJoiZyBtDr5V8bfRiBlxwTbKcu2RF9udRGgC+EbXWjcZgCkljgvcmZuFLAtOEJcXXqtS4D7Z0m8B63VYDuZu3SHV87N9aCk6cVx4WIlRa1zaL52l6ElbjPLhK","key":"AWSALB"}],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Roey\",\n                \"last_name\": \"Chasman\",\n                \"email\": \"roey+pnc@lawmatics.com\",\n                \"created_at\": \"2018-01-05T17:18:09.735-08:00\",\n                \"updated_at\": \"2018-09-17T11:22:58.324-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Saul\",\n                \"last_name\": \"Goodman\",\n                \"email\": \"matt+saul@lawmatics.com\",\n                \"created_at\": \"2018-01-06T10:04:29.517-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.427-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Adam\",\n                \"last_name\": \"Tester\",\n                \"email\": \"adam@tester.com\",\n                \"created_at\": \"2018-01-08T02:30:27.925-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.092-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"4\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Kim\",\n                \"last_name\": \"Tester\",\n                \"email\": \"testergel@gmail.com\",\n                \"created_at\": \"2018-01-08T10:10:03.043-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.357-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"5\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Hunter\",\n                \"last_name\": \"Tester\",\n                \"email\": \"test@smokeball.com\",\n                \"created_at\": \"2018-01-08T13:42:36.375-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.495-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"6\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"John\",\n                \"last_name\": \"Tester\",\n                \"email\": \"tester@gmail.com\",\n                \"created_at\": \"2018-01-08T13:43:15.135-08:00\",\n                \"updated_at\": \"2018-09-21T13:27:24.267-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"7\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Jason\",\n                \"last_name\": \"Tester\",\n                \"email\": \"tester@gmail.com\",\n                \"created_at\": \"2018-01-11T13:54:29.469-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.378-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"8\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Mike\",\n                \"last_name\": \"Snow\",\n                \"email\": \"testerl@gmail.com\",\n                \"created_at\": \"2018-01-23T14:56:18.406-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.388-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"9\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"James\",\n                \"last_name\": \"Tester\",\n                \"email\": \"test@gmail.com\",\n                \"created_at\": \"2018-01-23T17:11:09.145-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.408-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"10\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Gyi\",\n                \"last_name\": \"Tester\",\n                \"email\": \"test@lawmatics.com\",\n                \"created_at\": \"2018-01-24T10:50:59.490-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.511-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"15\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Joe\",\n                \"last_name\": \"Test\",\n                \"email\": \"tester@lawmatics.com\",\n                \"created_at\": \"2018-02-05T16:47:54.276-08:00\",\n                \"updated_at\": \"2018-08-14T10:05:34.844-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"16\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Jeff\",\n                \"last_name\": \"Tester\",\n                \"email\": \"tester@lawmatics.com\",\n                \"created_at\": \"2018-02-06T19:38:40.814-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.603-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"17\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Sarah\",\n                \"last_name\": \"Tester\",\n                \"email\": \"sarah@lawmatics.com\",\n                \"created_at\": \"2018-02-09T15:14:46.629-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.461-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"18\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"John\",\n                \"last_name\": \"Snow\",\n                \"email\": \"john@westeros.com\",\n                \"created_at\": \"2018-03-06T06:09:22.068-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.230-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"19\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Daenerys\",\n                \"last_name\": \"Targaryen\",\n                \"email\": \"motherofdragons@daenerys.com\",\n                \"created_at\": \"2018-03-07T13:29:08.119-08:00\",\n                \"updated_at\": \"2018-03-26T12:28:22.505-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"20\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"John\",\n                \"last_name\": \"Snow\",\n                \"email\": \"johnsnow@nightswatch.com\",\n                \"created_at\": \"2018-03-07T13:32:00.708-08:00\",\n                \"updated_at\": \"2018-03-30T12:38:00.155-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"21\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Gregor\",\n                \"last_name\": \"Clegane\",\n                \"email\": \"gregor@clegane.com\",\n                \"created_at\": \"2018-03-07T13:38:58.311-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.690-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"25\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Tyrion\",\n                \"last_name\": \"Lannister\",\n                \"email\": \"tyrion@small.com\",\n                \"created_at\": \"2018-03-07T13:51:38.789-08:00\",\n                \"updated_at\": \"2018-10-16T14:43:25.697-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"26\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Arya\",\n                \"last_name\": \"Stark\",\n                \"email\": \"arya@littlesword.com\",\n                \"created_at\": \"2018-03-07T13:58:24.673-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.588-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"27\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Sansa\",\n                \"last_name\": \"Stark\",\n                \"email\": \"matt.spiegel@gmail.com\",\n                \"created_at\": \"2018-03-07T13:59:57.315-08:00\",\n                \"updated_at\": \"2018-06-18T14:51:36.116-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"28\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Khal\",\n                \"last_name\": \"Drogo\",\n                \"email\": \"khal@getripped.com\",\n                \"created_at\": \"2018-03-07T14:04:11.582-08:00\",\n                \"updated_at\": \"2018-10-16T14:43:26.055-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"29\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Eddard\",\n                \"last_name\": \"Stark\",\n                \"email\": \"eddard@north.com\",\n                \"created_at\": \"2018-03-08T06:04:52.771-08:00\",\n                \"updated_at\": \"2018-10-16T16:32:20.312-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"30\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Joffrey\",\n                \"last_name\": \"Baratheon\",\n                \"email\": \"joffrey@nobodylikesme.com\",\n                \"created_at\": \"2018-03-08T06:10:41.420-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.318-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"31\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Petyr\",\n                \"last_name\": \"Baelish\",\n                \"email\": \"littlefinger@backstabber.com\",\n                \"created_at\": \"2018-03-08T06:11:58.640-08:00\",\n                \"updated_at\": \"2018-03-20T07:00:28.328-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"32\",\n            \"type\": \"prospect\",\n            \"attributes\": {\n                \"first_name\": \"Jaime\",\n                \"last_name\": \"Lannister\",\n                \"email\": \"jaime@ishegoodorbad.com\",\n                \"created_at\": \"2018-03-08T06:43:07.974-08:00\",\n                \"updated_at\": \"2018-10-16T14:43:25.814-07:00\"\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 11,\n        \"limit_per_page\": 25,\n        \"total_entries\": 265\n    },\n    \"links\": {\n        \"self\": \"/v1/prospect?page=1\",\n        \"next\": \"/v1/prospect?page=2\"\n    }\n}"}],"_postman_id":"47725c33-525e-41c1-9e3f-fa3e3b45caa1"},{"name":"Update Matter","event":[{"listen":"test","script":{"id":"b4e72a16-6df1-4534-b6fb-dddd65163816","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"7283a05b-9592-4a42-a449-4dd4f5c99c4f","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","packages":{}}}],"id":"92dc59d4-0e01-42ca-ab66-c1d2570cf623","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Lawmatics\",\n\t\"last_name\": \"ExampleChanged\",\n\t\"email\": \"carlo99@example.com\",\n    \"phone\": \"123-123-1234\",\n    \"assigned_staff_ids\": [],\n\t\"notes\": [\n\t\t{\n\t\t\t\"name\": \"Cool Note\",\n\t\t\t\"body\": \"This is a long form sweet new note\"\n\t\t}\n\t],\n    \"tags\": [\"Tag 1\", \"Tag 2\"]\n}"},"url":"{{host}}/v1/prospects/:prospect_id","description":"<p>Update an existing Matter by ID.</p>\n<p>Passing Custom Field id and value, will set the custom field value on the Matter, and overwrite any existing value. Passing null as the value will clear it out.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects",":prospect_id"],"host":["{{host}}"],"query":[],"variable":[{"type":"any","value":"{{prospect_id}}","key":"prospect_id"}]}},"response":[{"id":"c50f4129-8466-493d-8ffe-9882b0a56727","name":"PUT/PATCH Update Matter","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Lawmatics\",\n\t\"last_name\": \"ExampleChanged\",\n\t\"email\": \"roey+changed@lawmatics.com\",\n    \"phone\": \"123-123-1234\",\n    \"assigned_staff_ids\": [],\n\t\"notes\": [\n\t\t{\n\t\t\t\"name\": \"Cool Note\",\n\t\t\t\"body\": \"This is a long form sweet new note\"\n\t\t}\n\t],\n\t\"custom_fields\": [\n\t\t{\n\t\t\t\"id\": \"6433\",\n\t\t\t\"value\": false\n\t\t},\n\t\t{\n\t\t\t\"id\": \"6435\",\n\t\t\t\"value\": \"2\"\n\t\t},\n        {\n            \"id\": \"6470\",\n            \"value\": null\n        }\n\t],\n    \"tags\": [\"Tag 1\", \"Tag 2\"]\n}"},"url":{"raw":"{{host}}/v1/prospects/2309744?fields=first_name,last_name,email,custom_fields","host":["{{host}}"],"path":["v1","prospects","2309744"],"query":[{"key":"fields","value":"first_name,last_name,email,custom_fields"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 09 Jun 2022 18:18:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=6knFgBMV86V55Wdl2QWjNsgGje8o44JhMoVHTlFYgXZ288/PIAenC6kOq7zL7XRltCubL0sx9QXfWwuW2v5c+GRcTeilqx2AopWgL/LSpdmfObQXAI0HUGdJdJBq; Expires=Thu, 16 Jun 2022 18:18:05 GMT; Path=/"},{"key":"Set-Cookie","value":"AWSALBCORS=6knFgBMV86V55Wdl2QWjNsgGje8o44JhMoVHTlFYgXZ288/PIAenC6kOq7zL7XRltCubL0sx9QXfWwuW2v5c+GRcTeilqx2AopWgL/LSpdmfObQXAI0HUGdJdJBq; Expires=Thu, 16 Jun 2022 18:18:05 GMT; Path=/; SameSite=None; Secure"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"4b5a6c2c08c4d887321e0ce9e5b0ef3d\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"e53fa1e1-a82d-487b-935b-9db3c0fb9323"},{"key":"X-Runtime","value":"0.139870"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"2309744\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"Lawmatics\",\n            \"last_name\": \"ExampleChanged\",\n            \"email\": \"roey+changed@lawmatics.com\",\n            \"custom_fields\": [\n                {\n                    \"id\": 6434,\n                    \"name\": \"API TEST STRING (dont delete me)\",\n                    \"field_type\": \"string\",\n                    \"value\": \"Contact String\",\n                    \"formatted_value\": \"Contact String\"\n                },\n                {\n                    \"id\": 6435,\n                    \"name\": \"API TEST PICKLIST (dont delete me)\",\n                    \"field_type\": \"list\",\n                    \"value\": \"3241\",\n                    \"formatted_value\": \"2\"\n                },\n                {\n                    \"id\": 6433,\n                    \"name\": \"API TEST BOOLEAN (dont delete me)\",\n                    \"field_type\": \"boolean\",\n                    \"value\": false,\n                    \"formatted_value\": \"No\"\n                }\n            ]\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"92dc59d4-0e01-42ca-ab66-c1d2570cf623"},{"name":"Delete Matter","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"87976703-33f2-4dca-9714-5787f582748c"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"4663b7f9-fb35-4cb1-b7a7-a894fe001015"}}],"id":"c3ac7597-d72e-48ee-9666-d28c862ca5c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/v1/prospects/:prospect_id","description":"<p>Delete an existing Matter by ID.</p>\n<p>Warning: This is irreversible!</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","prospects",":prospect_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"9e494d45-124d-4f60-8a2b-408f931a418e","type":"any","value":"{{prospect_id}}","key":"prospect_id"}]}},"response":[{"id":"f3a0159d-d019-4fa9-89fd-1d7ba02aaec7","name":"DELETE Matter","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/v1/prospects/41835"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"f176259b16806403898933b3d32c788c\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"7b8ad7a7-0bd1-4018-9af9-8386add942b3","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.167211","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\"data\":{\"id\":\"41835\",\"type\":\"prospect\",\"attributes\":{\"first_name\":\"Lawmatics\",\"last_name\":\"Example\",\"email\":null,\"created_at\":\"2018-10-15T15:26:09.927-07:00\",\"updated_at\":\"2018-10-15T15:26:09.927-07:00\"},\"relationships\":{}}}"}],"_postman_id":"c3ac7597-d72e-48ee-9666-d28c862ca5c3"}],"id":"f8a2b662-7b3c-48d3-9025-911e5def9e2b","description":"<p>A <strong>Matter</strong> is a legal case, and the primary object in Lawmatics.</p>\n<p>NOTE: You may see <strong>Matters</strong> referenced as \"Prospects\" or \"PNCs\". This is for legacy reasons, and we are working to migrate away from these names internally.</p>\n<p>When creating a new <strong>Matter</strong> it will be in status <em>PNC</em>. This stands for Potential New Case or Potential New Client. It means the Matter has not yet closed.</p>\n<p>The other statuses for a <strong>Matter</strong> are 'Hired', and 'Lost'. You can also create sub statuses for each of these main statuses in the app if you need more granular categories for your <strong>Matters</strong>.</p>\n<p>A <strong>Matter</strong> wraps a <strong>Contact</strong> object, and if you create a new <strong>Matter</strong>, it will create a <strong>Contact</strong> for that <strong>Matter</strong> to hold its contact information.</p>\n<p>NOTE: Matters used to be called Prospects, we changed it to make it more clear that the <strong>Matter</strong> is about case information, and a <strong>Contact</strong> is about a person. One <strong>Contact</strong> can have many <strong>Matters</strong>! And a <strong>Contact</strong> with at least one Hired <strong>Matter</strong> is considered a <strong>Client</strong> <strong>Contact</strong>!</p>\n<h1 id=\"supported-matter-fields\">Supported Matter Fields</h1>\n<p>We support the following fields in the request body for our Create/Update <strong>Matter</strong> endpoint:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>attribute</th>\n<th>notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>case_title</td>\n<td></td>\n</tr>\n<tr>\n<td>case_number</td>\n<td>String (overrides auto-numbering)</td>\n</tr>\n<tr>\n<td>case_blurb</td>\n<td>(Case Description)</td>\n</tr>\n<tr>\n<td>contact_id</td>\n<td><strong>Required</strong> unless <code>match_contact_by</code> is set</td>\n</tr>\n<tr>\n<td>match_contact_by</td>\n<td><strong>Create Matter Field:</strong> Valid values: 'email', 'phone', 'name' (Will attempt to match contact by passed info)</td>\n</tr>\n<tr>\n<td>actual_value_cents</td>\n<td></td>\n</tr>\n<tr>\n<td>estimated_value_cents</td>\n<td></td>\n</tr>\n<tr>\n<td>lead_cost_cents</td>\n<td></td>\n</tr>\n<tr>\n<td>source_id</td>\n<td></td>\n</tr>\n<tr>\n<td>campaign_id</td>\n<td></td>\n</tr>\n<tr>\n<td>referrer_id</td>\n<td></td>\n</tr>\n<tr>\n<td>sub_status_id</td>\n<td></td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>Array of \"id\" and \"value\" objects:  <br />[  <br />{ \"id\": \"6433\", \"value\": true },  <br />{ \"id\": \"6434\", \"value\": \"Contact String\" }  <br />]</td>\n</tr>\n<tr>\n<td>practice_area_id</td>\n<td></td>\n</tr>\n<tr>\n<td>stage_id</td>\n<td></td>\n</tr>\n<tr>\n<td>owned_by_id</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>created_by_id</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>salesperson_id</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>lead_attorney_id</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>originating_attorney_id</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>assigned_staff_ids</td>\n<td>Array of User IDs</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>Array of Strings (tag name)</td>\n</tr>\n<tr>\n<td>street</td>\n<td>Creates/Updates Address with 'Primary' Label</td>\n</tr>\n<tr>\n<td>street2</td>\n<td>Creates/Updates Address with 'Primary' Label</td>\n</tr>\n<tr>\n<td>city</td>\n<td>Creates/Updates Address with 'Primary' Label</td>\n</tr>\n<tr>\n<td>state</td>\n<td>Creates/Updates Address with 'Primary' Label</td>\n</tr>\n<tr>\n<td>zipcode</td>\n<td>Creates/Updates Address with 'Primary' Label</td>\n</tr>\n<tr>\n<td>country</td>\n<td>Creates/Updates Address with 'Primary' Label</td>\n</tr>\n<tr>\n<td>email</td>\n<td>Creates/Updates with 'Primary' Label</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>Creates/Updates with 'Primary' Label</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td></td>\n</tr>\n<tr>\n<td>middle_name</td>\n<td></td>\n</tr>\n<tr>\n<td>citizenship</td>\n<td></td>\n</tr>\n<tr>\n<td>driver_license</td>\n<td></td>\n</tr>\n<tr>\n<td>name_suffix</td>\n<td></td>\n</tr>\n<tr>\n<td>informal_name</td>\n<td></td>\n</tr>\n<tr>\n<td>bio</td>\n<td></td>\n</tr>\n<tr>\n<td>title</td>\n<td></td>\n</tr>\n<tr>\n<td>birthdate</td>\n<td></td>\n</tr>\n<tr>\n<td>gender</td>\n<td></td>\n</tr>\n<tr>\n<td>timezone</td>\n<td></td>\n</tr>\n<tr>\n<td>occupation</td>\n<td></td>\n</tr>\n<tr>\n<td>employer</td>\n<td></td>\n</tr>\n<tr>\n<td>social_security</td>\n<td></td>\n</tr>\n<tr>\n<td>name_prefix</td>\n<td></td>\n</tr>\n<tr>\n<td>marital_status</td>\n<td></td>\n</tr>\n<tr>\n<td>hobbies</td>\n<td></td>\n</tr>\n<tr>\n<td>birthdate</td>\n<td></td>\n</tr>\n<tr>\n<td>custom_contact_type_id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"569edcc7-8e0e-46f9-95ea-21f7c1e4c483"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"78ded285-bbf4-4a0a-861a-390ffe55b928"}}],"_postman_id":"f8a2b662-7b3c-48d3-9025-911e5def9e2b","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Notes","item":[{"name":"Note","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"97c88666-180b-4860-a8b4-85e879696143"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/notes`, function (err, response) {","   pm.globals.set(\"note_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"e747e567-10fa-4281-8490-0385bd73e561"}}],"id":"f0b600f4-b66e-49ff-bdc5-927f1745e7e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/notes/:note_id","description":"<p>A specific <strong>Note</strong> by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","notes",":note_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"d65e88ce-a913-4202-bac4-a511e8ffa929","type":"any","value":"{{note_id}}","key":"note_id"}]}},"response":[{"id":"efca8435-18b1-4fc1-9f08-4bbbc7344567","name":"GET Note","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/notes/27430?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","notes","27430"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"3142b87185b7c3f304ece5cb9386ec01\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"c87a9388-878c-46c6-a4a9-d119dc7cf892","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.018671","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\"data\":{\"id\":\"27430\",\"type\":\"note\",\"attributes\":{\"name\":\"Example Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\",\"created_at\":\"2018-10-17T18:17:15.722-07:00\",\"updated_at\":\"2018-10-17T18:17:15.722-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"41874\",\"type\":\"prospect\"}}}}}"}],"_postman_id":"f0b600f4-b66e-49ff-bdc5-927f1745e7e3"},{"name":"Notes","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"19c7701b-c06e-4ac0-9e55-f4e5c4c55f6d"}}],"id":"1a2876a6-2fd0-4768-94f5-361a5c702d6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/notes","description":"<p>A <strong>paginated</strong> list of all Notes in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","notes"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"6e9e4eea-571c-47b7-a764-9f894754a993","name":"GET Notes","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/notes?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","notes"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"ETag","value":"W/\"036d1ad0cbc7de8863c89af41623a036\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"9f0889d9-f1f8-446b-87aa-79be6528728e","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.149630","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"UXPpj6ZdpIIGJIQW5iiy1w","key":"access-token"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"roey%40lawmatics.com","key":"uid"},{"expires":"Invalid Date","httpOnly":false,"domain":"localhost","path":"/oauth","secure":false,"value":"aXfi7VnVTYQ0vV5Hg_avRg","key":"client"}],"responseTime":null,"body":"{\"data\":[{\"id\":\"27430\",\"type\":\"note\",\"attributes\":{\"name\":\"Example Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\",\"created_at\":\"2018-10-17T18:17:15.722-07:00\",\"updated_at\":\"2018-10-17T18:17:15.722-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"41874\",\"type\":\"prospect\"}}}},{\"id\":\"25231\",\"type\":\"note\",\"attributes\":{\"name\":\"sed\",\"body\":\"ipsa\",\"created_at\":\"2018-10-10T17:39:54.279-07:00\",\"updated_at\":\"2018-10-10T17:39:54.279-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"14\",\"type\":\"prospect\"}}}},{\"id\":\"8825\",\"type\":\"note\",\"attributes\":{\"name\":\"explicabo\",\"body\":\"voluptas\",\"created_at\":\"2018-09-24T15:27:47.155-07:00\",\"updated_at\":\"2018-09-24T15:27:47.155-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"14\",\"type\":\"prospect\"}}}},{\"id\":\"8823\",\"type\":\"note\",\"attributes\":{\"name\":\"voluptatibus\",\"body\":\"occaecati\",\"created_at\":\"2018-09-20T17:38:11.886-07:00\",\"updated_at\":\"2018-09-20T17:38:11.886-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"25\",\"type\":\"prospect\"}}}},{\"id\":\"8822\",\"type\":\"note\",\"attributes\":{\"name\":\"asd\",\"body\":\"asd\",\"created_at\":\"2018-09-19T18:27:06.917-07:00\",\"updated_at\":\"2018-09-19T18:27:06.917-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"35\",\"type\":\"prospect\"}}}},{\"id\":\"8821\",\"type\":\"note\",\"attributes\":{\"name\":\"sfd\",\"body\":\"sdfsdf\",\"created_at\":\"2018-09-19T14:11:22.278-07:00\",\"updated_at\":\"2018-09-19T14:11:22.278-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"17877\",\"type\":\"prospect\"}}}},{\"id\":\"8820\",\"type\":\"note\",\"attributes\":{\"name\":\"quia\",\"body\":\"dolores\",\"created_at\":\"2018-09-11T11:49:06.517-07:00\",\"updated_at\":\"2018-09-11T11:49:06.517-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"14\",\"type\":\"prospect\"}}}},{\"id\":\"8819\",\"type\":\"note\",\"attributes\":{\"name\":\"eius\",\"body\":\"ea\",\"created_at\":\"2018-09-11T11:46:04.109-07:00\",\"updated_at\":\"2018-09-11T11:46:04.109-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"14\",\"type\":\"prospect\"}}}},{\"id\":\"8818\",\"type\":\"note\",\"attributes\":{\"name\":\"pariatur\",\"body\":\"rerum\",\"created_at\":\"2018-09-05T13:58:04.430-07:00\",\"updated_at\":\"2018-09-05T13:58:04.430-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"25\",\"type\":\"prospect\"}}}},{\"id\":\"8817\",\"type\":\"note\",\"attributes\":{\"name\":\"ratione\",\"body\":\"nemo\",\"created_at\":\"2018-09-05T13:36:02.560-07:00\",\"updated_at\":\"2018-09-05T13:36:02.560-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"14\",\"type\":\"prospect\"}}}},{\"id\":\"8816\",\"type\":\"note\",\"attributes\":{\"name\":\"est\",\"body\":\"in\",\"created_at\":\"2018-08-24T16:47:01.463-07:00\",\"updated_at\":\"2018-08-24T16:47:01.463-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"1\",\"type\":\"prospect\"}}}},{\"id\":\"2446\",\"type\":\"note\",\"attributes\":{\"name\":null,\"body\":null,\"created_at\":\"2018-07-21T00:00:00.000-07:00\",\"updated_at\":\"2018-07-22T21:12:22.210-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"1\",\"type\":\"prospect\"}}}},{\"id\":\"101\",\"type\":\"note\",\"attributes\":{\"name\":\"test\",\"body\":\"test\",\"created_at\":\"2018-07-16T16:46:45.548-07:00\",\"updated_at\":\"2018-07-16T16:46:45.548-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"1\",\"type\":\"company\"}}}},{\"id\":\"100\",\"type\":\"note\",\"attributes\":{\"name\":\"Joseph Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:55.439-07:00\",\"updated_at\":\"2018-07-16T15:12:55.439-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"100\",\"type\":\"prospect\"}}}},{\"id\":\"99\",\"type\":\"note\",\"attributes\":{\"name\":\"Karen Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:55.323-07:00\",\"updated_at\":\"2018-07-16T15:12:55.323-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"99\",\"type\":\"prospect\"}}}},{\"id\":\"98\",\"type\":\"note\",\"attributes\":{\"name\":\"Barbara Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:55.081-07:00\",\"updated_at\":\"2018-07-16T15:12:55.081-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"98\",\"type\":\"prospect\"}}}},{\"id\":\"97\",\"type\":\"note\",\"attributes\":{\"name\":\"Sarah Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:54.860-07:00\",\"updated_at\":\"2018-07-16T15:12:54.860-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"97\",\"type\":\"prospect\"}}}},{\"id\":\"96\",\"type\":\"note\",\"attributes\":{\"name\":\"Thomas Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:54.740-07:00\",\"updated_at\":\"2018-07-16T15:12:54.740-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"96\",\"type\":\"prospect\"}}}},{\"id\":\"95\",\"type\":\"note\",\"attributes\":{\"name\":\"William Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:54.488-07:00\",\"updated_at\":\"2018-07-16T15:12:54.488-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"95\",\"type\":\"prospect\"}}}},{\"id\":\"94\",\"type\":\"note\",\"attributes\":{\"name\":\"Karen Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:54.360-07:00\",\"updated_at\":\"2018-07-16T15:12:54.360-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"94\",\"type\":\"prospect\"}}}},{\"id\":\"93\",\"type\":\"note\",\"attributes\":{\"name\":\"Maria Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:54.131-07:00\",\"updated_at\":\"2018-07-16T15:12:54.131-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"93\",\"type\":\"prospect\"}}}},{\"id\":\"92\",\"type\":\"note\",\"attributes\":{\"name\":\"Maria Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:54.018-07:00\",\"updated_at\":\"2018-07-16T15:12:54.018-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"92\",\"type\":\"prospect\"}}}},{\"id\":\"91\",\"type\":\"note\",\"attributes\":{\"name\":\"Jennifer Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:53.780-07:00\",\"updated_at\":\"2018-07-16T15:12:53.780-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"91\",\"type\":\"prospect\"}}}},{\"id\":\"90\",\"type\":\"note\",\"attributes\":{\"name\":\"Richard Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:53.527-07:00\",\"updated_at\":\"2018-07-16T15:12:53.527-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"90\",\"type\":\"prospect\"}}}},{\"id\":\"89\",\"type\":\"note\",\"attributes\":{\"name\":\"Jennifer Note\",\"body\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\"created_at\":\"2018-07-16T15:12:53.403-07:00\",\"updated_at\":\"2018-07-16T15:12:53.403-07:00\"},\"relationships\":{\"notable\":{\"data\":{\"id\":\"89\",\"type\":\"prospect\"}}}}],\"meta\":{\"total_pages\":5,\"limit_per_page\":25,\"total_entries\":110},\"links\":{\"self\":\"/v1/note?page=1\",\"next\":\"/v1/note?page=2\"}}"}],"_postman_id":"1a2876a6-2fd0-4768-94f5-361a5c702d6c"},{"name":"Create Note","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_note_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"74696962-95e8-4e62-b4e4-91e0022c0ab4"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"f56e360f-f929-43b6-9e61-ac9d069c439c"}}],"id":"b2b1ee31-7db1-4642-adde-776e1b6108fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Note\",\n\t\"body\": \"An important thing to remember\",\n    \"notable_type\": \"Prospect\",\n    \"notable_id\": {{prospect_id}}\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/notes","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","notes"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"fd9cdf6d-1097-4efc-ac47-56bd14cf1455","name":"POST Create Note","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Note\",\n\t\"body\": \"An important thing to remember\",\n    \"notable_type\": \"Prospect\",\n    \"notable_id\": 113\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/notes"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"ae3551323a240d30e130a4b4fc956163\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"696649b0-1fd6-4da4-adaf-cd546fb6e4ec"},{"key":"X-Runtime","value":"1.176969"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"109\",\n        \"type\": \"note\",\n        \"attributes\": {\n            \"name\": \"New Note\",\n            \"body\": \"An important thing to remember\",\n            \"created_at\": \"2022-05-26T13:48:20.485-07:00\",\n            \"updated_at\": \"2022-05-26T13:48:20.485-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"b2b1ee31-7db1-4642-adde-776e1b6108fe"},{"name":"Update Note","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"4f45fc60-a4f5-4c5b-9867-8a5e30f3d6d1"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/notes`, function (err, response) {","   pm.globals.set(\"note_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"f8f2fd1e-98c9-44e5-bb7f-70236cd4f61e"}}],"id":"ace95725-958f-45df-9a3b-492b82f0ffba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Updated Note\",\n    \"body\": \"I just updated this\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/notes/:note_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","notes",":note_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"d92f65b8-d65b-44cf-a850-eda425572dcc","type":"any","value":"{{note_id}}","key":"note_id"}]}},"response":[{"id":"3fb2955f-f377-49cb-89f6-cf6339f8c945","name":"PUT Update Note","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Updated Note\",\n    \"body\": \"I just updated this\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/notes/:note_id","host":["{{host}}"],"path":["v1","notes",":note_id"],"variable":[{"key":"note_id","value":"108"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"ae17f730c4249becb90757d33e512af4\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a32137e7-e0d9-413d-9b6c-678ac6bd8d5d"},{"key":"X-Runtime","value":"0.244479"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"108\",\n        \"type\": \"note\",\n        \"attributes\": {\n            \"name\": \"Updated Note\",\n            \"body\": \"I just updated this\",\n            \"created_at\": \"2022-05-26T13:23:11.485-07:00\",\n            \"updated_at\": \"2022-05-26T13:23:19.697-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"ace95725-958f-45df-9a3b-492b82f0ffba"},{"name":"Delete Note","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"cc2f834d-6ad0-4f64-ad1c-87ac68e215ef"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/notes`, function (err, response) {","   pm.globals.set(\"note_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"563c81c0-600b-46fc-a245-89ee8424d9bb"}}],"id":"e9c485eb-65f9-4b2f-9bbd-94984e62aa0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/notes/:note_id","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","notes",":note_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"86010952-fa08-4952-a52c-2d19db865d10","type":"any","value":"{{note_id}}","key":"note_id"}]}},"response":[{"id":"f8a9e2c1-28c8-47b9-b3e4-9d204ea80d05","name":"DELETE Delete Note","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/notes/:note_id","host":["{{host}}"],"path":["v1","notes",":note_id"],"variable":[{"key":"note_id","value":"108"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5cbdc1b63f1ab8f35d7ec4606d15f5df\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"905c732d-5796-45c1-81fa-1f64a3f00a5d"},{"key":"X-Runtime","value":"0.158103"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"108\",\n        \"type\": \"note\",\n        \"attributes\": {\n            \"name\": \"Updated Note\",\n            \"body\": \"I just updated this\",\n            \"created_at\": \"2022-05-26T13:23:11.485-07:00\",\n            \"updated_at\": \"2022-05-26T13:23:26.462-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"e9c485eb-65f9-4b2f-9bbd-94984e62aa0d"}],"id":"92f09aa3-1d82-4605-8013-b3e9cb2abcd4","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ce9ebc1d-a552-4b94-b948-2b69f5f0f6f8"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response time is less than 2000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(2000);","});"],"id":"7f3bd6f7-03d3-45a5-9e5a-29e27f7df592"}}],"_postman_id":"92f09aa3-1d82-4605-8013-b3e9cb2abcd4","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Payment Invoices","item":[{"name":"Invoice","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"87b44538-349c-4457-8bb6-6655450b4134"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/invoices`, function (err, response) {","    console.log(response)","   pm.globals.set(\"invoice_id\", response.json().data[0].id);","});","",""],"type":"text/javascript","id":"1d3b650d-eb13-4632-b890-f50d1cbeb42b"}}],"id":"e9bb3348-d7bc-4d8c-ba7e-36398ec8efa4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/invoices/:invoice_id","description":"<p>A specific Invoice in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","invoices",":invoice_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"d4bd5c0b-4ebb-4956-a503-7e98dbc3ff53","type":"any","value":"{{invoice_id}}","key":"invoice_id"}]}},"response":[{"id":"638e050f-076d-41a4-95bb-12d472af9caf","name":"GET Invoice","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/invoices/1?fields=all","host":["{{host}}"],"path":["v1","invoices","1"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"e6d1c3b73e2d26e5c69f1b6d6c3d91dd\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"9820363e-3472-4b65-a961-3b19e44ba00b"},{"key":"X-Runtime","value":"0.034883"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"type\": \"invoice\",\n        \"attributes\": {\n            \"number\": 1,\n            \"status\": \"sent\",\n            \"target_account_type\": \"operating\",\n            \"payment_terms\": \"due_date\",\n            \"include_balance_forward\": false,\n            \"enable_online_payment\": false,\n            \"include_statement_of_accounts\": false,\n            \"invoiced_at\": \"2021-11-02\",\n            \"due_at\": \"2021-11-02\",\n            \"voided_at\": null,\n            \"contactable_address\": null,\n            \"contactable_name\": \"Roey Tester\",\n            \"note\": \"hey zsolt this is a specific invoice note\\n\\nhere \\nis\\na \\nbunch\\n\\nof (two)\\nnewlines\",\n            \"amount_cents\": 0,\n            \"amount_paid_cents\": 0,\n            \"outstanding_amount_cents\": 0,\n            \"pdf_url\": \"http://localhost:3000/attachments/80623eb43ae0fa961d5a32b8d169fd54a0249de1/store/511432f743969f1e7b9cc636c1a9c7b4ca1a4d5dd902ef0a1ba405ff89f7/Invoice+%231.pdf\",\n            \"created_at\": \"2021-11-02T10:28:40.535-07:00\",\n            \"updated_at\": \"2022-01-10T19:43:47.382-08:00\"\n        },\n        \"relationships\": {\n            \"invoice_type\": {\n                \"data\": null\n            },\n            \"prospect\": {\n                \"data\": {\n                    \"id\": \"101\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"5\",\n                    \"type\": \"created_by\"\n                }\n            },\n            \"forwarded_to\": {\n                \"data\": null\n            },\n            \"time_entries\": {\n                \"data\": [\n                    {\n                        \"id\": \"8\",\n                        \"type\": \"time_entry\"\n                    }\n                ]\n            },\n            \"expenses\": {\n                \"data\": []\n            },\n            \"invoice_adjustments\": {\n                \"data\": []\n            },\n            \"transactions\": {\n                \"data\": []\n            },\n            \"forwarded_from\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"e9bb3348-d7bc-4d8c-ba7e-36398ec8efa4"},{"name":"Invoices","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"3c42ca52-0f06-464b-9ad6-3f767e09fd2a"}}],"id":"1d2db608-38b8-460d-858d-db80da6aa17b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/invoices","description":"<p>A <strong>paginated</strong> list of all Invoices in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","invoices"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"65d9ef49-ddc7-4899-9396-45b88abb06de","name":"GET Invoices","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/invoices?fields=all","host":["{{host}}"],"path":["v1","invoices"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1\",\n            \"type\": \"invoice\",\n            \"attributes\": {\n                \"number\": 1,\n                \"status\": \"sent\",\n                \"target_account_type\": \"operating\",\n                \"payment_terms\": \"due_date\",\n                \"include_balance_forward\": false,\n                \"enable_online_payment\": false,\n                \"include_statement_of_accounts\": false,\n                \"invoiced_at\": \"2021-11-02\",\n                \"due_at\": \"2021-11-02\",\n                \"voided_at\": null,\n                \"contactable_address\": null,\n                \"contactable_name\": \"Roey Tester\",\n                \"note\": \"hey zsolt this is a specific invoice note\\n\\nhere \\nis\\na \\nbunch\\n\\nof (two)\\nnewlines\",\n                \"amount_cents\": 0,\n                \"amount_paid_cents\": 0,\n                \"outstanding_amount_cents\": 0,\n                \"pdf_url\": \"http://localhost:3000/attachments/80623eb43ae0fa961d5a32b8d169fd54a0249de1/store/511432f743969f1e7b9cc636c1a9c7b4ca1a4d5dd902ef0a1ba405ff89f7/Invoice+%231.pdf\",\n                \"created_at\": \"2021-11-02T10:28:40.535-07:00\",\n                \"updated_at\": \"2022-01-10T19:43:47.382-08:00\"\n            },\n            \"relationships\": {\n                \"invoice_type\": {\n                    \"data\": null\n                },\n                \"prospect\": {\n                    \"data\": {\n                        \"id\": \"101\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"created_by\"\n                    }\n                },\n                \"forwarded_to\": {\n                    \"data\": null\n                },\n                \"time_entries\": {\n                    \"data\": [\n                        {\n                            \"id\": \"8\",\n                            \"type\": \"time_entry\"\n                        }\n                    ]\n                },\n                \"expenses\": {\n                    \"data\": []\n                },\n                \"invoice_adjustments\": {\n                    \"data\": []\n                },\n                \"transactions\": {\n                    \"data\": []\n                },\n                \"forwarded_from\": {\n                    \"data\": []\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 1\n    },\n    \"links\": {\n        \"self\": \"/v1/invoices?page=1\"\n    }\n}"}],"_postman_id":"1d2db608-38b8-460d-858d-db80da6aa17b"}],"id":"9e75794d-7d1d-4245-bcc4-25989d03a0d0","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"22f25247-3d72-4afc-8931-cb96ec2176f0"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"6a2cc014-eb47-4501-b862-8fce2891553d"}}],"_postman_id":"9e75794d-7d1d-4245-bcc4-25989d03a0d0","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Payment Expenses","item":[{"name":"Expenses","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"a89e8120-d5a5-4cca-8370-582541902326"}}],"id":"3613d444-f68a-45d3-a1fe-1021544c7c6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":""}],"url":"{{host}}/v1/expenses?fields=all","description":"<p>A <strong>paginated</strong> list of all <strong>Time Entries</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","expenses"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"9d4834d3-5cb2-47ef-8ce1-3a4366e9d18f","name":"GET Expenses","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/time_entries?fields=all","host":["{{host}}"],"path":["v1","time_entries"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"4dadb10ef3f4b807466fa70e9df74426\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"6397f783-40e4-4152-a767-07d6132f3775"},{"key":"X-Runtime","value":"0.699193"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"4834"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"39\",\n            \"type\": \"expense\",\n            \"attributes\": {\n                \"description\": \"Phone Call\",\n                \"duration\": 0.1,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2022-12-26T16:19:51.917-08:00\",\n                \"completed_at\": \"2022-12-26T16:25:51.917-08:00\",\n                \"created_at\": \"2022-12-26T16:20:24.936-08:00\",\n                \"updated_at\": \"2022-12-26T16:23:49.489-08:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": true,\n                \"rate\": {\n                    \"cents\": 123000,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": {\n                        \"id\": \"101\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"invoice\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"37\",\n            \"type\": \"expense\",\n            \"attributes\": {\n                \"description\": null,\n                \"duration\": 0,\n                \"duration_rounded\": 0,\n                \"started_at\": \"2022-07-05T13:01:52.086-07:00\",\n                \"completed_at\": null,\n                \"created_at\": \"2022-07-05T13:01:52.089-07:00\",\n                \"updated_at\": \"2022-07-05T13:01:52.089-07:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 0,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"11\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"11\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": null\n                },\n                \"contactable\": {\n                    \"data\": null\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"36\",\n            \"type\": \"expense\",\n            \"attributes\": {\n                \"description\": null,\n                \"duration\": 0.004429444444444444,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2022-03-14T12:02:44.172-07:00\",\n                \"completed_at\": null,\n                \"created_at\": \"2022-03-14T12:02:44.355-07:00\",\n                \"updated_at\": \"2023-01-10T15:15:46.748-08:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 123000,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": null\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"16\",\n            \"type\": \"expense\",\n            \"attributes\": {\n                \"description\": null,\n                \"duration\": 0,\n                \"duration_rounded\": 0,\n                \"started_at\": \"2022-01-27T16:13:29.750-08:00\",\n                \"completed_at\": null,\n                \"created_at\": \"2022-01-27T16:13:29.752-08:00\",\n                \"updated_at\": \"2022-01-27T16:13:29.752-08:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 0,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": null\n                },\n                \"contactable\": {\n                    \"data\": null\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"11\",\n            \"type\": \"expense\",\n            \"attributes\": {\n                \"description\": null,\n                \"duration\": 0.006879166666666667,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2021-11-04T18:15:11.498-07:00\",\n                \"completed_at\": null,\n                \"created_at\": \"2021-11-04T18:15:11.500-07:00\",\n                \"updated_at\": \"2022-01-05T16:40:11.136-08:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 0,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": null\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"10\",\n            \"type\": \"expense\",\n            \"attributes\": {\n                \"description\": \"\",\n                \"duration\": 0,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2021-11-04T18:15:03.000-07:00\",\n                \"completed_at\": \"2021-11-04T18:15:11.299-07:00\",\n                \"created_at\": \"2021-11-04T18:15:03.154-07:00\",\n                \"updated_at\": \"2022-03-22T11:23:51.773-07:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 123123,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": {\n                        \"id\": \"19\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"9\",\n            \"type\": \"expense\",\n            \"attributes\": {\n                \"description\": \"\",\n                \"duration\": 0.003985277777777779,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2021-11-02T10:27:10.000-07:00\",\n                \"completed_at\": \"2021-11-04T18:15:03.033-07:00\",\n                \"created_at\": \"2021-11-02T10:27:10.168-07:00\",\n                \"updated_at\": \"2021-11-04T18:15:03.080-07:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 0,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": {\n                        \"id\": \"14\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"8\",\n            \"type\": \"expense\",\n            \"attributes\": {\n                \"description\": \"Test\",\n                \"duration\": 0.003545555555555556,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2021-10-26T16:32:57.000-07:00\",\n                \"completed_at\": \"2021-10-26T16:33:09.764-07:00\",\n                \"created_at\": \"2021-10-26T16:32:57.553-07:00\",\n                \"updated_at\": \"2022-12-26T16:22:52.245-08:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 0,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": {\n                        \"id\": \"101\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"invoice\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 8\n    },\n    \"links\": {\n        \"self\": \"/v1/expenses?page=1\"\n    }\n}"}],"_postman_id":"3613d444-f68a-45d3-a1fe-1021544c7c6a"},{"name":"Expense","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest({","   url: `${pm.environment.get('host')}/v1/expenses`,","   method: 'GET',","   header: {","       'Authorization': `Bearer ${pm.environment.get('access_token')}`,","   }","}, function (err, response) {","   pm.globals.set(\"expense_id\", response.json().data[0].id);","});",""],"type":"text/javascript","packages":{},"id":"6909b7fd-dfd0-4cda-9fc2-50359dcabcd9"}},{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"ace704a3-1eae-440c-a9b8-8e5c70472df0"}}],"id":"4cb17bc7-35a7-4822-ac30-341b69090df7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/expenses/:expense_id","description":"<p>A specific <strong>Time Entry</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","expenses",":expense_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"9c67060f-3392-45b7-aa6d-5d5ee8bc8ff7","type":"any","value":"{{expense_id}}","key":"expense_id"}]}},"response":[{"id":"31d8ade4-5880-427d-98a8-404c5bd4e545","name":"GET Expense","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/time_entries/:time_entry_id","host":["{{host}}"],"path":["v1","time_entries",":time_entry_id"],"variable":[{"key":"time_entry_id","value":"9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"4eb11c065cc6f7f39d0cb45261244238\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"83ef91f7-cd05-4f8f-90ae-161e16e3ddd1"},{"key":"X-Runtime","value":"0.069189"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"269"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"9\",\n        \"type\": \"time_entry\",\n        \"attributes\": {\n            \"description\": null,\n            \"duration\": 0,\n            \"is_billable\": true,\n            \"is_flat_fee\": false\n        },\n        \"relationships\": {\n            \"staff\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contactable\": {\n                \"data\": null\n            },\n            \"activity_type\": {\n                \"data\": null\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"}],"_postman_id":"4cb17bc7-35a7-4822-ac30-341b69090df7"},{"name":"Create Expense","event":[{"listen":"prerequest","script":{"id":"86668242-b5e2-4938-a1a4-c5475acb018d","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   pm.globals.set(\"user_id\", response.json().data[0].id);","});","pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"9cb5fab9-feb0-440d-b5b0-6cf0e369ab42","exec":[""],"type":"text/javascript","packages":{}}}],"id":"948d1723-9047-4a31-87e3-f591b1cac87c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","description":"<p>Boolean - Whenther hte expense is billable</p>\n","type":"text"},{"key":"contactable_type","value":"Matter","description":"<p>Matter | Contact | Prospect - record type associated with expense</p>\n","type":"text"},{"key":"contactable_id","value":"{{prospect_id}}","description":"<p>ID - id for record associated with the expense</p>\n","type":"text"},{"key":"cost_cents","value":"50000","description":"<p>Int - Amount in cents the Expense costs</p>\n","type":"text"},{"key":"description","value":"Research","description":"<p>String</p>\n","type":"text"},{"key":"billing_expense_type_id","value":"1","description":"<p>ID - id for associated Billing Expense Type</p>\n","type":"text","disabled":true},{"key":"created_by_id","value":"{{user_id}}","description":"<p>ID - id for User who created the expese</p>\n","type":"text"},{"key":"invoice_id","value":"125","description":"<p>ID - id for the invoice associated with the Expense</p>\n","type":"text","disabled":true},{"key":"user_id","value":"{{user_id}}","description":"<p>ID - id for User Associated with the expense</p>\n","type":"text"},{"key":"expensed_at","value":"03/14/2024","description":"<p>String | Int - ISO ISO8601 Date or Unix timestamp</p>\n","type":"text"}]},"url":"{{host}}/v1/expenses/","description":"<p>A specific <strong>Time Entry</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","expenses",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"963364e2-a7db-4f18-a059-546420d48bb2","name":"Create Expense","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","description":"Boolean - Whether or not the time was billable","type":"text"},{"key":"completed_at","value":"1709670661","description":"Int - Unix timestamp for when the Time Entry was completed","type":"text"},{"key":"contactable_type","value":"Matter","description":"Matter | Prospect | Contact type of record associated with the Time Entry ","type":"text"},{"key":"contactable_id","value":"12","description":"ID - id for the record associated with the Time Entry\n","type":"text"},{"key":"description","value":"Postage","description":"String","type":"text"},{"key":"duration","value":"61.0","description":"Float - Total time elapsed for the Time Entry","type":"text"},{"key":"rate_cents","value":"12000","description":"Int - Hourly rate in cents ","type":"text"},{"key":"rate_flat_fee","value":"","description":"Int - Rate in cents if Time Entry is a flat fee","type":"text","disabled":true},{"key":"show_flat_fee_duration","value":"false","description":"Boolean - whether to show the client the duration for the Time Entry","type":"text","disabled":true},{"key":"started_at","value":"1709560622","description":"Int - Unix Timestamp for when the Time Entry was started","type":"text"},{"key":"billing_activity_type_id","value":"1","description":"ID - Billing Activity Type associated with the Time Entry","type":"text"},{"key":"created_by_id","value":"1","description":"ID - id for the User who created the Time Entry","type":"text"},{"key":"invoice_id","value":"35","description":"ID - Invoice associated with the Time Entry","type":"text","disabled":true},{"key":"user_id","value":"2","description":"ID - id for the User who performed the Time Entry","type":"text"}]},"url":"{{host}}/v1/time_entries/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Content-Length","value":"344"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"9fd313ff72534f7b5a67a525d0593c50\""},{"key":"Ngrok-Trace-Id","value":"223cf8647e89ee44b97f68188659adda"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Vary","value":"Accept, Origin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Rack-Cors","value":"miss; no-origin"},{"key":"X-Request-Id","value":"9a52b6e6-79cf-4d58-b42a-5d2e7174804f"},{"key":"X-Runtime","value":"10.444937"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Date","value":"Thu, 07 Mar 2024 00:00:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"34\",\n        \"type\": \"expense\",\n        \"attributes\": {\n            \"description\": \"Postage\",\n            \"duration\": 61,\n            \"is_billable\": true,\n            \"is_flat_fee\": false\n        },\n        \"relationships\": {\n            \"staff\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contactable\": {\n                \"data\": {\n                    \"id\": \"12\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"activity_type\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"activity_type\"\n                }\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"}],"_postman_id":"948d1723-9047-4a31-87e3-f591b1cac87c"},{"name":"Update Expense","event":[{"listen":"prerequest","script":{"id":"8c8b5733-5284-4273-b0e1-a99593c9854e","exec":["pm.sendRequest({","   url: `${pm.environment.get('host')}/v1/expenses`,","   method: 'GET',","   header: {","       'Authorization': `Bearer ${pm.environment.get('access_token')}`,","   }","}, function (err, response) {","   pm.globals.set(\"expense_id\", response.json().data[0].id);","});"],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"cd06dce9-3abe-427e-8d26-e757dc1cfdca","exec":[""],"type":"text/javascript","packages":{}}}],"id":"8b7968af-c2c8-4856-8dc7-bcf92ffa58c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"false","description":"<p>Boolean - Whether or not the time was billable</p>\n","type":"text"},{"key":"description","value":"Updated Description","description":"<p>String</p>\n","type":"text"},{"key":"contactable_type","value":"Matter","type":"text"},{"key":"contactable_id","value":"{{prospect_id}}","type":"text"}]},"url":"{{host}}/v1/expenses/:expense_id","description":"<p>A specific <strong>Time Entry</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","expenses",":expense_id"],"host":["{{host}}"],"query":[],"variable":[{"type":"any","value":"{{expense_id}}","key":"expense_id"}]}},"response":[{"id":"30095794-42f2-4179-a90b-7a09db9e9533","name":"Update Expense","originalRequest":{"method":"PUT","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"description","value":"Research Hours Billed","description":"String","type":"text"},{"key":"duration","value":"200.0","description":"Float - Total time elapsed for the Time Entry","type":"text"},{"key":"id","value":"{{time_entry_id}}","type":"text"}]},"url":"{{host}}/v1/expenses/{{expense_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Content-Length","value":"320"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"675d78d95d36b2542d729a48015a2403\""},{"key":"Ngrok-Trace-Id","value":"26fd966a10d7c8700212abba87269978"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Vary","value":"Accept, Origin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Rack-Cors","value":"miss; no-origin"},{"key":"X-Request-Id","value":"7d6cc824-b8cd-4e58-8e3b-42b810714a19"},{"key":"X-Runtime","value":"0.027928"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Date","value":"Thu, 07 Mar 2024 00:15:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"35\",\n        \"type\": \"expense\",\n        \"attributes\": {\n            \"description\": \"Postage\",\n            \"duration\": 200,\n            \"is_billable\": false,\n            \"is_flat_fee\": true\n        },\n        \"relationships\": {\n            \"staff\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contactable\": {\n                \"data\": null\n            },\n            \"activity_type\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"activity_type\"\n                }\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"}],"_postman_id":"8b7968af-c2c8-4856-8dc7-bcf92ffa58c6"},{"name":"Expense","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"9af87fb7-632b-442d-b6ca-e6a80a5ba058"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest({","   url: `${pm.environment.get('host')}/v1/expenses`,","   method: 'GET',","   header: {","       'Authorization': `Bearer ${pm.environment.get('access_token')}`,","   }","}, function (err, response) {","   pm.globals.set(\"expense_id\", response.json().data.find(({relationships}) => relationships.invoice.data === null).id);","});"],"type":"text/javascript","packages":{},"id":"cf2c716a-b9f1-4e08-87b2-5479868a74fb"}}],"id":"3d3b79da-ba62-43bd-a397-5164afdac401","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/expenses/:expense_id","description":"<p>A specific <strong>Time Entry</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","expenses",":expense_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"6d72dba1-c007-47b1-9af2-546d13b5fbd3","type":"any","value":"{{expense_id}}","key":"expense_id"}]}},"response":[{"id":"7af59e08-605f-4d8b-a626-eaec973ebde8","name":"DELETE Expense","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/time_entries/:expense_id","host":["{{host}}"],"path":["v1","time_entries",":expense_id"],"variable":[{"key":"expense_id","value":"{{expense_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"4eb11c065cc6f7f39d0cb45261244238\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"07c9597b-7de1-46e9-b974-f4b1d34d7304"},{"key":"X-Runtime","value":"0.764959"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"269"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"9\",\n        \"type\": \"expense\",\n        \"attributes\": {\n            \"description\": null,\n            \"duration\": 0,\n            \"is_billable\": true,\n            \"is_flat_fee\": false\n        },\n        \"relationships\": {\n            \"staff\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contactable\": {\n                \"data\": null\n            },\n            \"activity_type\": {\n                \"data\": null\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"}],"_postman_id":"3d3b79da-ba62-43bd-a397-5164afdac401"}],"id":"2b928190-c580-45f1-97f7-8c15fc59049b","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7d279dcf-e521-4caa-9096-184aa24a8437"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"7fd2416b-c080-478d-a9fc-3877d97669ca"}}],"_postman_id":"2b928190-c580-45f1-97f7-8c15fc59049b","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Payment Time Entries","item":[{"name":"Time Entries","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"70e92f96-330f-4ad3-a5c5-accd530bf908"}}],"id":"aa029805-7330-463e-b555-18cce01d0ff6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":""}],"url":"{{host}}/v1/time_entries?fields=all","description":"<p>A <strong>paginated</strong> list of all <strong>Time Entries</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","time_entries"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"a26ec8b2-182c-4a73-a5be-2552a7c7fe6f","name":"GET Time Entries","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/time_entries?fields=all","host":["{{host}}"],"path":["v1","time_entries"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"4dadb10ef3f4b807466fa70e9df74426\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"6397f783-40e4-4152-a767-07d6132f3775"},{"key":"X-Runtime","value":"0.699193"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"4834"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"39\",\n            \"type\": \"time_entry\",\n            \"attributes\": {\n                \"description\": \"Phone Call\",\n                \"duration\": 0.1,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2022-12-26T16:19:51.917-08:00\",\n                \"completed_at\": \"2022-12-26T16:25:51.917-08:00\",\n                \"created_at\": \"2022-12-26T16:20:24.936-08:00\",\n                \"updated_at\": \"2022-12-26T16:23:49.489-08:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": true,\n                \"rate\": {\n                    \"cents\": 123000,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": {\n                        \"id\": \"101\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"invoice\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"37\",\n            \"type\": \"time_entry\",\n            \"attributes\": {\n                \"description\": null,\n                \"duration\": 0,\n                \"duration_rounded\": 0,\n                \"started_at\": \"2022-07-05T13:01:52.086-07:00\",\n                \"completed_at\": null,\n                \"created_at\": \"2022-07-05T13:01:52.089-07:00\",\n                \"updated_at\": \"2022-07-05T13:01:52.089-07:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 0,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"11\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"11\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": null\n                },\n                \"contactable\": {\n                    \"data\": null\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"36\",\n            \"type\": \"time_entry\",\n            \"attributes\": {\n                \"description\": null,\n                \"duration\": 0.004429444444444444,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2022-03-14T12:02:44.172-07:00\",\n                \"completed_at\": null,\n                \"created_at\": \"2022-03-14T12:02:44.355-07:00\",\n                \"updated_at\": \"2023-01-10T15:15:46.748-08:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 123000,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": null\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"16\",\n            \"type\": \"time_entry\",\n            \"attributes\": {\n                \"description\": null,\n                \"duration\": 0,\n                \"duration_rounded\": 0,\n                \"started_at\": \"2022-01-27T16:13:29.750-08:00\",\n                \"completed_at\": null,\n                \"created_at\": \"2022-01-27T16:13:29.752-08:00\",\n                \"updated_at\": \"2022-01-27T16:13:29.752-08:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 0,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": null\n                },\n                \"contactable\": {\n                    \"data\": null\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"11\",\n            \"type\": \"time_entry\",\n            \"attributes\": {\n                \"description\": null,\n                \"duration\": 0.006879166666666667,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2021-11-04T18:15:11.498-07:00\",\n                \"completed_at\": null,\n                \"created_at\": \"2021-11-04T18:15:11.500-07:00\",\n                \"updated_at\": \"2022-01-05T16:40:11.136-08:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 0,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": null\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"10\",\n            \"type\": \"time_entry\",\n            \"attributes\": {\n                \"description\": \"\",\n                \"duration\": 0,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2021-11-04T18:15:03.000-07:00\",\n                \"completed_at\": \"2021-11-04T18:15:11.299-07:00\",\n                \"created_at\": \"2021-11-04T18:15:03.154-07:00\",\n                \"updated_at\": \"2022-03-22T11:23:51.773-07:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 123123,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": {\n                        \"id\": \"19\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"9\",\n            \"type\": \"time_entry\",\n            \"attributes\": {\n                \"description\": \"\",\n                \"duration\": 0.003985277777777779,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2021-11-02T10:27:10.000-07:00\",\n                \"completed_at\": \"2021-11-04T18:15:03.033-07:00\",\n                \"created_at\": \"2021-11-02T10:27:10.168-07:00\",\n                \"updated_at\": \"2021-11-04T18:15:03.080-07:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 0,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": {\n                        \"id\": \"14\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"8\",\n            \"type\": \"time_entry\",\n            \"attributes\": {\n                \"description\": \"Test\",\n                \"duration\": 0.003545555555555556,\n                \"duration_rounded\": 0.1,\n                \"started_at\": \"2021-10-26T16:32:57.000-07:00\",\n                \"completed_at\": \"2021-10-26T16:33:09.764-07:00\",\n                \"created_at\": \"2021-10-26T16:32:57.553-07:00\",\n                \"updated_at\": \"2022-12-26T16:22:52.245-08:00\",\n                \"billable\": true,\n                \"rate_flat_fee\": false,\n                \"rate\": {\n                    \"cents\": 0,\n                    \"currency_iso\": \"USD\"\n                }\n            },\n            \"relationships\": {\n                \"user\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"created_by\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"activity_type\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"activity_type\"\n                    }\n                },\n                \"contactable\": {\n                    \"data\": {\n                        \"id\": \"101\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"invoice\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 8\n    },\n    \"links\": {\n        \"self\": \"/v1/time_entries?page=1\"\n    }\n}"}],"_postman_id":"aa029805-7330-463e-b555-18cce01d0ff6"},{"name":"Time Entry","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest({","   url: `${pm.environment.get('host')}/v1/time_entries`,","   method: 'GET',","   header: {","       'Authorization': `Bearer ${pm.environment.get('access_token')}`,","   }","}, function (err, response) {","   pm.globals.set(\"time_entry_id\", response.json().data[0].id);","});",""],"type":"text/javascript","id":"69f513e2-3df7-4e28-89c0-6fe226a846ae"}},{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"4a5b9c3c-06d9-43fc-87df-d7d59e07fa2e"}}],"id":"cd57fcc1-08a1-4926-8c47-1ebdcfe727a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/time_entries/:time_entry_id","description":"<p>A specific <strong>Time Entry</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","time_entries",":time_entry_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"fcdd8250-b496-43f0-9aa2-2b35d6208d3f","type":"any","value":"{{time_entry_id}}","key":"time_entry_id"}]}},"response":[{"id":"46a3d534-c059-4090-9fff-89d5e668bd76","name":"GET Time Entry","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/time_entries/:time_entry_id","host":["{{host}}"],"path":["v1","time_entries",":time_entry_id"],"variable":[{"key":"time_entry_id","value":"{{time_entry_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"4eb11c065cc6f7f39d0cb45261244238\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"83ef91f7-cd05-4f8f-90ae-161e16e3ddd1"},{"key":"X-Runtime","value":"0.069189"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"269"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"9\",\n        \"type\": \"time_entry\",\n        \"attributes\": {\n            \"description\": null,\n            \"duration\": 0,\n            \"is_billable\": true,\n            \"is_flat_fee\": false\n        },\n        \"relationships\": {\n            \"staff\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contactable\": {\n                \"data\": null\n            },\n            \"activity_type\": {\n                \"data\": null\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"}],"_postman_id":"cd57fcc1-08a1-4926-8c47-1ebdcfe727a7"},{"name":"Create Time Entry","event":[{"listen":"prerequest","script":{"id":"f1e97a19-f645-4af7-acf3-79aeac830ee4","exec":["pm.sendRequest({","   url: `${pm.environment.get('host')}/v1/users`,","   method: 'GET',","   header: {","       'Authorization': `Bearer ${pm.environment.get('access_token')}`,","   }","}, function (err, response) {","    pm.globals.set(\"user_id\", response.json().data[0].id);","});","pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"1962aa85-c793-4280-80e0-c97cafd6ffb5","exec":[""],"type":"text/javascript","packages":{}}}],"id":"0698ca0e-e4a8-45d2-be38-f5f1f541404f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","description":"<p>Boolean - Whether or not the time was billable</p>\n","type":"text"},{"key":"completed_at","value":"1709670661","description":"<p>String | Int - ISO ISO8601 Date or Unix Timestamp for when the Time Entry was completed. Note: only completed time entries (i.e. when completed_at is not null) can be added to invoices. Incomplete time entries can only be seen in the app's timer</p>\n","type":"text"},{"key":"contactable_type","value":"Matter","description":"<p>Matter | Prospect | Contact type of record associated with the Time Entry </p>\n","type":"text"},{"key":"contactable_id","value":"{{prospect_id}}","description":"<p>ID - id for the record associated with the Time Entry</p>\n","type":"text"},{"key":"description","value":"Research Hours Billed","description":"<p>String</p>\n","type":"text"},{"key":"duration","value":"61.0","description":"<p>Float - Total time elapsed for the Time Entry</p>\n","type":"text"},{"key":"rate_cents","value":"12000","description":"<p>Int - Hourly rate in cents </p>\n","type":"text"},{"key":"rate_flat_fee","value":"","description":"<p>Boolean - whether Time Entry is a flat fee. Note completed_at is automatically set for flat fee items, if not given</p>\n","type":"text","disabled":true},{"key":"show_flat_fee_duration","value":"false","description":"<p>Boolean - whether to show the client the duration for the Time Entry</p>\n","type":"text","disabled":true},{"key":"started_at","value":"1709560622","description":"<p>String | Int - ISO ISO8601 Date or Unix Timestamp</p>\n","type":"text"},{"key":"billing_activity_type_id","value":"1","description":"<p>ID - Billing Activity Type associated with the Time Entry</p>\n","type":"text","disabled":true},{"key":"created_by_id","value":"{{user_id}}","description":"<p>ID - id for the User who created the Time Entry</p>\n","type":"text"},{"key":"invoice_id","value":"35","description":"<p>ID - Invoice associated with the Time Entry</p>\n","type":"text","disabled":true},{"key":"user_id","value":"{{user_id}}","description":"<p>ID - id for the User who performed the Time Entry</p>\n","type":"text"}]},"url":"{{host}}/v1/time_entries/","description":"<p>A specific <strong>Time Entry</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","time_entries",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"2f411e6f-455b-488d-ad6c-54ff8ca83415","name":"Create Time Entry","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","description":"Boolean - Whether or not the time was billable","type":"text"},{"key":"completed_at","value":"1709670661","description":"String | Int - ISO ISO8601 Date or Unix Timestamp for when the Time Entry was completed. Note: only completed time entries (i.e. when completed_at is not null) can be added to invoices. Incomplete time entries can only be seen in the app's timer","type":"text"},{"key":"contactable_type","value":"Matter","description":"Matter | Prospect | Contact type of record associated with the Time Entry ","type":"text"},{"key":"contactable_id","value":"12","description":"ID - id for the record associated with the Time Entry\n","type":"text"},{"key":"description","value":"Research Hours Billed","description":"String","type":"text"},{"key":"duration","value":"61.0","description":"Float - Total time elapsed for the Time Entry","type":"text"},{"key":"rate_cents","value":"12000","description":"Int - Hourly rate in cents ","type":"text"},{"key":"rate_flat_fee","value":"","description":"Boolean - whether Time Entry is a flat fee. Note completed_at is automatically set for flat fee items, if not given","type":"text","disabled":true},{"key":"show_flat_fee_duration","value":"false","description":"Boolean - whether to show the client the duration for the Time Entry","type":"text","disabled":true},{"key":"started_at","value":"1709560622","description":"Int - Unix Timestamp for when the Time Entry was started","type":"text"},{"key":"billing_activity_type_id","value":"1","description":"ID - Billing Activity Type associated with the Time Entry","type":"text"},{"key":"created_by_id","value":"1","description":"ID - id for the User who created the Time Entry","type":"text"},{"key":"invoice_id","value":"35","description":"ID - Invoice associated with the Time Entry","type":"text","disabled":true},{"key":"user_id","value":"2","description":"ID - id for the User who performed the Time Entry","type":"text"}]},"url":"{{host}}/v1/time_entries/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Content-Length","value":"344"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"9fd313ff72534f7b5a67a525d0593c50\""},{"key":"Ngrok-Trace-Id","value":"223cf8647e89ee44b97f68188659adda"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Vary","value":"Accept, Origin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Rack-Cors","value":"miss; no-origin"},{"key":"X-Request-Id","value":"9a52b6e6-79cf-4d58-b42a-5d2e7174804f"},{"key":"X-Runtime","value":"10.444937"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Date","value":"Thu, 07 Mar 2024 00:00:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"34\",\n        \"type\": \"time_entry\",\n        \"attributes\": {\n            \"description\": \"Research Hours Billed\",\n            \"duration\": 61,\n            \"is_billable\": true,\n            \"is_flat_fee\": false\n        },\n        \"relationships\": {\n            \"staff\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contactable\": {\n                \"data\": {\n                    \"id\": \"12\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"activity_type\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"activity_type\"\n                }\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"},{"id":"a591ee04-4aaf-46c5-9623-8a1f32cf6c04","name":"Create Flat Fee Time Entry","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","description":"Boolean - Whether or not the time was billable","type":"text"},{"key":"completed_at","value":"1709670661","description":"String | Int - ISO ISO8601 Date or Unix Timestamp for when the Time Entry was completed. Note: only completed time entries (i.e. when completed_at is not null) can be added to invoices. Incomplete time entries can only be seen in the app's timer","type":"text"},{"key":"contactable_type","value":"Matter","description":"Matter | Prospect | Contact type of record associated with the Time Entry ","type":"text"},{"key":"contactable_id","value":"12","description":"ID - id for the record associated with the Time Entry\n","type":"text"},{"key":"description","value":"Research Hours Billed","description":"String","type":"text"},{"key":"duration","value":"61.0","description":"Float - Total time elapsed for the Time Entry","type":"text"},{"key":"rate_cents","value":"12000","description":"Int - Hourly rate in cents ","type":"text"},{"key":"rate_flat_fee","value":"","description":"Boolean - whether Time Entry is a flat fee. Note completed_at is automatically set for flat fee items, if not given","type":"text","disabled":true},{"key":"show_flat_fee_duration","value":"false","description":"Boolean - whether to show the client the duration for the Time Entry","type":"text","disabled":true},{"key":"started_at","value":"1709560622","description":"Int - Unix Timestamp for when the Time Entry was started","type":"text"},{"key":"billing_activity_type_id","value":"1","description":"ID - Billing Activity Type associated with the Time Entry","type":"text"},{"key":"created_by_id","value":"1","description":"ID - id for the User who created the Time Entry","type":"text"},{"key":"invoice_id","value":"35","description":"ID - Invoice associated with the Time Entry","type":"text","disabled":true},{"key":"user_id","value":"2","description":"ID - id for the User who performed the Time Entry","type":"text"}]},"url":"{{host}}/v1/time_entries/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Content-Length","value":"344"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"9fd313ff72534f7b5a67a525d0593c50\""},{"key":"Ngrok-Trace-Id","value":"223cf8647e89ee44b97f68188659adda"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Vary","value":"Accept, Origin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Rack-Cors","value":"miss; no-origin"},{"key":"X-Request-Id","value":"9a52b6e6-79cf-4d58-b42a-5d2e7174804f"},{"key":"X-Runtime","value":"10.444937"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Date","value":"Thu, 07 Mar 2024 00:00:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"34\",\n        \"type\": \"time_entry\",\n        \"attributes\": {\n            \"description\": \"Research Hours Billed\",\n            \"duration\": 61,\n            \"is_billable\": true,\n            \"is_flat_fee\": false\n        },\n        \"relationships\": {\n            \"staff\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contactable\": {\n                \"data\": {\n                    \"id\": \"12\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"activity_type\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"activity_type\"\n                }\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"},{"id":"89bba348-b3a1-431a-9e49-2636e1f0fb90","name":"Create Time Entry For Invoice","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","description":"Boolean - Whether or not the time was billable","type":"text"},{"key":"completed_at","value":"1709670661","description":"Int - Unix timestamp for when the Time Entry was completed","type":"text"},{"key":"contactable_type","value":"Matter","description":"Matter | Prospect | Contact type of record associated with the Time Entry ","type":"text"},{"key":"contactable_id","value":"12","description":"ID - id for the record associated with the Time Entry\n","type":"text"},{"key":"description","value":"Research Hours Billed","description":"String","type":"text"},{"key":"duration","value":"61.0","description":"Float - Total time elapsed for the Time Entry","type":"text"},{"key":"rate_cents","value":"12000","description":"Int - Hourly rate in cents","type":"text"},{"key":"started_at","value":"1709560622","description":"Int - Unix Timestamp for when the Time Entry was started","type":"text"},{"key":"billing_activity_type_id","value":"1","description":"ID - Billing Activity Type associated with the Time Entry","type":"text"},{"key":"created_by_id","value":"1","description":"ID - id for the User who created the Time Entry","type":"text"},{"key":"invoice_id","value":"{{invoice_id}}","description":"ID - Invoice associated with the Time Entry","type":"text"},{"key":"user_id","value":"2","description":"ID - id for the User who performed the Time Entry","type":"text"}]},"url":"{{host}}/v1/time_entries/"},"status":"OK","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Content-Length","value":"344"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"9fd313ff72534f7b5a67a525d0593c50\""},{"key":"Ngrok-Trace-Id","value":"223cf8647e89ee44b97f68188659adda"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Vary","value":"Accept, Origin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Rack-Cors","value":"miss; no-origin"},{"key":"X-Request-Id","value":"9a52b6e6-79cf-4d58-b42a-5d2e7174804f"},{"key":"X-Runtime","value":"10.444937"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Date","value":"Thu, 07 Mar 2024 00:00:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"34\",\n        \"type\": \"time_entry\",\n        \"attributes\": {\n            \"description\": \"Research Hours Billed\",\n            \"duration\": 61,\n            \"is_billable\": true,\n            \"is_flat_fee\": false\n        },\n        \"relationships\": {\n            \"staff\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contactable\": {\n                \"data\": {\n                    \"id\": \"12\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"activity_type\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"activity_type\"\n                }\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"}],"_postman_id":"0698ca0e-e4a8-45d2-be38-f5f1f541404f"},{"name":"Update Time Entry","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest({","   url: `${pm.environment.get('host')}/v1/time_entries`,","   method: 'GET',","   header: {","       'Authorization': `Bearer ${pm.environment.get('access_token')}`,","   }","}, function (err, response) {","   pm.globals.set(\"time_entry_id\", response.json().data[0].id);","});"],"type":"text/javascript","packages":{},"id":"36c43f6b-0ced-4d0d-b334-c4bc2198a125"}},{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"83edfe52-6dd7-40ee-ae7f-8d6b6eefe143"}}],"id":"7cb1f9bc-cb3b-40be-8123-0a93d5426cb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"false","description":"<p>Boolean - Whether or not the time was billable</p>\n","type":"text"},{"key":"completed_at","value":"1709670661","description":"<p>Int - Unix timestamp for when the Time Entry was completed</p>\n","type":"text","disabled":true},{"key":"contactable_type","value":"Matter","description":"<p>Matter | Prospect | Contact type of record associated with the Time Entry </p>\n","type":"text","disabled":true},{"key":"contactable_id","value":"12","description":"<p>ID - id for the record associated with the Time Entry</p>\n","type":"text","disabled":true},{"key":"description","value":"Updated Description","description":"<p>String</p>\n","type":"text"},{"key":"duration","value":"61.0","description":"<p>Float - Total time elapsed for the Time Entry</p>\n","type":"text","disabled":true},{"key":"rate_cents","value":"12000","description":"<p>Int - Hourly rate in cents </p>\n","type":"text","disabled":true},{"key":"rate_flat_fee","value":"","description":"<p>Int - Rate in cents if Time Entry is a flat fee</p>\n","type":"text","disabled":true},{"key":"show_flat_fee_duration","value":"false","description":"<p>Boolean - whether to show the client the duration for the Time Entry</p>\n","type":"text","disabled":true},{"key":"started_at","value":"1709560622","description":"<p>Int - Unix Timestamp for when the Time Entry was started</p>\n","type":"text","disabled":true},{"key":"billing_activity_type_id","value":"1","description":"<p>ID - Billing Activity Type associated with the Time Entry</p>\n","type":"text","disabled":true},{"key":"created_by_id","value":"1","description":"<p>ID - id for the User who created the Time Entry</p>\n","type":"text","disabled":true},{"key":"invoice_id","value":"35","description":"<p>ID - Invoice associated with the Time Entry</p>\n","type":"text","disabled":true},{"key":"user_id","value":"2","description":"<p>ID - id for the User who performed the Time Entry</p>\n","type":"text","disabled":true}]},"url":"{{host}}/v1/time_entries/{{time_entry_id}}","description":"<p>A specific <strong>Time Entry</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","time_entries","{{time_entry_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d428da3e-6777-4203-98f6-60f649cba3e1","name":"Update Time Entry","originalRequest":{"method":"PUT","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"description","value":"Research Hours Billed","description":"String","type":"text"},{"key":"duration","value":"200.0","description":"Float - Total time elapsed for the Time Entry","type":"text"},{"key":"id","value":"{{time_entry_id}}","type":"text"}]},"url":"{{host}}/v1/time_entries/{{time_entry_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Content-Length","value":"320"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"675d78d95d36b2542d729a48015a2403\""},{"key":"Ngrok-Trace-Id","value":"26fd966a10d7c8700212abba87269978"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Vary","value":"Accept, Origin"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Rack-Cors","value":"miss; no-origin"},{"key":"X-Request-Id","value":"7d6cc824-b8cd-4e58-8e3b-42b810714a19"},{"key":"X-Runtime","value":"0.027928"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"Date","value":"Thu, 07 Mar 2024 00:15:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"35\",\n        \"type\": \"time_entry\",\n        \"attributes\": {\n            \"description\": \"Research Hours Billed\",\n            \"duration\": 200,\n            \"is_billable\": false,\n            \"is_flat_fee\": true\n        },\n        \"relationships\": {\n            \"staff\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contactable\": {\n                \"data\": null\n            },\n            \"activity_type\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"activity_type\"\n                }\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"}],"_postman_id":"7cb1f9bc-cb3b-40be-8123-0a93d5426cb1"},{"name":"Time Entry","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"3b860608-d337-4557-88b3-9fac440b3c54"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/time_entries?fields=invoice`, function (err, response) {","    // Delete uninvoiced time entry","   pm.globals.set(\"time_entry_id\", response.json().data.find(({relationships}) => relationships.invoice.data === null).id);","});"],"type":"text/javascript","id":"a5bfb478-c859-4a1a-937d-d93e9245a4df"}}],"id":"897af6c1-b3d6-4fbd-9f66-b3cc055543ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/time_entries/:time_entry_id","description":"<p>A specific <strong>Time Entry</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","time_entries",":time_entry_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"1822bf0a-4717-4df7-a0f1-80bd09cb5e87","type":"any","value":"{{time_entry_id}}","key":"time_entry_id"}]}},"response":[{"id":"283502a0-a293-47cf-9612-45734338702f","name":"DELETE Time Entry","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/time_entries/:time_entry_id","host":["{{host}}"],"path":["v1","time_entries",":time_entry_id"],"variable":[{"key":"time_entry_id","value":"9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"ETag","value":"W/\"4eb11c065cc6f7f39d0cb45261244238\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"07c9597b-7de1-46e9-b974-f4b1d34d7304"},{"key":"X-Runtime","value":"0.764959"},{"key":"vary","value":"Accept, Origin"},{"key":"x-rack-cors","value":"miss; no-origin"},{"key":"Content-Length","value":"269"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"9\",\n        \"type\": \"time_entry\",\n        \"attributes\": {\n            \"description\": null,\n            \"duration\": 0,\n            \"is_billable\": true,\n            \"is_flat_fee\": false\n        },\n        \"relationships\": {\n            \"staff\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contactable\": {\n                \"data\": null\n            },\n            \"activity_type\": {\n                \"data\": null\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"}],"_postman_id":"897af6c1-b3d6-4fbd-9f66-b3cc055543ca"}],"id":"ab4e689c-6e16-4b09-902c-32ba0df58b68","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"1e1db62e-a229-4a5f-bc28-941dd608159d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"3fff0222-83f9-49f9-9d5d-aa27a1939c31"}}],"_postman_id":"ab4e689c-6e16-4b09-902c-32ba0df58b68","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Payment Transactions","item":[{"name":"Transaction","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"9c90a7e9-2172-4692-b8d1-a699462478f2"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/transactions`, function (err, response) {","   pm.globals.set(\"transaction_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"cad54b22-2d04-443a-80cd-7a953900d9cd"}}],"id":"5ad42bcc-6e0f-4344-9e8f-efce05acd2f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/transactions/:transaction_id","description":"<p>A specific <strong>Transaction</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","transactions",":transaction_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"21f51ef4-61e0-48dc-a1d5-215258f70288","type":"any","value":"{{transaction_id}}","key":"transaction_id"}]}},"response":[{"id":"0e7cc136-86d7-4849-98cf-39847292bd09","name":"GET Transaction","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/transactions/1?fields=all","host":["{{host}}"],"path":["v1","transactions","1"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"9ab6babc6ca237006ff4a3c845070117\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"008e7496-ece0-43db-a894-0fd85568e617"},{"key":"X-Runtime","value":"0.116451"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"type\": \"transaction\",\n        \"attributes\": {\n            \"account_type\": \"Contact\",\n            \"bank_account_type\": \"trust\",\n            \"payment_method\": \"venmo\",\n            \"transaction_type\": \"credit\",\n            \"amount_cents\": 12323,\n            \"amount_currency\": \"USD\",\n            \"account_id\": 101,\n            \"created_by_id\": 5,\n            \"firm_id\": 2,\n            \"external_id\": null,\n            \"invoice_id\": null,\n            \"prospect_id\": 101,\n            \"created_at\": \"2021-12-26T14:52:44.808-08:00\",\n            \"updated_at\": \"2021-12-26T14:52:44.808-08:00\",\n            \"note\": \"Such a goo payment\"\n        },\n        \"relationships\": {\n            \"account\": {\n                \"data\": {\n                    \"id\": \"101\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"prospect\": {\n                \"data\": {\n                    \"id\": \"101\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"invoice\": {\n                \"data\": null\n            }\n        }\n    }\n}"}],"_postman_id":"5ad42bcc-6e0f-4344-9e8f-efce05acd2f0"},{"name":"Transactions","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"9667a5e3-559a-4aa7-9bb1-a0b2e0cd37b7"}}],"id":"ac0a9018-1957-4c64-8a7a-25cbd41ccd5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/transactions?fields=all","description":"<p>A <strong>paginated</strong> list of all <strong>Transactions</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","transactions"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"6bb66776-5db4-46ed-a42f-f57d97c91d74","name":"GET Transactions","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/transactions?fields=all","host":["{{host}}"],"path":["v1","transactions"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"583936222e944de5dde1006f10b8dce9\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"fa31ce2d-89be-4cf0-ae99-9bc49b7d3f6d"},{"key":"X-Runtime","value":"0.165715"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"6\",\n            \"type\": \"transaction\",\n            \"attributes\": {\n                \"account_type\": \"Contact\",\n                \"bank_account_type\": \"trust\",\n                \"payment_method\": \"other\",\n                \"transaction_type\": \"credit\",\n                \"amount_cents\": 12300,\n                \"amount_currency\": \"USD\",\n                \"account_id\": 3,\n                \"created_by_id\": 5,\n                \"firm_id\": 2,\n                \"external_id\": null,\n                \"invoice_id\": null,\n                \"prospect_id\": null,\n                \"created_at\": \"2022-04-21T00:17:38.437-07:00\",\n                \"updated_at\": \"2022-04-21T00:17:38.437-07:00\",\n                \"note\": \"asdasd\"\n            },\n            \"relationships\": {\n                \"account\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"prospect\": {\n                    \"data\": null\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"5\",\n            \"type\": \"transaction\",\n            \"attributes\": {\n                \"account_type\": \"Contact\",\n                \"bank_account_type\": \"trust\",\n                \"payment_method\": \"credit_card\",\n                \"transaction_type\": \"credit\",\n                \"amount_cents\": 1230,\n                \"amount_currency\": \"USD\",\n                \"account_id\": 3,\n                \"created_by_id\": 5,\n                \"firm_id\": 2,\n                \"external_id\": null,\n                \"invoice_id\": null,\n                \"prospect_id\": 3,\n                \"created_at\": \"2022-04-20T22:37:22.982-07:00\",\n                \"updated_at\": \"2022-04-20T22:37:22.982-07:00\",\n                \"note\": \"asdasdas\"\n            },\n            \"relationships\": {\n                \"account\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"prospect\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"4\",\n            \"type\": \"transaction\",\n            \"attributes\": {\n                \"account_type\": \"Contact\",\n                \"bank_account_type\": \"trust\",\n                \"payment_method\": \"credit_card\",\n                \"transaction_type\": \"credit\",\n                \"amount_cents\": 1230,\n                \"amount_currency\": \"USD\",\n                \"account_id\": 9,\n                \"created_by_id\": 5,\n                \"firm_id\": 2,\n                \"external_id\": null,\n                \"invoice_id\": null,\n                \"prospect_id\": null,\n                \"created_at\": \"2022-04-20T16:47:22.562-07:00\",\n                \"updated_at\": \"2022-04-20T16:47:22.562-07:00\",\n                \"note\": \"asdasdasd\"\n            },\n            \"relationships\": {\n                \"account\": {\n                    \"data\": {\n                        \"id\": \"9\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"prospect\": {\n                    \"data\": null\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"transaction\",\n            \"attributes\": {\n                \"account_type\": \"Contact\",\n                \"bank_account_type\": \"trust\",\n                \"payment_method\": \"credit_card\",\n                \"transaction_type\": \"credit\",\n                \"amount_cents\": 12300,\n                \"amount_currency\": \"USD\",\n                \"account_id\": 3,\n                \"created_by_id\": 5,\n                \"firm_id\": 2,\n                \"external_id\": null,\n                \"invoice_id\": null,\n                \"prospect_id\": 3,\n                \"created_at\": \"2022-04-20T16:47:07.893-07:00\",\n                \"updated_at\": \"2022-04-20T16:47:07.893-07:00\",\n                \"note\": \"test\"\n            },\n            \"relationships\": {\n                \"account\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"prospect\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"transaction\",\n            \"attributes\": {\n                \"account_type\": \"Contact\",\n                \"bank_account_type\": \"trust\",\n                \"payment_method\": \"credit_card\",\n                \"transaction_type\": \"credit\",\n                \"amount_cents\": 123123,\n                \"amount_currency\": \"USD\",\n                \"account_id\": 101,\n                \"created_by_id\": 5,\n                \"firm_id\": 2,\n                \"external_id\": null,\n                \"invoice_id\": null,\n                \"prospect_id\": 101,\n                \"created_at\": \"2022-01-10T20:05:03.839-08:00\",\n                \"updated_at\": \"2022-01-10T20:05:03.839-08:00\",\n                \"note\": \"Tester\"\n            },\n            \"relationships\": {\n                \"account\": {\n                    \"data\": {\n                        \"id\": \"101\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"prospect\": {\n                    \"data\": {\n                        \"id\": \"101\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"transaction\",\n            \"attributes\": {\n                \"account_type\": \"Contact\",\n                \"bank_account_type\": \"trust\",\n                \"payment_method\": \"venmo\",\n                \"transaction_type\": \"credit\",\n                \"amount_cents\": 12323,\n                \"amount_currency\": \"USD\",\n                \"account_id\": 101,\n                \"created_by_id\": 5,\n                \"firm_id\": 2,\n                \"external_id\": null,\n                \"invoice_id\": null,\n                \"prospect_id\": 101,\n                \"created_at\": \"2021-12-26T14:52:44.808-08:00\",\n                \"updated_at\": \"2021-12-26T14:52:44.808-08:00\",\n                \"note\": \"Such a goo payment\"\n            },\n            \"relationships\": {\n                \"account\": {\n                    \"data\": {\n                        \"id\": \"101\",\n                        \"type\": \"contact\"\n                    }\n                },\n                \"prospect\": {\n                    \"data\": {\n                        \"id\": \"101\",\n                        \"type\": \"prospect\"\n                    }\n                },\n                \"invoice\": {\n                    \"data\": null\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 6\n    },\n    \"links\": {\n        \"self\": \"/v1/transactions?page=1\"\n    }\n}"}],"_postman_id":"ac0a9018-1957-4c64-8a7a-25cbd41ccd5d"},{"name":"Create Transaction","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"398a87c6-f8c1-48f6-942f-721c558ba50c"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/invoices`, function (err, response) {","   pm.globals.set(\"invoice_id\", response.json().data.find(invoice => invoice.attributes.outstanding_amount_cents > 0).id)","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"7542349e-cb87-4b00-92f0-58db27291647"}}],"id":"9ea9734e-4cd7-4d33-9af5-e03066f6f7fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invoice_number\": {{invoice_id}},\n    \"transaction_type\" : \"credit\",\n    \"bank_account_type\": \"operating\",\n    \"payment_method\": \"credit_card\",\n    \"executed_at\": \"2022-04-19 12:00:00.000\",\n    \"amount_cents\": 5000,\n    \"note\": \"\",\n    \"transactable_id\": {{prospect_id}},\n    \"transactable_type\": \"Prospect\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/transactions?fields=all","description":"<p>Create a new Transaction</p>\n<p><strong>Optional Fields</strong>: invoice_number, invoice_id, note  </p>\n<p><strong>invoice_number or invoice_id:</strong> only one should be specified</p>\n<p><strong>transactable</strong>: Prospect, Contact, Company with which to associate the transaction</p>\n<p><strong>transaction_type</strong>: debit or credit</p>\n<p><strong>bank_account_type</strong>: operating or trust</p>\n<p><strong>payment_method</strong>: credit_card, check, cash, paypal, venmo, trust_payment, debit_card, ach, or other</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","transactions"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"12b78bf6-5698-488e-b782-7842891bc7ec","name":"POST Create Refund Transaction","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invoice_number\": 1,\n    \"transaction_type\" : \"debit\",\n    \"bank_account_type\": \"operating\",\n    \"payment_method\": \"credit_card\",\n    \"executed_at\": \"2022-04-19 12:00:00.000\",\n    \"amount_cents\": 5000,\n    \"note\": \"\",\n    \"transactable_id\": 113,\n    \"transactable_type\": \"Prospect\",\n    \"refunded_transaction_id\": 30\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/transactions?fields=all","host":["{{host}}"],"path":["v1","transactions"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"cff04c250b91d9a8ae2cf90e671d2ca2\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"f6999c91-198c-4ee0-8865-6d074eaf59ee"},{"key":"X-Runtime","value":"5.897455"},{"key":"Content-Length","value":"666"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"38\",\n        \"type\": \"transaction\",\n        \"attributes\": {\n            \"account_type\": \"Contact\",\n            \"bank_account_type\": \"operating\",\n            \"payment_method\": \"invoice_refund\",\n            \"transaction_type\": \"debit\",\n            \"amount_cents\": 5000,\n            \"amount_currency\": \"USD\",\n            \"account_id\": 112,\n            \"external_id\": null,\n            \"created_at\": \"2022-12-27T13:15:25.890-08:00\",\n            \"updated_at\": \"2022-12-27T13:15:25.890-08:00\",\n            \"note\": \"\"\n        },\n        \"relationships\": {\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"5\",\n                    \"type\": \"user\"\n                }\n            },\n            \"account\": {\n                \"data\": {\n                    \"id\": \"112\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"prospect\": {\n                \"data\": {\n                    \"id\": \"113\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"invoice\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"invoice\"\n                }\n            },\n            \"trust_fund_request\": {\n                \"data\": null\n            },\n            \"refunded_transaction\": {\n                \"data\": {\n                    \"id\": \"30\",\n                    \"type\": \"transaction\"\n                }\n            }\n        }\n    }\n}"},{"id":"75670f3b-9d25-4b19-9b23-826970a7223d","name":"POST Create Transaction","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"invoice_number\": 1,\n    \"transaction_type\" : \"credit\",\n    \"bank_account_type\": \"operating\",\n    \"payment_method\": \"credit_card\",\n    \"executed_at\": \"2022-04-19 12:00:00.000\",\n    \"amount_cents\": 5000,\n    \"note\": \"\",\n    \"transactable_id\": 113,\n    \"transactable_type\": \"Prospect\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/transactions?fields=all","host":["{{host}}"],"path":["v1","transactions"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"3581b6804347f12ac78945138e5e3637\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"7f099c1e-2ccf-4f30-b794-a7f78b7f309b"},{"key":"X-Runtime","value":"6.980391"},{"key":"Content-Length","value":"599"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"36\",\n        \"type\": \"transaction\",\n        \"attributes\": {\n            \"account_type\": \"Contact\",\n            \"bank_account_type\": \"operating\",\n            \"payment_method\": \"credit_card\",\n            \"transaction_type\": \"credit\",\n            \"amount_cents\": 5000,\n            \"amount_currency\": \"USD\",\n            \"account_id\": 112,\n            \"external_id\": null,\n            \"created_at\": \"2022-12-27T13:09:52.790-08:00\",\n            \"updated_at\": \"2022-12-27T13:09:52.790-08:00\",\n            \"note\": \"\"\n        },\n        \"relationships\": {\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"5\",\n                    \"type\": \"user\"\n                }\n            },\n            \"account\": {\n                \"data\": {\n                    \"id\": \"112\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"prospect\": {\n                \"data\": {\n                    \"id\": \"113\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"invoice\": {\n                \"data\": {\n                    \"id\": \"1\",\n                    \"type\": \"invoice\"\n                }\n            },\n            \"trust_fund_request\": {\n                \"data\": null\n            }\n        }\n    }\n}"}],"_postman_id":"9ea9734e-4cd7-4d33-9af5-e03066f6f7fb"}],"id":"f2fffcdd-7519-4112-abcd-b395ca742b83","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7be849d8-08a4-400e-9213-6ca32898bfce"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a877a2de-54c9-449c-ba29-4b0cb9dd1bb9"}}],"_postman_id":"f2fffcdd-7519-4112-abcd-b395ca742b83","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Phone Numbers","item":[{"name":"Phone Number","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"f0a70448-c693-468b-aa19-064a7f410a0f"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/phone_numbers`, function (err, response) {","   pm.globals.set(\"phone_number_id\", response.json().data[0].id);","});","pm.globals.get(\"variable_key\");"],"type":"text/javascript","packages":{},"id":"8c4262f6-fc5e-469e-b246-ce7f3ebf2e1a"}}],"id":"ae979693-de0c-4431-9c1f-6a31fa467b68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/phone_numbers/:phone_number_id","description":"<p>A specific <strong>Phone Number</strong> by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","phone_numbers",":phone_number_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"27a4f253-d037-4c02-a597-6d6fd5d6cbba","type":"any","value":"{{phone_number_id}}","key":"phone_number_id"}]}},"response":[{"id":"e0f6fc5a-9aee-4a74-96c3-382b0ed6a330","name":"GET Phone Number","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/phone_numbers/:phone_number_id","host":["{{host}}"],"path":["v1","phone_numbers",":phone_number_id"],"variable":[{"key":"phone_number_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"023420c04dcd3571464273ca50735bf3\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"b0a05a6a-501e-42a7-8913-85ba28f4962e"},{"key":"X-Runtime","value":"0.035958"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"514\",\n        \"type\": \"phone_number\",\n        \"attributes\": {\n            \"label\": \"Primary\",\n            \"info\": \"9989888888\"\n        },\n        \"relationships\": {\n            \"informationable\": {\n                \"data\": {\n                    \"id\": \"520\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"ae979693-de0c-4431-9c1f-6a31fa467b68"},{"name":"Phone Numbers","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"0d411044-8afe-437c-bfe9-47fe79003a66"}}],"id":"5589fe71-c985-4af5-85e8-dde07833bdaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/phone_numbers","description":"<p>A <strong>paginated</strong> list of all <strong>Phone Numbers</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","phone_numbers"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ab8105d8-f8ee-4d0f-8209-40db456ae377","name":"GET Phone Numbers","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/phone_numbers?fields=all","host":["{{host}}"],"path":["v1","phone_numbers"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"0a0f4ad0870405d6fe1372cb5833b19d\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"5518c191-a0f5-4017-b5f1-feda9343b800"},{"key":"X-Runtime","value":"0.077484"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"514\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"9989888888\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"520\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"512\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"9989888888\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"519\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"503\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Home\",\n                \"info\": \"916-234-5677\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"58\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"502\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Other\",\n                \"info\": \"916-235-5678\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"58\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"499\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"800-555-1234\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"58\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"497\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"123-123-1234\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"534\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"495\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"800-987-6543\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"57\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"493\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Home\",\n                \"info\": \"916-234-5677\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"55\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"492\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Other\",\n                \"info\": \"916-235-5678\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"55\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"489\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"800-555-1234\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"55\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"487\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Home\",\n                \"info\": \"916-234-5677\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"54\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"486\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Other\",\n                \"info\": \"916-235-5678\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"54\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"483\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"800-555-1234\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"54\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"481\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Home\",\n                \"info\": \"916-234-5677\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"53\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"480\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Other\",\n                \"info\": \"916-235-5678\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"53\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"477\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"800-555-1234\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"53\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"475\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Home\",\n                \"info\": \"916-234-5677\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"52\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"474\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"916-235-5678\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"52\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"471\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Home\",\n                \"info\": \"916-234-5677\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"51\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"470\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"916-235-5678\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"51\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"467\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Home\",\n                \"info\": \"916-234-5677\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"50\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"466\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"916-235-5678\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"50\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"463\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Home\",\n                \"info\": \"916-234-5677\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"49\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"462\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"916-235-5678\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"49\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"459\",\n            \"type\": \"phone_number\",\n            \"attributes\": {\n                \"label\": \"Primary\",\n                \"info\": \"800-555-1234\"\n            },\n            \"relationships\": {\n                \"informationable\": {\n                    \"data\": {\n                        \"id\": \"49\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 6,\n        \"limit_per_page\": 25,\n        \"total_entries\": 143\n    },\n    \"links\": {\n        \"self\": \"/v1/phone_numbers?page=1\",\n        \"next\": \"/v1/phone_numbers?page=2\"\n    }\n}"}],"_postman_id":"5589fe71-c985-4af5-85e8-dde07833bdaf"},{"name":"Create Phone Number","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_phone_number_id\", jsonData.data.id);","}"],"type":"text/javascript","packages":{},"id":"560e287f-a18f-41c4-b248-68e4245b3ff1"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});",""],"type":"text/javascript","packages":{},"id":"d3c97b70-7046-40d3-a397-696f1fd6a903"}}],"id":"9541a29e-8f95-4534-bdfc-33ff1aa510ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"label","value":"Test","type":"text"},{"key":"info","value":"123-123-1234","type":"text"},{"key":"informationable_type","value":"Prospect","type":"text"},{"key":"informationable_id","value":"{{prospect_id}}","type":"text"}]},"url":"{{host}}/v1/phone_numbers","description":"<p>Create a new <strong>Phone Number</strong></p>\n<p><strong>Required Fields</strong>: informationable, label, info</p>\n<p><strong>info:</strong> The Phone Number string.</p>\n<p><strong>label</strong>: The <strong>Phone Number</strong>'s label e.g. Primary.</p>\n<p><strong>informationable_type</strong>: <strong>Prospect</strong>, <strong>Contact</strong>, <strong>Company</strong>, or <strong>Firm</strong> that the <strong>Phone Number</strong> belongs to.</p>\n<p><strong>informationable_id:</strong> Id of Record. <strong>Firm</strong> type doesn't need an ID passed and it will be ignored.</p>\n<p>Note - Setting the <strong>Phone Number</strong> through a <strong>Prospect</strong> (Matter) will set the address on the <strong>Prospects</strong>' <strong>Contact</strong>/<strong>Company</strong>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","phone_numbers"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"2aa04689-b660-4735-bf40-9466f49c430b","name":"Create Phone Number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Primary\",\n    \"info\": \"123-123-1234\",\n    \"informationable_type\": \"Prospect\",\n    \"informationable_id\": {{prospect_id}}\n}"},"url":"{{host}}/v1/phone_numbers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"0bb9bf7e364b85cb5d9874c337c65015\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"5f2e9650-9cea-4d1d-8797-e1b2882d907e"},{"key":"X-Runtime","value":"0.658682"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"514\",\n        \"type\": \"phone_number\",\n        \"attributes\": {\n            \"label\": \"Primary\",\n            \"info\": \"9989888888\"\n        },\n        \"relationships\": {\n            \"informationable\": {\n                \"data\": {\n                    \"id\": \"520\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"9541a29e-8f95-4534-bdfc-33ff1aa510ef"},{"name":"Update Phone Number","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"id":"9205c291-4c23-413f-bae6-b13094686f8f"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/phone_numbers`, function (err, response) {","   pm.globals.set(\"phone_number_id\", response.json().data[0].id);","});","",""],"type":"text/javascript","packages":{},"id":"c35a55be-aa6b-4f4b-8a67-6c657b9eea87"}}],"id":"5f34357c-6eae-4cb8-bcbe-0e01154597ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"info\": \"123-123-5555\",\n    \"informationable_type\": \"Prospect\",\n    \"informationable_id\": {{prospect_id}}\n}"},"url":"{{host}}/v1/phone_numbers/:phone_number_id","description":"<p>Updates a <strong>Phone Number</strong> by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","phone_numbers",":phone_number_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"a88752bf-b676-4636-905e-30d656617a8a","type":"any","value":"{{phone_number_id}}","key":"phone_number_id"}]}},"response":[{"id":"2daa992a-6a36-423a-a831-88d078eee699","name":"PUT Update Phone Number","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"info\": \"123-123-5555\",\n    \"informationable_type\": \"Prospect\",\n    \"informationable_id\": {{prospect_id}}\n}"},"url":{"raw":"{{host}}/v1/phone_numbers/:phone_number_id","host":["{{host}}"],"path":["v1","phone_numbers",":phone_number_id"],"variable":[{"key":"phone_number_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"70eacefabeb03bb05747a5f81bb9e037\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"1d4bbe14-2d41-4d98-80b5-9064fe7c7fac"},{"key":"X-Runtime","value":"0.023382"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"514\",\n        \"type\": \"phone_number\",\n        \"attributes\": {\n            \"label\": \"Primary\",\n            \"info\": \"9989888888\"\n        },\n        \"relationships\": {\n            \"informationable\": {\n                \"data\": {\n                    \"id\": \"520\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"5f34357c-6eae-4cb8-bcbe-0e01154597ea"},{"name":"Delete Phone Number","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"8aa134be-bdb6-457c-b2f4-c8eceaab3fbc"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/phone_numbers`, function (err, response) {","   pm.globals.set(\"phone_number_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"a4ccf209-7966-4015-bd69-dd05722ffe38"}}],"id":"8596282c-4b3c-4ad2-b896-5bea116c3f34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/phone_numbers/:phone_number_id","description":"<p>Delete a <strong>Phone Number</strong></p>\n<p><strong>phone_number_id</strong>: ID of the <strong>Phone Number</strong> to delete</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","phone_numbers",":phone_number_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"e77fbbd6-e95c-482c-9533-fcd2cfa9f4d5","type":"any","value":"{{phone_number_id}}","key":"phone_number_id"}]}},"response":[{"id":"2fccb6bc-8eaa-4a42-8307-a809f5fdc118","name":"DEL Delete Phone Number","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/v1/phone_numbers/:phone_number_id","host":["{{host}}"],"path":["v1","phone_numbers",":phone_number_id"],"variable":[{"key":"phone_number_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"0bb9bf7e364b85cb5d9874c337c65015\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"158d9cf4-821a-4658-b19c-21d1162be334"},{"key":"X-Runtime","value":"0.116284"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"514\",\n        \"type\": \"phone_number\",\n        \"attributes\": {\n            \"label\": \"Primary\",\n            \"info\": \"9989888888\"\n        },\n        \"relationships\": {\n            \"informationable\": {\n                \"data\": {\n                    \"id\": \"520\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"8596282c-4b3c-4ad2-b896-5bea116c3f34"}],"id":"9808b4d8-e5fe-4bad-aca6-482cdc8edb8b","description":"<p>A <strong>Phone Number</strong> is contact information that belongs to a <strong>Firm</strong>, <strong>Contact</strong>, or <strong>Company.</strong></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"7ee46f70-7ebb-4bdb-85c9-fc8509df868e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"975590ee-7818-431c-9b68-838715645e25"}}],"_postman_id":"9808b4d8-e5fe-4bad-aca6-482cdc8edb8b","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Tags","item":[{"name":"Tag","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"8f39698f-54b6-408c-adc8-16042b13c1f7"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tags`, function (err, response) {","   pm.globals.set(\"tag_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"0f783354-00a5-4274-bb2e-af7f555cc125"}}],"id":"4de3ae27-c4e2-4f9e-b428-edb9b4bbe095","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/tags/:tag_id","description":"<p>A specific Tag in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tags",":tag_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"667f0797-04f5-4604-9f90-7e8ad9bd2593","type":"any","value":"{{tag_id}}","key":"tag_id"}]}},"response":[{"id":"eba61bf2-b7d3-43ee-a57c-05446d95371e","name":"GET Tag","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tags/1?fields=all","host":["{{host}}"],"path":["v1","tags","1"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"e6d1c3b73e2d26e5c69f1b6d6c3d91dd\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"9820363e-3472-4b65-a961-3b19e44ba00b"},{"key":"X-Runtime","value":"0.034883"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"type\": \"tag\",\n        \"attributes\": {\n            \"name\": \"test\",\n            \"description\": null,\n            \"color\": null,\n            \"created_at\": \"2022-03-07T09:49:33.433-08:00\",\n            \"updated_at\": \"2022-03-07T09:49:33.433-08:00\"\n        }\n    }\n}"}],"_postman_id":"4de3ae27-c4e2-4f9e-b428-edb9b4bbe095"},{"name":"Tags","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"34670d5f-11ee-4970-9764-773731316816"}}],"id":"120ccd4e-ea6f-4000-a41d-f3b7ba56024d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/tags","description":"<p>A <strong>paginated</strong> list of all Tags in Lawmatics</p>\n<p>Can be filtered by <code>matter_id</code> , <code>prospect_id</code> , <code>contact_id</code> , <code>company_id</code>, <code>task_id</code> and <code>user_id</code></p>\n<p>as well as all the regular fields as referenced by our Param Guide (most fields returned by<code>?fields=all</code>).</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tags"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"224339d1-4763-4e8b-8c62-9356cc277d94","name":"GET Tags","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tags?fields=all","host":["{{host}}"],"path":["v1","tags"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"4\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"name\": \"aeee\",\n                \"description\": null,\n                \"color\": \"#7997c9\",\n                \"created_at\": \"2022-03-08T04:56:46.862-08:00\",\n                \"updated_at\": \"2022-03-15T11:19:10.106-07:00\"\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test 3\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-08T04:56:42.595-08:00\",\n                \"updated_at\": \"2022-03-08T04:56:42.595-08:00\"\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test2\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-07T09:49:38.432-08:00\",\n                \"updated_at\": \"2022-03-07T09:49:38.432-08:00\"\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-07T09:49:33.433-08:00\",\n                \"updated_at\": \"2022-03-07T09:49:33.433-08:00\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 4\n    },\n    \"links\": {\n        \"self\": \"/v1/tags?page=1\"\n    }\n}"},{"id":"9abd594b-3851-4220-97e8-4c9def61a4e4","name":"GET Tags by Matter","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tags?filter_by=matter_id&filter_on=17","host":["{{host}}"],"path":["v1","tags"],"query":[{"key":"filter_by","value":"matter_id"},{"key":"filter_on","value":"17"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"4\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"name\": \"aeee\",\n                \"description\": null,\n                \"color\": \"#7997c9\",\n                \"created_at\": \"2022-03-08T04:56:46.862-08:00\",\n                \"updated_at\": \"2022-03-15T11:19:10.106-07:00\"\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test 3\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-08T04:56:42.595-08:00\",\n                \"updated_at\": \"2022-03-08T04:56:42.595-08:00\"\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test2\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-07T09:49:38.432-08:00\",\n                \"updated_at\": \"2022-03-07T09:49:38.432-08:00\"\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-07T09:49:33.433-08:00\",\n                \"updated_at\": \"2022-03-07T09:49:33.433-08:00\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 4\n    },\n    \"links\": {\n        \"self\": \"/v1/tags?page=1\"\n    }\n}"},{"id":"089403fd-2591-494b-a8d5-370b216bad16","name":"GET Tags by Contact","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tags?filter_by=contact_id&filter_on=17","host":["{{host}}"],"path":["v1","tags"],"query":[{"key":"filter_by","value":"contact_id"},{"key":"filter_on","value":"17"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"4\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"name\": \"aeee\",\n                \"description\": null,\n                \"color\": \"#7997c9\",\n                \"created_at\": \"2022-03-08T04:56:46.862-08:00\",\n                \"updated_at\": \"2022-03-15T11:19:10.106-07:00\"\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test 3\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-08T04:56:42.595-08:00\",\n                \"updated_at\": \"2022-03-08T04:56:42.595-08:00\"\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test2\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-07T09:49:38.432-08:00\",\n                \"updated_at\": \"2022-03-07T09:49:38.432-08:00\"\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-07T09:49:33.433-08:00\",\n                \"updated_at\": \"2022-03-07T09:49:33.433-08:00\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 4\n    },\n    \"links\": {\n        \"self\": \"/v1/tags?page=1\"\n    }\n}"},{"id":"06335368-02c1-435c-83b6-c8736920e8ca","name":"GET Tags by Company","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tags?filter_by=company_id&filter_on=17","host":["{{host}}"],"path":["v1","tags"],"query":[{"key":"filter_by","value":"company_id"},{"key":"filter_on","value":"17"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"4\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"name\": \"aeee\",\n                \"description\": null,\n                \"color\": \"#7997c9\",\n                \"created_at\": \"2022-03-08T04:56:46.862-08:00\",\n                \"updated_at\": \"2022-03-15T11:19:10.106-07:00\"\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test 3\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-08T04:56:42.595-08:00\",\n                \"updated_at\": \"2022-03-08T04:56:42.595-08:00\"\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test2\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-07T09:49:38.432-08:00\",\n                \"updated_at\": \"2022-03-07T09:49:38.432-08:00\"\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"tag\",\n            \"attributes\": {\n                \"title\": \"test\",\n                \"description\": null,\n                \"color\": null,\n                \"created_at\": \"2022-03-07T09:49:33.433-08:00\",\n                \"updated_at\": \"2022-03-07T09:49:33.433-08:00\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 4\n    },\n    \"links\": {\n        \"self\": \"/v1/tags?page=1\"\n    }\n}"}],"_postman_id":"120ccd4e-ea6f-4000-a41d-f3b7ba56024d"},{"name":"Update Tag","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"f410a121-01c6-4edd-a393-51d89c386a9c"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tags`, function (err, response) {","   pm.globals.set(\"tag_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"b1a9a215-fb58-462a-a9a7-c0a7e85d653d"}}],"id":"c4c9f8f9-6a79-471e-8250-20ba30545251","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Updated Tag 22d2e182-505a-42e6-85ed-6f486f843e36\",\n    \"color\": \"#554433\",\n\t\"description\": \"One tag to rule them all\"\n}"},"url":"{{host}}/v1/tags/:tag_id","description":"<p>Updates a Tag</p>\n<p><strong>Optional Fields</strong>: Description, Color</p>\n<p><strong>title</strong>: The Tag title</p>\n<p><strong>description</strong>: The Tag description</p>\n<p><strong>color</strong>: The Tag color. Can be any CSS valid color (hex, rgb, hsl, colorname string, etc)</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tags",":tag_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"2bad75d8-07ad-4fcc-ba2f-dedf6304ae41","type":"any","value":"{{tag_id}}","key":"tag_id"}]}},"response":[{"id":"f4ab45cb-5d9c-4555-8ef0-935ac82e4386","name":"PUT Update Task","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Updated Tag\",\n    \"color\": \"#554433\",\n\t\"description\": \"A tag to rule them all\"\n}"},"url":{"raw":"{{host}}/v1/tags/1?fields=all","host":["{{host}}"],"path":["v1","tags","1"],"query":[{"key":"fields","value":"all"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Aug 2019 20:48:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=A8F6zBQgbkSA5Fz7WD2Fgmp27ZDzjC2gEc/ltVZU2II31+LnLIWobcdISVCBGzMpJecTpXc8h1HT50kjrHjETL+5IbZmsANsq0AQBVMqHIhWnGufsphme/JJh47W; Expires=Wed, 04 Sep 2019 20:48:10 GMT; Path=/"},{"key":"ETag","value":"W/\"7a02c95c1fc42a7738270cb26d1b8dd5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"46074845-17f0-4946-9b59-fc8528e50f7a"},{"key":"X-Runtime","value":"0.095035"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"5\",\n        \"type\": \"tag\",\n        \"attributes\": {\n            \"name\": \"Updated Tag\",\n            \"color\": \"#554433\"\n        }\n    }\n}"}],"_postman_id":"c4c9f8f9-6a79-471e-8250-20ba30545251"},{"name":"Delete Tag","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"77b1c1e1-f4b3-45d7-b5a0-be69afa76814"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tags`, function (err, response) {","   pm.globals.set(\"tag_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"d689472e-212c-4667-b333-fca1b9a7f371"}}],"id":"755e0d08-0535-4b32-88fb-64378ace6334","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/tags/:tag_id","description":"<p>Delete a Tag</p>\n<p><strong>tag_id</strong>: ID of the tag to delete</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tags",":tag_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c395d1bb-e836-4f0a-939f-40c8fe9ce9e9","type":"any","value":"{{tag_id}}","key":"tag_id"}]}},"response":[{"id":"02d4f1ef-7579-4e58-bb75-e108b8d9c2c6","name":"DELETE Delete Tag","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/v1/tags/:tag_id?fields=all","host":["{{host}}"],"path":["v1","tags",":tag_id"],"query":[{"key":"fields","value":"all"}],"variable":[{"key":"tag_id","value":null}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Aug 2019 20:48:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=A8F6zBQgbkSA5Fz7WD2Fgmp27ZDzjC2gEc/ltVZU2II31+LnLIWobcdISVCBGzMpJecTpXc8h1HT50kjrHjETL+5IbZmsANsq0AQBVMqHIhWnGufsphme/JJh47W; Expires=Wed, 04 Sep 2019 20:48:10 GMT; Path=/"},{"key":"ETag","value":"W/\"7a02c95c1fc42a7738270cb26d1b8dd5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"46074845-17f0-4946-9b59-fc8528e50f7a"},{"key":"X-Runtime","value":"0.095035"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"5\",\n        \"type\": \"tag\",\n        \"attributes\": {\n            \"name\": \"Updated Tag\",\n            \"color\": \"#554433\"\n        }\n    }\n}"}],"_postman_id":"755e0d08-0535-4b32-88fb-64378ace6334"},{"name":"Create Tag","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"62817acf-c2b4-4181-8d9a-460d02de421f"}}],"id":"82a5af25-2390-4e87-a27c-dd5a828052c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Tag 1bdb9c1c-8222-4170-bc14-76f52d807b31\",\n    \"color\": \"#554433\",\n\t\"description\": \"A tag to rule them all\"\n}"},"url":"{{host}}/v1/tags","description":"<p>Create a new Tag</p>\n<p><strong>Optional Fields</strong>: Description, Color</p>\n<p><strong>title</strong>: The Tag title</p>\n<p><strong>description</strong>: The Tag description</p>\n<p><strong>color</strong>: The Tag color. Can be any CSS valid color (hex, rgb, hsl, colorname string, etc)</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tags"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"2fc16c42-fdde-4f8f-8632-551042667d99","name":"POST Create Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Tag\",\n    \"color\": \"#554433\",\n\t\"description\": \"A tag to rule them all\"\n}"},"url":{"raw":"{{host}}/v1/tags?fields=all","host":["{{host}}"],"path":["v1","tags"],"query":[{"key":"fields","value":"all"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Aug 2019 20:48:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=A8F6zBQgbkSA5Fz7WD2Fgmp27ZDzjC2gEc/ltVZU2II31+LnLIWobcdISVCBGzMpJecTpXc8h1HT50kjrHjETL+5IbZmsANsq0AQBVMqHIhWnGufsphme/JJh47W; Expires=Wed, 04 Sep 2019 20:48:10 GMT; Path=/"},{"key":"ETag","value":"W/\"7a02c95c1fc42a7738270cb26d1b8dd5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"46074845-17f0-4946-9b59-fc8528e50f7a"},{"key":"X-Runtime","value":"0.095035"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"5\",\n        \"type\": \"tag\",\n        \"attributes\": {\n            \"name\": \"New Tag\",\n            \"color\": \"#554433\"\n        }\n    }\n}"}],"_postman_id":"82a5af25-2390-4e87-a27c-dd5a828052c6"},{"name":"Attach Tag","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"1e39559c-c547-461a-b6b4-d9ac6ca87cd7"}}],"id":"b4f16f06-d96a-4b59-9107-1c250c1306f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"matter_id\": {{prospect_id}},\n    \"tags\": [\"Existing Tag\", \"Tag to Create\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/tags/attach","description":"<p>Attaches tags to a <strong>Matter</strong>, <strong>Contact</strong>, <strong>Company</strong>, or <strong>Task</strong></p>\n<p><strong>(type)_id:</strong> The ID of the entity to attach tags to. One of <code>matter_id</code>, <code>contact_id</code>, <code>company_id,</code> or <code>task_id</code>.</p>\n<p><strong>tags:</strong> List of tags to attach. If a tag does not exist, it will be created.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tags","attach"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"dfd8c1b8-d1f6-4a75-8ce1-5ddb62186678","name":"POST Attach Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"matter_id\": 290,\n    \"tags\": [\"Existing Tag\", \"Tag to Create\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/tags/attach"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"290\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Hancock\",\n            \"case_title\": null,\n            \"case_blurb\": null,\n            \"status\": \"pnc\",\n            \"email\": null,\n            \"phone\": null,\n            \"phone_number\": null,\n            \"email_address\": null,\n            \"address\": null,\n            \"photo_url\": null,\n            \"birthdate\": null,\n            \"name_prefix\": null,\n            \"middle_name\": null,\n            \"name_suffix\": null,\n            \"sub_status\": \"Pnc\",\n            \"informal_name\": null,\n            \"employer\": null,\n            \"occupation\": null,\n            \"citizenship\": null,\n            \"bio\": null,\n            \"title\": null,\n            \"hobbies\": null,\n            \"social_security\": null,\n            \"age\": null,\n            \"referring_url\": null,\n            \"driver_license\": null,\n            \"gender\": null,\n            \"marital_status\": null,\n            \"timezone\": null,\n            \"estimated_value_cents\": 0,\n            \"actual_value_cents\": 0,\n            \"lead_cost_cents\": 0,\n            \"date_of_last_contact\": \"2022-05-09T07:16:04.329-07:00\",\n            \"days_since_last_contact\": 22,\n            \"converted_date\": null,\n            \"statute_of_limitations\": null,\n            \"utm_source\": null,\n            \"utm_campaign\": null,\n            \"utm_medium\": null,\n            \"utm_term\": null,\n            \"street\": null,\n            \"street2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"zipcode\": null,\n            \"country\": null,\n            \"full_address\": null,\n            \"full_street\": null,\n            \"city_state_zip\": null,\n            \"custom_fields\": [],\n            \"custom_field_values\": {},\n            \"created_at\": \"2022-05-09T07:16:04.203-07:00\",\n            \"updated_at\": \"2022-05-31T16:40:25.234-07:00\",\n            \"last_contacted_date\": \"2022-05-09T07:16:04.329-07:00\"\n        },\n        \"relationships\": {\n            \"source\": {\n                \"data\": null\n            },\n            \"stage\": {\n                \"data\": null\n            },\n            \"campaign\": {\n                \"data\": null\n            },\n            \"practice_area\": {\n                \"data\": {\n                    \"id\": \"6\",\n                    \"type\": \"practice_area\"\n                }\n            },\n            \"salesperson\": {\n                \"data\": null\n            },\n            \"lead_attorney\": {\n                \"data\": null\n            },\n            \"originating_attorney\": {\n                \"data\": null\n            },\n            \"owned_by\": {\n                \"data\": null\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contact\": {\n                \"data\": {\n                    \"id\": \"306\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"company\": {\n                \"data\": null\n            },\n            \"assigned_staff\": {\n                \"data\": []\n            },\n            \"events\": {\n                \"data\": []\n            },\n            \"file_requests\": {\n                \"data\": []\n            },\n            \"documents\": {\n                \"data\": []\n            },\n            \"notes\": {\n                \"data\": []\n            },\n            \"tasks\": {\n                \"data\": []\n            },\n            \"emails\": {\n                \"data\": []\n            },\n            \"phone_numbers\": {\n                \"data\": []\n            },\n            \"addresses\": {\n                \"data\": []\n            },\n            \"invoices\": {\n                \"data\": []\n            },\n            \"tags\": {\n                \"data\": [\n                    {\n                        \"id\": \"4\",\n                        \"type\": \"tag\"\n                    },\n                    {\n                        \"id\": \"1\",\n                        \"type\": \"tag\"\n                    },\n                    {\n                        \"id\": \"6\",\n                        \"type\": \"tag\"\n                    },\n                    {\n                        \"id\": \"8\",\n                        \"type\": \"tag\"\n                    },\n                    {\n                        \"id\": \"9\",\n                        \"type\": \"tag\"\n                    },\n                    {\n                        \"id\": \"10\",\n                        \"type\": \"tag\"\n                    }\n                ]\n            },\n            \"relationships\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"b4f16f06-d96a-4b59-9107-1c250c1306f2"},{"name":"Detach Tag","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"76081a66-929a-4f81-b545-d765d8c2fa6d"}}],"id":"b0d20493-349f-4978-9410-f18c895795d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"matter_id\": {{prospect_id}},\n    \"tags\": [\"Tag to detach\", \"Another tag to detach\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/tags/detach","description":"<p>Detaches tags from a Matter, Contact, Company, or Task</p>\n<p><strong>(type)_id:</strong> The ID of the entity to detach <strong>Tags</strong> from. One of <code>matter_id</code>, <code>contact_id</code>, <code>company_id,</code> or <code>task_id</code>.</p>\n<p><strong>tags:</strong> List of <strong>Tags</strong> to detach. If a <strong>Tag</strong> does not exist, it will be ignored.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tags","detach"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c7d437da-481a-49e5-85a5-831d4d729000","name":"POST Detach Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"matter_id\": 290,\n    \"tags\": [\"Tag to detach\", \"Another tag to detach\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/tags/detach"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"290\",\n        \"type\": \"prospect\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Hancock\",\n            \"case_title\": null,\n            \"case_blurb\": null,\n            \"status\": \"pnc\",\n            \"email\": null,\n            \"phone\": null,\n            \"phone_number\": null,\n            \"email_address\": null,\n            \"address\": null,\n            \"photo_url\": null,\n            \"birthdate\": null,\n            \"name_prefix\": null,\n            \"middle_name\": null,\n            \"name_suffix\": null,\n            \"sub_status\": \"Pnc\",\n            \"informal_name\": null,\n            \"employer\": null,\n            \"occupation\": null,\n            \"citizenship\": null,\n            \"bio\": null,\n            \"title\": null,\n            \"hobbies\": null,\n            \"social_security\": null,\n            \"age\": null,\n            \"referring_url\": null,\n            \"driver_license\": null,\n            \"gender\": null,\n            \"marital_status\": null,\n            \"timezone\": null,\n            \"estimated_value_cents\": 0,\n            \"actual_value_cents\": 0,\n            \"lead_cost_cents\": 0,\n            \"date_of_last_contact\": \"2022-05-09T07:16:04.329-07:00\",\n            \"days_since_last_contact\": 22,\n            \"converted_date\": null,\n            \"statute_of_limitations\": null,\n            \"utm_source\": null,\n            \"utm_campaign\": null,\n            \"utm_medium\": null,\n            \"utm_term\": null,\n            \"street\": null,\n            \"street2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"zipcode\": null,\n            \"country\": null,\n            \"full_address\": null,\n            \"full_street\": null,\n            \"city_state_zip\": null,\n            \"custom_fields\": [],\n            \"custom_field_values\": {},\n            \"created_at\": \"2022-05-09T07:16:04.203-07:00\",\n            \"updated_at\": \"2022-05-31T16:40:25.234-07:00\",\n            \"last_contacted_date\": \"2022-05-09T07:16:04.329-07:00\"\n        },\n        \"relationships\": {\n            \"source\": {\n                \"data\": null\n            },\n            \"stage\": {\n                \"data\": null\n            },\n            \"campaign\": {\n                \"data\": null\n            },\n            \"practice_area\": {\n                \"data\": {\n                    \"id\": \"6\",\n                    \"type\": \"practice_area\"\n                }\n            },\n            \"salesperson\": {\n                \"data\": null\n            },\n            \"lead_attorney\": {\n                \"data\": null\n            },\n            \"originating_attorney\": {\n                \"data\": null\n            },\n            \"owned_by\": {\n                \"data\": null\n            },\n            \"created_by\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"contact\": {\n                \"data\": {\n                    \"id\": \"306\",\n                    \"type\": \"contact\"\n                }\n            },\n            \"company\": {\n                \"data\": null\n            },\n            \"assigned_staff\": {\n                \"data\": []\n            },\n            \"events\": {\n                \"data\": []\n            },\n            \"file_requests\": {\n                \"data\": []\n            },\n            \"documents\": {\n                \"data\": []\n            },\n            \"notes\": {\n                \"data\": []\n            },\n            \"tasks\": {\n                \"data\": []\n            },\n            \"emails\": {\n                \"data\": []\n            },\n            \"phone_numbers\": {\n                \"data\": []\n            },\n            \"addresses\": {\n                \"data\": []\n            },\n            \"invoices\": {\n                \"data\": []\n            },\n            \"tags\": {\n                \"data\": [\n                    {\n                        \"id\": \"4\",\n                        \"type\": \"tag\"\n                    },\n                    {\n                        \"id\": \"1\",\n                        \"type\": \"tag\"\n                    },\n                    {\n                        \"id\": \"6\",\n                        \"type\": \"tag\"\n                    },\n                    {\n                        \"id\": \"8\",\n                        \"type\": \"tag\"\n                    }\n                ]\n            },\n            \"relationships\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"b0d20493-349f-4978-9410-f18c895795d9"}],"id":"93c008bd-4f1a-4e05-9624-ec487989f5c7","_postman_id":"93c008bd-4f1a-4e05-9624-ec487989f5c7","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Tasks","item":[{"name":"Task","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"17e4d68d-cdb7-4bb1-8eed-d63e00689911"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","   pm.globals.set(\"task_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"075f1a38-35d7-4fa8-acc8-dc2e22ee0f21"}}],"id":"80b083cb-01b9-4004-a268-a06526e334d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/tasks/:task_id","description":"<p>A specific <strong>Task</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"b7796710-a7f9-499a-81e8-a5f6831f352d","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"75f795b0-48f4-4718-951f-88a8240ea989","name":"GET Task","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tasks/2?fields=all","host":["{{host}}"],"path":["v1","tasks","2"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"e6d1c3b73e2d26e5c69f1b6d6c3d91dd\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"9820363e-3472-4b65-a961-3b19e44ba00b"},{"key":"X-Runtime","value":"0.034883"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"117\",\n        \"type\": \"task\",\n        \"attributes\": {\n            \"name\": \"Brand new updated task\",\n            \"description\": \"The updated new description\",\n            \"due_date\": \"2023-08-25T00:00:00.000-07:00\",\n            \"done\": false,\n            \"status\": \"No Status\",\n            \"priority\": \"high\",\n            \"tags\": [\n                {\n                    \"id\": 2,\n                    \"firm_id\": 1,\n                    \"name\": \"nevermindd\",\n                    \"key\": \"nevermindd\",\n                    \"description\": null,\n                    \"color\": null,\n                    \"created_at\": \"2023-04-24T16:11:25.082-07:00\",\n                    \"updated_at\": \"2023-04-24T21:48:51.112-07:00\"\n                }\n            ],\n            \"assigned_by_id\": 2,\n            \"recurrence_rule\": {\n                \"type\": \"weekly\",\n                \"end_date\": \"08/30/2023\",\n                \"wednesday\": true\n            },\n            \"created_at\": \"2023-07-05T10:49:06.424-07:00\",\n            \"updated_at\": \"2023-07-05T10:51:40.650-07:00\"\n        },\n        \"relationships\": {\n            \"users\": {\n                \"data\": [\n                    {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                ]\n            },\n            \"taskable\": {\n                \"data\": {\n                    \"id\": \"471\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"80b083cb-01b9-4004-a268-a06526e334d9"},{"name":"Tasks","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"0cf81e8b-a38e-403b-ae8e-6e1103955fcc"}}],"id":"19b7775f-2409-4ec2-9c8b-a310154cf026","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/tasks","description":"<p>A <strong>paginated</strong> list of all <strong>Tasks</strong> in Lawmatics</p>\n<p>Can be filtered by <code>matter_id,</code> <code>prospect_id,</code> <code>contact_id,</code> <code>company_id,</code> <code>client_id,</code> and<code>user_id</code></p>\n<p>as well as all the regular fields as referenced by our Param Guide (most fields returned by<code>?fields=all</code>).</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f0a003de-efdd-42a7-9047-d98d267f9135","name":"GET Tasks","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tasks?fields=all","host":["{{host}}"],"path":["v1","tasks"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"3\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"Pinky\",\n                \"description\": \"Think of a plan\",\n                \"due_date\": \"2022-06-28T00:00:00.000-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [\n                    {\n                        \"id\": 2,\n                        \"firm_id\": 2,\n                        \"name\": \"test\",\n                        \"key\": \"test\",\n                        \"description\": null,\n                        \"color\": \"#8fc1d8\",\n                        \"created_at\": \"2022-06-07T14:28:31.081-07:00\",\n                        \"updated_at\": \"2022-06-07T14:47:13.127-07:00\"\n                    }\n                ],\n                \"created_at\": \"2022-06-17T18:05:05.702-07:00\",\n                \"updated_at\": \"2022-06-17T18:05:49.602-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"2\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"taskable\": {\n                    \"data\": null\n                }\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"The Brain\",\n                \"description\": \"Take over the world\",\n                \"due_date\": \"2022-06-30T00:00:00.000-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [],\n                \"created_at\": \"2022-06-17T17:26:45.659-07:00\",\n                \"updated_at\": \"2022-06-17T18:01:56.394-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"2\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"taskable\": {\n                    \"data\": {\n                        \"id\": \"9\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 2\n    },\n    \"links\": {\n        \"self\": \"/v1/tasks?page=1\"\n    }\n}"},{"id":"dffb073e-06cc-4daf-bd3e-a61a6e07564d","name":"GET Tasks by Matter","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tasks?filter_by=matter_id&filter_on=68","host":["{{host}}"],"path":["v1","tasks"],"query":[{"key":"filter_by","value":"matter_id"},{"key":"filter_on","value":"68"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"another task\",\n                \"description\": \"last one\",\n                \"due_date\": \"2022-07-02T00:00:00.000-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [],\n                \"created_at\": \"2022-06-17T18:14:03.977-07:00\",\n                \"updated_at\": \"2022-06-17T18:14:04.022-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"2\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"taskable\": {\n                    \"data\": {\n                        \"id\": \"68\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"4\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"test\",\n                \"description\": \"test task for matter\",\n                \"due_date\": \"2022-06-27T00:00:00.000-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [],\n                \"created_at\": \"2022-06-17T18:12:44.753-07:00\",\n                \"updated_at\": \"2022-06-17T18:12:44.781-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"2\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"taskable\": {\n                    \"data\": {\n                        \"id\": \"68\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 2\n    },\n    \"links\": {\n        \"self\": \"/v1/tasks?page=1\"\n    }\n}"},{"id":"ef633f88-b34c-40a1-8c16-fb29f7a8b2bb","name":"GET Tasks by Contact","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tasks?filter_by=contact_id&filter_on=100","host":["{{host}}"],"path":["v1","tasks"],"query":[{"key":"filter_by","value":"contact_id"},{"key":"filter_on","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"7\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"Fundraiser\",\n                \"description\": \"\",\n                \"due_date\": \"2022-07-14T00:00:00.000-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [],\n                \"created_at\": \"2022-06-17T18:18:34.852-07:00\",\n                \"updated_at\": \"2022-06-17T18:18:34.881-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"2\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"taskable\": {\n                    \"data\": {\n                        \"id\": \"100\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"6\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"Bake Sale\",\n                \"description\": \"Bake cookies\",\n                \"due_date\": \"2022-07-09T00:00:00.000-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [],\n                \"created_at\": \"2022-06-17T18:17:25.939-07:00\",\n                \"updated_at\": \"2022-06-17T18:17:25.966-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"2\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"taskable\": {\n                    \"data\": {\n                        \"id\": \"100\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 2\n    },\n    \"links\": {\n        \"self\": \"/v1/tasks?page=1\"\n    }\n}"},{"id":"1709de63-9460-4f67-b4f6-8b0d5fde700d","name":"GET Tasks by Client","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tasks?filter_by=client_id&filter_on=12","host":["{{host}}"],"path":["v1","tasks"],"query":[{"key":"filter_by","value":"client_id"},{"key":"filter_on","value":"12"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"8\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"Test\",\n                \"description\": \"\",\n                \"due_date\": \"2022-07-14T00:00:00.000-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [],\n                \"created_at\": \"2022-06-17T18:18:34.852-07:00\",\n                \"updated_at\": \"2022-06-17T18:18:34.881-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"2\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"taskable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"client\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"9\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"Test task\",\n                \"description\": \"Task description\",\n                \"due_date\": \"2022-07-09T00:00:00.000-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [],\n                \"created_at\": \"2022-06-17T18:17:25.939-07:00\",\n                \"updated_at\": \"2022-06-17T18:17:25.966-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"2\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"taskable\": {\n                    \"data\": {\n                        \"id\": \"12\",\n                        \"type\": \"client\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 2\n    },\n    \"links\": {\n        \"self\": \"/v1/tasks?page=1\"\n    }\n}"},{"id":"88902d84-be45-492a-b8b8-79a803cc9a46","name":"GET Tasks by Company","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tasks?filter_by=company_id&filter_on=1","host":["{{host}}"],"path":["v1","tasks"],"query":[{"key":"filter_by","value":"company_id"},{"key":"filter_on","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"10\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"New Task\",\n                \"description\": \"An important piece of work to be made until it's due date\",\n                \"due_date\": \"2022-05-30T00:00:00.000-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [],\n                \"created_at\": \"2022-06-17T18:23:22.428-07:00\",\n                \"updated_at\": \"2022-06-17T18:23:22.428-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"2\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                },\n                \"taskable\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"company\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 1\n    },\n    \"links\": {\n        \"self\": \"/v1/tasks?page=1\"\n    }\n}"},{"id":"c419215e-9788-4591-9fd7-38dae47863e8","name":"GET Tasks by User","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tasks?filter_by=user_id&filter_on=17","host":["{{host}}"],"path":["v1","tasks"],"query":[{"key":"filter_by","value":"user_id"},{"key":"filter_on","value":"17"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5103620a7c52c48c5c4b4171c40368f7\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"8f5274ef-b4ac-4875-87be-84a6cc0eee17"},{"key":"X-Runtime","value":"0.107811"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"209\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"Task 1\",\n                \"description\": \"\",\n                \"due_date\": \"2022-05-11T20:00:00.000-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [],\n                \"taskable_type\": \"User\",\n                \"taskable_id\": 17,\n                \"created_at\": \"2022-05-06T12:00:57.968-07:00\",\n                \"updated_at\": \"2022-05-06T12:38:17.337-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"2\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"9\",\n            \"type\": \"task\",\n            \"attributes\": {\n                \"name\": \"Task 2\",\n                \"description\": null,\n                \"due_date\": \"2022-05-03T08:02:14.045-07:00\",\n                \"done\": false,\n                \"priority\": \"low\",\n                \"tags\": [],\n                \"taskable_type\": \"User\",\n                \"taskable_id\": 17,\n                \"created_at\": \"2022-05-03T08:02:14.076-07:00\",\n                \"updated_at\": \"2022-05-03T08:02:14.076-07:00\"\n            },\n            \"relationships\": {\n                \"users\": {\n                    \"data\": [\n                        {\n                            \"id\": \"3\",\n                            \"type\": \"user\"\n                        }\n                    ]\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 2\n    },\n    \"links\": {\n        \"self\": \"/v1/tasks?page=1\"\n    }\n}"}],"_postman_id":"19b7775f-2409-4ec2-9c8b-a310154cf026"},{"name":"Subtask","event":[{"listen":"prerequest","script":{"id":"92270224-a48c-4493-b225-7b30b4117a80","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","    task_id = response.json().data[0].id","    pm.globals.set(\"task_id\", task_id);","    pm.sendRequest({url: `${pm.environment.get('host')}/v1/tasks/${task_id}/subtasks`, method: 'POST', body: {body: \"task\", done: false}}, function (err, response) {","        pm.globals.set(\"subtask_id\", response.json().data.id);","    })","    }",");"],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"046e2a3c-f896-45a9-8034-ff4b2f4fce2b","exec":[""],"type":"text/javascript","packages":{}}}],"id":"53bc6d67-0aa1-4ebd-b747-4e1770a11dad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/tasks/:task_id/subtasks/:subtask_id","description":"<p>A specific <strong>subtask</strong> in tasks in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","subtasks",":subtask_id"],"host":["{{host}}"],"query":[],"variable":[{"type":"any","value":"{{task_id}}","key":"task_id"},{"type":"any","value":"{{subtask_id}}","key":"subtask_id"}]}},"response":[{"id":"be412146-e79a-4932-9dd5-d8e19b185bcb","name":"Subtask","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tasks/:task_id/subtasks/:subtask_id","host":["{{host}}"],"path":["v1","tasks",":task_id","subtasks",":subtask_id"],"variable":[{"key":"task_id","value":"47"},{"key":"subtask_id","value":"10"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10,\n    \"body\": \"kab?\",\n    \"order\": 0,\n    \"done\": false,\n    \"task_id\": 47,\n    \"created_at\": \"2023-02-09T14:34:02.173-08:00\",\n    \"updated_at\": \"2023-02-09T14:34:02.173-08:00\",\n    \"deleted_at\": null\n}"}],"_postman_id":"53bc6d67-0aa1-4ebd-b747-4e1770a11dad"},{"name":"Subtasks","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"2e7f40d1-7820-466e-a09c-88c4df785291"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","   pm.globals.set(\"task_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"ceed2b50-db23-4a89-9901-a776a4f3cf58"}}],"id":"b5fa14b2-55db-4d2d-ba51-0b079ff47d09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/tasks/:task_id/subtasks","description":"<p>All the <strong>subtasks</strong> that belong to a task in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","subtasks"],"host":["{{host}}"],"query":[],"variable":[{"id":"50ab3b36-76c2-4160-9f3d-3e5cb7362c31","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"3a8aac47-caba-46d0-a8a5-9f574de3ab83","name":"GET Subtasks","originalRequest":{"method":"GET","header":[],"url":"{{host}}/tasks/task_id/subtasks"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 10,\n        \"body\": \"kab?\",\n        \"order\": 0,\n        \"done\": false,\n        \"task_id\": 47,\n        \"created_at\": \"2023-02-09T14:34:02.173-08:00\",\n        \"updated_at\": \"2023-02-09T14:34:02.173-08:00\",\n        \"deleted_at\": null\n    },\n    {\n        \"id\": 11,\n        \"body\": \"schi nu\",\n        \"order\": 1,\n        \"done\": false,\n        \"task_id\": 47,\n        \"created_at\": \"2023-06-28T16:04:39.451-07:00\",\n        \"updated_at\": \"2023-06-28T16:04:39.451-07:00\",\n        \"deleted_at\": null\n    }\n]"}],"_postman_id":"b5fa14b2-55db-4d2d-ba51-0b079ff47d09"},{"name":"Comment","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"0d66feac-5e1b-46f4-a9c4-b1e270b4dd53"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   user_id =  response.json().data[0].id","   pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","    task_id = response.json().data[0].id","    pm.globals.set(\"task_id\", task_id);","    pm.sendRequest({url: `${pm.environment.get('host')}/v1/tasks/${task_id}/comments`, method: 'POST', body: JSON.stringify({ body: \"comment\", \"user_id\": user_id, mentioned_user_ids: [user_id] }), header: {'Content-Type': 'application/json'}})","    pm.sendRequest(`${pm.environment.get('host')}/v1/tasks/${task_id}/comments`, function (err, response) {","        pm.globals.set(\"comment_id\", response.json().data[0].id);","    })","})","})",""],"type":"text/javascript","id":"4fede675-3c7f-4bd7-b121-24a076e60d52"}}],"id":"03cc5ceb-c21c-49da-a208-c812d8d3b00b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/tasks/:task_id/comments/:comment_id","description":"<p>A specific <strong>comment</strong> on a task in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","comments",":comment_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"9017496f-d735-48ad-931b-e908c46efe48","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"93f554af-5f7a-46e6-82e4-907210759830","type":"any","value":"{{comment_id}}","key":"comment_id"}]}},"response":[{"id":"dfa05c50-b7dc-4277-b134-744dee192ff2","name":"Comment","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tasks/:task_id/comments/:comment_id","host":["{{host}}"],"path":["v1","tasks",":task_id","comments",":comment_id"],"variable":[{"key":"task_id","value":"45"},{"key":"comment_id","value":"1"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"type\": \"comment\",\n        \"attributes\": {\n            \"body\": \"<p>eda fer <span class=\\\"mention\\\" style=\\\"font-weight:bold;\\\" data-mention=\\\"@Westeros User\\\" data-user-id=\\\"1\\\">@Westeros User</span>&nbsp;</p>\",\n            \"commentable_type\": \"Task\",\n            \"commentable_id\": 45,\n            \"mentioned_user_ids\": [],\n            \"created_at\": \"2023-02-13T18:07:02.962-08:00\",\n            \"updated_at\": \"2023-06-30T10:36:03.283-07:00\"\n        },\n        \"relationships\": {\n            \"commentable\": {\n                \"data\": {\n                    \"id\": \"45\",\n                    \"type\": \"task\"\n                }\n            },\n            \"comment_mentions\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"03cc5ceb-c21c-49da-a208-c812d8d3b00b"},{"name":"Comments","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"0fe8f3a3-b6e2-4381-bf83-959ebcc4af60"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","   pm.globals.set(\"task_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"4d6d09a0-c391-4b21-aa09-b76f82e51f6e"}}],"id":"31c7d484-aa8d-42cd-9623-89d096bbeab3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/tasks/:task_id/comments","description":"<p>Retrieves all the <strong>comments</strong> on a task in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","comments"],"host":["{{host}}"],"query":[],"variable":[{"id":"870782c2-3f01-4c07-b059-e374db1ea394","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"45b10977-f11a-47a4-8e8f-c2193babcb7a","name":"Comments","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/tasks/:task_id/comments","host":["{{host}}"],"path":["v1","tasks",":task_id","comments"],"variable":[{"key":"task_id","value":"45"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"42\",\n            \"type\": \"comment\",\n            \"attributes\": {\n                \"body\": \"hello love\",\n                \"commentable_type\": \"Task\",\n                \"commentable_id\": 45,\n                \"mentioned_user_ids\": [\n                    1\n                ],\n                \"created_at\": \"2023-06-30T15:32:37.617-07:00\",\n                \"updated_at\": \"2023-06-30T15:32:37.617-07:00\"\n            },\n            \"relationships\": {\n                \"commentable\": {\n                    \"data\": {\n                        \"id\": \"45\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"comment_mentions\": {\n                    \"data\": [\n                        {\n                            \"id\": \"6\",\n                            \"type\": \"comment_mention\"\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"41\",\n            \"type\": \"comment\",\n            \"attributes\": {\n                \"body\": \"hello love\",\n                \"commentable_type\": \"Task\",\n                \"commentable_id\": 45,\n                \"mentioned_user_ids\": [\n                    5\n                ],\n                \"created_at\": \"2023-06-30T15:23:53.113-07:00\",\n                \"updated_at\": \"2023-06-30T15:23:53.113-07:00\"\n            },\n            \"relationships\": {\n                \"commentable\": {\n                    \"data\": {\n                        \"id\": \"45\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"comment_mentions\": {\n                    \"data\": [\n                        {\n                            \"id\": \"5\",\n                            \"type\": \"comment_mention\"\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"40\",\n            \"type\": \"comment\",\n            \"attributes\": {\n                \"body\": \"hello love\",\n                \"commentable_type\": \"Task\",\n                \"commentable_id\": 45,\n                \"mentioned_user_ids\": [\n                    5\n                ],\n                \"created_at\": \"2023-06-30T15:23:27.911-07:00\",\n                \"updated_at\": \"2023-06-30T15:23:27.911-07:00\"\n            },\n            \"relationships\": {\n                \"commentable\": {\n                    \"data\": {\n                        \"id\": \"45\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"comment_mentions\": {\n                    \"data\": [\n                        {\n                            \"id\": \"4\",\n                            \"type\": \"comment_mention\"\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"id\": \"39\",\n            \"type\": \"comment\",\n            \"attributes\": {\n                \"body\": \"hello love\",\n                \"commentable_type\": \"Task\",\n                \"commentable_id\": 45,\n                \"mentioned_user_ids\": [],\n                \"created_at\": \"2023-06-30T15:22:11.096-07:00\",\n                \"updated_at\": \"2023-06-30T15:22:11.096-07:00\"\n            },\n            \"relationships\": {\n                \"commentable\": {\n                    \"data\": {\n                        \"id\": \"45\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"comment_mentions\": {\n                    \"data\": []\n                }\n            }\n        },\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 4\n    },\n    \"links\": {\n        \"self\": \"/v1/tasks?page=1\"\n    }\n}}"}],"_postman_id":"31c7d484-aa8d-42cd-9623-89d096bbeab3"},{"name":"Create Task","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_task_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"bd4cca36-fc0f-410c-8fab-cd88fee81a95"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   pm.globals.set(\"user_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/tags`, function (err, response) {","   pm.globals.set(\"tag_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"f227cb95-3ee4-40af-be1f-ba80b305b74e"}}],"id":"26cbae98-344a-41b7-a541-2e23dd477d81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"A brand new task\",\n\t\"description\": \"An important piece of work to be made until it's due date\",\n\t\"due_date\": \"07/30/2023\",\n\t\"user_ids\": [{{user_id}}],\n\t\"priority\": \"low\",\n    \"taskable_id\": {{prospect_id}},\n    \"taskable_type\": \"Prospect\",\n\t\"done\": false,\n    \"tag_ids\": [{{tag_id}}],\n    \"assigned_by_id\": {{user_id}},\n    \"recurrence_rule\": {\n        \"type\": \"daily\",\n        \"frequency\": 2,\n        \"endDate\": \"08/15/2023\"\n    }\n}"},"url":"{{host}}/v1/tasks","description":"<p>Create a new <strong>Task</strong></p>\n<p><strong>Optional Fields</strong>: user_ids, priority, done, taskable, tag_ids, assigned_by_id, recurrence_rule</p>\n<p><strong>due_date</strong>: <strong>Task's</strong> due date (iso8601 datetime)</p>\n<p><strong>user_ids</strong>: The Firm <strong>User</strong> ids assigned to this <strong>Task</strong>.</p>\n<p><strong>priority</strong>: high, medium, low (default)</p>\n<p><strong>done</strong>: true or false (default)</p>\n<p><strong>taskable_type, taskable_id:</strong> Record type, ID the <strong>Task</strong> is associated with (Prospect (Matter), Contact, Company, Client)</p>\n<p><strong>tag_ids</strong>: <strong>Tags</strong> to associate to this <strong>Task</strong></p>\n<p><strong>assigned_by_id:</strong> The <strong>user id</strong> the task is assigned by.</p>\n<p><strong>recurrence_rule: Json object.</strong> Following are the fields with which we can create a recurrence_rule.<br />RecurrenceType options are the following = 'daily' or 'weekly' or monthly' or 'yearly';</p>\n<p>fields of the json object you can choose from:<br />type: <strong>RecurrenceType</strong>;<br />endOption?: boolean;<br />endDate?: Date;</p>\n<p><strong>// If you choose type to be daily</strong></p>\n<p>frequency?: number;</p>\n<p><strong>// If you choose type to be weekly</strong></p>\n<p>sunday?: boolean;<br />monday?: boolean;<br />tuesday?: boolean;<br />wednesday?: boolean;<br />thursday?: boolean;<br />friday?: boolean;<br />saturday?: boolean;</p>\n<p><strong>// If you choose type to be monthly</strong><br />monthlyFrequency?: number;<br />dayOfMonth?: number;</p>\n<p><strong>// If you choose type to be yearly</strong><br />month?: string;<br />dayOfMonthYear?: number;</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"b90a5a4f-8ba7-440a-a070-bdff97cd12bd","name":"POST Create Task","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"A brand new task\",\n\t\"description\": \"An important piece of work to be made until it's due date\",\n\t\"due_date\": \"07/30/2023\",\n\t\"user_ids\": [2],\n\t\"priority\": \"low\",\n    \"taskable_id\": 471,\n    \"taskable_type\": \"Prospect\",\n\t\"done\": false,\n    \"tag_ids\": [1],\n    \"assigned_by_id\": 1,\n    \"recurrence_rule\": {\n        \"type\": \"daily\",\n        \"frequency\": 2,\n        \"endDate\": \"08/15/2023\"\n    }\n}"},"url":"{{host}}/v1/tasks"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"001a367c218ab7d3a938f11a4a896153\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"09bbaf1e-4455-4573-8be2-86d712c9262d"},{"key":"X-Runtime","value":"1.092267"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"117\",\n        \"type\": \"task\",\n        \"attributes\": {\n            \"name\": \"A brand new task\",\n            \"description\": \"An important piece of work to be made until it's due date\",\n            \"due_date\": \"2023-07-30T00:00:00.000-07:00\",\n            \"done\": false,\n            \"status\": \"No Status\",\n            \"priority\": \"low\",\n            \"tags\": [\n                {\n                    \"id\": 1,\n                    \"firm_id\": 1,\n                    \"name\": \"mytag\",\n                    \"key\": \"mytag\",\n                    \"description\": null,\n                    \"color\": null,\n                    \"created_at\": \"2023-04-24T15:51:53.352-07:00\",\n                    \"updated_at\": \"2023-04-24T15:51:53.352-07:00\"\n                }\n            ],\n            \"assigned_by_id\": 1,\n            \"recurrence_rule\": {\n                \"type\": \"daily\",\n                \"frequency\": 2,\n                \"endDate\": \"08/15/2023\"\n            },\n            \"created_at\": \"2023-07-05T10:49:06.424-07:00\",\n            \"updated_at\": \"2023-07-05T10:49:06.450-07:00\"\n        },\n        \"relationships\": {\n            \"users\": {\n                \"data\": []\n            },\n            \"taskable\": {\n                \"data\": {\n                    \"id\": \"471\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"26cbae98-344a-41b7-a541-2e23dd477d81"},{"name":"Create Subtask","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_subtask_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"e924113d-9b6b-464d-be4f-6eaa7ff81a56"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","   pm.globals.set(\"task_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"fe418037-95fa-4f72-8bf2-eed500e61016"}}],"id":"8cab6186-04df-4237-8729-41773636f5b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"body\": \"first one\",\n\t\"done\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/tasks/:task_id/subtasks","description":"<p>Creates a new <strong>subtask</strong> on a task.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","subtasks"],"host":["{{host}}"],"query":[],"variable":[{"id":"97bde0fe-7cd6-4ffe-bd01-a50f7669ecaf","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"aa19cf07-0102-4201-9e8d-10fbeee4102c","name":"Create Subtask","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"body\": \"first one\",\n\t\"done\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/tasks/:task_id/subtasks","host":["{{host}}"],"path":["v1","tasks",":task_id","subtasks"],"variable":[{"key":"task_id","value":"50"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"35\",\n        \"type\": \"subtask\",\n        \"attributes\": {\n            \"body\": \"first one\",\n            \"done\": false,\n            \"order\": 0,\n            \"created_at\": \"2023-06-29T15:11:07.442-07:00\",\n            \"updated_at\": \"2023-06-29T15:11:07.442-07:00\"\n        },\n        \"relationships\": {\n            \"task\": {\n                \"data\": {\n                    \"id\": \"50\",\n                    \"type\": \"task\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"8cab6186-04df-4237-8729-41773636f5b1"},{"name":"Create Comment","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_comment_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"ad0ae606-da20-4988-aaef-5b45c4158977"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","   pm.globals.set(\"task_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   pm.globals.set(\"user_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"0da7156f-5b65-4f2e-9ab2-4785b47dd26a"}}],"id":"7877563b-a268-46bf-8b0d-8bb3a5d2cfd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"body\": \"A new comment on task\",\n    \"user_id\": {{user_id}},\n    \"mentioned_user_ids\": [{{user_id}}]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/tasks/:task_id/comments","description":"<p>Creates a <strong>comment</strong> on a task in Lawmatics.<br /><strong>optional field:</strong> mentioned_user_ids</p>\n<p>mentioned_user_ids: list of user ids.</p>\n<p>Feel free to add HTML tags to format your comments.</p>\n<p>Following is a simple comment with formatting example using bold <em>italic</em> etc.  </p>\n<p>This is a simple comment with formatting example using <strong>bold</strong> <em>italics</em></p>\n<p>Another example of comment with mentioned users.  </p>\n<p>Hi its a new comment on task 45 @Jasmine Rattan</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","comments"],"host":["{{host}}"],"query":[],"variable":[{"id":"a554ea90-2c6b-445b-8925-1c9d18a1824a","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"4d4196c2-6ba1-4f46-8d14-753da7fa07bb","name":"Create Comment","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"url":{"raw":"{{host}}/v1/tasks/:task_id/comments","host":["{{host}}"],"path":["v1","tasks",":task_id","comments"],"variable":[{"key":"task_id","value":"45"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"45\",\n        \"type\": \"comment\",\n        \"attributes\": {\n            \"body\": \"A new comment on task\",\n            \"commentable_type\": \"Task\",\n            \"commentable_id\": 45,\n            \"mentioned_user_ids\": [\n                1\n            ],\n            \"created_at\": \"2023-07-05T11:14:44.974-07:00\",\n            \"updated_at\": \"2023-07-05T11:14:44.974-07:00\"\n        },\n        \"relationships\": {\n            \"commentable\": {\n                \"data\": {\n                    \"id\": \"45\",\n                    \"type\": \"task\"\n                }\n            },\n            \"comment_mentions\": {\n                \"data\": [\n                    {\n                        \"id\": \"11\",\n                        \"type\": \"comment_mention\"\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"7877563b-a268-46bf-8b0d-8bb3a5d2cfd6"},{"name":"Update Task","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"474add48-b7a4-447c-ae3a-9d31cb55c48a"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","   pm.globals.set(\"task_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   pm.globals.set(\"user_id\", response.json().data[0].id);","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/tags`, function (err, response) {","   pm.globals.set(\"tag_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"1b2ff051-04cf-44fc-bd0b-30fe559faaf9"}}],"id":"39f4a389-cb89-431e-bc33-8f0826f25a77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Brand new updated task\",\n\t\"description\": \"The updated new description\",\n\t\"priority\": \"high\",\n    \"due_date\": \"08/25/2023\",\n\t\"done\": false,\n    \"assigned_by_id\": {{user_id}},\n    \"user_ids\": [{{user_id}}],\n    \"tag_ids\": [{{tag_id}}],\n    \"recurrence_rule\": {\n        \"type\": \"weekly\",\n        \"wednesday\": true,\n        \"end_date\": \"08/30/2023\"\n    }\n}"},"url":"{{host}}/v1/tasks/:task_id?fields=all","description":"<p>Updates a <strong>Task</strong></p>\n<p><strong>Optional Fields</strong>: user_ids, priority, done, taskable, tag_ids, assigned_by_id, recurrence_rule</p>\n<p><strong>due_date</strong>: <strong>Task</strong> due date (iso8601 datetime)</p>\n<p><strong>user_ids</strong>: The Firm <strong>User</strong> ids that will be assigned to this <strong>Task</strong>.</p>\n<p><strong>priority</strong>: high, medium, low (default)</p>\n<p><strong>done</strong>: true or false (default)</p>\n<p><strong>taskable_type, taskable_id:</strong> Record type, ID the <strong>Task</strong> is associated with (Prospect (Matter), Contact, Company, Client).</p>\n<p><strong>tag_ids</strong>: <strong>Tags</strong> to associate to this **Task.  </p>\n<p>assigned_by_id:** The <strong>user id</strong> the task is assigned by.</p>\n<p><strong>recurrence_rule: Json object.</strong> Following are the fields with which we can create a recurrence_rule.<br />RecurrenceType options are the following = 'daily' or 'weekly' or monthly' or 'yearly';</p>\n<p>fields of the json object you can choose from:<br />type: <strong>RecurrenceType</strong>;<br />endOption?: boolean;<br />endDate?: Date;</p>\n<p><strong>// If you choose type to be daily</strong></p>\n<p>frequency?: number;</p>\n<p><strong>// If you choose type to be weekly</strong></p>\n<p>sunday?: boolean;<br />monday?: boolean;<br />tuesday?: boolean;<br />wednesday?: boolean;<br />thursday?: boolean;<br />friday?: boolean;<br />saturday?: boolean;</p>\n<p><strong>// If you choose type to be monthly</strong><br />monthlyFrequency?: number;<br />dayOfMonth?: number;</p>\n<p><strong>// If you choose type to be yearly</strong><br />month?: string;<br />dayOfMonthYear?: number;</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[{"id":"ac95e667-c225-4de0-b3c6-f8d3967bd357","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"6964a6c1-088d-417b-b7cb-1a3d3b4357a7","name":"PUT Update Task","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Brand new updated task\",\n\t\"description\": \"The updated new description\",\n\t\"priority\": \"high\",\n    \"due_date\": \"08/25/2023\",\n\t\"done\": false,\n    \"assigned_by_id\": 2,\n    \"user_ids\": [2],\n    \"tag_ids\": [2],\n    \"recurrence_rule\": {\n        \"type\": \"weekly\",\n        \"wednesday\": true,\n        \"end_date\": \"08/30/2023\"\n    }\n}"},"url":{"raw":"{{host}}/v1/tasks/1?fields=all","host":["{{host}}"],"path":["v1","tasks","1"],"query":[{"key":"fields","value":"all"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Aug 2019 20:48:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=A8F6zBQgbkSA5Fz7WD2Fgmp27ZDzjC2gEc/ltVZU2II31+LnLIWobcdISVCBGzMpJecTpXc8h1HT50kjrHjETL+5IbZmsANsq0AQBVMqHIhWnGufsphme/JJh47W; Expires=Wed, 04 Sep 2019 20:48:10 GMT; Path=/"},{"key":"ETag","value":"W/\"7a02c95c1fc42a7738270cb26d1b8dd5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"46074845-17f0-4946-9b59-fc8528e50f7a"},{"key":"X-Runtime","value":"0.095035"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"117\",\n        \"type\": \"task\",\n        \"attributes\": {\n            \"name\": \"Brand new updated task\",\n            \"description\": \"The updated new description\",\n            \"due_date\": \"2023-08-25T00:00:00.000-07:00\",\n            \"done\": false,\n            \"priority\": \"high\",\n            \"status\": \"No Status\",\n            \"tags\": [\n                {\n                    \"id\": 2,\n                    \"firm_id\": 1,\n                    \"name\": \"nevermindd\",\n                    \"key\": \"nevermindd\",\n                    \"description\": null,\n                    \"color\": null,\n                    \"created_at\": \"2023-04-24T16:11:25.082-07:00\",\n                    \"updated_at\": \"2023-04-24T21:48:51.112-07:00\"\n                }\n            ],\n            \"recurrence_rule\": {\n                \"type\": \"weekly\",\n                \"wednesday\": true,\n                \"end_date\": \"08/30/2023\"\n            },\n            \"assigned_by_id\": 2,\n            \"created_at\": \"2023-07-05T10:49:06.424-07:00\",\n            \"updated_at\": \"2023-07-05T10:51:40.650-07:00\"\n        },\n        \"relationships\": {\n            \"users\": {\n                \"data\": [\n                    {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                ]\n            },\n            \"documents\": {\n                \"data\": []\n            },\n            \"taskable\": {\n                \"data\": {\n                    \"id\": \"471\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"subtasks\": {\n                \"data\": []\n            },\n            \"comments\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"39f4a389-cb89-431e-bc33-8f0826f25a77"},{"name":"Update Subtask","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"eb1d2f37-e595-47d2-ad1b-27452300be51"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","    pm.globals.set(\"task_id\", response.json().data[0].id);","    pm.sendRequest(`${pm.environment.get('host')}/v1/tasks/${response.json().data[0].id}/subtasks`, function (err, response) {","        pm.globals.set(\"subtask_id\", response.json().data[0].id);","    })","});"],"type":"text/javascript","id":"d725f299-4eb3-42ca-92c9-20c34247cdbf"}}],"id":"256368ae-984b-4e21-a610-fcd40c40338b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"body\": \"you are awesome number 1\",\n    \"done\": \"false\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/tasks/:task_id/subtasks/:subtask_id","description":"<p>Updates a <strong>subtask</strong> on a task.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","subtasks",":subtask_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"b4bf5686-c0a6-4501-ad66-c594f6a01d4f","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"de5d167a-f6b7-44e8-86b7-812d444c1c06","type":"any","value":"{{subtask_id}}","key":"subtask_id"}]}},"response":[{"id":"371c3203-03d7-47bb-9d8b-cb9a6d32e96e","name":"Update Subtask","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"body\": \"you are awesome number 1\",\n    \"done\": \"false\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/tasks/:task_id/subtasks/:subtask_id","host":["{{host}}"],"path":["v1","tasks",":task_id","subtasks",":subtask_id"],"variable":[{"key":"task_id","value":"46"},{"key":"subtask_id","value":"26"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"26\",\n        \"type\": \"subtask\",\n        \"attributes\": {\n            \"body\": \"you are awesome number 1\",\n            \"done\": false,\n            \"order\": 1,\n            \"created_at\": \"2023-06-29T12:11:42.971-07:00\",\n            \"updated_at\": \"2023-06-29T15:37:15.140-07:00\"\n        },\n        \"relationships\": {\n            \"task\": {\n                \"data\": {\n                    \"id\": \"46\",\n                    \"type\": \"task\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"256368ae-984b-4e21-a610-fcd40c40338b"},{"name":"Update Comment","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"e3619df4-cc28-438b-8ae8-79f9a6f8b98d"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","    pm.globals.set(\"task_id\", response.json().data[0].id);","    pm.sendRequest(`${pm.environment.get('host')}/v1/tasks/${response.json().data[0].id}/comments`, function (err, response) {","        pm.globals.set(\"comment_id\", response.json().data[0].id);","    })","});","","pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   pm.globals.set(\"user_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"60971a67-0a00-4ced-9773-0db1baeda26e"}}],"id":"0ea8a51a-7bb5-4c37-83f7-318a33dda091","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"body\": \"A new comment on task updated\",\n    \"user_id\": {{user_id}},\n    \"mentioned_user_ids\": [{{user_id}}]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/tasks/:task_id/comments/:comment_id","description":"<p>Updates a <strong>specific comment</strong> on a task in Lawmatics.</p>\n<p><strong>optional field:</strong> mentioned_user_ids</p>\n<p>mentioned_user_ids: list of user ids.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","comments",":comment_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c55f733f-33da-49c7-b662-3a0e950e2ef5","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"5d11d62b-a159-47ae-99d8-559142345424","type":"any","value":"{{comment_id}}","key":"comment_id"}]}},"response":[{"id":"208fa25e-0b09-4da5-a611-9b71678a1254","name":"Update Comment","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"body\": \"A new comment on task updated\",\n    \"user_id\": 1,\n    \"mentioned_user_ids\": [1,5,6]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/tasks/:task_id/comments/:comment_id","host":["{{host}}"],"path":["v1","tasks",":task_id","comments",":comment_id"],"variable":[{"key":"task_id","value":"45"},{"key":"comment_id","value":"45"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"45\",\n        \"type\": \"comment\",\n        \"attributes\": {\n            \"body\": \"A new comment on task updated\",\n            \"commentable_type\": \"Task\",\n            \"commentable_id\": 45,\n            \"mentioned_user_ids\": [\n                1,\n                5,\n                6\n            ],\n            \"created_at\": \"2023-07-05T11:14:44.974-07:00\",\n            \"updated_at\": \"2023-07-05T11:15:58.840-07:00\"\n        },\n        \"relationships\": {\n            \"commentable\": {\n                \"data\": {\n                    \"id\": \"45\",\n                    \"type\": \"task\"\n                }\n            },\n            \"comment_mentions\": {\n                \"data\": [\n                    {\n                        \"id\": \"11\",\n                        \"type\": \"comment_mention\"\n                    },\n                    {\n                        \"id\": \"12\",\n                        \"type\": \"comment_mention\"\n                    },\n                    {\n                        \"id\": \"13\",\n                        \"type\": \"comment_mention\"\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"0ea8a51a-7bb5-4c37-83f7-318a33dda091"},{"name":"Delete Task","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"1256e89d-78cc-44c0-be42-b8a5c061ee49"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","   pm.globals.set(\"task_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"ed415088-f28b-4560-a838-7fcc26870b17"}}],"id":"22223b31-f5a7-4f44-afd7-9ae094cc9831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/tasks/:task_id","description":"<p>Delete a <strong>Task</strong></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"cefc16a9-357e-4782-b234-2e5c47fc8786","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"6c556c07-61f2-4c23-905e-8b45bb697102","name":"DELETE Delete Task","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/v1/tasks/13?fields=all","host":["{{host}}"],"path":["v1","tasks","13"],"query":[{"key":"fields","value":"all"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 28 Aug 2019 20:48:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Set-Cookie","value":"AWSALB=A8F6zBQgbkSA5Fz7WD2Fgmp27ZDzjC2gEc/ltVZU2II31+LnLIWobcdISVCBGzMpJecTpXc8h1HT50kjrHjETL+5IbZmsANsq0AQBVMqHIhWnGufsphme/JJh47W; Expires=Wed, 04 Sep 2019 20:48:10 GMT; Path=/"},{"key":"ETag","value":"W/\"7a02c95c1fc42a7738270cb26d1b8dd5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"46074845-17f0-4946-9b59-fc8528e50f7a"},{"key":"X-Runtime","value":"0.095035"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"13\",\n        \"type\": \"task\",\n        \"attributes\": {\n            \"name\": \"Updated Task\",\n            \"description\": \"The updated tag description\",\n            \"due_date\": \"2022-06-30T00:00:00.000-07:00\",\n            \"done\": false,\n            \"priority\": \"high\",\n            \"tags\": [],\n            \"created_at\": \"2022-06-21T12:53:05.939-07:00\",\n            \"updated_at\": \"2022-06-21T12:57:27.416-07:00\"\n        },\n        \"relationships\": {\n            \"users\": {\n                \"data\": [\n                    {\n                        \"id\": \"2\",\n                        \"type\": \"user\"\n                    }\n                ]\n            },\n            \"taskable\": {\n                \"data\": {\n                    \"id\": \"37\",\n                    \"type\": \"contact\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"22223b31-f5a7-4f44-afd7-9ae094cc9831"},{"name":"Delete Subtask","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"495aafd8-206a-4355-8c43-85f24631c84a"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","    pm.globals.set(\"task_id\", response.json().data[0].id);","    pm.sendRequest(`${pm.environment.get('host')}/v1/tasks/${response.json().data[0].id}/subtasks`, function (err, response) {","        pm.globals.set(\"subtask_id\", response.json().data[0].id);","    })","});"],"type":"text/javascript","id":"eca812d6-612a-42a6-8702-242c164b88f5"}}],"id":"ad94799b-075d-4773-b690-677c529e4718","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/tasks/:task_id/subtasks/:subtask_id","description":"<p>Deletes a <strong>subtask</strong> from a task.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","subtasks",":subtask_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"2eac84d2-d145-4dc2-bf32-0cd1081c01b3","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"57b1a273-576d-4da7-9acb-3f4f13764710","type":"any","value":"{{subtask_id}}","key":"subtask_id"}]}},"response":[{"id":"110f6c35-99d1-477f-8ec8-c4e3c3e07f9f","name":"Delete Subtask","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/tasks/:task_id/subtasks/:subtask_id","host":["{{host}}"],"path":["v1","tasks",":task_id","subtasks",":subtask_id"],"variable":[{"key":"task_id","value":"46"},{"key":"subtask_id","value":"46"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"46\",\n        \"type\": \"subtask\",\n        \"attributes\": {\n            \"body\": \"hamne\",\n            \"done\": true,\n            \"order\": 0,\n            \"created_at\": \"2023-02-09T14:31:31.631-08:00\",\n            \"updated_at\": \"2023-06-29T14:12:37.048-07:00\"\n        },\n        \"relationships\": {\n            \"task\": {\n                \"data\": {\n                    \"id\": \"46\",\n                    \"type\": \"task\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"ad94799b-075d-4773-b690-677c529e4718"},{"name":"Delete Comment","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"13165531-fd83-4d1a-b480-cce491a254b5"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {","    pm.globals.set(\"task_id\", response.json().data[0].id);","    pm.sendRequest(`${pm.environment.get('host')}/v1/tasks/${response.json().data[0].id}/comments`, function (err, response) {","        pm.globals.set(\"comment_id\", response.json().data[0].id);","    })","});"],"type":"text/javascript","id":"5a987bf5-4325-4114-bba8-6086a41e1573"}}],"id":"d80caf84-2a35-4eab-83aa-ae9aa3014eb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/tasks/:task_id/comments/:comment_id","description":"<p>Deletes a <strong>specific comment</strong> on a task in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","comments",":comment_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"073b75bd-13b2-4218-9c64-aecefa63ce5f","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"53605e9d-e287-4c6a-954c-09682b4b97ac","type":"any","value":"{{comment_id}}","key":"comment_id"}]}},"response":[{"id":"d8b9c5c5-4d69-4f9b-b857-32e8da89975a","name":"Delete Comment","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/tasks/:task_id/comments/:comment_id","host":["{{host}}"],"path":["v1","tasks",":task_id","comments",":comment_id"],"variable":[{"key":"task_id","value":"45"},{"key":"comment_id","value":"31"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"31\",\n        \"type\": \"comment\",\n        \"attributes\": {\n            \"body\": \"hello love\",\n            \"commentable_type\": \"Task\",\n            \"commentable_id\": 45,\n            \"created_at\": \"2023-06-30T12:53:17.586-07:00\",\n            \"updated_at\": \"2023-06-30T13:10:40.829-07:00\"\n        },\n        \"relationships\": {\n            \"commentable\": {\n                \"data\": {\n                    \"id\": \"45\",\n                    \"type\": \"task\"\n                }\n            },\n            \"comment_mentions\": {\n                \"data\": []\n            }\n        }\n    }\n}"}],"_postman_id":"d80caf84-2a35-4eab-83aa-ae9aa3014eb0"}],"id":"28104e59-4867-4e27-a608-44b1a30eac37","_postman_id":"28104e59-4867-4e27-a608-44b1a30eac37","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Task Statuses","item":[{"name":"Task Status","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"72ca4458-32fd-4271-9665-ce987bd81596"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/task_statuses`, function (err, response) {","   pm.globals.set(\"task_status_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"8a5243ca-3356-41af-9c16-91814f12d097"}}],"id":"7c33b888-c21e-4d4a-9e33-84fb128d0520","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/task_statuses/:task_status_id","description":"<p>A <strong>specific task status</strong> in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","task_statuses",":task_status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"64cabd65-4f52-423a-b027-d68fcf572db8","type":"any","value":"{{task_status_id}}","key":"task_status_id"}]}},"response":[{"id":"f19f0b3e-34c7-498a-b360-c614bcf934e1","name":"GET Task Status","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/task_statuses/:task_status_id","host":["{{host}}"],"path":["v1","task_statuses",":task_status_id"],"variable":[{"key":"task_status_id","value":"3"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"3\",\n        \"type\": \"task_status\",\n        \"attributes\": {\n            \"name\": \"Waiting for Client\",\n            \"color\": \"#A7783B\",\n            \"created_at\": \"2022-12-27T10:08:45.708-08:00\",\n            \"updated_at\": \"2022-12-27T10:08:45.708-08:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"7c33b888-c21e-4d4a-9e33-84fb128d0520"},{"name":"Task Statuses","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"76090a63-778c-4eac-b4ea-ebd2460ef85d"}}],"id":"302c0f68-a216-4e78-aa5b-d5c4a28ffdc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/task_statuses","description":"<p>Gets all the task statuses in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","task_statuses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"4ac2c941-3a2a-4753-8130-61394552118a","name":"GET Task Statuses","originalRequest":{"method":"GET","header":[],"url":"localhost:3001/v1/task_statuses"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"11\",\n            \"type\": \"task_status\",\n            \"attributes\": {\n                \"name\": \"dolare\",\n                \"color\": \"#FFFFFF\",\n                \"created_at\": \"2023-07-03T09:51:58.461-07:00\",\n                \"updated_at\": \"2023-07-03T10:02:21.859-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"9\",\n            \"type\": \"task_status\",\n            \"attributes\": {\n                \"name\": \"hello\",\n                \"color\": \"#000000\",\n                \"created_at\": \"2023-04-24T15:42:34.296-07:00\",\n                \"updated_at\": \"2023-04-24T15:42:34.296-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"4\",\n            \"type\": \"task_status\",\n            \"attributes\": {\n                \"name\": \"In Progress\",\n                \"color\": \"#DE5E1C\",\n                \"created_at\": \"2022-12-27T10:08:45.712-08:00\",\n                \"updated_at\": \"2022-12-27T10:08:45.712-08:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"3\",\n            \"type\": \"task_status\",\n            \"attributes\": {\n                \"name\": \"Waiting for Client\",\n                \"color\": \"#A7783B\",\n                \"created_at\": \"2022-12-27T10:08:45.708-08:00\",\n                \"updated_at\": \"2022-12-27T10:08:45.708-08:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"task_status\",\n            \"attributes\": {\n                \"name\": \"Waiting for Attorney\",\n                \"color\": \"#EDBE30\",\n                \"created_at\": \"2022-12-27T10:08:45.704-08:00\",\n                \"updated_at\": \"2022-12-27T10:08:45.704-08:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"task_status\",\n            \"attributes\": {\n                \"name\": \"Not Started\",\n                \"color\": \"#6519FA\",\n                \"created_at\": \"2022-12-27T10:08:45.699-08:00\",\n                \"updated_at\": \"2023-04-24T15:42:47.077-07:00\"\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 6\n    },\n    \"links\": {\n        \"self\": \"/v1/task_statuses?page=1\"\n    }\n}"}],"_postman_id":"302c0f68-a216-4e78-aa5b-d5c4a28ffdc5"},{"name":"Create Task Status","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_task_status_id\", jsonData.data.id);","}",""],"type":"text/javascript","id":"0d2358d8-a089-46a3-b954-7223cce20a7d"}}],"id":"7fcddeb6-c922-4ce1-a96e-ed84cc481474","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"new task status by jasmine\",\n    \"color\": \"#000000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/task_statuses","description":"<p>Creates a <strong>task status</strong> in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","task_statuses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"db2a8d99-2ebb-4c84-943d-46ada683b825","name":"CREATE Task Status","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"new task status by jasmine\",\n    \"color\": \"#000000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/task_statuses"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"12\",\n        \"type\": \"task_status\",\n        \"attributes\": {\n            \"name\": \"new task status by jasmine\",\n            \"color\": \"#000000\",\n            \"created_at\": \"2023-07-03T10:10:26.384-07:00\",\n            \"updated_at\": \"2023-07-03T10:10:26.384-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"7fcddeb6-c922-4ce1-a96e-ed84cc481474"},{"name":"Update Task Status","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"1aa443a8-f3a8-4b19-813d-4db11120e8c6"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/task_statuses`, function (err, response) {","   pm.globals.set(\"task_status_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"ec6499d1-5a68-4a83-b7f5-eab6562691cf"}}],"id":"3ce00db3-b1df-4d47-b4e2-31e52a9faa2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"i am changing task status id 11\",\n    \"color\": \"#000000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/task_statuses/:task_status_id","description":"<p>Updates a <strong>task status</strong> in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","task_statuses",":task_status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"8b900eca-93d7-4523-af39-fbcce859fb17","type":"any","value":"{{task_status_id}}","key":"task_status_id"}]}},"response":[{"id":"a22734b3-5304-4bb9-a2c5-d8513a323ebd","name":"UPDATE Task Status","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"i am changing task status id 11\",\n    \"color\": \"#000000\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:3001/v1/task_statuses/:task_status_id","host":["localhost"],"port":"3001","path":["v1","task_statuses",":task_status_id"],"variable":[{"key":"task_status_id","value":"11"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"11\",\n        \"type\": \"task_status\",\n        \"attributes\": {\n            \"name\": \"i am changing task status id 11\",\n            \"color\": \"#000000\",\n            \"created_at\": \"2023-07-03T09:51:58.461-07:00\",\n            \"updated_at\": \"2023-07-03T10:12:16.345-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"3ce00db3-b1df-4d47-b4e2-31e52a9faa2a"},{"name":"Delete Task Status","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"702cea66-7bcb-42b2-9bc5-6239dcc3504e"}},{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/task_statuses`, function (err, response) {","   pm.globals.set(\"task_status_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"3acb14cd-3def-423c-83a3-8218ccf17017"}}],"id":"cf5a0fe0-f125-41c6-87db-a20bff2e7f4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/task_statuses/:task_status_id","description":"<p>Deletes a <strong>task status</strong> in Lawmatics.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","task_statuses",":task_status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"671fdd6b-7ed0-4950-9544-18b6a4c650d7","type":"any","value":"{{task_status_id}}","key":"task_status_id"}]}},"response":[{"id":"bfba0756-53e7-4fec-8f01-2474efb687b0","name":"DELETE Task Status","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/task_statuses/:task_status_id","host":["{{host}}"],"path":["v1","task_statuses",":task_status_id"],"variable":[{"key":"task_status_id","value":"10"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"10\",\n        \"type\": \"task_status\",\n        \"attributes\": {\n            \"name\": \"lmao\",\n            \"color\": \"#000000\",\n            \"created_at\": \"2023-07-03T09:49:50.880-07:00\",\n            \"updated_at\": \"2023-07-03T09:50:01.235-07:00\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"cf5a0fe0-f125-41c6-87db-a20bff2e7f4e"}],"id":"fcfb0ffd-5734-4777-9a29-c01d7e49fc51","_postman_id":"fcfb0ffd-5734-4777-9a29-c01d7e49fc51","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Timeline Activities","item":[{"name":"Activity","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/activities`, function (err, response) {","   pm.globals.set(\"activity_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"c3e5d190-dd52-4ed7-815b-986ffa9b6cc6"}}],"id":"87f4619d-c8b5-4a35-9678-9b81427e6d68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/activities/:activity_id","description":"<p>A specific <strong>Activity</strong> in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","activities",":activity_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"0d572f6e-6c1e-42e4-b655-d982c4028057","type":"any","value":"{{activity_id}}","key":"activity_id"}]}},"response":[{"id":"54d93da0-acca-4d8f-8508-cb43c1e4e221","name":"GET Activity","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/activities/:activity_id","host":["{{host}}"],"path":["v1","activities",":activity_id"],"variable":[{"key":"activity_id","value":"101"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"265c5b9cfa48a0c3cc87be0d8fd87b46\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"fb4b2d9d-ef6e-4edb-bf06-c7b18f397cc3"},{"key":"X-Runtime","value":"0.445795"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"101\",\n        \"type\": \"timeline_activity\",\n        \"attributes\": {\n            \"key\": \"prospect.update\",\n            \"type\": \"TimelineActivity::Prospect\",\n            \"detail_keys\": [\n                {\n                    \"emails\": [\n                        {\n                            \"id\": 187,\n                            \"info\": [\n                                \"richard93@example.com\",\n                                \"ricardo+1@lawmatics.com\"\n                            ]\n                        }\n                    ]\n                }\n            ],\n            \"parent_id\": null\n        },\n        \"relationships\": {\n            \"owner\": {\n                \"data\": {\n                    \"id\": \"2\",\n                    \"type\": \"user\"\n                }\n            },\n            \"tracked\": {\n                \"data\": {\n                    \"id\": \"94\",\n                    \"type\": \"prospect\"\n                }\n            },\n            \"recipient\": {\n                \"data\": {\n                    \"id\": \"94\",\n                    \"type\": \"prospect\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"87f4619d-c8b5-4a35-9678-9b81427e6d68"},{"name":"Activities","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {","   pm.globals.set(\"prospect_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"043c081b-389f-474f-a525-30f425e7488e"}}],"id":"c65117d9-8188-407a-81e3-44d4a3744ab5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/activities?filter_by=matter_id&filter_on={{prospect_id}}","description":"<p>A <strong>paginated</strong> list of Activities in Lawmatics</p>\n<p>Can be filtered by <code>matter_id,</code> <code>contact_id,</code> <code>type,</code> and<code>event</code></p>\n<p>as well as all the regular fields as referenced by our Param Guide (most fields returned by<code>?fields=all</code>).</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","activities"],"host":["{{host}}"],"query":[{"description":{"content":"<p>matter_id, contact_id, type or event</p>\n","type":"text/plain"},"key":"filter_by","value":"matter_id"},{"key":"filter_on","value":"{{prospect_id}}"},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"55198e8d-ea36-419c-86c7-12f3b159e6f7","name":"Matter Activities","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/activities?filter_by=matter_id&filter_on=1","host":["{{host}}"],"path":["v1","activities"],"query":[{"key":"filter_by","value":"matter_id"},{"key":"filter_on","value":"1"},{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"1cfcd7d10df464f0e8eb4673c13c207f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a7850c56-3f5a-4ce3-8ec1-eba174389551"},{"key":"X-Runtime","value":"0.077330"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Mary Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 1\n    },\n    \"links\": {\n        \"self\": \"/v1/timeline_activities?page=1\"\n    }\n}"},{"id":"5125d49e-70fd-4360-81d1-3d6fe7c31123","name":"Contact Activities","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/activities?filter_by=contact_id&filter_on=3","host":["{{host}}"],"path":["v1","activities"],"query":[{"key":"filter_by","value":"contact_id"},{"key":"filter_on","value":"3"},{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"1d7303a10d11423a6223cb61bb9b6f47\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"f83765f9-d351-4143-beb5-c6ff172dc88a"},{"key":"X-Runtime","value":"0.025535"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"3\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Michael Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 1\n    },\n    \"links\": {\n        \"self\": \"/v1/timeline_activities?page=1\"\n    }\n}"},{"id":"61956f98-3cdb-47fc-aae6-4438e9586c0e","name":"Activities By Type","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/activities?filter_by=type&filter_on=note","host":["{{host}}"],"path":["v1","activities"],"query":[{"key":"filter_by","value":"type"},{"key":"filter_on","value":"note"},{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5aa98ae9ed7962cef60001dfb1926d1f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a796e39b-ed9f-4637-b37a-2b0f42e9d937"},{"key":"X-Runtime","value":"0.196473"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"100\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Lisa Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"100\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"100\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"99\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"David Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"99\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"99\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"98\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Patricia Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"98\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"98\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"97\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Michael Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"97\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"97\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"96\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Karen Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"96\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"96\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"95\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"James Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"95\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"95\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"94\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Richard Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"94\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"94\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"93\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Jennifer Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"93\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"93\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"92\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"James Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"92\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"92\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"91\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Jennifer Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"91\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"91\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"90\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Barbara Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"90\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"90\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"89\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Jennifer Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"89\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"89\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"88\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Maria Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"88\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"88\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"87\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Karen Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"87\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"87\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"86\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"William Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"86\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"86\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"85\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Jennifer Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"85\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"85\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"84\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Susan Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"84\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"84\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"83\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"William Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"83\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"83\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"82\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Michael Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"82\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"82\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"81\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Charles Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"81\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"81\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"80\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Michael Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"80\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"80\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"79\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Joseph Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"79\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"79\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"78\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Barbara Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"78\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"78\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"77\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"William Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"77\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"77\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"76\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Susan Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"76\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"76\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 4,\n        \"limit_per_page\": 25,\n        \"total_entries\": 100\n    },\n    \"links\": {\n        \"self\": \"/v1/timeline_activities?page=1\",\n        \"next\": \"/v1/timeline_activities?page=2\"\n    }\n}"},{"id":"0575c889-f07b-46f3-80b6-43156872c315","name":"Activities By Event","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/activities?filter_by=event&filter_on=note.create","host":["{{host}}"],"path":["v1","activities"],"query":[{"key":"filter_by","value":"event"},{"key":"filter_on","value":"note.create"},{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"5aa98ae9ed7962cef60001dfb1926d1f\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"771e52a3-aee1-4d5b-a272-2c2c6a993a10"},{"key":"X-Runtime","value":"0.200711"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"100\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Lisa Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"100\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"100\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"99\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"David Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"99\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"99\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"98\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Patricia Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"98\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"98\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"97\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Michael Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"97\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"97\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"96\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Karen Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"96\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"96\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"95\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"James Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"95\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"95\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"94\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Richard Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"94\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"94\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"93\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Jennifer Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"93\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"93\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"92\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"James Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"92\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"92\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"91\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Jennifer Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"91\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"91\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"90\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Barbara Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"90\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"90\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"89\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Jennifer Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"89\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"89\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"88\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Maria Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"88\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"88\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"87\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Karen Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"87\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"87\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"86\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"William Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"86\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"86\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"85\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Jennifer Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"85\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"85\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"84\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Susan Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"84\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"84\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"83\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"William Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"83\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"83\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"82\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Michael Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"82\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"82\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"81\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Charles Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"81\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"81\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"80\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Michael Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"80\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"80\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"79\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Joseph Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"79\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"79\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"78\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Barbara Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"78\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"78\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"77\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"William Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"77\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"77\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"76\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\n                    \"name\": \"Susan Note\"\n                },\n                \"parent_id\": null\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"firm\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"76\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"76\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 4,\n        \"limit_per_page\": 25,\n        \"total_entries\": 100\n    },\n    \"links\": {\n        \"self\": \"/v1/timeline_activities?page=1\",\n        \"next\": \"/v1/timeline_activities?page=2\"\n    }\n}"},{"id":"51131f31-5538-4e62-8063-4f51cc38f7f2","name":"Activities After a Date","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/activities?filter_by=created_at&filter_on=2022-07-25&filter_operator=>","host":["{{host}}"],"path":["v1","activities"],"query":[{"key":"filter_by","value":"created_at","description":"matter_id, contact_id, type or event"},{"key":"filter_on","value":"2022-07-25"},{"key":"filter_operator","value":">"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"ETag","value":"W/\"4ed93b5003bb101d414af99f6414e302\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"1304042b-8cea-451a-9ccc-b10763af87a1"},{"key":"X-Runtime","value":"0.224130"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"683\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\",\n                    \"name\": \"Example Note\"\n                },\n                \"created_at\": \"2022-07-25T12:34:17.177-07:00\",\n                \"updated_at\": \"2022-07-25T12:34:17.177-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"application\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"180\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"220\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"682\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\",\n                    \"name\": \"Example Note\"\n                },\n                \"created_at\": \"2022-07-25T12:34:10.224-07:00\",\n                \"updated_at\": \"2022-07-25T12:34:10.224-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"application\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"179\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"219\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"681\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\",\n                    \"name\": \"Example Note\"\n                },\n                \"created_at\": \"2022-07-25T12:33:53.903-07:00\",\n                \"updated_at\": \"2022-07-25T12:33:53.903-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"application\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"178\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"218\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"680\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\",\n                    \"name\": \"Example Note\"\n                },\n                \"created_at\": \"2022-07-25T12:31:37.738-07:00\",\n                \"updated_at\": \"2022-07-25T12:31:37.738-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"application\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"177\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"217\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"679\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\",\n                    \"name\": \"Example Note\"\n                },\n                \"created_at\": \"2022-07-25T12:31:32.040-07:00\",\n                \"updated_at\": \"2022-07-25T12:31:32.040-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"application\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"176\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"216\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"678\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"task.complete\",\n                \"type\": \"task\",\n                \"detail_keys\": {\n                    \"done\": true,\n                    \"name\": \"Updated Task\",\n                    \"due_date\": \"2022-06-25T00:00:00.000-07:00\",\n                    \"priority\": \"high\",\n                    \"description\": \"The updated tag description\"\n                },\n                \"created_at\": \"2022-07-25T10:51:13.545-07:00\",\n                \"updated_at\": \"2022-07-25T10:51:13.545-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"28\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"677\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"task.create\",\n                \"type\": \"task\",\n                \"detail_keys\": {\n                    \"name\": \"New Task\",\n                    \"due_date\": \"2022-06-30T00:00:00.000-07:00\",\n                    \"description\": \"An important piece of work to be made until it's due date\"\n                },\n                \"created_at\": \"2022-07-25T10:51:13.454-07:00\",\n                \"updated_at\": \"2022-07-25T10:51:13.560-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"28\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"676\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"An important thing to remember\",\n                    \"name\": \"New Note\"\n                },\n                \"created_at\": \"2022-07-25T10:51:09.092-07:00\",\n                \"updated_at\": \"2022-07-25T10:51:09.092-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"175\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"113\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"671\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"task.create\",\n                \"type\": \"task\",\n                \"detail_keys\": {\n                    \"name\": \"New Task\",\n                    \"due_date\": \"2022-06-30T00:00:00.000-07:00\",\n                    \"description\": \"An important piece of work to be made until it's due date\"\n                },\n                \"created_at\": \"2022-07-25T10:45:02.163-07:00\",\n                \"updated_at\": \"2022-07-25T10:45:02.163-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"27\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"670\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"An important thing to remember\",\n                    \"name\": \"New Note\"\n                },\n                \"created_at\": \"2022-07-25T10:42:16.795-07:00\",\n                \"updated_at\": \"2022-07-25T10:42:16.795-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"174\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"113\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"669\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"An important thing to remember\",\n                    \"name\": \"New Note\"\n                },\n                \"created_at\": \"2022-07-25T10:41:32.986-07:00\",\n                \"updated_at\": \"2022-07-25T10:41:32.986-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"173\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"113\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"668\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"An important thing to remember\",\n                    \"name\": \"New Note\"\n                },\n                \"created_at\": \"2022-07-25T10:41:17.434-07:00\",\n                \"updated_at\": \"2022-07-25T10:41:17.434-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"172\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"113\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"667\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"task.complete\",\n                \"type\": \"task\",\n                \"detail_keys\": {\n                    \"done\": true,\n                    \"name\": \"Updated Task\",\n                    \"due_date\": \"2022-06-25T00:00:00.000-07:00\",\n                    \"priority\": \"high\",\n                    \"description\": \"The updated tag description\"\n                },\n                \"created_at\": \"2022-07-25T10:30:10.867-07:00\",\n                \"updated_at\": \"2022-07-25T10:30:10.867-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"26\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"666\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"task.create\",\n                \"type\": \"task\",\n                \"detail_keys\": {\n                    \"name\": \"New Task\",\n                    \"due_date\": \"2022-06-30T00:00:00.000-07:00\",\n                    \"description\": \"An important piece of work to be made until it's due date\"\n                },\n                \"created_at\": \"2022-07-25T10:30:10.124-07:00\",\n                \"updated_at\": \"2022-07-25T10:30:10.913-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"26\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"665\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"An important thing to remember\",\n                    \"name\": \"New Note\"\n                },\n                \"created_at\": \"2022-07-25T10:30:05.869-07:00\",\n                \"updated_at\": \"2022-07-25T10:30:05.869-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"171\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"113\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"664\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"event.delete\",\n                \"type\": \"event\",\n                \"detail_keys\": {},\n                \"created_at\": \"2022-07-25T10:29:56.258-07:00\",\n                \"updated_at\": \"2022-07-25T10:29:56.258-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": null\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"3\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"663\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"task.complete\",\n                \"type\": \"task\",\n                \"detail_keys\": {\n                    \"done\": true,\n                    \"name\": \"Updated Task\",\n                    \"due_date\": \"2022-06-25T00:00:00.000-07:00\",\n                    \"priority\": \"high\",\n                    \"description\": \"The updated tag description\"\n                },\n                \"created_at\": \"2022-07-25T10:28:11.657-07:00\",\n                \"updated_at\": \"2022-07-25T10:28:11.657-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"25\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"662\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"task.create\",\n                \"type\": \"task\",\n                \"detail_keys\": {\n                    \"name\": \"New Task\",\n                    \"due_date\": \"2022-06-30T00:00:00.000-07:00\",\n                    \"description\": \"An important piece of work to be made until it's due date\"\n                },\n                \"created_at\": \"2022-07-25T10:28:10.960-07:00\",\n                \"updated_at\": \"2022-07-25T10:28:11.719-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"25\",\n                        \"type\": \"task\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"661\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.delete\",\n                \"type\": \"note\",\n                \"detail_keys\": {},\n                \"created_at\": \"2022-07-25T10:28:07.111-07:00\",\n                \"updated_at\": \"2022-07-25T10:28:07.111-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": null\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"136\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"660\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.update\",\n                \"type\": \"note\",\n                \"detail_keys\": {},\n                \"created_at\": \"2022-07-25T10:28:06.674-07:00\",\n                \"updated_at\": \"2022-07-25T10:28:06.674-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": null\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"136\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"659\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"An important thing to remember\",\n                    \"name\": \"New Note\"\n                },\n                \"created_at\": \"2022-07-25T10:28:05.625-07:00\",\n                \"updated_at\": \"2022-07-25T10:28:05.625-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"170\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"113\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"657\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"event.delete\",\n                \"type\": \"event\",\n                \"detail_keys\": {},\n                \"created_at\": \"2022-07-25T10:27:36.564-07:00\",\n                \"updated_at\": \"2022-07-25T10:27:36.564-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"5\",\n                        \"type\": \"user\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": null\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"2\",\n                        \"type\": \"contact\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"653\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\",\n                    \"name\": \"Example Note\"\n                },\n                \"created_at\": \"2022-07-24T17:28:47.160-07:00\",\n                \"updated_at\": \"2022-07-24T17:28:47.160-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"application\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"169\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"172\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        },\n        {\n            \"id\": \"652\",\n            \"type\": \"timeline_activity\",\n            \"attributes\": {\n                \"key\": \"note.create\",\n                \"type\": \"note\",\n                \"detail_keys\": {\n                    \"body\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\",\n                    \"name\": \"Example Note\"\n                },\n                \"created_at\": \"2022-07-24T17:28:19.069-07:00\",\n                \"updated_at\": \"2022-07-24T17:28:19.069-07:00\"\n            },\n            \"relationships\": {\n                \"owner\": {\n                    \"data\": {\n                        \"id\": \"1\",\n                        \"type\": \"application\"\n                    }\n                },\n                \"tracked\": {\n                    \"data\": {\n                        \"id\": \"168\",\n                        \"type\": \"note\"\n                    }\n                },\n                \"recipient\": {\n                    \"data\": {\n                        \"id\": \"171\",\n                        \"type\": \"prospect\"\n                    }\n                }\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 24\n    },\n    \"links\": {\n        \"self\": \"/v1/timeline_activities?page=1\"\n    }\n}"},{"id":"03f63ffa-94f6-4481-920f-67003292a4d1","name":"Invalid Parameter","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/activities?filter_by=firm_id&filter_on=1","host":["{{host}}"],"path":["v1","activities"],"query":[{"key":"filter_by","value":"firm_id"},{"key":"filter_on","value":"1"},{"key":"","value":"","disabled":true}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept, Origin"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"feafd5f3-96e8-4a78-ad11-decdc8965049"},{"key":"X-Runtime","value":"0.239633"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"status\": 422,\n            \"title\": \"Filter By Parameter Not Available\",\n            \"detail\": \"When applying filters, a valid 'filter_by' parameter is required.\"\n        }\n    ]\n}"}],"_postman_id":"c65117d9-8188-407a-81e3-44d4a3744ab5"}],"id":"67c352b0-af06-4b24-8ae1-3dae2f899354","_postman_id":"67c352b0-af06-4b24-8ae1-3dae2f899354","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}},{"name":"Users","item":[{"name":"User","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   pm.globals.set(\"user_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"b4178862-505b-41b5-b34d-7d49e45104fb"}}],"id":"9395363d-7582-4a03-a0d3-f325716ef9d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/users/:user_id","description":"<p>Return a specific User by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","users",":user_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"17e4cd02-4b7f-4bac-b6b0-31cedda15831","type":"any","value":"{{user_id}}","key":"user_id"}]}},"response":[{"id":"bcb40eed-383e-4ae1-bce5-6fca4de8ab82","name":"GET User","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/users/17?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","users","17"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:00:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"10ad7636fc8bbe5b872ae42128743faf\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Set-Cookie","value":"AWSALB=37yuqkONiO6Xt1S8/ex8tBar2TSV5pbJjM2MNl7rO/uuVwAswXLZAibxzYJKH0DE8NIJMCEcGYGCOlm2dmkZlf7UKC6A31nYNi+EFO0biqCELV4MFni8VK053Gt9; Expires=Wed, 24 Oct 2018 01:00:33 GMT; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"8e723f5b-39bb-4399-a8b7-fceee1951982","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.013752","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.6563598.1539106472","key":"_ga"},{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.156666708.1539709908","key":"_gid"},{"expires":"Invalid Date","httpOnly":false,"domain":"api.lawmatics.com","path":"/","secure":false,"value":"37yuqkONiO6Xt1S8/ex8tBar2TSV5pbJjM2MNl7rO/uuVwAswXLZAibxzYJKH0DE8NIJMCEcGYGCOlm2dmkZlf7UKC6A31nYNi+EFO0biqCELV4MFni8VK053Gt9","key":"AWSALB"}],"responseTime":null,"body":"{\"data\":{\"id\":\"17\",\"type\":\"user\",\"attributes\":{\"name\":\"Roey Chasman\",\"email\":\"roey@lawmatics.com\",\"role\":\"admin\",\"sign_in_count\":80,\"profile_pic_url\":\"https://lm.lawmatics.com/attachments/bb05ebb95548440709cfee67eaa47ad9477901f7/store/7a1dfa6208de277097e5fd94cef73878adce3ec6010ef99611a30a209607/photo.gif\",\"created_at\":\"2018-01-05T17:19:17.216-08:00\",\"updated_at\":\"2018-10-16T10:11:52.023-07:00\"},\"relationships\":{\"firms\":{\"data\":[{\"id\":\"15\",\"type\":\"firm\"},{\"id\":\"24\",\"type\":\"firm\"}]},\"current_firm\":{\"data\":{\"id\":\"15\",\"type\":\"firm\"}},\"invited_by\":{\"data\":{\"id\":\"15\",\"type\":\"user\"}}}}}"}],"_postman_id":"9395363d-7582-4a03-a0d3-f325716ef9d6"},{"name":"Users","id":"56116bc4-a035-43ec-997c-b65ab80c2017","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/users","description":"<p>Return a <strong>paginated</strong> list of all users in the firm</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","users"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e0990c64-f3a2-4963-8581-c17b9c52dfe0","name":"GET Users","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:01:24 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"668c76b5d8dd32ba58a74931dba1c3c2\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Set-Cookie","value":"AWSALB=ve5B3gpHjGDgcr8UmITMz9Ds0+oPgjPH9GJ7fSuQrmlXMubBlGjHIoasmFZkJ2HXtSY17thmka6jfiQ9DtpKT9lTHf/39bO7d/1ZhgM+vXKb+5C/pq+tUT22eHEZ; Expires=Wed, 24 Oct 2018 01:01:24 GMT; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"bba1cd5c-db15-43d6-9408-a04f5706e786","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.017804","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.6563598.1539106472","key":"_ga"},{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.156666708.1539709908","key":"_gid"},{"expires":"Invalid Date","httpOnly":false,"domain":"api.lawmatics.com","path":"/","secure":false,"value":"ve5B3gpHjGDgcr8UmITMz9Ds0+oPgjPH9GJ7fSuQrmlXMubBlGjHIoasmFZkJ2HXtSY17thmka6jfiQ9DtpKT9lTHf/39bO7d/1ZhgM+vXKb+5C/pq+tUT22eHEZ","key":"AWSALB"}],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"219\",\n            \"type\": \"user\",\n            \"attributes\": {\n                \"name\": \"Bobby Orozco\",\n                \"email\": \"bobby@lawmatics.com\",\n                \"created_at\": \"2018-09-10T14:54:02.100-07:00\",\n                \"updated_at\": \"2018-10-15T16:03:57.819-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"192\",\n            \"type\": \"user\",\n            \"attributes\": {\n                \"name\": \"Anna Gasperlin\",\n                \"email\": \"anna@lawmatics.com\",\n                \"created_at\": \"2018-08-27T12:41:56.353-07:00\",\n                \"updated_at\": \"2018-10-16T16:19:21.578-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"66\",\n            \"type\": \"user\",\n            \"attributes\": {\n                \"name\": \"Jasper Forest\",\n                \"email\": \"jasper@lawmatics.com\",\n                \"created_at\": \"2018-06-18T10:26:37.122-07:00\",\n                \"updated_at\": \"2018-10-02T19:56:32.119-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"24\",\n            \"type\": \"user\",\n            \"attributes\": {\n                \"name\": \"Fred Assuncao\",\n                \"email\": \"fred@lawmatics.com\",\n                \"created_at\": \"2018-03-08T07:33:41.086-08:00\",\n                \"updated_at\": \"2018-10-16T12:58:29.738-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"23\",\n            \"type\": \"user\",\n            \"attributes\": {\n                \"name\": \"Sarah Bottorff\",\n                \"email\": \"sarah.bottorff@gmail.com\",\n                \"created_at\": \"2018-03-06T06:21:09.994-08:00\",\n                \"updated_at\": \"2018-04-26T15:16:25.524-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"21\",\n            \"type\": \"user\",\n            \"attributes\": {\n                \"name\": \"Zsolt Már\",\n                \"email\": \"zsolt@lawmatics.com\",\n                \"created_at\": \"2018-02-02T15:17:22.830-08:00\",\n                \"updated_at\": \"2018-10-12T17:36:54.846-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"17\",\n            \"type\": \"user\",\n            \"attributes\": {\n                \"name\": \"Roey Chasman\",\n                \"email\": \"roey@lawmatics.com\",\n                \"created_at\": \"2018-01-05T17:19:17.216-08:00\",\n                \"updated_at\": \"2018-10-16T10:11:52.023-07:00\"\n            },\n            \"relationships\": {}\n        },\n        {\n            \"id\": \"15\",\n            \"type\": \"user\",\n            \"attributes\": {\n                \"name\": \"Matt Spiegel\",\n                \"email\": \"matt@lawmatics.com\",\n                \"created_at\": \"2018-01-05T09:20:40.371-08:00\",\n                \"updated_at\": \"2018-10-16T16:29:25.480-07:00\"\n            },\n            \"relationships\": {}\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 8\n    },\n    \"links\": {\n        \"self\": \"/v1/user?page=1\"\n    }\n}"}],"_postman_id":"56116bc4-a035-43ec-997c-b65ab80c2017"},{"name":"Me","id":"785d4dfc-d133-42e8-abeb-c49b87723f85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/v1/users/me","description":"<p>Return the authenticated user</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","users","me"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"097c4f38-ad5f-4b41-a26c-c90563d64138","name":"GET Me","originalRequest":{"method":"GET","header":[],"url":"https://api.lawmatics.com/v1/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:03:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1c2b12f9d9177e83f1c639ce0522ae3b\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Set-Cookie","value":"AWSALB=kW8Q5MaZXkE7BBcZxdK/PEpmzT5rx0RBXels/jM/VFT/ztwL2x3EsIMeXrAP1/2cBoDoV9ue1K/vEtI2K7eN/re6ioHVlRDyjpr4Ykb3f62Ocs7JuiGjhUp0PJM2; Expires=Wed, 24 Oct 2018 01:03:33 GMT; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"48282023-d663-4146-adc6-0d3615f79370","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.010836","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.6563598.1539106472","key":"_ga"},{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.156666708.1539709908","key":"_gid"},{"expires":"Invalid Date","httpOnly":false,"domain":"api.lawmatics.com","path":"/","secure":false,"value":"kW8Q5MaZXkE7BBcZxdK/PEpmzT5rx0RBXels/jM/VFT/ztwL2x3EsIMeXrAP1/2cBoDoV9ue1K/vEtI2K7eN/re6ioHVlRDyjpr4Ykb3f62Ocs7JuiGjhUp0PJM2","key":"AWSALB"}],"responseTime":null,"body":"{\"data\":{\"id\":\"17\",\"type\":\"user\",\"attributes\":{\"name\":\"Roey Chasman\",\"email\":\"roey@lawmatics.com\",\"created_at\":\"2018-01-05T17:19:17.216-08:00\",\"updated_at\":\"2018-10-16T10:11:52.023-07:00\"},\"relationships\":{}}}"}],"_postman_id":"785d4dfc-d133-42e8-abeb-c49b87723f85"},{"name":"Create User","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if (jsonData.data) {","  pm.globals.set(\"created_user_id\", jsonData.data.id);","}"],"type":"text/javascript","id":"8ec0b725-1ca5-4bf5-b711-a222f3df72e5"}}],"id":"6aeee570-6c06-42fe-85ba-a3ce735bba2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"peter@oscorp.com\",\n    \"role\": \"Admin\",\n    \"password\": \"spiderman\",\n    \"first_name\": \"Peter\",\n    \"last_name\": \"Parker\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/users","description":"<p>Creates a user or assigns it to the firm if it already exists.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","users"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"db3087ce-55be-4184-ba89-4762e4e35127","name":"POST Create User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"peter@oscorp.com\",\n    \"role\": \"Admin\",\n    \"password\": \"spiderman\",\n    \"first_name\": \"Peter\",\n    \"last_name\": \"Parker\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/users/"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"28\",\n        \"type\": \"user\",\n        \"attributes\": {\n            \"first_name\": \"Peter\",\n            \"last_name\": \"Parker\",\n            \"email\": \"peter@oscorp.com\",\n            \"created_at\": \"2022-10-31T16:11:06.048-07:00\",\n            \"updated_at\": \"2022-10-31T16:11:06.048-07:00\",\n            \"confirmed_at\": null,\n            \"current_sign_in_at\": null,\n            \"invitation_sent_at\": null,\n            \"invitation_accepted_at\": null,\n            \"role\": \"Admin\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"6aeee570-6c06-42fe-85ba-a3ce735bba2b"},{"name":"Update User","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   pm.globals.set(\"user_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"358595e7-ae72-40dc-970c-7229f7b7d48d"}}],"id":"7740698f-78f7-484f-98aa-8f8af43d3d56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Bruce\",\n    \"last_name\": \"Banner\",\n    \"email\": \"thebat.226d1281-d5c9-4c34-8a96-8a01fb2dcd38@gothan.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/users/:user_id","description":"<p>Updates a user</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","users",":user_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"97177eac-b5e2-485d-b287-67a0cb7274f4","type":"any","value":"{{user_id}}","key":"user_id"}]}},"response":[{"id":"e2ae25f3-1c9a-4f0d-9898-2c0fafbff359","name":"PUT Update User","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Bruce\",\n    \"last_name\": \"Banner\",\n    \"email\": \"thebat@gothan.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/users/:user_id","host":["{{host}}"],"path":["v1","users",":user_id"],"variable":[{"key":"user_id","value":"25"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"28\",\n        \"type\": \"user\",\n        \"attributes\": {\n            \"first_name\": \"Bruce\",\n            \"last_name\": \"Banner\",\n            \"email\": \"thebat@gothan.com\",\n            \"created_at\": \"2022-10-31T16:11:06.048-07:00\",\n            \"updated_at\": \"2022-10-31T16:15:17.930-07:00\",\n            \"confirmed_at\": null,\n            \"current_sign_in_at\": null,\n            \"invitation_sent_at\": null,\n            \"invitation_accepted_at\": null,\n            \"role\": \"Admin\"\n        },\n        \"relationships\": {}\n    }\n}"}],"_postman_id":"7740698f-78f7-484f-98aa-8f8af43d3d56"},{"name":"Delete User","event":[{"listen":"prerequest","script":{"exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {","   pm.globals.set(\"user_id\", response.json().data[0].id);","});"],"type":"text/javascript","id":"d36046c8-2618-4f13-9862-67d8e5e166ac"}}],"id":"be916c5b-f404-4d09-9ee0-0e8a319d0ee7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/v1/users/:user_id","description":"<p>Dissociates a user from a firm, in practice this is the same as deleting the user as it won't have access to the system anymore.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}},"urlObject":{"path":["v1","users",":user_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"e6af9747-ed7f-49d7-9625-66ef3cf8cb14","type":"any","value":"{{created_user_id}}","key":"user_id"}]}},"response":[{"id":"994526cb-ba13-44ee-b4d6-b924c5b08841","name":"DELETE Delete User","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.lawmatics.com/v1/users/17?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","users","17"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:00:33 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"10ad7636fc8bbe5b872ae42128743faf\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Set-Cookie","value":"AWSALB=37yuqkONiO6Xt1S8/ex8tBar2TSV5pbJjM2MNl7rO/uuVwAswXLZAibxzYJKH0DE8NIJMCEcGYGCOlm2dmkZlf7UKC6A31nYNi+EFO0biqCELV4MFni8VK053Gt9; Expires=Wed, 24 Oct 2018 01:00:33 GMT; Path=/","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Origin","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."},{"key":"X-Request-Id","value":"8e723f5b-39bb-4399-a8b7-fceee1951982","name":"X-Request-Id","description":"Custom header"},{"key":"X-Runtime","value":"0.013752","name":"X-Runtime","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.6563598.1539106472","key":"_ga"},{"expires":"Invalid Date","httpOnly":false,"domain":"lawmatics.com","path":"/","secure":false,"value":"GA1.2.156666708.1539709908","key":"_gid"},{"expires":"Invalid Date","httpOnly":false,"domain":"api.lawmatics.com","path":"/","secure":false,"value":"37yuqkONiO6Xt1S8/ex8tBar2TSV5pbJjM2MNl7rO/uuVwAswXLZAibxzYJKH0DE8NIJMCEcGYGCOlm2dmkZlf7UKC6A31nYNi+EFO0biqCELV4MFni8VK053Gt9","key":"AWSALB"}],"responseTime":null,"body":"{\"data\":{\"id\":\"17\",\"type\":\"user\",\"attributes\":{\"name\":\"Roey Chasman\",\"email\":\"roey@lawmatics.com\",\"role\":\"admin\",\"sign_in_count\":80,\"profile_pic_url\":\"https://lm.lawmatics.com/attachments/bb05ebb95548440709cfee67eaa47ad9477901f7/store/7a1dfa6208de277097e5fd94cef73878adce3ec6010ef99611a30a209607/photo.gif\",\"created_at\":\"2018-01-05T17:19:17.216-08:00\",\"updated_at\":\"2018-10-16T10:11:52.023-07:00\"},\"relationships\":{\"firms\":{\"data\":[{\"id\":\"15\",\"type\":\"firm\"},{\"id\":\"24\",\"type\":\"firm\"}]},\"current_firm\":{\"data\":{\"id\":\"15\",\"type\":\"firm\"}},\"invited_by\":{\"data\":{\"id\":\"15\",\"type\":\"user\"}}}}}"}],"_postman_id":"be916c5b-f404-4d09-9ee0-0e8a319d0ee7"}],"id":"a6c57988-ac40-41c0-ba0e-44ff593cee9f","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"dffb6fd1-8f54-4f18-89c4-fb87f8dd8916"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"7036f7ef-a303-40e5-aca4-f933f218aac2"}}],"_postman_id":"a6c57988-ac40-41c0-ba0e-44ff593cee9f","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.21.0","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"authUrl","value":"<auth-url>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"clientId","value":"{{client_id}}"},{"key":"useBrowser","value":"<use-browser>"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"grant_type","value":"<grant_type>"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.request.headers.add({ ","    key: \"Authorization\",","    value: `Bearer ${pm.environment.get('access_token')}`","});"],"id":"4133df72-2f51-4f18-8567-c735233fd2f4"}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response should not have errors\", function () { ","    pm.response.to.not.be.error;","    pm.response.to.not.have.jsonBody(\"error\");","});","","if (!pm.request.url.toString().includes('download')) {","    pm.test(\"Data should be present\", function () {","        pm.expect(pm.response.json().data).to.not.be.empty;","    });","}","","if (pm.request.method === \"POST\") {","    pm.test(\"Status code is 201\", function () {","        pm.response.to.have.status(201);","    })","}","","if (['GET', 'PUT', 'PATCH', 'DELETE'].includes(pm.request.method)) {","    pm.test(\"Status code is 200\", function () {","        pm.response.to.have.status(200);","    })","}"],"id":"d1511d5c-e418-431f-863a-445181d9a455"}}],"variable":[{"key":"host","value":"localhost:3001","disabled":true},{"key":"client_id","value":"-yfj0QE9gBjy_jlBGpezCE41WN9-ySBLEACQxX3iMbU","disabled":true},{"key":"client_secret","value":"d22-zWFlJ0X3emjsJHpYXbEODEeTfEwq25nl8fKGo_0","disabled":true},{"key":"super_,matter_id","value":"super_matter_id"},{"key":"super_matter_id","value":"5678"}]}