{"info":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.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=\"05262026---1220\">05/26/2026 - 1.22.0</h4>\n<ul>\n<li><p>Add new endpoint: GET <strong>Collections</strong></p>\n</li>\n<li><p>Add new endpoint: GET <strong>Collection</strong></p>\n</li>\n<li><p>Add new endpoint: POST <strong>Collection</strong></p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Collection</strong></p>\n</li>\n<li><p>Add new endpoint: DELETE <strong>Collection</strong></p>\n</li>\n<li><p>Add new endpoint: GET <strong>Collection Items</strong></p>\n</li>\n<li><p>Add new endpoint: GET <strong>Collection Item</strong></p>\n</li>\n<li><p>Add new endpoint: POST <strong>Collection Item</strong></p>\n</li>\n<li><p>Add new endpoint: PUT <strong>Collection Item</strong></p>\n</li>\n<li><p>Add new endpoint: DELETE <strong>Collection Item</strong></p>\n</li>\n</ul>\n<hr>\n<h4 id=\"05262026---12115\">05/26/2026 - 1.21.15</h4>\n<ul>\n<li>Per-firm rate limiting (500 requests/minute, returns <code>429</code> with <code>Retry-After: 60</code>) is now enforced.</li>\n</ul>\n<hr>\n<h4 id=\"05042026---12114\">05/04/2026 - 1.21.14</h4>\n<ul>\n<li>Fixed <strong>Custom Field</strong> <code>lookup_type</code> validation: <code>User</code> is now accepted; <code>Client</code> and <code>PracticeArea</code> are no longer accepted.</li>\n</ul>\n<hr>\n<h4 id=\"04272026---12113\">04/27/2026 - 1.21.13</h4>\n<ul>\n<li><strong>Company</strong> create/update now accepts <code>custom_fields</code> as an alias for <code>custom_field_values</code>.</li>\n</ul>\n<hr>\n<h4 id=\"12032025---12112\">12/03/2025 - 1.21.12</h4>\n<ul>\n<li>Add <code>send_receipt</code> param to <strong>Transaction</strong> create.</li>\n</ul>\n<hr>\n<h4 id=\"11042025---12111\">11/04/2025 - 1.21.11</h4>\n<ul>\n<li>The <strong>Custom Email</strong> endpoint now serves records from a different underlying model. All record <code>id</code>s have changed.</li>\n</ul>\n<hr>\n<h4 id=\"10272025---12110\">10/27/2025 - 1.21.10</h4>\n<ul>\n<li><strong>Task</strong> <code>GET</code> index: <code>filter_by=user_id</code> with a null/blank filter operator now returns unassigned Tasks.</li>\n</ul>\n<hr>\n<h4 id=\"03312025---1219\">03/31/2025 - 1.21.9</h4>\n<ul>\n<li>Rewrote phone number lookup on the <strong>Contact</strong>, <strong>Company</strong>, and <strong>Matter</strong> Finder endpoints (<code>find_by_phone</code>): a blank phone number now returns <code>400</code> instead of <code>404</code>.</li>\n</ul>\n<hr>\n<h4 id=\"10212024---1218\">10/21/2024 - 1.21.8</h4>\n<ul>\n<li>Add <code>unsubscribed</code> param to <strong>Contact</strong> create/update.</li>\n</ul>\n<hr>\n<h4 id=\"10042024---1217\">10/04/2024 - 1.21.7</h4>\n<ul>\n<li>Add <code>expires_in</code> query param to <code>GET</code> <strong>File</strong>, this controls how long the returned download URL stays valid (default 3600 seconds, max 604800 seconds).</li>\n</ul>\n<hr>\n<h4 id=\"08292024---1216\">08/29/2024 - 1.21.6</h4>\n<ul>\n<li>Canceling an <strong>Event</strong> now attributes the resulting timeline activity to the API caller, instead of always the Event's original creator.</li>\n</ul>\n<hr>\n<h4 id=\"08122024---1215\">08/12/2024 - 1.21.5</h4>\n<ul>\n<li>Add <code>sync_email</code> param to <strong>Relationship Type</strong> create/update.</li>\n</ul>\n<hr>\n<h4 id=\"08072024---1214\">08/07/2024 - 1.21.4</h4>\n<ul>\n<li>Add <code>canceled_at</code> field to the <strong>Event</strong> API.</li>\n</ul>\n<hr>\n<h4 id=\"08022024---1213\">08/02/2024 - 1.21.3</h4>\n<ul>\n<li>Contact and Matter <code>create</code>: when a firm has <strong>Match Contacts by Email</strong> enabled, submitting an <code>email</code> that matches an existing Contact now returns that existing record instead of creating a new one.</li>\n</ul>\n<hr>\n<h4 id=\"04252024---1212\">04/25/2024 - 1.21.2</h4>\n<ul>\n<li><p>Expenses and Time Entries: lowercase <code>contactable_type</code> values now work (previously only exact <code>Prospect</code>/<code>Contact</code>/<code>Company</code> casing was accepted).</p>\n</li>\n<li><p>Expenses and Time Entries: missing <code>contactable_type</code> now returns a <code>422</code> validation error.</p>\n</li>\n</ul>\n<hr>\n<h4 id=\"04122024---1211\">04/12/2024 - 1.21.1</h4>\n<ul>\n<li>Expenses and Time Entries <code>create</code> now return <code>201 Created</code> on success (previously <code>200</code>).</li>\n</ul>\n<hr>\n<h4 id=\"03042024---1210\">03/04/2024 - 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=\"02082024---1205\">02/08/2024 - 1.20.5</h4>\n<ul>\n<li>Custom Field update no longer requires re-sending <code>type</code> or <code>lookup_type</code> when updating other fields.</li>\n</ul>\n<hr>\n<h4 id=\"01112024---1204\">01/11/2024 - 1.20.4</h4>\n<ul>\n<li>Add <code>path</code> param to <strong>Folder</strong> create (an array of folder names describing a nested path, creating or reusing each folder in the chain.)</li>\n</ul>\n<hr>\n<h4 id=\"01102024---1203\">01/10/2024 - 1.20.3</h4>\n<ul>\n<li>Creating a <strong>Folder</strong> with a name that's already taken in the same parent folder now returns a <code>409</code> error.</li>\n</ul>\n<hr>\n<h4 id=\"10112023---1202\">10/11/2023 - 1.20.2</h4>\n<ul>\n<li>Add <code>notes</code> param to Company create/update.</li>\n</ul>\n<hr>\n<h4 id=\"10102023---1201\">10/10/2023 - 1.20.1</h4>\n<ul>\n<li>Company create/update now accepts <code>street</code>, <code>street2</code>, <code>city</code>, <code>state</code>, <code>country</code>, <code>zipcode</code>, <code>email</code>, and <code>phone</code> directly (creates/updates the Company's primary Address, Email, and Phone Number).</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 devloper app.<br>Disregard the authentication info below, and use our <strong>Unauthenticated</strong> 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":"EEEEEE","right-sidebar":"242628","highlight":"3E85BE"},"publishDate":"2026-09-22T17:59:35.000Z"},"item":[{"name":"Getting Started With Auth","item":[],"id":"a85134d5-1849-49c5-abe5-b597662cd74c","description":"<p>Lawmatics' REST API uses the standard OAuth2.0 token grant flow.</p>\n<p><a href=\"https://help.lawmatics.com/en/articles/15939403-api-authentication-oauth2-setup-guide\">API Authentication: OAuth2.0 Setup Guide</a></p>\n<h4 id=\"creating-a-new-oauth2-lawmatics-developer-app\">Creating a new OAuth2 Lawmatics Developer App:</h4>\n<blockquote>\n<p>To create a new developer app, you must have a Lawmatics account with developer settings. If your account does not have developer settings, you can contact our team at <a href=\"https://support@lawmatics.com\">support@lawmatics.com</a>. </p>\n</blockquote>\n<p>While logged in to your Lawmatics account, go to <a href=\"https://app.lawmatics.com/settings/developers\">Settings &gt; Developers</a>.</p>\n<p>To get credentials for programmatic access, click <strong>Create New Application</strong>. You'll enter the <strong>Name</strong>, <strong>Description</strong>, and <strong>Logo</strong> that users will see when connecting through your app, as well as the <strong>Callback URL</strong> (redirect URI) they'll be redirected back to after granting your app access to their account.</p>\n<p>This is also where Lawmatics sends the temporary authorization code, so the redirect URI you provide needs to point somewhere your app can actually capture that code (e.g. an endpoint on your server that reads it from the query string).</p>\n<hr />\n<h4 id=\"authenticating-with-your-client-app\">Authenticating with your Client App:</h4>\n<p>To authenticate, users of your application click your authorize link, log into their Lawmatics account, and then grant or deny your Client App access to act on their behalf. Once granted, Lawmatics redirects the user back to your application with a grant code included 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 you set when creating your developer app (also shown in Developer Settings). Lawmatics redirects the user here along with the grant code.</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>Once the user authenticates and grants access, Lawmatics redirects them back to your Callback URL with a <code>code</code> query parameter:</p>\n<p><code>GET https://www.callbackurl.com/?code=f2da562a94981e24d610b021aedaae03eb286acab7cd855013f9165aebbeef48</code></p>\n<p>This <code>code</code> is short-lived (10 minutes/600 seconds,) and your backend needs to capture it and exchange it for an <code>access_token:</code></p>\n<p><strong>STEP 2: Getting an Access Token</strong></p>\n<p>From 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>: Your app's Client ID (from Developer Settings)</p>\n</li>\n<li><p><code>client_secret</code>: Your app's Client Secret (from Developer Settings)</p>\n</li>\n<li><p><code>grant_type</code>: <code>authorization_code</code></p>\n</li>\n<li><p><code>code</code>: The authorization code returned in the redirect from Step 1</p>\n</li>\n<li><p><code>redirect_uri</code>: The same Callback URL used in the authorization request from Step 1</p>\n</li>\n</ul>\n<p>This returns a non-expiring <code>access_token</code>, which you should save and associate with that 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\":\"YOUR_ACCESS_TOKEN\",\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<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Authorization: Bearer YOUR_ACCESS_TOKEN\n\n</code></pre><hr />\n<h4 id=\"limitations\">Limitations</h4>\n<ul>\n<li><p>We have a 500 req/min per-firm rate limit on all endpoints. Exceeding this limit returns a 429 error with `Retry-After: 60` header</p>\n</li>\n<li><p>We currently do not support scopes. Access granted is based on the authorizing user's role for record-level visibility, but is not fully restricted by all permission settings on the account.</p>\n</li>\n<li><p>We do not have a deauthorization endpoint. To revoke access, firms can contact us at <a href=\"https://mailto:support@lawmatics.com\">support@lawmatics.com</a> to have specific tokens revoked.</p>\n</li>\n<li><p>Access tokens do not expire, so we do not provide a refresh token.</p>\n</li>\n</ul>\n","_postman_id":"a85134d5-1849-49c5-abe5-b597662cd74c","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Param Guide","item":[{"name":"Field Selection","item":[],"id":"57432387-4186-4d94-99eb-442a93e37885","description":"<p>Field Selection allows you to shape the response data to only include fields that are needed for your development. A \"field\" refers to either an attribute on the record or an association to another record.</p>\n<p>Field Selection can only return data one level deep.</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.</p>\n<p>e.g. <code>?fields=first_name,last_name,source,custom_fields</code>.</p>\n<p>Fields are returned in the order you select them.</p>\n<p>Requests that don't include the <code>fields</code> param will return a small set of commonly used default attributes (e.g. <code>name</code>, <code>email</code>).</p>\n<p>Requesting an associated field only returns that record's <code>id</code> and <code>type</code>. To get more data about that related record, use its <code>id</code> to query the relevant endpoint directly.</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>First, request the association:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://api.lawmatics.com/v1/prospects/74?fields=source\nAuthorization: Bearer &lt;access_token&gt;\n</code></pre><p>This returns:</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\n</code></pre><p>Then use that <code>id</code> to query the Source directly:<br /><code>https://api.lawmatics.com/v1/sources/3?fields=all</code></p>\n<p>This exposes all available attributes and relationships on that Source.</p>\n<p><code>fields=all</code> is meant for exploring what fields/relationships are available. Once you know which fields you need, request just those instead to keep your responses lean.</p>\n","_postman_id":"57432387-4186-4d94-99eb-442a93e37885","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Pagination","item":[],"id":"5426df0c-8863-4678-b52f-79522bb471ee","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","_postman_id":"5426df0c-8863-4678-b52f-79522bb471ee","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Sorting","item":[],"id":"b6af127d-2a61-4e7c-8faa-79d8ec04eb5b","description":"<p>By default, List responses are sorted by <code>id</code>, descending (biggest to smallest.)</p>\n<p>Customizing the sort order of the response works with two query params:</p>\n<ol>\n<li><p><code>sort_by</code>: The field to sort on</p>\n</li>\n<li><p><code>sort_order</code>: <code>asc</code> or <code>desc</code></p>\n</li>\n</ol>\n<p>Available <code>sort_by</code> columns are:<br /><code>id, created_at, updated_at</code><br />As 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","_postman_id":"b6af127d-2a61-4e7c-8faa-79d8ec04eb5b","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Filtering","item":[{"name":"Filtering Examples","item":[{"name":"Matters Filtered by specific Practice Area","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects?fields=practice_area`, function (err, response) {\n   pm.globals.set(\"practice_area_id\", response.json().data.find(({relationships}) => relationships?.practice_area?.data?.type == 'practice_area').relationships.practice_area.data.id);\n});\n\n"]}}],"id":"7b1aa98c-cd9a-4836-a69f-df647962247c","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.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":"c147cf9e-1a5c-4156-a4e5-4e0badb1515e","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":"7b1aa98c-cd9a-4836-a69f-df647962247c"},{"name":"Matters Filtered by Actual Value > $0.00","id":"4c3a0584-0bf6-46e5-a4ef-007d5bc9f72c","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.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":"5717ad46-f0e2-4c86-8d9e-77655dfcc5f4","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":"4c3a0584-0bf6-46e5-a4ef-007d5bc9f72c"},{"name":"Matters Filtered by Status is not PNC","id":"8c3a66b5-1351-4c16-8031-fa9c3b43059b","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.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":"9d0a8800-de57-4c4b-9435-9b9b538e9040","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":"8c3a66b5-1351-4c16-8031-fa9c3b43059b"}],"id":"4fc12758-23b9-4577-b1ed-5274058b0734","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\n</code></pre><blockquote>\n<p><strong>Case Title (case insensitive, exact match)</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\n</code></pre><blockquote>\n<p><strong>Case Title (case sensitive, starts with,</strong> <strong>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\n</code></pre><blockquote>\n<p><strong>Case Title (case insensitive, ends with, 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\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\n</code></pre><blockquote>\n<p><strong>Estimated Value Less Than or Equal to 100 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\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\n</code></pre>","_postman_id":"4fc12758-23b9-4577-b1ed-5274058b0734","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}}],"id":"ee57a574-9381-414c-9b04-7105b1d25146","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><p><code>filter_by</code> or <code>filter_field</code>: This specifies the field name to filter on.</p>\n</li>\n<li><p><code>filter_on</code> or <code>filter_value</code>: This is the value to filter on.</p>\n</li>\n<li><p><code>filter_with</code> or <code>filter_operator</code>: (Optional) This is the operator used to filter. (default: '=')</p>\n</li>\n</ol>\n<p><strong>Filterable fields:</strong></p>\n<ul>\n<li><p>Most standard fields listed in the fields='all' response.</p>\n</li>\n<li><p>Currency attributes are filtered in cents.</p>\n</li>\n<li><p>Association attributes require <code>_id</code> to be appended (e.g. <code>practice_area_id</code>). This applies to a resource's direct, single-type relationships. For resources that can belong to multiple different parent types, see <strong>Polymorphic Filter Shortcuts</strong> below.</p>\n</li>\n</ul>\n<p><strong>Polymorphic Filter Shortcuts</strong></p>\n<ul>\n<li><p>Some resources can belong to more than one parent type. For example, a Note can belong to a Matter, Contact, or Company. Internally, this is stored as a type/ID pair (e.g. <code>notable_type</code>/<code>notable_id</code>), which normally can't be filtered in one step.</p>\n</li>\n<li><p>For these resources, you can use a shortcut instead: <code>filter_by=matter_id</code>, <code>prospect_id</code>, <code>contact_id</code>, or <code>company_id</code>. The API automatically resolves it to the correct type/ID pair for you. This shortcut isn't available on every resource. Each endpoint's reference below lists its own valid shortcuts, if any.</p>\n</li>\n</ul>\n<p><strong>Operators:</strong></p>\n<ul>\n<li><p>Valid values for <code>filter_operator</code>: <code>=</code>, <code>!=</code>, <code>&lt;=</code>, <code>&lt;</code>, <code>&gt;=</code>, <code>&gt;</code>, <code>like</code>, <code>ilike</code></p>\n</li>\n<li><p>For presence checks, use <code>null</code> or <code>not_null</code> (aliases: <code>empty</code>, <code>present</code>, <code>blank.</code>) These don't require a <code>filter_value</code>.</p>\n</li>\n<li><p>Default operator depends on the field's type: <code>ilike</code> for text/string fields, <code>=</code> for all other field types.</p>\n</li>\n<li><p><code>like</code> and <code>ilike</code> do fuzzy string matching (<code>ilike</code> is case-insensitive). When using either, add <code>%</code> to <code>filter_value</code> where you want fuzzy matching to apply. Remember to URL-encode it, since <code>%</code> becomes <code>%</code>.</p>\n</li>\n</ul>\n<p><strong>\"Updated Records Only\" Filtering</strong></p>\n<ul>\n<li>You can filter any List response down to only records that have been edited since creation, using <code>updated_only=true</code>:</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET {{host}}/v1/prospects?updated_only=true\n\n</code></pre><ul>\n<li><p>This excludes freshly created records (where <code>created_at</code> and <code>updated_at</code> are still identical) and returns only records that have been modified at least once.</p>\n</li>\n<li><p>Works on virtually every List endpoint, except <code>GET /v1/forms</code></p>\n</li>\n<li><p>This can be combined with a regular <code>filter_by</code>/<code>filter_on</code> filter:</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET {{host}}/v1/contacts?updated_only=true&amp;filter_by=last_name&amp;filter_on=Smith&amp;filter_with=ilike\n\n</code></pre><blockquote>\n<p><strong>Note:</strong> <code>updated_only</code> is triggered by the <em>presence</em> of the param, not its value. Any non-empty value (including <code>updated_only=false</code>) will still apply the filter. <strong>The only way to disable it is to omit the param entirely.</strong> </p>\n</blockquote>\n<p><strong>Additional Notes:</strong></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>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","_postman_id":"ee57a574-9381-414c-9b04-7105b1d25146","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}}],"id":"e797b9a0-ff19-47fb-b435-527de471545f","description":"<p>We currently support the following query parameter options to modify results on any request:</p>\n<ol>\n<li><p><strong>Field Selection</strong></p>\n</li>\n<li><p><strong>Pagination</strong></p>\n</li>\n<li><p><strong>Sorting</strong></p>\n</li>\n<li><p><strong>Filtering</strong></p>\n</li>\n</ol>\n<p>There are two types of queries,</p>\n<ol>\n<li><p><strong>Single Object queries</strong>: These return one record. These only support Field Selection.</p>\n</li>\n<li><p><strong>List queries</strong>: These return multiple records. These support all four query param types.</p>\n</li>\n</ol>\n","_postman_id":"e797b9a0-ff19-47fb-b435-527de471545f","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Addresses","item":[{"name":"Address","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is Successful\", function () {\n    pm.response.to.be.ok\n});"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/addresses`, function (err, response) {\n   pm.globals.set(\"address_id\", response.json().data[0].id);\n});\n\n"]}}],"id":"df24ad9b-aae6-4c58-ac9c-db1a2ae0298b","request":{"method":"GET","header":[],"url":"{{host}}/v1/addresses/:address_id","description":"<p>A specific Address, by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","addresses",":address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"e37b7895-6bde-46fb-a55a-106e4502777e","type":"any","value":"{{address_id}}","key":"address_id"}]}},"response":[{"id":"c8228339-e1fc-4a29-9fc7-50c3d1f31153","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":"df24ad9b-aae6-4c58-ac9c-db1a2ae0298b"},{"name":"Addresses","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"The 'data' field is an array and is not empty\", function () {\n    const responseData = pm.response.json();\n\n    pm.expect(responseData.data).to.be.an('array');\n    pm.expect(responseData.data).to.have.lengthOf.at.least(1, \"Array should not be empty\");\n});\n\n\npm.test(\"Each item in the 'data' array has the required fields\", function () {\n    const responseData = pm.response.json();\n\n    pm.expect(responseData).to.be.an('object');\n    pm.expect(responseData.data).to.be.an('array').that.is.not.empty;\n\n    responseData.data.forEach(function (item) {\n        pm.expect(item).to.have.property('id');\n        pm.expect(item).to.have.property('type');\n        pm.expect(item).to.have.property('attributes');\n        pm.expect(item).to.have.property('relationships');\n    });\n});\n\n\npm.test(\"Each item in the 'data' array has a non-empty 'id' field\", function () {\n    const responseData = pm.response.json();\n\n    pm.expect(responseData).to.be.an('object');\n    pm.expect(responseData.data).to.be.an('array').that.is.not.empty;\n\n    responseData.data.forEach(function (item) {\n        pm.expect(item.id).to.exist.and.to.be.a('string').and.to.have.lengthOf.at.least(1, \"Value should not be empty\");\n    });\n});\n\n"]}}],"id":"42149cc3-dd6f-478e-a038-4a2a34284edf","request":{"method":"GET","header":[],"url":"{{host}}/v1/addresses","description":"<p>A <strong>paginated</strong> list of all <strong>Addresses</strong> in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>label</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>street</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>zipcode</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>country</code></td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Valid Shortcuts:</strong> <code>contact_id</code>, <code>company_id</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","addresses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"b4d00267-efbb-45d1-80be-675cfb2c8525","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":"42149cc3-dd6f-478e-a038-4a2a34284edf"},{"name":"Create Address","id":"86b91320-a157-4b27-ae29-edc5acfdb369","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/addresses?fields=all","description":"<p>Create a new <strong>Address</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>label</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Primary\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>street</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"1234 Fake Street\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>street2</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Apt 1\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Fake Town\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"CA\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>zipcode</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"92104\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>country</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"United States\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>addressable_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Contact\"</code></td>\n<td>One of <code>Prospect</code>, <code>Contact</code>, <code>Company</code>, <code>Firm</code> (case-insensitive; <code>matter</code> also accepted)</td>\n</tr>\n<tr>\n<td><code>addressable_id</code></td>\n<td>id</td>\n<td>Conditional</td>\n<td><code>\"12345\"</code></td>\n<td>Required for all <code>addressable_type</code> values except <code>Firm</code></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> Setting the Address on a <code>Prospect</code> (Matter) sets it on the Matter's linked <strong>Contact</strong>/<strong>Company</strong>, not the Matter itself. </p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> For <code>addressable_type: \"Firm\"</code>, <code>addressable_id</code> is ignored.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","addresses"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"fcea1cc0-a069-49d0-b659-f5cb998caedb","name":"POST Create Address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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}","options":{"raw":{"language":"text"}}},"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":"86b91320-a157-4b27-ae29-edc5acfdb369"},{"name":"Update Address","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/addresses`, function (err, response) {\n   pm.globals.set(\"address_id\", response.json().data[0].id);\n});\n\n"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/addresses`, function (err, response) {\n   pm.globals.set(\"address_id\", response.json().data[0].id);\n});\n\n"]}}],"id":"2b4a2cb6-7d36-44fa-9abd-41910389c638","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}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","addresses",":address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"0a614502-ad63-4982-90ec-fb9b247dced8","type":"any","value":"{{address_id}}","key":"address_id"}]}},"response":[{"id":"f445e83b-6d41-487f-bc68-02403e586383","name":"PUT Update Address","originalRequest":{"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}","options":{"raw":{"language":"text"}}},"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":"2b4a2cb6-7d36-44fa-9abd-41910389c638"},{"name":"Delete Address","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/addresses`, function (err, response) {\n   pm.globals.set(\"address_id\", response.json().data[0].id);\n});\n\n"]}}],"id":"c3bcd2f0-92f2-439b-b16f-dde88394c533","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/addresses/:address_id","description":"<p>Deletes the Address. It will no longer appear in any future GET responses.</p>\n<p><code>address_id</code> is the Address's own ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","addresses",":address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"371b2720-2785-45df-9a93-67a7b658159a","type":"any","value":"{{address_id}}","key":"address_id"}]}},"response":[{"id":"6ba5c31c-46d4-4f4b-8d04-4d92fa5a4280","name":"DELETE Delete Address","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"c3bcd2f0-92f2-439b-b16f-dde88394c533"}],"id":"654d4925-54fa-4632-9cb2-e407d91c4185","description":"<p>An <strong>Address</strong> is a physical/mailing/street address that belongs to a <strong>Firm</strong>, <strong>Contact</strong>, or <strong>Company</strong>.</p>\n","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response time is less than 400ms\", function () {\n    pm.expect(pm.response.responseTime).to.be.below(1400);\n});"]}}],"_postman_id":"654d4925-54fa-4632-9cb2-e407d91c4185","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Collections","item":[{"name":"Collections","item":[{"name":"Collections","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/collections`, function (err, response) {\n   pm.globals.set(\"collection_id\", response.json().data[0].id);\n});\n "]}}],"id":"06fcd7e1-25c7-4fa5-bd82-a48fb6eb8fdb","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{host}}/v1/collections","description":"<p>Returns a paginated list of all <strong>Collections</strong> in the Lawmatics account.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<p><code>GET {{host}}/v1/collections</code></p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>This request uses OAuth 2.0. Ensure a valid <code>access_token</code> is set in the active environment.</p>\n<h2 id=\"headers\">Headers</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<p>Returns a JSON object with a <code>data</code> array. Each item in the array represents a Collection and includes:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>Unique identifier for the collection</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>Resource type — always <code>\"collection\"</code></td>\n</tr>\n<tr>\n<td><code>attributes.name</code></td>\n<td>string</td>\n<td>Name of the collection</td>\n</tr>\n<tr>\n<td><code>attributes.custom_fields</code></td>\n<td>array</td>\n<td>List of custom fields associated with the collection</td>\n</tr>\n<tr>\n<td><code>attributes.created_at</code></td>\n<td>string (ISO 8601)</td>\n<td>Timestamp when the collection was created</td>\n</tr>\n<tr>\n<td><code>attributes.updated_at</code></td>\n<td>string (ISO 8601)</td>\n<td>Timestamp when the collection was last updated</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"custom-field-object\">Custom Field Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>Unique identifier for the custom field</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Display name of the custom field</td>\n</tr>\n<tr>\n<td><code>field_type</code></td>\n<td>string</td>\n<td>Type of field (e.g., <code>list</code>, <code>multi_picklist</code>, <code>currency</code>)</td>\n</tr>\n<tr>\n<td><code>visibility</code></td>\n<td>string</td>\n<td>Visibility setting (e.g., <code>default</code>)</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>Parent resource type — always <code>\"Collection\"</code></td>\n</tr>\n<tr>\n<td><code>list_options</code></td>\n<td>array</td>\n<td>Available options for list/picklist fields</td>\n</tr>\n<tr>\n<td><code>created_at</code></td>\n<td>string (ISO 8601)</td>\n<td>Timestamp when the field was created</td>\n</tr>\n<tr>\n<td><code>updated_at</code></td>\n<td>string (ISO 8601)</td>\n<td>Timestamp when the field was last updated</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","collections"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"be9190d2-9351-4a35-b700-fab75a52d1f5","name":"Collections","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"{{host}}/v1/collections"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"6\",\n            \"type\": \"collection\",\n            \"attributes\": {\n                \"name\": \"Test\",\n                \"custom_fields\": [\n                    {\n                        \"id\": \"306\",\n                        \"name\": \"MultiTest\",\n                        \"field_type\": \"multi_picklist\",\n                        \"visibility\": \"default\",\n                        \"type\": \"Collection\",\n                        \"list_options\": [\n                            {\n                                \"id\": \"56\",\n                                \"name\": \"One\"\n                            },\n                            {\n                                \"id\": \"57\",\n                                \"name\": \"Two\"\n                            },\n                            {\n                                \"id\": \"58\",\n                                \"name\": \"Three\"\n                            }\n                        ],\n                        \"created_at\": \"2026-05-27T15:09:15.359-07:00\",\n                        \"updated_at\": \"2026-05-27T15:09:15.359-07:00\"\n                    }\n                ],\n                \"created_at\": \"2026-05-27T15:09:15.354-07:00\",\n                \"updated_at\": \"2026-05-27T15:09:15.354-07:00\"\n            }\n        },\n        {\n            \"id\": \"5\",\n            \"type\": \"collection\",\n            \"attributes\": {\n                \"name\": \"Bank Accounts\",\n                \"custom_fields\": [\n                    {\n                        \"id\": \"305\",\n                        \"name\": \"Type\",\n                        \"field_type\": \"list\",\n                        \"visibility\": \"default\",\n                        \"type\": \"Collection\",\n                        \"list_options\": [\n                            {\n                                \"id\": \"54\",\n                                \"name\": \"Checking\"\n                            },\n                            {\n                                \"id\": \"55\",\n                                \"name\": \"Savings\"\n                            }\n                        ],\n                        \"created_at\": \"2026-05-27T14:52:05.096-07:00\",\n                        \"updated_at\": \"2026-05-27T14:52:05.096-07:00\"\n                    },\n                    {\n                        \"id\": \"304\",\n                        \"name\": \"Balance\",\n                        \"field_type\": \"currency\",\n                        \"visibility\": \"default\",\n                        \"type\": \"Collection\",\n                        \"created_at\": \"2026-05-27T14:52:05.090-07:00\",\n                        \"updated_at\": \"2026-05-27T14:52:05.090-07:00\"\n                    },\n                    {\n                        \"id\": \"303\",\n                        \"name\": \"Name\",\n                        \"field_type\": \"text\",\n                        \"visibility\": \"default\",\n                        \"type\": \"Collection\",\n                        \"created_at\": \"2026-05-27T14:52:05.057-07:00\",\n                        \"updated_at\": \"2026-05-27T14:52:05.057-07:00\"\n                    }\n                ],\n                \"created_at\": \"2026-05-27T14:52:05.019-07:00\",\n                \"updated_at\": \"2026-05-27T14:52:05.019-07:00\"\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"type\": \"collection\",\n            \"attributes\": {\n                \"name\": \"Albums\",\n                \"custom_fields\": [\n                    {\n                        \"id\": \"299\",\n                        \"name\": \"Artist Name\",\n                        \"field_type\": \"text\",\n                        \"visibility\": \"default\",\n                        \"type\": \"Collection\",\n                        \"created_at\": \"2026-05-26T16:10:41.056-07:00\",\n                        \"updated_at\": \"2026-05-26T16:10:41.056-07:00\"\n                    },\n                    {\n                        \"id\": \"298\",\n                        \"name\": \"Name\",\n                        \"field_type\": \"text\",\n                        \"visibility\": \"default\",\n                        \"type\": \"Collection\",\n                        \"created_at\": \"2026-05-26T16:09:11.640-07:00\",\n                        \"updated_at\": \"2026-05-26T16:11:14.439-07:00\"\n                    }\n                ],\n                \"created_at\": \"2026-05-26T16:09:11.630-07:00\",\n                \"updated_at\": \"2026-05-26T16:09:11.630-07:00\"\n            }\n        },\n        {\n            \"id\": \"1\",\n            \"type\": \"collection\",\n            \"attributes\": {\n                \"name\": \"Movies\",\n                \"custom_fields\": [\n                    {\n                        \"id\": \"295\",\n                        \"name\": \"Name\",\n                        \"field_type\": \"string\",\n                        \"visibility\": \"default\",\n                        \"type\": \"Collection\",\n                        \"created_at\": \"2026-05-26T13:09:49.162-07:00\",\n                        \"updated_at\": \"2026-05-26T13:09:49.162-07:00\"\n                    },\n                    {\n                        \"id\": \"296\",\n                        \"name\": \"Director\",\n                        \"field_type\": \"string\",\n                        \"visibility\": \"default\",\n                        \"type\": \"Collection\",\n                        \"created_at\": \"2026-05-26T13:09:49.168-07:00\",\n                        \"updated_at\": \"2026-05-26T13:09:49.168-07:00\"\n                    },\n                    {\n                        \"id\": \"297\",\n                        \"name\": \"Genre\",\n                        \"field_type\": \"list\",\n                        \"visibility\": \"default\",\n                        \"type\": \"Collection\",\n                        \"list_options\": [\n                            {\n                                \"id\": \"49\",\n                                \"name\": \"Horror\"\n                            },\n                            {\n                                \"id\": \"50\",\n                                \"name\": \"Romance\"\n                            },\n                            {\n                                \"id\": \"51\",\n                                \"name\": \"Action\"\n                            },\n                            {\n                                \"id\": \"52\",\n                                \"name\": \"Comedy\"\n                            },\n                            {\n                                \"id\": \"53\",\n                                \"name\": \"Drama\"\n                            }\n                        ],\n                        \"created_at\": \"2026-05-26T13:09:49.192-07:00\",\n                        \"updated_at\": \"2026-05-26T13:09:49.192-07:00\"\n                    }\n                ],\n                \"created_at\": \"2026-05-26T13:09:49.160-07:00\",\n                \"updated_at\": \"2026-05-26T13:09:49.160-07: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/collections?page=1\"\n    }\n}"}],"_postman_id":"06fcd7e1-25c7-4fa5-bd82-a48fb6eb8fdb"},{"name":"Collection","id":"39a8b62e-46ce-4486-bf87-9452e04f40df","request":{"method":"GET","header":[],"url":"{{host}}/v1/collections/:collection_id","description":"<p>Retrieves a single <strong>Collection</strong> by, id</p>\n<h2 id=\"path-variables\">Path Variables</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>collection_id</code></td>\n<td>The unique identifier of the collection to retrieve.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<p>Returns a <code>data</code> object representing the collection with the following attributes:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>Unique identifier of the collection.</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>Resource type (<code>\"collection\"</code>).</td>\n</tr>\n<tr>\n<td><code>attributes.name</code></td>\n<td>string</td>\n<td>Name of the collection.</td>\n</tr>\n<tr>\n<td><code>attributes.custom_fields</code></td>\n<td>array</td>\n<td>List of custom fields defined for the collection.</td>\n</tr>\n<tr>\n<td><code>attributes.created_at</code></td>\n<td>string</td>\n<td>ISO 8601 timestamp of when the collection was created.</td>\n</tr>\n<tr>\n<td><code>attributes.updated_at</code></td>\n<td>string</td>\n<td>ISO 8601 timestamp of when the collection was last updated.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"custom-field-object\">Custom Field Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>Unique identifier of the custom field.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Display name of the custom field.</td>\n</tr>\n<tr>\n<td><code>field_type</code></td>\n<td>string</td>\n<td>Data type of the field (e.g., <code>text</code>, <code>currency</code>, <code>list</code>).</td>\n</tr>\n<tr>\n<td><code>visibility</code></td>\n<td>string</td>\n<td>Visibility setting of the field.</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>Resource type (<code>\"Collection\"</code>).</td>\n</tr>\n<tr>\n<td><code>list_options</code></td>\n<td>array</td>\n<td>Available options for <code>list</code> type fields.</td>\n</tr>\n<tr>\n<td><code>created_at</code></td>\n<td>string</td>\n<td>ISO 8601 timestamp of when the field was created.</td>\n</tr>\n<tr>\n<td><code>updated_at</code></td>\n<td>string</td>\n<td>ISO 8601 timestamp of when the field was last updated.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","collections",":collection_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"7b250f74-b4fe-4792-884a-da01a036b497","type":"any","value":"{{collection_id}}","key":"collection_id"}]}},"response":[{"id":"3167a19e-60bb-4fec-baab-e5bd40584e4e","name":"Collection","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/collections/:collection_id","host":["{{host}}"],"path":["v1","collections",":collection_id"],"variable":[{"key":"collection_id","value":"{{collection_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"5\",\n        \"type\": \"collection\",\n        \"attributes\": {\n            \"name\": \"Bank Accounts\",\n            \"custom_fields\": [\n                {\n                    \"id\": \"305\",\n                    \"name\": \"Type\",\n                    \"field_type\": \"list\",\n                    \"visibility\": \"default\",\n                    \"type\": \"Collection\",\n                    \"list_options\": [\n                        {\n                            \"id\": \"54\",\n                            \"name\": \"Checking\"\n                        },\n                        {\n                            \"id\": \"55\",\n                            \"name\": \"Savings\"\n                        }\n                    ],\n                    \"created_at\": \"2026-05-27T14:52:05.096-07:00\",\n                    \"updated_at\": \"2026-05-27T14:52:05.096-07:00\"\n                },\n                {\n                    \"id\": \"304\",\n                    \"name\": \"Balance\",\n                    \"field_type\": \"currency\",\n                    \"visibility\": \"default\",\n                    \"type\": \"Collection\",\n                    \"created_at\": \"2026-05-27T14:52:05.090-07:00\",\n                    \"updated_at\": \"2026-05-27T14:52:05.090-07:00\"\n                },\n                {\n                    \"id\": \"303\",\n                    \"name\": \"Name\",\n                    \"field_type\": \"text\",\n                    \"visibility\": \"default\",\n                    \"type\": \"Collection\",\n                    \"created_at\": \"2026-05-27T14:52:05.057-07:00\",\n                    \"updated_at\": \"2026-05-27T14:52:05.057-07:00\"\n                }\n            ],\n            \"created_at\": \"2026-05-27T14:52:05.019-07:00\",\n            \"updated_at\": \"2026-05-27T14:52:05.019-07:00\"\n        }\n    }\n}"}],"_postman_id":"39a8b62e-46ce-4486-bf87-9452e04f40df"},{"name":"Create Collection","id":"642db8b4-1b86-4f53-a7be-596afc64edfb","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Bank Accounts\",\n    \"custom_fields\": [\n        {\n            \"name\": \"Name\",\n            \"field_type\": \"text\"\n        },\n        {\n            \"name\": \"Balance\",\n            \"field_type\": \"currency\"\n        },\n        {\n            \"name\": \"Type\",\n            \"field_type\": \"list\",\n            \"list_options\": [\n                {\n                    \"name\": \"Checking\"\n                },\n                {\n                    \"name\": \"Savings\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/collections","description":"<p>Creates a new Collection in Lawmatics.</p>\n<h2 id=\"request-body\">Request Body</h2>\n<p>The request body must be a JSON object with the following fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The name of the collection to create.</td>\n</tr>\n<tr>\n<td><code>custom_fields</code></td>\n<td>array</td>\n<td>Yes</td>\n<td>An array of custom field definitions to attach to the collection.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"custom-field-object\">Custom Field Object</h3>\n<p>Each object in the <code>custom_fields</code> array supports the following properties:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The display name of the custom field.</td>\n</tr>\n<tr>\n<td><code>field_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The type of the field. Supported values: <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></td>\n</tr>\n<tr>\n<td><code>list_options</code></td>\n<td>array</td>\n<td>Only for <code>list</code> and <code>multi_picklist</code> types</td>\n<td>An array of at least two option objects, each with a <code>name</code> property, defining the selectable values for a list field.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<p>Returns <code>201 Created</code> on success with a JSON object containing the created collection's data under the <code>data</code> key.</p>\n<h3 id=\"response-body\">Response Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>data.id</code></td>\n<td>string</td>\n<td>The unique ID of the newly created collection.</td>\n</tr>\n<tr>\n<td><code>data.type</code></td>\n<td>string</td>\n<td>The resource type (<code>collection</code>).</td>\n</tr>\n<tr>\n<td><code>data.attributes.name</code></td>\n<td>string</td>\n<td>The name of the collection.</td>\n</tr>\n<tr>\n<td><code>data.attributes.custom_fields</code></td>\n<td>array</td>\n<td>The list of custom fields created for this collection, each including <code>id</code>, <code>name</code>, <code>field_type</code>, <code>visibility</code>, <code>created_at</code>, and <code>updated_at</code>.</td>\n</tr>\n<tr>\n<td><code>data.attributes.created_at</code></td>\n<td>string</td>\n<td>ISO 8601 timestamp of when the collection was created.</td>\n</tr>\n<tr>\n<td><code>data.attributes.updated_at</code></td>\n<td>string</td>\n<td>ISO 8601 timestamp of when the collection was last updated.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","collections"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"00368ae1-d5be-4497-8dbd-0d8b67ef18ac","name":"Create Collection","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"Bank Accounts\",\n  \"custom_fields\": [\n    {\n        \"name\": \"Name\",\n        \"field_type\": \"text\"\n    },\n    {\n        \"name\": \"Balance\",\n        \"field_type\": \"currency\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/collections"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"7\",\n        \"type\": \"collection\",\n        \"attributes\": {\n            \"name\": \"Bank Accounts\",\n            \"custom_fields\": [\n                {\n                    \"id\": \"307\",\n                    \"name\": \"Name\",\n                    \"field_type\": \"text\",\n                    \"visibility\": \"default\",\n                    \"type\": \"Collection\",\n                    \"created_at\": \"2026-05-28T11:10:33.113-07:00\",\n                    \"updated_at\": \"2026-05-28T11:10:33.113-07:00\"\n                },\n                {\n                    \"id\": \"308\",\n                    \"name\": \"Balance\",\n                    \"field_type\": \"currency\",\n                    \"visibility\": \"default\",\n                    \"type\": \"Collection\",\n                    \"created_at\": \"2026-05-28T11:10:33.236-07:00\",\n                    \"updated_at\": \"2026-05-28T11:10:33.236-07:00\"\n                },\n                {\n                    \"id\": \"309\",\n                    \"name\": \"Type\",\n                    \"field_type\": \"list\",\n                    \"visibility\": \"default\",\n                    \"type\": \"Collection\",\n                    \"list_options\": [\n                        {\n                            \"id\": \"59\",\n                            \"name\": \"Checking\"\n                        },\n                        {\n                            \"id\": \"60\",\n                            \"name\": \"Savings\"\n                        }\n                    ],\n                    \"created_at\": \"2026-05-28T11:10:33.249-07:00\",\n                    \"updated_at\": \"2026-05-28T11:10:33.249-07:00\"\n                }\n            ],\n            \"created_at\": \"2026-05-28T11:10:33.109-07:00\",\n            \"updated_at\": \"2026-05-28T11:10:33.109-07:00\"\n        }\n    }\n}"}],"_postman_id":"642db8b4-1b86-4f53-a7be-596afc64edfb"},{"name":"Update Collection","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/collections`, function (err, response) {\n   const collection = response.json().data[0];\n   pm.globals.set(\"collection_id\", collection.id);\n   pm.globals.set(\"collection_custom_field_id\", collection.attributes.custom_fields[0].id);\n});\n"]}}],"id":"b291a11c-c013-4bf3-ac88-abd964a70fca","request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"custom_fields\": [\n        { \"id\": \"{{collection_custom_field_id}}\", \"name\": \"Account Balance\" }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/collections/:collection_id","description":"<p>Updates an existing <strong>Collection</strong>, by id. Allows you to modify the collection's associated custom fields.</p>\n<p><code>collection_id</code> is the Collection's own id.</p>\n<h2 id=\"url-parameters\">URL Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>integer</td>\n<td>The unique identifier of the collection to update. Provided as a path segment (e.g., <code>2</code> in <code>/v1/collections/2</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request Body</h2>\n<p>Send a JSON object with the following fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>custom_fields</code></td>\n<td>array of objects</td>\n<td>Yes</td>\n<td>List of custom fields to associate with the collection.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"custom_fields-object-properties\"><code>custom_fields</code> Object Properties</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>The unique identifier of the custom field (e.g., <code>\"298\"</code>).</td>\n</tr>\n<tr>\n<td><code>field_type</code></td>\n<td>string</td>\n<td>The type of the custom field (e.g., <code>\"text\"</code>).</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","collections",":collection_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"e057ce27-e49c-4b01-9e7f-7b99375bbab1","type":"any","value":"{{collection_id}}","key":"collection_id"}]}},"response":[{"id":"f2db4096-4d59-4ca7-b3d2-625143a713ba","name":"Update Collection","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"custom_fields\": [\n        {\n            \"id\": \"308\",\n            \"name\": \"Account Balance\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/collections/2","host":["{{host}}"],"path":["v1","collections","2"],"variable":[{"key":"collection_id","value":"{{collection_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"7\",\n        \"type\": \"collection\",\n        \"attributes\": {\n            \"name\": \"Bank Accounts\",\n            \"custom_fields\": [\n                {\n                    \"id\": \"309\",\n                    \"name\": \"Type\",\n                    \"field_type\": \"list\",\n                    \"visibility\": \"default\",\n                    \"type\": \"Collection\",\n                    \"list_options\": [\n                        {\n                            \"id\": \"59\",\n                            \"name\": \"Checking\"\n                        },\n                        {\n                            \"id\": \"60\",\n                            \"name\": \"Savings\"\n                        }\n                    ],\n                    \"created_at\": \"2026-05-28T11:10:33.249-07:00\",\n                    \"updated_at\": \"2026-05-28T11:10:33.249-07:00\"\n                },\n                {\n                    \"id\": \"308\",\n                    \"name\": \"Account Balance\",\n                    \"field_type\": \"currency\",\n                    \"visibility\": \"default\",\n                    \"type\": \"Collection\",\n                    \"created_at\": \"2026-05-28T11:10:33.236-07:00\",\n                    \"updated_at\": \"2026-05-28T11:12:08.285-07:00\"\n                },\n                {\n                    \"id\": \"307\",\n                    \"name\": \"Name\",\n                    \"field_type\": \"text\",\n                    \"visibility\": \"default\",\n                    \"type\": \"Collection\",\n                    \"created_at\": \"2026-05-28T11:10:33.113-07:00\",\n                    \"updated_at\": \"2026-05-28T11:10:33.113-07:00\"\n                }\n            ],\n            \"created_at\": \"2026-05-28T11:10:33.109-07:00\",\n            \"updated_at\": \"2026-05-28T11:10:33.109-07:00\"\n        }\n    }\n}"}],"_postman_id":"b291a11c-c013-4bf3-ac88-abd964a70fca"},{"name":"Delete Collection","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/collections`, function (err, response) {\n   pm.globals.set(\"collection_id\", response.json().data[0].id);\n});\n\n"]}}],"id":"e377bd46-efdb-4e6c-b322-a47a0e4f982d","request":{"method":"DELETE","header":[],"url":"{{host}}/v1/collections/:collection_id","description":"<p>Deletes the Collection. It will no longer appear in any future GET responses.</p>\n<p><code>collection_id</code> is the Collection's own id.</p>\n<h3 id=\"path-variables\">Path Variables</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>collection_id</code></td>\n<td>The unique identifier of the collection to delete.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p>Returns a <code>200 OK</code> with the deleted collection's data on success, including:</p>\n<ul>\n<li><p><code>id</code> – The collection's unique identifier.</p>\n</li>\n<li><p><code>type</code> – Resource type (<code>collection</code>).</p>\n</li>\n<li><p><code>attributes</code> – Collection attributes:</p>\n<ul>\n<li><p><code>name</code> – Name of the collection.</p>\n</li>\n<li><p><code>custom_fields</code> – Array of custom fields associated with the collection.</p>\n</li>\n<li><p><code>created_at</code> – Timestamp when the collection was created.</p>\n</li>\n<li><p><code>updated_at</code> – Timestamp when the collection was last updated.</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","collections",":collection_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"57f79707-3799-4e84-af3a-d308daa4ac65","type":"any","value":"{{collection_id}}","key":"collection_id"}]}},"response":[{"id":"04acb1e4-32fe-4df9-8f3a-3301d08acc3b","name":"Delete Collection","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/collections/:collection_id","host":["{{host}}"],"path":["v1","collections",":collection_id"],"variable":[{"key":"collection_id","value":"{{collection_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"5\",\n        \"type\": \"collection\",\n        \"attributes\": {\n            \"name\": \"Bank Accounts\",\n            \"custom_fields\": [],\n            \"created_at\": \"2026-05-27T14:52:05.019-07:00\",\n            \"updated_at\": \"2026-05-28T11:10:19.399-07:00\"\n        }\n    }\n}"}],"_postman_id":"e377bd46-efdb-4e6c-b322-a47a0e4f982d"}],"id":"173d8b86-842a-464e-95bf-27339e8f7306","description":"<p>A <strong>Collection</strong> is a firm-level, reusable set of custom fields. To actually attach that field-set and real values to a Matter, you create a <strong>Collection Item</strong> linking the Collection to that Matter.</p>\n","_postman_id":"173d8b86-842a-464e-95bf-27339e8f7306","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Collection Items","item":[{"name":"Collection Items","id":"66a994c0-44d0-4f64-96a6-4742783e8cf4","request":{"method":"GET","header":[],"url":"{{host}}/v1/collection_items","description":"<p>Returns a paginated list of all Collection Items.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<p>Supports standard Lawmatics query parameters for filtering, sorting, pagination, and field selection.</p>\n<h3 id=\"response\">Response</h3>\n<p>Returns a <code>200 OK</code> with an array of collection item objects under <code>data</code>. Each item includes:</p>\n<ul>\n<li><p><code>id</code> – The collection item's unique identifier.</p>\n</li>\n<li><p><code>type</code> – Resource type (<code>collection_item</code>).</p>\n</li>\n<li><p><code>attributes</code> – Collection item attributes:</p>\n<ul>\n<li><p><code>collection_id</code> – The ID of the parent collection.</p>\n</li>\n<li><p><code>contactable_type</code> – The type of the associated record (e.g., <code>Prospect</code>, <code>Contact</code>).</p>\n</li>\n<li><p><code>contactable_id</code> – The ID of the associated record.</p>\n</li>\n<li><p><code>custom_field_values</code> – Array of custom field values for this item.</p>\n</li>\n<li><p><code>created_at</code> – Timestamp when the item was created.</p>\n</li>\n<li><p><code>updated_at</code> – Timestamp when the item was last updated.</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","collection_items"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d96c207a-a713-438b-a028-2ee6ca0492d8","name":"Collection Items","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/collection_items"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1\",\n            \"type\": \"collection_item\",\n            \"attributes\": {\n                \"collection_id\": 3,\n                \"contactable_type\": \"Prospect\",\n                \"contactable_id\": 184,\n                \"custom_field_values\": [\n                    {\n                        \"id\": \"235\",\n                        \"custom_field_id\": \"302\",\n                        \"name\": \"Name\",\n                        \"field_type\": \"text\",\n                        \"value\": \"The Matrix\",\n                        \"formatted_value\": \"The Matrix\"\n                    }\n                ],\n                \"created_at\": \"2026-05-29T16:02:51.434-07:00\",\n                \"updated_at\": \"2026-05-29T16:02:51.482-07:00\"\n            }\n        }\n    ],\n    \"meta\": {\n        \"total_pages\": 1,\n        \"limit_per_page\": 25,\n        \"total_entries\": 1\n    },\n    \"links\": {\n        \"self\": \"/v1/collection_items?page=1\"\n    }\n}"}],"_postman_id":"66a994c0-44d0-4f64-96a6-4742783e8cf4"},{"name":"Collection Item","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/collection_items`, function (err, response) {\n   pm.globals.set(\"collection_item_id\", response.json().data[0].id);\n});"]}}],"id":"55bd9622-2bea-44dd-8375-85ae3316da8f","request":{"method":"GET","header":[],"url":"{{host}}/v1/collection_items/:collection_item_id","description":"<p>Returns a single collection item, by id.</p>\n<h3 id=\"path-variables\">Path Variables</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>collection_item_id</code></td>\n<td>The unique identifier of the collection item to retrieve.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p>Returns a <code>200 OK</code> with the collection item object under <code>data</code>, including:</p>\n<ul>\n<li><p><code>id</code> – The collection item's unique identifier.</p>\n</li>\n<li><p><code>type</code> – Resource type (<code>collection_item</code>).</p>\n</li>\n<li><p><code>attributes</code> – Collection item attributes:</p>\n<ul>\n<li><p><code>collection_id</code> – The ID of the parent collection.</p>\n</li>\n<li><p><code>contactable_type</code> – The type of the associated record (e.g., <code>Prospect</code>, <code>Contact</code>).</p>\n</li>\n<li><p><code>contactable_id</code> – The ID of the associated record.</p>\n</li>\n<li><p><code>custom_field_values</code> – Array of custom field values for this item.</p>\n</li>\n<li><p><code>created_at</code> – Timestamp when the item was created.</p>\n</li>\n<li><p><code>updated_at</code> – Timestamp when the item was last updated.</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","collection_items",":collection_item_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"804107b2-44a1-4ab3-82bb-a925409115fd","type":"any","value":"{{collection_item_id}}","key":"collection_item_id"}]}},"response":[{"id":"8e29d81a-608e-4c78-8153-05c5e4dac612","name":"Collection Item","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/collection_items/:collection_item_id","host":["{{host}}"],"path":["v1","collection_items",":collection_item_id"],"variable":[{"key":"collection_item_id","value":"{{collection_item_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"type\": \"collection_item\",\n        \"attributes\": {\n            \"collection_id\": 3,\n            \"contactable_type\": \"Prospect\",\n            \"contactable_id\": 184,\n            \"custom_field_values\": [\n                {\n                    \"id\": \"235\",\n                    \"custom_field_id\": \"302\",\n                    \"name\": \"Name\",\n                    \"field_type\": \"text\",\n                    \"value\": \"The Matrix\",\n                    \"formatted_value\": \"The Matrix\"\n                }\n            ],\n            \"created_at\": \"2026-05-29T16:02:51.434-07:00\",\n            \"updated_at\": \"2026-05-29T16:02:51.482-07:00\"\n        }\n    }\n}"}],"_postman_id":"55bd9622-2bea-44dd-8375-85ae3316da8f"},{"name":"Create Collection Item","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/collections`, function (err, response) {\n   const collection = response.json().data[0];\n   pm.globals.set(\"collection_id\", collection.id);\n   pm.globals.set(\"custom_field_id\", collection.attributes.custom_fields[0].id);\n});\n\n"]}}],"id":"701bfaa5-d0e4-427a-9a20-38ffc274ad41","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"contactable_type\": \"Prospect\",\n    \"contactable_id\": {{prospect_id}},\n    \"collection_id\": {{collection_id}},\n    \"custom_field_values\": [\n        {\n            \"id\": {{custom_field_id}},\n            \"value\": \"The Matrix\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/collection_items","description":"<p>Creates a new collection item, associating a matter record with a collection and optionally setting custom field values.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>contactable_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The type of the associated record. Only accepted value: <code>Prospect</code> (not Matter)</td>\n</tr>\n<tr>\n<td><code>contactable_id</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>The ID of the associated Prospect.</td>\n</tr>\n<tr>\n<td><code>collection_id</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>The ID of the collection to add the item to.</td>\n</tr>\n<tr>\n<td><code>custom_field_values</code></td>\n<td>array</td>\n<td>No</td>\n<td>Array of custom field value objects to set on the item.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"custom_field_values-object\"><code>custom_field_values</code> Object</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>integer</td>\n<td>The ID of the custom field.</td>\n</tr>\n<tr>\n<td><code>value</code></td>\n<td>string</td>\n<td>The value to set for the custom field.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"contactable_type\": \"Prospect\",\n    \"contactable_id\": 185,\n    \"collection_id\": 1,\n    \"custom_field_values\": [\n        {\n            \"id\": 295,\n            \"value\": \"The Matrix\"\n        },\n        {\n            \"id\": 296,\n            \"value\": \"1999-03-31\"\n        }\n    ]\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p>Returns a <code>201 Created</code> with the newly created collection item object under <code>data</code>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","collection_items"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e649d45d-f34a-4305-9489-2279a8a8bb65","name":"Create Collection Item","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"contactable_type\": \"Prospect\",\n    \"contactable_id\": 185,\n    \"collection_id\": 1,\n    \"custom_field_values\": [\n        {\n            \"id\": 295,\n            \"value\": \"The Matrix\"\n        },\n        {\n            \"id\": 296,\n            \"value\": \"1999-03-31\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/collection_items"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"4\",\n        \"type\": \"collection_item\",\n        \"attributes\": {\n            \"collection_id\": 1,\n            \"contactable_type\": \"Prospect\",\n            \"contactable_id\": 185,\n            \"custom_field_values\": [\n                {\n                    \"id\": \"240\",\n                    \"custom_field_id\": \"295\",\n                    \"name\": \"Name\",\n                    \"field_type\": \"string\",\n                    \"value\": \"The Matrix\",\n                    \"formatted_value\": \"The Matrix\"\n                },\n                {\n                    \"id\": \"241\",\n                    \"custom_field_id\": \"296\",\n                    \"name\": \"Director\",\n                    \"field_type\": \"string\",\n                    \"value\": \"1999-03-31\",\n                    \"formatted_value\": \"1999-03-31\"\n                }\n            ],\n            \"created_at\": \"2026-05-28T11:07:47.114-07:00\",\n            \"updated_at\": \"2026-05-28T11:07:47.172-07:00\"\n        }\n    }\n}"}],"_postman_id":"701bfaa5-d0e4-427a-9a20-38ffc274ad41"},{"name":"Update Collection Item","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/collections`, function (err, response) {\n   const collection = response.json().data[0];\n   pm.globals.set(\"collection_id\", collection.id);\n   pm.globals.set(\"custom_field_id\", collection.attributes.custom_fields[0].id);\n});\n\n"]}}],"id":"8a569423-f7ee-4bb7-bde0-2e3d38f9a55d","request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"custom_field_values\": [\n        {\n            \"id\": \"{{custom_field_id}}\",\n            \"value\": \"Wachowski Sisters\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/collection_items/:collection_item_id","description":"<p>Updates an existing <strong>Collection item</strong>, by id. Updates an existing collection item's custom field values.</p>\n<p><code>collection_item_id</code> is the Collection item's own id.</p>\n<h3 id=\"path-variables\">Path Variables</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>collection_item_id</code></td>\n<td>The unique identifier of the collection item to update.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body\">Request Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>custom_field_values</code></td>\n<td>array</td>\n<td>Yes</td>\n<td>Array of custom field value objects to update on the item.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"custom_field_values-object\"><code>custom_field_values</code> Object</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>The ID of the custom field.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>The name of the custom field.</td>\n</tr>\n<tr>\n<td><code>value</code></td>\n<td>string</td>\n<td>The new value to set for the custom field.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p>Returns a <code>200 OK</code> with the updated collection item object under <code>data</code>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","collection_items",":collection_item_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"dc44eb40-51d9-4338-9a42-34764419153d","type":"any","value":"{{collection_item_id}}","key":"collection_item_id"}]}},"response":[{"id":"ae4c9bd3-7969-4ef2-9925-463002ef5597","name":"Update Collection Item","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"custom_field_values\": [\n        {\n            \"id\": \"296\",\n            \"name\": \"Director\",\n            \"value\": \"Wachowski Sisters\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/collection_items/:collection_item_id","host":["{{host}}"],"path":["v1","collection_items",":collection_item_id"],"variable":[{"key":"collection_item_id","value":"{{collection_item_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"3\",\n        \"type\": \"collection_item\",\n        \"attributes\": {\n            \"collection_id\": 1,\n            \"contactable_type\": \"Prospect\",\n            \"contactable_id\": 185,\n            \"custom_field_values\": [\n                {\n                    \"id\": \"238\",\n                    \"custom_field_id\": \"295\",\n                    \"name\": \"Name\",\n                    \"field_type\": \"string\",\n                    \"value\": \"The Matrix\",\n                    \"formatted_value\": \"The Matrix\"\n                },\n                {\n                    \"id\": \"239\",\n                    \"custom_field_id\": \"296\",\n                    \"name\": \"Director\",\n                    \"field_type\": \"string\",\n                    \"value\": \"Wachowski Sisters\",\n                    \"formatted_value\": \"Wachowski Sisters\"\n                }\n            ],\n            \"created_at\": \"2026-05-26T16:33:22.565-07:00\",\n            \"updated_at\": \"2026-05-26T16:39:00.126-07:00\"\n        }\n    }\n}"}],"_postman_id":"8a569423-f7ee-4bb7-bde0-2e3d38f9a55d"},{"name":"Delete Collection Item","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/collection_items`, function (err, response) {\n   pm.globals.set(\"collection_item_id\", response.json().data[0].id);\n});\n\n"]}}],"id":"0c2c40eb-23e7-4ce7-8e4f-768153e942fb","request":{"method":"DELETE","header":[],"url":"{{host}}/v1/collection_items/:collection_item_id","description":"<p>Deletes the Collection Item. It will no longer appear in any future GET responses.</p>\n<p><code>collection_item_id</code> is the Collection Item's own id.</p>\n<h3 id=\"path-variables\">Path Variables</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>collection_item_id</code></td>\n<td>The unique identifier of the collection item to delete.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p>Returns a <code>200 OK</code> with the deleted collection item's data on success, including:</p>\n<ul>\n<li><p><code>id</code> – The collection item's unique identifier.</p>\n</li>\n<li><p><code>type</code> – Resource type (<code>collection_item</code>).</p>\n</li>\n<li><p><code>attributes</code> – Collection item attributes:</p>\n<ul>\n<li><p><code>collection_id</code> – The ID of the parent collection.</p>\n</li>\n<li><p><code>contactable_type</code> – The type of the associated record.</p>\n</li>\n<li><p><code>contactable_id</code> – The ID of the associated record.</p>\n</li>\n<li><p><code>custom_field_values</code> – Array of custom field values associated with the item.</p>\n</li>\n<li><p><code>created_at</code> – Timestamp when the item was created.</p>\n</li>\n<li><p><code>updated_at</code> – Timestamp when the item was last updated.</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","collection_items",":collection_item_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c5a6060e-aca1-4f6d-807b-fe400432b168","type":"any","value":"{{collection_item_id}}","key":"collection_item_id"}]}},"response":[{"id":"21d54f86-296c-4325-9ab0-b1e57bfb0aab","name":"Delete Collection Item","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/collection_items/:collection_item_id","host":["{{host}}"],"path":["v1","collection_items",":collection_item_id"],"variable":[{"key":"collection_item_id","value":"{{collection_item_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"3\",\n        \"type\": \"collection_item\",\n        \"attributes\": {\n            \"collection_id\": 1,\n            \"contactable_type\": \"Prospect\",\n            \"contactable_id\": 185,\n            \"custom_field_values\": [],\n            \"created_at\": \"2026-05-26T16:33:22.565-07:00\",\n            \"updated_at\": \"2026-05-28T11:08:51.118-07:00\"\n        }\n    }\n}"}],"_postman_id":"0c2c40eb-23e7-4ce7-8e4f-768153e942fb"}],"id":"4ba6c347-92cd-46a3-9ccf-be952d26cac9","description":"<p>A <strong>Collection Item</strong> links a <strong>Collection</strong> to a specific <strong>Matter</strong>, holding the actual field values for that Matter.</p>\n","_postman_id":"4ba6c347-92cd-46a3-9ccf-be952d26cac9","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}}],"id":"2e8da48c-dadb-42ca-939a-579dc9ea8c73","_postman_id":"2e8da48c-dadb-42ca-939a-579dc9ea8c73","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Contacts","item":[{"name":"Contact Finders","item":[{"name":"Find Contact By Phone Number","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {\n   pm.globals.set(\"phone\", response.json().data.find(({attributes}) => attributes.phone).attributes.phone);\n});\n\n"]}}],"id":"fb82e799-8f52-4f50-aa07-254ad1fd88f9","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","contacts","find_by_phone",":phone_number"],"host":["{{host}}"],"query":[],"variable":[{"id":"6f42c55d-7522-428f-a4bc-d3e48a846773","type":"any","value":"{{phone}}","key":"phone_number"}]}},"response":[{"id":"a586792f-55c9-4bba-b2f6-435e0cca4029","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":"fb82e799-8f52-4f50-aa07-254ad1fd88f9"},{"name":"Find Contact By Email Address","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {\n   pm.globals.set(\"email\", response.json().data.find(({attributes}) => attributes.email).attributes.email);\n});\n\n"]}}],"id":"40b47bc7-bd99-485b-b91a-a80e5dd95553","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","contacts","find_by_email",":email_address"],"host":["{{host}}"],"query":[],"variable":[{"id":"ac1e5f46-9a14-4d88-ba2f-bead20be185a","type":"any","value":"{{email}}","key":"email_address"}]}},"response":[{"id":"62b070c6-cd2d-468a-811f-105909e43ba3","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":"40b47bc7-bd99-485b-b91a-a80e5dd95553"},{"name":"Find Contact By Name","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {\n   pm.globals.set(\"name\", response.json().data.find(({attributes}) => attributes.first_name).attributes.first_name);\n});\n"]}}],"id":"629a9e6a-03fb-4ce0-8b73-0c4fead8e16d","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","contacts","find_by_name",":name"],"host":["{{host}}"],"query":[],"variable":[{"id":"3c72d17d-994b-467c-a2c9-51d0c773ae74","type":"any","value":"{{name}}","key":"name"}]}},"response":[{"id":"343ffbc6-1d48-4727-9e93-62790f746b19","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":"629a9e6a-03fb-4ce0-8b73-0c4fead8e16d"}],"id":"db823222-9e60-4f37-ac3e-709adc15a803","description":"<p>The following endpoints are fuzzy find endpoints, returning the first <strong>Contact</strong> which matches the passed values.</p>\n","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response has a body with an id\", function () {\n    const body = pm.response.json()\n    pm.expect(body.data).have.property('id');\n});"]}}],"_postman_id":"db823222-9e60-4f37-ac3e-709adc15a803","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Custom Contact Types","item":[{"name":"Custom Contact Type","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_contact_types`, function (err, response) {\n   pm.globals.set(\"custom_contact_type_id\", response.json().data[0].id);\n});\n\n"]}}],"id":"615c62af-9032-4b3d-a4ca-6303b366d4f4","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_contact_types",":custom_contact_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"9cf82cc6-6049-4397-a5c0-9ded6cdd16fd","type":"any","value":"{{custom_contact_type_id}}","key":"custom_contact_type_id"}]}},"response":[{"id":"f9c64e15-23d5-4798-a05c-747c679c6987","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":"615c62af-9032-4b3d-a4ca-6303b366d4f4"},{"name":"Custom Contact Types","id":"bdc31ccf-a6ef-4186-a012-b19a98e521ad","request":{"method":"GET","header":[],"url":"{{host}}/v1/custom_contact_types","description":"<p>A <strong>paginated</strong> list of all <strong>Custom Contact Types</strong> in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_contact_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"4621de62-e9aa-443c-90bd-3cd83448fd27","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":"5deaa734-469e-4ce9-8fba-d6f29ee8329d","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":"bdc31ccf-a6ef-4186-a012-b19a98e521ad"},{"name":"Create Custom Contact Type","id":"cc9aebc0-77de-445f-8567-94fffb24bc18","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Judge-a216030e-20d2-4c70-97c4-744a89276280\"\n}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/custom_contact_types","description":"<p>Create a new <strong>Custom Contact Type</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Vendor\"</code></td>\n<td>Must be unique per firm (case-sensitive; <code>\"vendor\"</code> and <code>\"Vendor\"</code> can coexist).</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> Leading/trailing whitespace is automatically trimmed (internal whitespace, e.g. the space in \"Additional Contact\", is left untouched)</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_contact_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e51c2fc5-0460-4446-9e23-c3f44bb58a3a","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}","options":{"raw":{"language":"text"}}},"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":"cc9aebc0-77de-445f-8567-94fffb24bc18"},{"name":"Update Custom Contact Type","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_contact_types`, function (err, response) {\n   pm.globals.set(\"custom_contact_type_id\", response.json().data[0].id);\n});\n\n"]}}],"id":"4222984c-3054-4fbb-a280-0376682130a2","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Pudge\"\n}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_contact_types",":contact_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"1e296367-555d-4032-a021-f7893537edaa","type":"any","value":"{{custom_contact_type_id}}","key":"contact_id"}]}},"response":[{"id":"6c74be4b-70d6-435f-b715-9bae351482e1","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}","options":{"raw":{"language":"text"}}},"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":"4222984c-3054-4fbb-a280-0376682130a2"},{"name":"Delete Custom Contact Type","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_contact_types`, function (err, response) {\n   pm.globals.set(\"custom_contact_type_id\", response.json().data[0].id);\n});\n\n"]}}],"id":"b6ec537c-788c-4707-ae15-fa3ebcb62f02","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. It will no longer appear in any future GET responses.</p>\n<p><strong>Note:</strong> Contacts currently using this type are not affected or reassigned. They'll continue referencing the deleted value.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_contact_types",":custom_contact_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"bf0defbb-b6a3-4905-91fc-9bb88e0dfee0","type":"any","value":"{{custom_contact_type_id}}","key":"custom_contact_type_id"}]}},"response":[{"id":"3a3fe276-b102-4a00-be7a-0b48017136e2","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":"b6ec537c-788c-4707-ae15-fa3ebcb62f02"}],"id":"45187b74-35e3-43ad-9668-fc17dcd6bf91","description":"<p>A <strong>Custom Contact Type</strong> is a user defined type to assign to a contact.</p>\n","_postman_id":"45187b74-35e3-43ad-9668-fc17dcd6bf91","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Contact","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {\n   pm.globals.set(\"contact_id\", response.json().data[0].id);\n});"]}}],"id":"34b71609-a19e-4cda-b30e-82144067c40c","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","contacts",":contact_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"dda69889-fac8-4c3a-8eb7-d7d5cf8fe0b8","type":"any","value":"{{contact_id}}","key":"contact_id"}]}},"response":[{"id":"d969934e-b6c8-4f0b-82e9-10823c0b1376","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"}],"variable":[{"key":"contact_id","value":"{{contact_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:17:54 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"9a5e3ed91e6e5d00d45387d62cceadcb\"","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=/","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.024865","description":"Custom header"}],"cookie":[],"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":"34b71609-a19e-4cda-b30e-82144067c40c"},{"name":"Contacts","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"The response contains the meta object\", function () {\n    const responseData = pm.response.json();\n\n    pm.expect(responseData.meta).to.exist.and.to.be.an('object');\n});\n\npm.test(\"The response contains the links object with self, next fields\", function () {\n    const responseData = pm.response.json();\n\n    pm.expect(responseData).to.be.an('object');\n    pm.expect(responseData.links).to.exist.and.to.be.an('object');\n    pm.expect(responseData.links.self).to.exist.and.to.be.a('string');\n    pm.expect(responseData.links.next).to.exist.and.to.be.a('string');\n});\n\n"]}}],"id":"f7085e9c-2300-4906-8f4e-791b444f27a7","request":{"method":"GET","header":[],"url":"{{host}}/v1/contacts","description":"<p>A <strong>paginated</strong> list of all <strong>Contacts</strong> in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>middle_name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>name_prefix</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>name_suffix</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>informal_name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>bio</code></td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td><code>birthdate</code></td>\n<td>date</td>\n<td></td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>marital_status</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>citizenship</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>driver_license</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>social_security</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>employer</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>occupation</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>timezone</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>hobbies</code></td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td><code>unsubscribed</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>custom_contact_type_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>matter_status</code></td>\n<td>integer</td>\n<td>Only the raw integer works here:  <br /><code>no_matters</code> = <code>0</code>  <br /><code>hired</code> = <code>1</code>  <br /><code>lost</code> = <code>2</code>  <br /><code>pnc</code> = <code>3</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","contacts"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"a7d9e651-e5df-4fce-ae49-6ec120b8115c","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","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","description":"The mime type of this content"},{"key":"ETag","value":"W/\"c631d7df222996f8c0e3e2a1ce126a4d\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.162715","description":"Custom header"}],"cookie":[],"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":"f7085e9c-2300-4906-8f4e-791b444f27a7"},{"name":"Create Contact","id":"795adafc-fbca-4ab8-acb6-f0477849fefe","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/contacts","description":"<p>Create a new <strong>Contact</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Bob\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Loblaw\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>middle_name</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"J\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>name_prefix</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Mr.\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>name_suffix</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Jr.\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>informal_name</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Bobby\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>title</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Esq.\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>bio</code></td>\n<td>text</td>\n<td>No</td>\n<td><code>\"Experienced litigator focused on family law.\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>birthdate</code></td>\n<td>date</td>\n<td>No</td>\n<td><code>\"1985-06-15\"</code></td>\n<td>ISO 8601, <code>yyyy-mm-dd</code>, or<code>mm/dd/yyyy</code></td>\n</tr>\n<tr>\n<td><code>gender</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Male\"</code></td>\n<td>In-app, this is a dropdown limited to Male/Female (or a longer list including Non Binary, Agender, Gender Fluid, Pangender, Two Spirit, Intersex, Other)</td>\n</tr>\n<tr>\n<td><code>marital_status</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Married\"</code></td>\n<td>In-app, this is a dropdown limited to dropdown limited to Single, Married, Divorced, Separated, Widowed, Domestic Partnership</td>\n</tr>\n<tr>\n<td><code>citizenship</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"USA\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>driver_license</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"D1234567\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>social_security</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"123-45-6789\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>employer</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Acme Corp\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>occupation</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Engineer\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>timezone</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"America/Los_Angeles\"</code></td>\n<td>Should be a standard tz-database identifier</td>\n</tr>\n<tr>\n<td><code>hobbies</code></td>\n<td>text</td>\n<td>No</td>\n<td><code>\"Golf, reading\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>unsubscribed</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>false</code></td>\n<td>Defaults to <code>false</code></td>\n</tr>\n<tr>\n<td><code>custom_contact_type_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>4</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>2</code></td>\n<td>Allows attributing creation to another user</td>\n</tr>\n<tr>\n<td><code>created_at</code> / <code>updated_at</code></td>\n<td>datetime  <br />ISO 8601 with milliseconds and a UTC offset</td>\n<td>No</td>\n<td><code>\"2023-01-01T00:00:00.000-08:00\"</code></td>\n<td>Allows backdating</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Linked/Virtual Fields</strong> — these aren't real Contact columns; each one creates or updates a separate linked record:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>street</code> / <code>street2</code> / <code>city</code> / <code>state</code> / <code>zipcode</code> / <code>country</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"1234 Fake Street\"</code></td>\n<td>Creates the Contact's primary Address (label <code>Primary</code>)</td>\n</tr>\n<tr>\n<td><code>email</code> or <code>email_address</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"bob@example.com\"</code></td>\n<td>Creates a linked Email Address record</td>\n</tr>\n<tr>\n<td><code>phone</code> or <code>phone_number</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"123-456-7890\"</code></td>\n<td>Creates a linked Phone Number record</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td>array of strings</td>\n<td>No</td>\n<td><code>[\"VIP\", \"Referral\"]</code></td>\n<td>Tag names (matched to existing tags or created)</td>\n</tr>\n<tr>\n<td><code>custom_fields</code></td>\n<td>array of objects</td>\n<td>No</td>\n<td><code>[{ \"id\": \"4788\", \"value\": \"Contact String\" }]</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td>array of objects</td>\n<td>No</td>\n<td><code>[{ \"name\": \"Intake Note\", \"body\": \"Met at conference.\" }]</code></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> If your firm has email-matching enabled and the <code>email</code> you submit matches an existing Contact, this endpoint <strong>updates</strong> that Contact instead of creating a new one, and returns <code>200</code> instead of <code>201</code>. </p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> If you don't pass a <code>fields</code> query param, the response only includes the fields you submitted (plus <code>created_at</code>/<code>updated_at</code>), not the full default field set. </p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> An invalid <code>birthdate</code> value returns <code>409</code>, not <code>422</code>.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","contacts"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"35cd3c5a-52ac-473d-97ec-dc45d959afc2","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}","options":{"raw":{"language":"text"}}},"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":"795adafc-fbca-4ab8-acb6-f0477849fefe"},{"name":"Update Contact","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {\n   pm.globals.set(\"contact_id\", response.json().data[0].id);\n});"]}}],"id":"0e3c6a06-febf-4cd8-b821-69e89f0185c0","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/contacts/:contact_id","description":"<p>Update an existing <strong>Contact</strong> by ID.</p>\n<blockquote>\n<p><strong>Note:</strong> 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</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","contacts",":contact_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"0a4e3348-7204-4acf-9d61-856ecc897c2f","type":"any","value":"{{contact_id}}","key":"contact_id"}]}},"response":[{"id":"db90ae48-8d18-4a47-bb69-e81c189b336e","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}","options":{"raw":{"language":"text"}}},"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":"0e3c6a06-febf-4cd8-b821-69e89f0185c0"},{"name":"Delete Contact","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {\n   pm.globals.set(\"contact_id\", response.json().data[0].id);\n});"]}}],"id":"2b13f3e9-bf29-48c8-b5b6-27f1bed7ed99","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/v1/contacts/:contact_id","description":"<p>Deletes the <strong>Contact</strong>, by id. It will no longer appear in any future GET responses.</p>\n<p><strong>Warning:</strong> This also deletes every Matter linked to this <strong>Contact</strong>, along with their <strong>Notes</strong>, <strong>Tasks</strong>, <strong>Events</strong>, and <strong>Signatures</strong>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","contacts",":contact_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"28fce1fe-6523-4c6a-a0cc-7f440748f707","type":"any","value":"{{contact_id}}","key":"contact_id"}]}},"response":[{"id":"5f70e0e1-b258-431a-9094-59094834faca","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":"2b13f3e9-bf29-48c8-b5b6-27f1bed7ed99"}],"id":"585de9ac-c932-43eb-abd9-647ea2b70454","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","_postman_id":"585de9ac-c932-43eb-abd9-647ea2b70454","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Companies","item":[{"name":"Company Finders","item":[{"name":"Find Company By Phone Number","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {\n   pm.globals.set(\"phone_number\", response.json().data.find(({attributes}) => attributes.phone_number).attributes.phone_number\n   .replace('.', '')\n   );\n});\n\n"]}}],"id":"41a1badc-2c28-4ede-ae95-c2a1ee8e79ea","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","companies","find_by_phone",":phone_number"],"host":["{{host}}"],"query":[],"variable":[{"id":"acac870c-1d43-43e1-9e6d-a0b864f15387","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":"c3301cb8-29f6-4528-8245-a46a552b533f","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":"41a1badc-2c28-4ede-ae95-c2a1ee8e79ea"},{"name":"Find Company By Email Address","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {\n   pm.globals.set(\"email_address\", response.json().data.find(({attributes}) => attributes.email).attributes.email);\n});\n\n"]}}],"id":"83ef39fc-510a-4139-b40c-c99d771a6eee","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","companies","find_by_email",":email_address"],"host":["{{host}}"],"query":[],"variable":[{"id":"abad50f2-03ec-4c87-b64b-287782e9120d","description":{"content":"<p>A valid email address</p>\n","type":"text/plain"},"type":"any","value":"{{email_address}}","key":"email_address"}]}},"response":[{"id":"38fd2833-2fea-4d63-9e25-cf7df3060d8b","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":"83ef39fc-510a-4139-b40c-c99d771a6eee"},{"name":"Find Company By Name","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {\n   pm.globals.set(\"name\", response.json().data.find(({attributes}) => attributes.name).attributes.name);\n});\n\n"]}}],"id":"822fa8a9-2580-4aac-8357-c424fbb4f790","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","companies","find_by_name",":name"],"host":["{{host}}"],"query":[],"variable":[{"id":"d93ac429-0676-462b-afef-af118f51b162","description":{"content":"<p>We return the closest match.</p>\n","type":"text/plain"},"type":"any","value":"{{name}}","key":"name"}]}},"response":[{"id":"82444abc-76aa-4fd7-83cb-06aab306098b","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":"822fa8a9-2580-4aac-8357-c424fbb4f790"}],"id":"2304bce2-3538-4d05-a010-4e4abdbe26e1","description":"<p>The following endpoints are fuzzy find endpoints, returning the first <strong>Contact</strong> which matches the passed values.</p>\n","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response has a body with an id\", function () {\n    const body = pm.response.json()\n    pm.expect(body.data).have.property('id');\n});"]}}],"_postman_id":"2304bce2-3538-4d05-a010-4e4abdbe26e1","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Company","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {\n   pm.globals.set(\"company_id\", response.json().data[0].id);\n});"]}}],"id":"174f1f41-0852-43b6-87b6-1a8125ca3768","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","companies",":company_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"93f31002-5ae6-43f0-a987-7064aaa4c08a","type":"any","value":"{{company_id}}","key":"company_id"}]}},"response":[{"id":"361a21f7-2dac-43b7-b88c-885468d1e301","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":"174f1f41-0852-43b6-87b6-1a8125ca3768"},{"name":"Companies","id":"713992e4-42ce-4f6a-a9e8-4614681000ab","request":{"method":"GET","header":[],"url":"{{host}}/v1/companies","description":"<p>A <strong>paginated</strong> list of all <strong>Companies</strong> in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>primary_contact_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>matter_status</code></td>\n<td>integer</td>\n<td>Only the raw integer works here:  <br /><code>no_matters</code> = <code>0</code>  <br /><code>hired</code> = <code>1</code>  <br /><code>lost</code> = <code>2</code>  <br /><code>pnc</code> = <code>3</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","companies"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"382094c1-f5a5-439b-8690-573b5b60b8c3","name":"GET Companies","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/companies"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"713992e4-42ce-4f6a-a9e8-4614681000ab"},{"name":"Create Company","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_company_id\", jsonData.data.id);\n}"]}}],"id":"b057943b-62c7-4219-931a-f610d06e9e34","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<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Acme Legal\"</code></td>\n<td>Unique per firm</td>\n</tr>\n<tr>\n<td><code>primary_contact_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>12345</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact_ids</code></td>\n<td>array of ids</td>\n<td>No</td>\n<td><code>[12345, 67890]</code></td>\n<td>Links existing Contacts to this Company; the first one added becomes the primary contact</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> An invalid <code>primary_contact_id</code> returns a 422 error </p>\n</blockquote>\n<p><strong>Linked/Virtual Fields</strong> — these aren't real Company columns; each one creates or updates a separate linked record:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>city</code> / <code>country</code> / <code>state</code> / <code>street</code> / <code>street2</code> / <code>zipcode</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"1234 Fake Street\"</code></td>\n<td>Creates the Company's primary Address</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"info@acme.com\"</code></td>\n<td>Creates a linked primary Email Address</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"123-456-7890\"</code></td>\n<td>Creates a linked primary Phone Number</td>\n</tr>\n<tr>\n<td><code>addresses_attributes</code></td>\n<td>array of objects</td>\n<td>No</td>\n<td><code>[{ \"label\": \"Office\", \"street\": \"1234 Fake Street\", \"city\": \"Fake Town\" }]</code></td>\n<td>For creating multiple linked addresses</td>\n</tr>\n<tr>\n<td><code>emails_attributes</code></td>\n<td>array of objects</td>\n<td>No</td>\n<td><code>[{ \"label\": \"Billing\", \"info\": \"billing@acme.com\" }]</code></td>\n<td>For creating multiple linked email addresses</td>\n</tr>\n<tr>\n<td><code>phone_numbers_attributes</code></td>\n<td>array of objects</td>\n<td>No</td>\n<td><code>[{ \"label\": \"Office\", \"info\": \"123-456-7890\" }]</code></td>\n<td>For creating multiple linked phone numbers</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> This label-defaulting behavior applies to <code>emails_attributes</code>/<code>phone_numbers_attributes</code> specifically (not the top-level <code>email</code>/<code>phone</code>, which always creates a <code>Primary</code> record).<br />A nested entry with no explicit <code>label</code> defaults to <code>Primary</code> — or to <code>Other</code> if you <em>also</em> sent a top-level <code>email</code>/<code>phone</code> (to avoid colliding with the <code>Primary</code> record that already created). Two nested entries with no explicit labels will collide with each other and 422.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","companies"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"5b46c353-a4b1-4193-8fa4-f58ef76cef90","name":"POST Create Company","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/plain"}],"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":{"raw":"{{host}}/v1/companies?fields=all","host":["{{host}}"],"path":["v1","companies"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"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":"b057943b-62c7-4219-931a-f610d06e9e34"},{"name":"Update Company","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {\n   pm.globals.set(\"company_id\", response.json().data[0].id);\n});"]}}],"id":"79a1111d-9d5a-4c9d-8eb5-c1b0981e11d7","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<blockquote>\n<p><strong>Note:</strong> 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</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","companies",":company_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"bf98930c-d68d-4627-a106-25c6ccbd6588","type":"any","value":"{{company_id}}","key":"company_id"}]}},"response":[{"id":"b4cb4e48-92e2-449f-a76e-49c78d24a442","name":"PUT/PATCH Update Company","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"text/plain"}],"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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"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":"79a1111d-9d5a-4c9d-8eb5-c1b0981e11d7"},{"name":"Delete Company","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {\n   pm.globals.set(\"company_id\", response.json().data[0].id);\n});"]}}],"id":"782a5cc8-ba77-4a9b-b953-70538b5947d6","request":{"method":"DELETE","header":[],"url":"{{host}}/v1/companies/:company_id","description":"<p>Deletes the <strong>Company</strong>, by id. It will no longer appear in any future GET responses.</p>\n<p><strong>Warning:</strong> This also deletes every <strong>Matter</strong> linked to this <strong>Company</strong>, along with their <strong>Notes</strong>, <strong>Tasks</strong>, <strong>Signatures</strong>, and <strong>Timeline Activities</strong>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","companies",":company_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"6794a3fa-8d08-4ff8-a318-a50dbc66b919","type":"any","value":"{{company_id}}","key":"company_id"}]}},"response":[{"id":"6ffd6e22-ddc5-4f35-9a16-4e15758f2300","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":"782a5cc8-ba77-4a9b-b953-70538b5947d6"}],"id":"a08b5746-3a73-46fb-a94c-014e154c9cc9","_postman_id":"a08b5746-3a73-46fb-a94c-014e154c9cc9","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Custom Emails","item":[{"name":"Custom Email","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_emails`, function (err, response) {\n   pm.globals.set(\"custom_email_id\", response.json().data[0].id);\n});"]}}],"id":"063750f6-760e-4f28-b3b8-24313573e29c","request":{"method":"GET","header":[],"url":"{{host}}/v1/custom_emails/:custom_email_id","description":"<p>A specific <strong>Custom Email</strong> by id, including its stats: opens, sends, bounces, clicks, open rate, click rate, bounce rate, and delivered rate.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_emails",":custom_email_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"9922dadd-d94c-4422-b927-42060eea1b08","type":"any","value":"{{custom_email_id}}","key":"custom_email_id"}]}},"response":[{"id":"59785154-1de0-4ed9-95f9-aba9d223a00d","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"063750f6-760e-4f28-b3b8-24313573e29c"},{"name":"Custom Emails","id":"a7ab09b7-d0ec-4740-a79e-0da860a47a14","request":{"method":"GET","header":[],"url":"{{host}}/v1/custom_emails","description":"<p>A paginated list of all <strong>custom emails</strong> in Lawmatics.</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>subject</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>promotional</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>folder_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_emails"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"df1ff1cc-df0e-4caf-a1e6-8e354802b438","name":"GET Custom Emails","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/custom_emails"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"a7ab09b7-d0ec-4740-a79e-0da860a47a14"}],"id":"cfe95327-a2ba-494e-9378-8f83a03620f4","_postman_id":"cfe95327-a2ba-494e-9378-8f83a03620f4","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Custom Fields","item":[{"name":"Custom Field","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_fields`, function (err, response) {\n   pm.globals.set(\"custom_field_id\", response.json().data[0].id);\n});"]}}],"id":"b9977117-99f4-4c1b-acd3-e95ddb740ae1","request":{"method":"GET","header":[],"url":"{{host}}/v1/custom_fields/:custom_field_id","description":"<p>A specific <strong>Custom Field</strong>, by id, including its metadata.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_fields",":custom_field_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"a2bca744-7835-4b75-930a-596065b18644","type":"any","value":"{{custom_field_id}}","key":"custom_field_id"}]}},"response":[{"id":"4057ded5-4306-4308-bc27-c441f41aaddf","name":"GET Custom Field","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/custom_fields/13","protocol":"https","host":["api","lawmatics","com"],"path":["v1","custom_fields","13"],"variable":[{"key":"custom_field_id","value":"{{custom_field_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:19:48 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"3ae16e93a434991a019f6c5eafc44324\"","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=/","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.012058","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\"data\":{\"id\":\"13\",\"type\":\"custom_field\",\"attributes\":{\"name\":\"Jurisdiction\",\"type\":\"Matter\",\"field_type\":\"list\",\"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":"b9977117-99f4-4c1b-acd3-e95ddb740ae1"},{"name":"Custom Fields","id":"791d35af-15d5-4dbe-851e-fe140ccbb115","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<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>enum</td>\n<td>Accepts label</td>\n</tr>\n<tr>\n<td><code>lookup_type</code></td>\n<td>enum</td>\n<td>Accepts label</td>\n</tr>\n<tr>\n<td><code>custom_fieldable_type</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>field_type</code></td>\n<td>integer</td>\n<td>Raw integer only: <code>integer</code>=0, <code>boolean</code>=1, <code>string</code>=2, <code>text</code>=3, <code>currency</code>=4, <code>date</code>=5, <code>time</code>=6, <code>datetime</code>=7, <code>list</code>=8, <code>lookup</code>=9, <code>multi_picklist</code>=10</td>\n</tr>\n<tr>\n<td><code>collection_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_fields"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"d61b7075-289b-4311-8e43-9896a5d4b7d0","name":"GET Custom Fields","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/custom_fields?fields=all","protocol":"https","host":["api","lawmatics","com"],"path":["v1","custom_fields"],"query":[{"key":"fields","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"e876eaa6aa11ea57afa5bc4955821309\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.062167","description":"Custom header"}],"cookie":[],"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 Matter Checkbox\",\"field_type\":\"boolean\",\"visibility\":\"default\",\"type\":\"Matter\",\"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 Matter Text\",\"field_type\":\"text\",\"visibility\":\"default\",\"type\":\"Matter\",\"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":"791d35af-15d5-4dbe-851e-fe140ccbb115"},{"name":"Create Custom Field","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_custom_field_id\", jsonData.data.id);\n}"]}}],"id":"a315d02b-4487-43f6-b635-6b4e14363b48","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jurisdiction c7c6d954-7604-4dc7-9984-80238660dcb9\",\n    \"type\": \"Matter\",\n    \"field_type\": \"list\",\n    \"list_options\": [\"one\",\"two\",\"three\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/custom_fields","description":"<p>Create a new <strong>Custom Field</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Jurisdiction\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Matter\"</code></td>\n<td>One of <code>Matter</code>, <code>Contact</code>, <code>Company</code></td>\n</tr>\n<tr>\n<td><code>field_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"list\"</code></td>\n<td>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> (<strong>must be lowercase)</strong></td>\n</tr>\n<tr>\n<td><code>list_options</code></td>\n<td>array of strings</td>\n<td>Conditional</td>\n<td><code>[\"Option A\", \"Option B\"]</code></td>\n<td>Required (2+ options) if <code>field_type</code> is <code>list</code> or <code>multi_picklist</code>; must be omitted for every other <code>field_type</code></td>\n</tr>\n<tr>\n<td><code>lookup_type</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td><code>\"Contact\"</code></td>\n<td>Required if <code>field_type</code> is <code>lookup</code>. One of <code>User</code>, <code>Contact</code>, <code>Company</code>, <code>Prospect</code></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> An uppercase/mixed-case value for <code>field_type</code>drops <code>list_options</code> before validation runs, then fails asking for the options you already sent</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_fields"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c073584c-e558-4427-adfe-b5da8877bd9f","name":"POST Create Custom Field","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jurisdiction\",\n    \"type\": \"Matter\",\n    \"field_type\": \"list\",\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            \"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":"a315d02b-4487-43f6-b635-6b4e14363b48"},{"name":"Update Custom Field","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_fields`, function (err, response) {\n   pm.globals.set(\"custom_field_id\", response.json().data[0].id);\n});"]}}],"id":"98f0344c-f439-43ef-bb00-a62bbbc3c6c6","request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jurisprudence f73b110b-deb6-4de1-96ec-db93370bac62\",\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<blockquote>\n<p><strong>Note:</strong> Updating the list options for <code>list</code> or <code>multi_picklist</code> will replace the existing options. It is not recommended to do this with actively used fields.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_fields",":custom_field_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"4b7cb3b9-57ff-4142-9508-4153f288cdf9","type":"any","value":"{{custom_field_id}}","key":"custom_field_id"}]}},"response":[{"id":"dd0c3869-77a9-4849-9d44-b1e7c2c08c07","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":"98f0344c-f439-43ef-bb00-a62bbbc3c6c6"},{"name":"Delete Custom Field","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/custom_fields`, function (err, response) {\n   pm.globals.set(\"custom_field_id\", response.json().data[0].id);\n});"]}}],"id":"17e41d01-11d4-46ce-96e3-9e530df10d18","request":{"method":"DELETE","header":[],"url":"{{host}}/v1/custom_fields/:custom_field_id","description":"<p>Deletes the Custom Field. It will no longer appear in any future GET responses.</p>\n<p><strong>Warning:</strong> This also deletes every value that's been entered for this field across all records, NOT just the field definition itself.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","custom_fields",":custom_field_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c24ef163-ad4e-4f16-be30-9ff222057cbd","type":"any","value":"{{custom_field_id}}","key":"custom_field_id"}]}},"response":[{"id":"72cc7bc0-383a-4264-aa40-cb1f79ef4be5","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":"17e41d01-11d4-46ce-96e3-9e530df10d18"}],"id":"fb49b2ff-d599-494d-bbde-74f65120dc0e","_postman_id":"fb49b2ff-d599-494d-bbde-74f65120dc0e","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Custom Forms","item":[{"name":"Custom Form","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/forms`, function (err, response) {\n   pm.globals.set(\"custom_form_uuid\", response.json().data[0].id);\n});"]}}],"id":"3137e325-0529-41a9-9854-34afe7f1c745","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{host}}/v1/forms/:custom_form_uuid?fields=all","description":"<p>This <strong>Unauthenticated</strong> endpoint takes a <strong>Custom Form</strong> id and returns metadata about that Custom Form. This metadata can be used to recreate a Lawmatics Custom Form to be filled using your own HTML code.</p>\n<blockquote>\n<p><strong>Note:</strong> Forms containing Appointment or Relationship (Contact) blocks can't be retrieved through this endpoint. It returns a 406 error.</p>\n</blockquote>\n","urlObject":{"path":["v1","forms",":custom_form_uuid"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[{"id":"766d9773-b4d5-4d8e-a3be-71501518f5d3","type":"any","value":"{{custom_form_uuid}}","key":"custom_form_uuid"}]}},"response":[{"id":"b1dfa812-5d3d-4f4a-97a1-347dea4bedf4","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"}],"variable":[{"key":"custom_form_uuid","value":"{{custom_form_uuid}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"0b654022716a7b501ad7f4be03a6d1e5\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.208304","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":"3137e325-0529-41a9-9854-34afe7f1c745"},{"name":"Custom Forms","id":"77e26f9d-19e4-4479-a1a5-26f01ff3217e","request":{"method":"GET","header":[],"url":"{{host}}/v1/forms","description":"<p>A <strong>paginated</strong> list of all Custom Forms in Lawmatics</p>\n<blockquote>\n<p><strong>Note:</strong> This endpoint does not support <code>filter_by</code>, <code>sort_by</code>, <code>page</code>, or <code>updated_only</code>. All list-modifying query params are silently ignored. (<code>GET /v1/forms/:id/entries</code> is unaffected.)</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","forms"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c47ab3df-70d1-48b7-9b6a-90db10646105","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","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","description":"The mime type of this content"},{"key":"ETag","value":"W/\"51e64335cc8e291ea9c043f57358d00f\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"2.206322","description":"Custom header"}],"cookie":[],"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":"77e26f9d-19e4-4479-a1a5-26f01ff3217e"},{"name":"Custom Form Entries","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/forms`, function (err, response) {\n   pm.globals.set(\"custom_form_uuid\", response.json().data[0].id);\n});"]}}],"id":"cbba358e-dd5a-4e63-b651-44069f18f364","request":{"method":"GET","header":[],"url":"{{host}}/v1/forms/:custom_form_uuid/entries","description":"<p>A paginated list of all entries submitted for a specific <strong>Custom Form</strong>.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","forms",":custom_form_uuid","entries"],"host":["{{host}}"],"query":[],"variable":[{"id":"55d5bbc1-9ce5-4e90-9a59-69dccda07488","type":"any","value":"{{custom_form_uuid}}","key":"custom_form_uuid"}]}},"response":[{"id":"feeccd5e-eb12-4dbb-ae28-1cc8130d1fcd","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"}],"variable":[{"key":"custom_form_uuid","value":"{{custom_form_uuid}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"8eccdca67fdfd1ba9035da69962db93e\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.112715","description":"Custom header"}],"cookie":[],"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":"cbba358e-dd5a-4e63-b651-44069f18f364"},{"name":"Submit Custom Form Entry  (Form Data Body)","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/forms`, function (err, response) {\n   pm.globals.set(\"custom_form_uuid\", response.json().data[0].id);\n});"]}}],"id":"50cb8f43-e130-49e8-a44c-7c312b28ce11","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"Bob","type":"text","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"},{"key":"last_name","value":"Loblaw","type":"text"},{"key":"utm_source","value":"facebook","type":"text","description":"<p>Optional Source tracking field, this value can be extracted from the cookie set by your LM tracking pixel</p>\n"},{"key":"utm_campaign","value":"lookalike1","type":"text","description":"<p>Optional Campaign tracking field, this value can be extracted from the cookie set by your LM tracking pixel</p>\n"},{"key":"referring_url","value":"https://www.google.com/some_search_query","type":"text","description":"<p>Optional Referring URL, this value can be tracked and automatically set by your LM tracking pixel</p>\n"},{"key":"RmllbGRzOjpDdXN0b21GaWVsZC1DdXN0b21GaWVsZDo6UHJvc3BlY3QtMTAyNw==","value":"An important case","type":"text","description":"<p>Old v1 long id for custom field</p>\n"},{"key":"custom_field_2263","value":"FILL ME IN","type":"text","description":"<p>v2 simple id for custom field</p>\n"}]},"url":"{{host}}/v1/forms/:custom_form_uuid/submit","description":"<p>This <strong>Unauthenticated</strong> endpoint (you do not need a Developer App) submits <strong>Custom Form values</strong>. Keys for the values use the <strong>Custom Form</strong> field ids are 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<blockquote>\n<p><strong>Note:</strong> Any automations will trigger as expected when this <strong>Custom Form</strong> is submitted via the API.</p>\n</blockquote>\n","urlObject":{"path":["v1","forms",":custom_form_uuid","submit"],"host":["{{host}}"],"query":[],"variable":[{"id":"a2186921-6d60-473f-bb93-5007cda5cf60","type":"any","value":"{{custom_form_uuid}}","key":"custom_form_uuid"}]}},"response":[{"id":"7e054c6d-bab9-437e-a706-c0637c05310a","name":"POST Submit Custom Form (Form Data Body)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"Bob","type":"text","description":"An example param for a standard form field"},{"key":"last_name","value":"Loblaw","type":"text","description":"An example param for a standard form field"},{"key":"utm_source","value":"facebook","type":"text","description":"An example param for a Source tracking field, this value can be extracted from the cookie set by your LM tracking pixel"},{"key":"utm_campaign","value":"lookalike1","type":"text","description":"An example param for a Campaign tracking field, this value can be extracted from the cookie set by your LM tracking pixel"},{"key":"custom_field_2263","value":"CustomFieldValue","type":"text","description":"An example param for a custom or non-standard field. (These are found under API details on the Form builder page)."}]},"url":{"raw":"https://api.lawmatics.com/v1/forms/31a81c7b-378f-4d5f-8d03-57c2fb43fe3c/submit","protocol":"https","host":["api","lawmatics","com"],"path":["v1","forms","31a81c7b-378f-4d5f-8d03-57c2fb43fe3c","submit"],"variable":[{"key":"custom_form_uuid","value":"{{custom_form_uuid}}"}]}},"status":"Created","code":201,"_postman_previewlanguage":"text","header":null,"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":"50cb8f43-e130-49e8-a44c-7c312b28ce11"},{"name":"Submit Custom Form Entry (JSON Body)","id":"10ea3137-138d-4d9d-bc09-aaca69952a50","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 <strong>Unauthenticated</strong> endpoint (you do not need a Developer App) submits <strong>Custom Form values</strong>. Keys for the values use the <strong>Custom Form</strong> field ids are found in Lawmatics, or found via the GET endpoint.</p>\n<p>Data should be serialized via form-data (plain html5 forms) (previous example) or JSON body.</p>\n<blockquote>\n<p><strong>Note:</strong> Any automations will trigger as expected when this <strong>Custom Form</strong> is submitted via the API.</p>\n</blockquote>\n","urlObject":{"path":["v1","forms",":custom_form_uuid","submit"],"host":["{{host}}"],"query":[],"variable":[{"id":"6462c578-3c3f-4c98-a3c6-93821ba11c99","type":"any","value":"{{custom_form_uuid}}","key":"custom_form_uuid"}]}},"response":[{"id":"b698802a-0415-49c5-a1c5-f05ebca3c2b4","name":"POST Submit Custom Form (JSON Body)","originalRequest":{"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":{"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":"10ea3137-138d-4d9d-bc09-aaca69952a50"}],"id":"82f3ae80-bd54-4845-943c-df82ac5b0528","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 Contact/Matter. Values saved on General fields are saved to the form submission record and can only be viewed on the <code>https://app.lawmatics.com/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><strong>Contact-related</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Label</th>\n<th>Field ID</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>First name</td>\n<td>first_name</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Middle name</td>\n<td>middle_name</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Last name</td>\n<td>last_name</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Name prefix</td>\n<td>name_prefix</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Name suffix</td>\n<td>name_suffix</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Informal name</td>\n<td>informal_name</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Title</td>\n<td>title</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Bio</td>\n<td>bio</td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td>Birthdate</td>\n<td>birthdate</td>\n<td>date</td>\n<td></td>\n</tr>\n<tr>\n<td>Gender</td>\n<td>gender</td>\n<td>lookup</td>\n<td>Free text at the API/form-submission level. The rendered Lawmatics form limits the visible dropdown to a fixed list, but a direct submission isn't restricted to it</td>\n</tr>\n<tr>\n<td>Marital Status</td>\n<td>marital_status</td>\n<td>lookup</td>\n<td>Same as Gender, free text on submission, fixed list only enforced by the rendered form's dropdown</td>\n</tr>\n<tr>\n<td>Citizenship</td>\n<td>citizenship</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Driver license</td>\n<td>driver_license</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Social security</td>\n<td>social_security</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Employer</td>\n<td>employer</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Occupation</td>\n<td>occupation</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Timezone</td>\n<td>timezone</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Hobbies</td>\n<td>hobbies</td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td>Email (Primary)</td>\n<td>email</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Phone (Primary)</td>\n<td>phone</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Address (Primary) - Street</td>\n<td>street</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Address (Primary) - Street2</td>\n<td>street2</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Address (Primary) - City</td>\n<td>city</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Address (Primary) - State</td>\n<td>state</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Address (Primary) - Zipcode</td>\n<td>zipcode</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Address (Primary) - Country</td>\n<td>country</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Unsubscribed</td>\n<td>unsubscribed</td>\n<td>boolean</td>\n<td>String-parsing (\"true\"/\"1\"/\"yes\" etc. → true, \"false\"/\"0\"/blank etc. → false)</td>\n</tr>\n<tr>\n<td>Custom Contact Type</td>\n<td>custom_contact_type</td>\n<td>lookup</td>\n<td>Needs the actual internal ID of one of the firm's Custom Contact Types, not its name</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Matter-related</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Label</th>\n<th>Field ID</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Case Title</td>\n<td>case_title</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Case Blurb</td>\n<td>case_blurb</td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td>Status</td>\n<td>status</td>\n<td>lookup</td>\n<td>Accepts the label directly (\"hired\", \"pnc\", \"lost\")</td>\n</tr>\n<tr>\n<td>Sub Status</td>\n<td>sub_status</td>\n<td>lookup</td>\n<td>If the submitted value happens to be exactly \"hired\", \"pnc\", or \"lost\" (a top-level Status name), it redirects and sets the Matter's overall Status instead of Sub Status. Any other value requires the internal Sub Status ID</td>\n</tr>\n<tr>\n<td>Stage</td>\n<td>stage</td>\n<td>lookup</td>\n<td>Requires the internal ID, except sending exactly \"0\" is special-cased to mean \"No Stage\"</td>\n</tr>\n<tr>\n<td>Practice Area</td>\n<td>practice_area</td>\n<td>lookup</td>\n<td>Accepts either the internal ID or the Practice Area's name (case-insensitive exact match). If neither resolves, the whole submission fails with an \"Invalid Practice Area\" error</td>\n</tr>\n<tr>\n<td>Type of Billing</td>\n<td>type_of_billing</td>\n<td>lookup</td>\n<td>Accepts the label directly (\"hourly\", \"flat_fee\", \"contingency\")</td>\n</tr>\n<tr>\n<td>Actual Value</td>\n<td>actual_value</td>\n<td>currency</td>\n<td></td>\n</tr>\n<tr>\n<td>Estimated Value</td>\n<td>estimated_value</td>\n<td>currency</td>\n<td></td>\n</tr>\n<tr>\n<td>Lead Cost</td>\n<td>lead_cost</td>\n<td>currency</td>\n<td></td>\n</tr>\n<tr>\n<td>Source</td>\n<td>source</td>\n<td>lookup</td>\n<td>Requires the internal ID</td>\n</tr>\n<tr>\n<td>Campaign</td>\n<td>campaign</td>\n<td>lookup</td>\n<td>Requires the internal ID. If the Matter doesn't already have a Source set, submitting a valid Campaign ID auto-fills the Source from that Campaign's own linked Source</td>\n</tr>\n<tr>\n<td>Referring Url</td>\n<td>referring_url</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Converted At</td>\n<td>converted_date</td>\n<td>datetime</td>\n<td></td>\n</tr>\n<tr>\n<td>Statute of Limitations</td>\n<td>statute_of_limitations</td>\n<td>date</td>\n<td></td>\n</tr>\n<tr>\n<td>Originating Attorney</td>\n<td>originating_attorney</td>\n<td>lookup</td>\n<td>Requires the internal User ID</td>\n</tr>\n<tr>\n<td>Lead Attorney</td>\n<td>lead_attorney</td>\n<td>lookup</td>\n<td>Requires the internal User ID</td>\n</tr>\n<tr>\n<td>Salesperson</td>\n<td>salesperson</td>\n<td>lookup</td>\n<td>Requires the internal User ID</td>\n</tr>\n<tr>\n<td>Owned By</td>\n<td>owned_by</td>\n<td>lookup</td>\n<td>Requires the internal User ID</td>\n</tr>\n<tr>\n<td>Assigned Staff</td>\n<td>assigned_staff[]</td>\n<td>multi_picklist</td>\n<td>Matches against firm Users by internal ID</td>\n</tr>\n<tr>\n<td>Tags</td>\n<td>tag_ids</td>\n<td>tags</td>\n<td>Requires internal Tag IDs. Two accepted formats:  <br />  <br />A plain array of IDs ([1, 2, 3]) which replaces the contactable's tags entirely with whichever of those IDs actually belong to the firm.  <br />  <br />A hash with selected/baseline keys ({\"selected\": [1, 2, 3], \"baseline\": [1, 2]}) which enables a smarter merge mode. If selected is missing or explicitly null in the hash format, tags aren't touched at all (rather than accidentally clearing everything). This requires having the matter's tags before the form submission, sending them with the form submission.</td>\n</tr>\n<tr>\n<td>Sync To OneDrive</td>\n<td>sync_to_one_drive</td>\n<td>boolean</td>\n<td>String-parsing (\"true\"/\"1\"/\"yes\" etc. → true, \"false\"/\"0\"/blank etc. → false)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Company</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Label</th>\n<th>Field ID</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Company Name</td>\n<td>company_name</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Company Email</td>\n<td>company_email</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>Company Phone</td>\n<td>company_phone</td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Label</th>\n<th>Field ID</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Note</td>\n<td>note</td>\n<td>string</td>\n<td>The field's label in the form builder becomes the Note's title, and the submitted text becomes the Note's body</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Tracking Parameters</strong> (hidden fields)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field ID</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>utm_source</td>\n<td>string</td>\n<td>Matched against a firm Source's <code>utm_match</code> value. Sets the Matter's Source if found</td>\n</tr>\n<tr>\n<td>utm_campaign</td>\n<td>string</td>\n<td>Matched against a Campaign under the matched Source's <code>utm_match</code> value. Only checked if Source matched first</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"82f3ae80-bd54-4845-943c-df82ac5b0528","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Email Addresses","item":[{"name":"Email Address","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/email_addresses`, function (err, response) {\n   pm.globals.set(\"email_address_id\", response.json().data[0].id);\n});"]}}],"id":"6b7b1747-ee6e-491d-960d-23674fe4fbb5","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","email_addresses",":email_address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"dc6e36b1-1172-4cb3-b466-f12d68bcb8e4","type":"any","value":"{{email_address_id}}","key":"email_address_id"}]}},"response":[{"id":"bb43ac67-3b7b-4cb7-b2f8-48f8b2bc90bc","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":"6b7b1747-ee6e-491d-960d-23674fe4fbb5"},{"name":"Email Addresses","id":"04ef6540-50d3-4e75-a9a9-136ff883e141","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<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>label</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>info</code></td>\n<td>string</td>\n<td>The actual email value</td>\n</tr>\n<tr>\n<td><code>informationable_type</code></td>\n<td>string</td>\n<td>One of <code>Prospect</code>, <code>Matter</code>, <code>Contact</code>, <code>Company</code>, <code>Firm</code> case-insensitive</td>\n</tr>\n<tr>\n<td><code>informationable_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","email_addresses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"9c960ea4-adb6-4661-a7cc-bd3b0ef180b8","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":"04ef6540-50d3-4e75-a9a9-136ff883e141"},{"name":"Create Email Address","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_email_address_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/email_addresses`, function (err, response) {\n   pm.globals.set(\"informationable_id\", response.json().data.find(({relationships}) => \n   relationships.informationable.data.type == 'contact').relationships.informationable.data.id)\n});"]}}],"id":"711ad655-2551-47a8-a18f-8f03bdcd92f8","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/email_addresses","description":"<p>Create a new <strong>Email Address</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>label</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Primary\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>info</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"bob@example.com\"</code></td>\n<td>Must match a valid email format. Automatically lowercased and stripped of whitespace.</td>\n</tr>\n<tr>\n<td><code>informationable_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Contact\"</code></td>\n<td>One of <code>Prospect</code>, <code>Contact</code>, <code>Company</code>, <code>Firm</code> (case-insensitive; <code>matter</code> also accepted).</td>\n</tr>\n<tr>\n<td><code>informationable_id</code></td>\n<td>id</td>\n<td>Conditional</td>\n<td><code>\"12345\"</code></td>\n<td>Required for all <code>informationable_type</code> values except <code>Firm</code></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> Setting the Email Address on a <code>Prospect</code> (Matter) sets it on the Matter's linked <strong>Contact</strong>/<strong>Company</strong>, not the Matter itself. </p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> Only one <code>label: \"Primary\"</code> Email Address is allowed per owner — a second one returns a 422.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","email_addresses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"1f33ccdf-142a-4cb6-8b08-6c322c669d72","name":"POST Create Email Address","originalRequest":{"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\": \"Prospect\",\n    \"informationable_id\": 113\n}","options":{"raw":{"language":"text"}}},"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":"711ad655-2551-47a8-a18f-8f03bdcd92f8"},{"name":"Update Email Address","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/email_addresses`, function (err, response) {\n   pm.globals.set(\"informationable_id\", response.json().data.find(({relationships}) => \n   relationships.informationable.data.type == 'contact').relationships.informationable.data.id)\n});"]}}],"id":"0d84cf91-4440-4495-a3b8-e8a1ed948d08","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/email_addresses/:email_address_id","description":"<p>Updates an <strong>Email Address</strong> by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","email_addresses",":email_address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"6be2d35d-ac91-4458-aab7-cec63539ef6c","type":"any","value":"{{email_address_id}}","key":"email_address_id"}]}},"response":[{"id":"af015b46-67b5-4cd2-9f2a-9cf802d215fa","name":"PUT Update Email Address","originalRequest":{"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\": \"Prospect\",\n    \"informationable_id\": 113\n}","options":{"raw":{"language":"text"}}},"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":"0d84cf91-4440-4495-a3b8-e8a1ed948d08"},{"name":"Delete Email Address","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/email_addresses`, function (err, response) {\n   pm.globals.set(\"email_address_id\", response.json().data[0].id);\n});"]}}],"id":"c0c8d2a2-0b34-4490-818c-da8566e20d27","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/email_addresses/:email_address_id","description":"<p>Deletes the Email Address. It will no longer appear in any future GET responses.</p>\n<p><strong>Note:</strong> If this was the Contact/Company's Primary email and they have Client Portal access, their portal login email updates automatically to whichever email remains (or becomes blank if none do).</p>\n<p><code>email_address_id</code> is the Email Address's own ID (not the Contact/Company/Firm it belongs to).</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","email_addresses",":email_address_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"308246ff-5724-4bcb-a5e7-f52ffedf3c51","type":"any","value":"{{email_address_id}}","key":"email_address_id"}]}},"response":[{"id":"80f66011-8a5e-4542-887a-5b5463877889","name":"DELETE Delete Email Address","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"c0c8d2a2-0b34-4490-818c-da8566e20d27"}],"id":"662994f6-edee-4393-b409-ff5118cb1f91","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","_postman_id":"662994f6-edee-4393-b409-ff5118cb1f91","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Email Campaigns","item":[{"name":"Email Campaign","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/email_campaigns`, function (err, response) {\n   pm.globals.set(\"email_campaign_id\", response.json().data[0].id);\n});"]}}],"id":"401e1eed-ecf2-418d-b440-05e47b0ad759","request":{"method":"GET","header":[],"url":"{{host}}/v1/email_campaigns/:id","description":"<p>Returns a specific <strong>Email Campaign</strong> in Lawmatics.</p>\n<p>To retrieve a specific campaign, use the format <code>TypeOfCampaign-id</code>:</p>\n<ul>\n<li><p>Marketing campaign: <code>/v1/email_campaigns/MarketingCampaign-1</code></p>\n</li>\n<li><p>Recurring campaign: <code>/v1/email_campaigns/RecurringCampaign-1</code></p>\n</li>\n<li><p>Date campaign: <code>/v1/email_campaigns/DateCampaign-1</code></p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","email_campaigns",":id"],"host":["{{host}}"],"query":[],"variable":[{"id":"f0bbd9f1-03f6-4b3b-acea-d834125d1b61","type":"any","value":"{{email_campaign_id}}","key":"id"}]}},"response":[{"id":"4b57a003-94d6-413f-ba3b-03ed22a9daa7","name":"GET Email Campaign","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/email_campaigns/MarketingCampaign-1","host":["{{host}}"],"path":["v1","email_campaigns","MarketingCampaign-1"],"variable":[{"key":"id","value":"{{email_campaign_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"401e1eed-ecf2-418d-b440-05e47b0ad759"},{"name":"Email Campaigns","id":"48b2d839-fa5c-46d5-865a-6d594205a452","request":{"method":"GET","header":[],"url":"{{host}}/v1/email_campaigns","description":"<p>Returns all email campaigns in <strong>Lawmatics</strong>.</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>campaign_type</code></td>\n<td>enum</td>\n<td>One of <code>MarketingCampaign</code>, <code>DateCampaign</code>, <code>RecurringCampaign</code></td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>enum</td>\n<td>Accepts label directly: <code>run_once</code>, <code>inactive</code>, <code>active</code>. <code>run_once</code> only applies to Marketing campaigns; Recurring and Date campaigns only ever have <code>inactive</code>/<code>active</code></td>\n</tr>\n<tr>\n<td><code>send_count</code></td>\n<td>integer</td>\n<td>For Marketing/Date campaigns, this is that campaign's own send count. For Recurring campaigns, it's a running total across every send in the series</td>\n</tr>\n<tr>\n<td><code>sent_at</code></td>\n<td>datetime</td>\n<td>For Marketing/Date campaigns, this is that campaign's own send time. For Recurring campaigns, it updates to the most recent send in the series</td>\n</tr>\n<tr>\n<td><code>campaign_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","email_campaigns"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"af73416f-26e2-4cb4-ac07-63a07c9c57bc","name":"GET Email Campaigns","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/email_campaigns"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"3136677d-f975-43ad-b1ba-f68dc7324477","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"48b2d839-fa5c-46d5-865a-6d594205a452"}],"id":"0ebc4420-1c68-4039-a1db-1043bc02f44c","description":"<p><strong>An Email</strong> <strong>Campaign</strong> is a marketing email send (or scheduled series of sends.) It can be one of three types: Marketing, Date, or Recurring.</p>\n","_postman_id":"0ebc4420-1c68-4039-a1db-1043bc02f44c","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Email Campaign Stats","item":[{"name":"Email Campaign Stats","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["let token = pm.environment.get('access_token')\n\npm.sendRequest({\n   url: `${pm.environment.get('host')}/v1/email_campaigns`,\n   method: 'GET',\n   header: {\n       'Authorization': `Bearer ${token}`\n   }   \n}, function (err, response) {\n   pm.globals.set(\"email_campaign_id\", response.json().data.find(campaign => campaign.attributes.campaign_type === 'MarketingCampaign').id);\n});"]}}],"id":"d116951b-3d2c-480f-a81a-edac79cb438b","request":{"method":"GET","header":[],"url":"{{host}}/v1/email_campaign_stats/:id","description":"<p>Retrieves a statistics of a specific email campaign in Lawmatics. Recurring Campaigns aren't supported.</p>\n<p>To retrieve a specific campaign, use the following format: <code>TypeofCampaign-id</code></p>\n<ul>\n<li><p>Marketing campaign: <code>/v1/email_campaign_stats/MarketingCampaign-1</code></p>\n</li>\n<li><p>Recurring campaign: <code>/v1/email_campaign_stats/DateCampaign-1</code></p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","email_campaign_stats",":id"],"host":["{{host}}"],"query":[],"variable":[{"id":"b0a6069b-2e18-41d3-b8ad-1ac9d30f01f6","type":"any","value":"{{email_campaign_id}}","key":"id"}]}},"response":[{"id":"bec52cf6-472b-42f2-9b13-404ba6b23225","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"d116951b-3d2c-480f-a81a-edac79cb438b"}],"id":"fc2a1cbe-ded0-468a-b522-02309262e6a8","description":"<p>Returns per-recipient delivery/engagement stats (delivered, opens, clicks, bounces) for a specific Marketing or Date Campaign.</p>\n","_postman_id":"fc2a1cbe-ded0-468a-b522-02309262e6a8","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Events (Appointments)","item":[{"name":"Event","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/events`, function (err, response) {\n   pm.globals.set(\"event_id\", response.json().data[0].id);\n});"]}}],"id":"19730c4c-d6c2-4583-82d4-d83163d98464","request":{"method":"GET","header":[],"url":"{{host}}/v1/events/:event_id","description":"<p>A <strong>paginated</strong> list of all Events in Lawmatics. Appointments and Registerable Events, included.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","events",":event_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"e4b37906-a172-4b7d-9230-42181b9ffa49","type":"any","value":"{{event_id}}","key":"event_id"}]}},"response":[{"id":"74faca65-6c4a-49cc-8d5b-a12a6f7b73c3","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":"19730c4c-d6c2-4583-82d4-d83163d98464"},{"name":"Events","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is Okay\", function () {\n    pm.response.to.be.ok;\n});\npm.test(\"Response time is less than 6s\", function () {\n    pm.expect(pm.response.responseTime).to.be.below(6000);\n});"]}}],"id":"6aa84b41-4c63-4d60-a6c5-7e97690b8a51","request":{"method":"GET","header":[],"url":"{{host}}/v1/events","description":"<p>A <strong>paginated</strong> list of all Events in Lawmatics. Appointments and Registerable Events, included.</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>start_date</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>all_day</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>event_type_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>location_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Valid Shortcuts:</strong> <code>matter_id</code>, <code>prospect_id</code>, <code>contact_id</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","events"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"38658597-a3bb-41fb-a14e-fac5909b5b81","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":"6aa84b41-4c63-4d60-a6c5-7e97690b8a51"},{"name":"Create Event","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_event_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   pm.globals.set(\"user_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/locations`, function (err, response) {\n   pm.globals.set(\"location_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/event_types?fields=type,id&filter_by=type&filter_on=AppointmentEventType`, function (err, response) {\n   pm.globals.set(\"event_type_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"066fe3f0-e9c9-48e8-8b92-e17929486ab9","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>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Consultation\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>start_date</code></td>\n<td>datetime</td>\n<td>Yes</td>\n<td><code>\"2024-08-01T09:00:00.000-07:00\"</code></td>\n<td>ISO 8601 datetime format</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>datetime</td>\n<td>Conditional</td>\n<td><code>\"2024-08-01T10:00:00.000-07:00\"</code></td>\n<td>Required unless <code>event_type_id</code> is set — then it's derived from the event type's duration</td>\n</tr>\n<tr>\n<td><code>event_type_id</code></td>\n<td>id</td>\n<td>Required</td>\n<td><code>3</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>all_day</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>false</code></td>\n<td>Default <code>false</code></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>text</td>\n<td>No</td>\n<td><code>\"Initial consultation\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>location_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>2</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>eventable_type</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Contact\"</code></td>\n<td>One of <code>Prospect</code>, <code>Contact</code> (case-insensitive; <code>matter</code> also accepted)</td>\n</tr>\n<tr>\n<td><code>eventable_id</code></td>\n<td>id</td>\n<td>Conditional</td>\n<td><code>\"12345\"</code></td>\n<td>Id of the <code>eventable_type</code> is set</td>\n</tr>\n<tr>\n<td><code>user_ids</code></td>\n<td>array of ids</td>\n<td>No</td>\n<td><code>[2, 3]</code></td>\n<td>User(s) hosting the appointment. (<code>users</code> also works, but if both are sent <code>user_ids</code> wins)</td>\n</tr>\n<tr>\n<td><code>reminder_type</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"hours\"</code></td>\n<td>One of <code>minutes</code>, <code>hours</code>, <code>days</code>, <code>weeks</code></td>\n</tr>\n<tr>\n<td><code>reminder_delay_length</code></td>\n<td>integer</td>\n<td>No</td>\n<td><code>24</code></td>\n<td>Combined with <code>reminder_type</code> for how long to wait before sending a reminder</td>\n</tr>\n<tr>\n<td><code>send_invites</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>true</code></td>\n<td>Default <code>false</code></td>\n</tr>\n<tr>\n<td><code>time_zone</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"America/Los_Angeles\"</code></td>\n<td>A valid <a href=\"https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\">tz identifier string</a>; only validated if present</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","events"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"aee20582-b74d-455b-9c76-1ba7df03d518","name":"POST Create Event","originalRequest":{"method":"POST","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\": [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}","options":{"raw":{"language":"text"}}},"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":"066fe3f0-e9c9-48e8-8b92-e17929486ab9"},{"name":"Update Event","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   pm.globals.set(\"user_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/locations`, function (err, response) {\n   pm.globals.set(\"location_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/event_types?fields=type,id&filter_by=type&filter_on=AppointmentEventType`, function (err, response) {\n   pm.globals.set(\"event_type_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"20048a64-8792-471e-bf8c-b30ecb8eaf1e","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/events/:event_id","description":"<p>Update an existing Event by ID.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","events",":event_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"eebb8d79-33ad-4e41-99f3-b25ce3ff2042","type":"any","value":"{{created_event_id}}","key":"event_id"}]}},"response":[{"id":"8f04ea7e-581e-4ec4-b5fb-36999f14b33f","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}","options":{"raw":{"language":"text"}}},"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":"20048a64-8792-471e-bf8c-b30ecb8eaf1e"},{"name":"Cancel Event","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/events`, function (err, response) {\n   pm.globals.set(\"event_id\", response.json().data[0].id);\n});"]}}],"id":"f2196fbd-fc81-4538-b15e-65e34cb1a5b8","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/events/:event_id?notify_attendees=true","description":"<p>Cancels an existing Event/Appointment</p>\n<p><code>notify_attendees</code> (query param): If present, sends a cancellation notice to attendees. To skip notifying attendees, omit the parameter entirely.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","events",":event_id"],"host":["{{host}}"],"query":[{"key":"notify_attendees","value":"true"}],"variable":[{"id":"f5b1f13c-53ed-4366-8ca8-fd9bf1a5cfba","description":{"content":"<p>The event/appointment</p>\n","type":"text/plain"},"type":"any","value":"{{event_id}}","key":"event_id"}]}},"response":[{"id":"3a112b4f-db22-445a-a0eb-7ec0d828cafd","name":"DELETE Cancel Event","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"f2196fbd-fc81-4538-b15e-65e34cb1a5b8"}],"id":"bc517cca-b59c-4e2c-9a56-4e918926b8c6","description":"<p><em>Events</em> are generally referred to in the app as \"Appointments\". Registerable Events are read-only.</p>\n","_postman_id":"bc517cca-b59c-4e2c-9a56-4e918926b8c6","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Event Locations","item":[{"name":"Locations","id":"5659fff8-377c-40f7-8bd6-c786e58c9006","request":{"method":"GET","header":[],"url":"{{host}}/v1/locations","description":"<p>A <strong>paginated</strong> list of all Firm Locations in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>address_id</code></td>\n<td>id</td>\n<td>Optional — virtual meeting locations (Zoom, Teams) have no address</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","locations"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"6a26cbdf-1c35-4b8c-a61f-c4d8d44ab6de","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":"5659fff8-377c-40f7-8bd6-c786e58c9006"}],"id":"117fb89f-7b47-4af1-be75-9a710de6eee5","description":"<p>These are Firm related Locations (for events/appointments) that can be configured in Firm settings.</p>\n","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response time is less than 400ms\", function () {\n    pm.expect(pm.response.responseTime).to.be.below(400);\n});\npm.test(\"Status code is Successful\", function () {\n    pm.response.to.be.ok\n});"]}}],"_postman_id":"117fb89f-7b47-4af1-be75-9a710de6eee5","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Event Types","item":[{"name":"Event Type","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/event_types`, function (err, response) {\n   pm.globals.set(\"event_type_id\", response.json().data[0].id);\n});"]}}],"id":"51208039-ab72-4ec9-8caf-d0a5d842b9cb","request":{"method":"GET","header":[],"url":"{{host}}/v1/event_types/:event_type_id","description":"<p>A specific <strong>Event/Appointment Type</strong> by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","event_types",":event_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"7b6e5fdd-e208-4a61-b24e-31758d03f23e","type":"any","value":"{{event_type_id}}","key":"event_type_id"}]}},"response":[{"id":"9ecc251e-4544-40bf-9ee1-864b7ced61f0","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":"51208039-ab72-4ec9-8caf-d0a5d842b9cb"},{"name":"Event Types","id":"7b9be4d2-e9a3-4691-943a-3ae7941cc5e4","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<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>duration</code></td>\n<td>integer</td>\n<td>In minutes</td>\n</tr>\n<tr>\n<td><code>billing_activity_type_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>rate_cents</code></td>\n<td>integer</td>\n<td></td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string (STI)</td>\n<td>Discriminator column; defaults to <code>AppointmentEventType</code>, accepts <code>RegisterableEventType</code></td>\n</tr>\n<tr>\n<td><code>default_maximum_registrants</code></td>\n<td>integer</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","event_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8cf185b7-c1d3-4b5c-b6d0-2b1e8e4fcb12","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":"7b9be4d2-e9a3-4691-943a-3ae7941cc5e4"},{"name":"Create Event Type","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_event_type_id\", jsonData.data.id);\n}"]}}],"id":"bfe88982-03e0-4ea6-a00a-aedd1a6612b0","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test Event Type\",\n    \"duration\": 30\n}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/event_types","description":"<p>Create a new <strong>Event Type</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Initial Consultation\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>duration</code></td>\n<td>integer</td>\n<td>No</td>\n<td><code>30</code></td>\n<td>In minutes. Defaults to <code>30</code> if omitted</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","event_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f57c17e9-0238-4c21-8257-29b47bdc8c39","name":"POST Create Event Type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"test5\",\n    \"duration\": 30\n}","options":{"raw":{"language":"text"}}},"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":"bfe88982-03e0-4ea6-a00a-aedd1a6612b0"},{"name":"Update Event Type","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/event_types`, function (err, response) {\n   pm.globals.set(\"event_type_id\", response.json().data[0].id);\n});"]}}],"id":"bfac3fe4-a6c0-4649-acae-0b1d232f0785","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Different Event Type\",\n    \"duration\": 60\n}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","event_types",":event_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"84b5e8fc-5633-4535-b6ce-def0352263e4","type":"any","value":"{{event_type_id}}","key":"event_type_id"}]}},"response":[{"id":"a95d0b53-3429-45c1-b798-089e31c02782","name":"PUT Update Event Type","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Different Event Type\",\n    \"duration\": 60\n}","options":{"raw":{"language":"text"}}},"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":"bfac3fe4-a6c0-4649-acae-0b1d232f0785"},{"name":"Delete Event Type","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/event_types`, function (err, response) {\n   pm.globals.set(\"event_type_id\", response.json().data[0].id);\n});"]}}],"id":"35bc9d9b-2170-490b-8978-ee0920178551","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","event_types",":event_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"950fb108-c999-47e0-ac2f-364a98e91db0","type":"any","value":"{{created_event_type_id}}","key":"event_type_id"}]}},"response":[{"id":"87243e03-09be-4455-977c-3fcfb168d650","name":"DEL Delete Event Type","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"35bc9d9b-2170-490b-8978-ee0920178551"}],"id":"f0c039aa-1f30-41c7-be5c-0332d43a8784","description":"<p><strong>Event Types</strong> define <strong>Event/Appointment</strong> defaults, and can trigger automations, for common types of <strong>Events/Appointments</strong> created in Lawmatics.</p>\n","_postman_id":"f0c039aa-1f30-41c7-be5c-0332d43a8784","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Files","item":[{"name":"File","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/files`, function (err, response) {\n   pm.globals.set(\"file_id\", response.json().data[0].id);\n});"]}}],"id":"a85ea688-0e65-45fa-b53b-bfdb3929f70d","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","files",":file_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"18437410-42ce-469d-905b-87e040aacd12","type":"any","value":"{{file_id}}","key":"file_id"}]}},"response":[{"id":"ee665e02-f98b-4374-95cf-f97ff7341f4d","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}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"a85ea688-0e65-45fa-b53b-bfdb3929f70d"},{"name":"Files","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response time is less than 6000ms\", function () {\n    pm.expect(pm.response.responseTime).to.be.below(6000);\n});\n\npm.test(\"Status code is Successful\", function () {\n    pm.response.to.be.ok\n});"]}}],"id":"66d2028a-a401-45ed-9a6d-c90bd2e4f1fa","request":{"method":"GET","header":[],"url":"{{host}}/v1/files","description":"<p>A <strong>paginated</strong> list of all File metadata in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>folder_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>documentable_type</code></td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Valid Shortcuts:</strong> (<code>filter_by</code>) <code>matter_id</code>, <code>prospect_id</code>, <code>contact_id</code>, <code>company_id</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","files"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c56a7077-f7ff-4b8d-998c-fd2dc9cee257","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://bucket.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/d8638a97af376bbfe4c37a02b58bdc00be27412ba3df2c827ac2ef43c83d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/14ec6afab06c33e4380cabf1afae1e1d010a70d9ea15b18bbb6beaabe1ea?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/027bfa7a400265118a10f0bb5b7ba5f628c3a822f931c7bec272a46ba84f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/e0dae1bf5bc8525a493b0095ac3cbb968ecb26288792a190f5cec10fdf7a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/4ff0aeabc979f59d118a0c809c51533b0bf04305376d565aa820c364e924?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/2807232cdaa3d43e2089347172dbc5d123025e2ceb76439f9b0cc340ad66?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/a6c745e68adfc23759b2456c8bc09ac9d98d527c98cf4ff740c33198413e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/eae6f302adda6078a79fe611ffc5afccba774a4b3738b6c8a97026911c83?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/5e1a9d6f5e98f728d178f4bc70555db8ba1ad9c9ef952b30bd9492ca3d2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/c3e44f8bb947e82c1e8cb3959e3c34eac7dec8757684fa5f86067642cfbf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/5ff972883ad42adbbe87a7cef1d5ce1cd5d31ccf1d7e702c8a724b24fef8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/203d0529a67d9abf75f69733714a15a3f634f907b60082e4030c3e81bc2f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/a83e5e0c6936fe3f0dc5421782dbc79ce8c6c7ecba3854a40e1ea67491b8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/095ab26b896eea101eab5a9c778607738f10ede4833a735886a7d1bd4bc2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/9900cf727fb296b32d96c1db7247152cc9a131ba4300fee9b5c7979f203c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/fade18ead85043c48ae4a4d1eb369f8a1a161ab828c0884d1b85a0abc7d4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/be01f4136fc22d0d0ad721d4e8f622fab1b53f18bba33c5d4813784fad00?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/d5d211a740262b977e34de50464f050f2760e93f8a10c1403ba79a47f1b4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/23e3f75eda7a156633835c9bb138da3b033879878e0117616d89dcaf0378?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/7f5fee8fa2873b2150d672f1be983d08286c0d5751618ead58a38ee630ff?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/ba1b760b74e7110cf64b8e1aec353a2a36678cd263ab79231912e0686a14?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/dd24455f01dd651fe073afaf1edfd995624f5b65f1cbba74a21fd83d4a34?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/a1f4a97561c339a1f54d547b70a57c98226f0b5b554f088a035d79b3a34e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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://bucket.s3.us-west-1.amazonaws.com/store/c31f89fa03259249fd13b037f2fbbb5cf1163099491c2b409a5af3c4e706?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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":"2e383486-b880-4b76-8fd7-00c82c6dae2e","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":""},{"id":"4379a58f-9f14-4260-8c09-a533ef2a398d","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":""},{"id":"3ecbd26f-2e59-4208-8be5-a74f181a20cd","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"66d2028a-a401-45ed-9a6d-c90bd2e4f1fa"},{"name":"Download File","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/files`, function (err, response) {\n   pm.globals.set(\"file_id\", response.json().data[0].id);\n});"]}}],"id":"26e24d17-38ef-4930-92aa-50598ec6ad1a","protocolProfileBehavior":{"disableCookies":false,"disabledSystemHeaders":{},"disableUrlEncoding":false,"followRedirects":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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","files","download",":id"],"host":["{{host}}"],"query":[],"variable":[{"id":"2a6ace86-0f01-4170-9f7d-ed8ab4c84ec3","type":"any","value":"{{file_id}}","key":"id"}]}},"response":[{"id":"ba89e3e1-e863-4b87-8bb4-c4eac35509a2","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":"text","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":"18678a58-f74f-4dad-8e72-008ae0320dd8","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":"26e24d17-38ef-4930-92aa-50598ec6ad1a"},{"name":"Upload File","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_file_id\", jsonData.data.id);\n}"]}}],"id":"a32b8884-320f-4e4e-b830-bcff78797ce1","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"documentable_type","value":"Firm","type":"text","description":"<p>Firm/Contact/Matter</p>\n"},{"key":"documentable_id","value":"1","type":"text","description":"<p>ID of the Documentable to attach the file to</p>\n","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","files"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"80fda45d-204e-409d-b2fd-f4cf16d857fe","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":"postman-cloud:///1eeb9696-4e64-4020-a53c-f8a3e1701572"}]},"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://bucket.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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":"df4398ac-ba29-48bb-92e6-6968cc00e052","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":"postman-cloud:///1eeb9696-4e64-4020-a53c-f8a3e1701572"},{"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://bucket.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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":"2045d28d-ddf1-49bc-a9a4-19fe5ad57344","name":"POST Upload File to a specific 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":"postman-cloud:///1eeb9696-4e64-4020-a53c-f8a3e1701572"},{"key":"folder_id","value":"123","type":"text","description":"Folder ID to uplaod to"}]},"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://bucket.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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":"a32b8884-320f-4e4e-b830-bcff78797ce1"},{"name":"Update File Metadata","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_file_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/files`, function (err, response) {\n   pm.globals.set(\"file_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/folders`, function (err, response) {\n   pm.globals.set(\"folder_id\", response.json().data[0].id);\n   pm.globals.set(\"documentable_id\", response.json().data[0].relationships.documentable.data.id);\n   pm.globals.set(\"documentable_type\", response.json().data[0].relationships.documentable.data.type);\n});"]}}],"id":"ec0a5cb4-5a80-4768-904a-4cc3cd5ad736","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 a <strong>File</strong>'''s metadata</p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>documentable_type</code></td>\n<td>string</td>\n<td>No</td>\n<td>\"matter\"</td>\n<td>One of <code>firm</code>, <code>client</code>, <code>matter</code>, <code>contact</code></td>\n</tr>\n<tr>\n<td><code>documentable_id</code></td>\n<td>id</td>\n<td>Conditional</td>\n<td>\"12345\"</td>\n<td>Not needed for <code>firm</code></td>\n</tr>\n<tr>\n<td><code>folder_id</code></td>\n<td>id</td>\n<td>No</td>\n<td>5</td>\n<td>The Folder ID the file should be located in</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>No</td>\n<td>\"Contract.pdf\"</td>\n<td></td>\n</tr>\n<tr>\n<td><code>path</code></td>\n<td>array of strings</td>\n<td>No</td>\n<td>[\"Root\", \"Folder 1\", \"Folder 2\"]</td>\n<td>Finds each folder by name or creates it if missing. Overrides <code>folder_id</code> if both are sent</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","files",":file_id"],"host":["{{host}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[{"id":"89960501-d918-4e7e-bd3f-4d6e67413dae","type":"any","value":"{{file_id}}","key":"file_id"}]}},"response":[{"id":"8376ed0a-71d3-469d-8a29-98b02870e2b8","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","type":"text","description":"Folder Path Array"},{"key":"path[]","value":"Sub Folder B","type":"text","description":"Folder Path Array"},{"key":"id","value":"48","type":"text","description":"File ID"}]},"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://bucket.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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":"22918423-c65c-48e2-a724-e69318c23270","name":"PUT Move file to file path","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"48","type":"text","description":"File ID"},{"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://bucket.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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":"ec0a5cb4-5a80-4768-904a-4cc3cd5ad736"},{"name":"Delete File","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response time is less than 6000ms\", function () {\n    pm.expect(pm.response.responseTime).to.be.below(6000);\n});\n\npm.test(\"Status code is Successful\", function () {\n    pm.response.to.be.ok\n});"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/files`, function (err, response) {\n   pm.globals.set(\"file_id\", response.json().data[0].id);\n});"]}}],"id":"18694ea7-cffb-4550-955d-799f5b2597eb","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","files",":file_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"717994f5-189e-43d7-a780-e59a4df15ea2","type":"any","value":"{{file_id}}","key":"file_id"}]}},"response":[{"id":"b6a982ce-fcf3-4a11-98fe-824c94d8816f","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://bucket.s3.us-west-1.amazonaws.com/store/d494fe46a2bae430671b8de9e2e0d00720d4bf80a5f3e6d4d870c1579803?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX%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":"18694ea7-cffb-4550-955d-799f5b2597eb"}],"id":"81925a3a-086b-4ea9-8edd-7121bc557b1a","_postman_id":"81925a3a-086b-4ea9-8edd-7121bc557b1a","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Folders","item":[{"name":"Folder","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/folders`, function (err, response) {\n   pm.globals.set(\"folder_id\", response.json().data[0].id);\n});"]}}],"id":"f59e728a-0ce9-456b-ac30-17e14085fec4","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","folders",":folder_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"641e1a77-59ae-44b4-8066-3350746a6e83","type":"any","value":"{{folder_id}}","key":"folder_id"}]}},"response":[{"id":"035d05cc-f3f2-4f1b-a3b9-7f21c41b6bf6","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"}],"variable":[{"key":"folder_id","value":"{{folder_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"f59e728a-0ce9-456b-ac30-17e14085fec4"},{"name":"Folders","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response time is less than 6000ms\", function () {\n    pm.expect(pm.response.responseTime).to.be.below(6000);\n});\n\npm.test(\"Status code is Successful\", function () {\n    pm.response.to.be.ok\n});"]}}],"id":"6c31091d-641c-41f3-b60d-be29bca8588e","request":{"method":"GET","header":[],"url":"{{host}}/v1/folders","description":"<p>A <strong>paginated</strong> list of all Folder metadata in Lawmatics</p>\n<p>A paginated list of all Folder metadata in Lawmatics.</p>\n<blockquote>\n</blockquote>\n<p><strong>Note:</strong> Folders is the only endpoint in the API with this direct-parameter filtering behavior. The <code>matter_id</code>/<code>prospect_id</code>/<code>contact_id</code> query params described below work <em>only</em> on this endpoint.</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<p>Folders support two separate filtering mechanisms:</p>\n<p><strong>1. Direct convenience params</strong>: pass these as their own top-level query params (not through <code>filter_by</code>/<code>filter_on</code>):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /v1/folders?matter_id=123\nGET /v1/folders?prospect_id=123\nGET /v1/folders?contact_id=123\n\n</code></pre><p>These are always exact-match on ID, and no operators (<code>like</code>, <code>&gt;</code>, etc.) are supported. If more than one of these three is passed at once, only one is applied (<code>matter_id</code>, then <code>prospect_id</code>, then <code>contact_id</code>, in that priority order.)</p>\n<p><strong>2. Standard</strong> <strong><code>filter_by</code><strong><strong>/</strong></strong><code>filter_on</code></strong>: supports the regular field list below, same as any other endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>folder_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Combining both mechanisms:</strong> Because the direct params and <code>filter_by</code> run as two separate conditions, they combine with each other rather than one overriding the other:</p>\n<ul>\n<li><strong>Unrelated fields</strong> — e.g. <code>?matter_id=123&amp;filter_by=name&amp;filter_on=Discovery</code> — both apply together. This is how you can filter on two conditions at once, which isn't otherwise possible elsewhere in the API (only one <code>filter_by</code> condition is allowed per request):</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  GET /v1/folders?matter_id=123&amp;filter_by=name&amp;filter_on=Discovery\n\n</code></pre><ul>\n<li><p><strong>Same target, matching values</strong> — e.g. <code>?matter_id=123&amp;filter_by=matter_id&amp;filter_on=123</code> — redundant, but harmless.</p>\n</li>\n<li><p><strong>Same target, conflicting values</strong> — e.g. <code>?matter_id=123&amp;filter_by=matter_id&amp;filter_on=456</code> — this silently returns <strong>zero results</strong>, with no error. The two conditions cancel each other out rather than one taking priority. If a folder list appears unexpectedly empty, check for a combination like this first.</p>\n</li>\n</ul>\n<p><em>(Folders use the direct params above instead of the standard Polymorphic Filter Shortcuts mechanism)</em></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","folders"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"a24823fd-269a-4e4a-a362-dbdf35d935d3","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":"6c31091d-641c-41f3-b60d-be29bca8588e"},{"name":"Create Folder","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_folder_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/folders`, function (err, response) {\n   pm.globals.set(\"folder_id\", response.json().data[0].id);\n\n   const { id, type } = response.json().data[0].relationships.documentable.data\n   documentable_type = type.charAt(0).toUpperCase() + type.slice(1)\n   pm.globals.set(\"documentable_type\", documentable_type);\n   pm.globals.set(\"documentable_id\", id);\n});"]}}],"id":"8b8e8113-537c-4cc4-a4c2-5dea9e97bd52","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>Create a new <strong>Folder</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Discovery Documents\"</code></td>\n<td>Must be unique within the parent folder. A <code>/</code> in the name is silently converted to <code>:</code></td>\n</tr>\n<tr>\n<td><code>documentable_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Contact\"</code></td>\n<td>One of <code>Matter</code>/<code>Prospect</code>, <code>Contact</code>, <code>Client</code>, <code>Company</code> (case-insensitive). Note: <code>Firm</code> is <strong>not</strong> valid here (unlike Addresses/Emails/Phones) — returns a 404</td>\n</tr>\n<tr>\n<td><code>documentable_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>\"12345\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>folder_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>5</code></td>\n<td>Parent folder. Ignored if <code>path</code> is also sent</td>\n</tr>\n<tr>\n<td><code>path</code></td>\n<td>array of strings</td>\n<td>No</td>\n<td><code>[\"Discovery\", \"2024\"]</code></td>\n<td>Creates/reuses each folder in the chain; overrides <code>folder_id</code> if both are sent</td>\n</tr>\n<tr>\n<td><code>created_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-01T00:00:00.000-08:00\"</code></td>\n<td>ISO 8601</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> Don't send <code>matter_id</code>, <code>prospect_id</code>, or <code>contact_id</code> on this endpoint — they're valid on GET requests (as filters), but on Create they can trigger a server error instead of a normal 422. Use <code>documentable_type</code>/<code>documentable_id</code> instead.</p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> A duplicate folder name (same name, same parent folder, same linked record) returns a <code>409</code>. The error message reads \"Documentable not found\", which is misleading — the actual cause is the name collision, not a missing record.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","folders"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ecf7dfef-3417-42bf-b1ca-dbc0b8550936","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","type":"text","description":"Must be unique within folder.  \"/\" in folder name will be replaces with \":\""},{"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":"d18413cb-8550-4719-85e8-6118c2a75ffe","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","type":"text","description":"Must be unique within parent folder.  \"/\" in folder name will be replaces with \":\""}]},"url":"{{host}}/v1/folders"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"98a14de3-f8ba-4fd8-b74c-9b01ba6fb728","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","type":"text","description":"Must be unique within folder.  \"/\" in folder name will be replaces with \":\""},{"key":"path[]","value":"foo","type":"text","description":"root file"},{"key":"path[]","value":"bar","type":"text"},{"key":"path[]","value":"baz","type":"text"}]},"url":"{{host}}/v1/folders"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"8b8e8113-537c-4cc4-a4c2-5dea9e97bd52"},{"name":"Update Folder","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_file_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/folders`, function (err, response) {\n   pm.globals.set(\"folder_id\", response.json().data[0].id);\n\n   const { id, type } = response.json().data[0].relationships.documentable.data\n   documentable_type = type.charAt(0).toUpperCase() + type.slice(1)\n   pm.globals.set(\"documentable_type\", documentable_type);\n   pm.globals.set(\"documentable_id\", id);\n});"]}}],"id":"30965bcb-6824-4615-a56f-d231effba3e4","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","type":"text","description":"<p>Must be unique within folder.  \"/\" in folder name will be replaces with \":\"</p>\n"}]},"url":"{{host}}/v1/folders/:folder_id","description":"<p>Updates a <strong>Folder</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>documentable_type</code></td>\n<td>string</td>\n<td>No</td>\n<td>\"Contact\"</td>\n<td>One of <code>matter</code>, <code>contact</code></td>\n</tr>\n<tr>\n<td><code>documentable_id</code></td>\n<td>id</td>\n<td>No</td>\n<td>\"12345\"</td>\n<td></td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>No</td>\n<td>\"Discovery Documents\"</td>\n<td>Must be unique within the parent folder. Returns <code>409</code> if the name is already taken. A <code>/</code> in the name is silently converted to <code>:</code></td>\n</tr>\n<tr>\n<td><code>folder_id</code></td>\n<td>id</td>\n<td>No</td>\n<td>5</td>\n<td>Parent folder — use this if adding a subfolder</td>\n</tr>\n<tr>\n<td><code>path</code></td>\n<td>array of strings</td>\n<td>No</td>\n<td>[\"Root\", \"Folder 1\", \"Folder 2\"]</td>\n<td>Finds each folder by name or creates it if missing. Moves the folder into the last folder in the path. Overrides <code>folder_id</code> if both are sent</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","folders",":folder_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"e0f58329-39b0-4a9f-b2d5-ae6a3a673257","type":"any","value":"{{folder_id}}","key":"folder_id"}]}},"response":[{"id":"ee4b7f4a-df7a-411f-beaf-5c4c20e6211c","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","type":"text","description":"Must be unique within folder.  \"/\" in folder name will be replaces with \":\""},{"key":"folder_id","value":"","type":"text","disabled":true}]},"url":{"raw":"daa3-64-158-23-250.ngrok-free.app/v1/folders/144","host":["daa3-64-158-23-250","ngrok-free","app"],"path":["v1","folders","144"],"variable":[{"key":"folder_id","value":"{{folder_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\": \"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":"d9147019-044a-4474-959a-496681c77f3e","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","type":"text","description":"Must be unique within folder.  \"/\" in folder name will be replaces with \":\""},{"key":"folder_id","value":"","type":"text","description":"Folder ID of new parent folder"}]},"url":{"raw":"{{host}}/v1/folders/144","host":["{{host}}"],"path":["v1","folders","144"],"variable":[{"key":"folder_id","value":"{{folder_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\": \"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":"bee3e969-4172-4aa4-ac87-807786e56f2f","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","type":"text","description":"Must be unique within folder.  \"/\" in folder name will be replaces with \":\"","disabled":true},{"key":"path[]","value":"foo","type":"text"}]},"url":{"raw":"{{host}}/v1/folders/164","host":["{{host}}"],"path":["v1","folders","164"],"variable":[{"key":"folder_id","value":"{{folder_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\": \"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":"30965bcb-6824-4615-a56f-d231effba3e4"},{"name":"Delete Folder","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/folders`, function (err, response) {\n   pm.globals.set(\"folder_id\", response.json().data[0].id);\n});"]}}],"id":"56b43f23-381c-4241-8464-5bb4742da915","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","folders",":folder_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"57fcf1ca-d060-4d15-be95-4dfdad443c5c","type":"any","value":"{{folder_id}}","key":"folder_id"}]}},"response":[{"id":"e2d7a56d-5619-4d44-84a0-b03040463f95","name":"DELETE Folder","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{host}}/v1/folders/17","host":["{{host}}"],"path":["v1","folders","17"],"variable":[{"key":"folder_id","value":"{{folder_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\": \"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":"56b43f23-381c-4241-8464-5bb4742da915"}],"id":"e59d6c29-7560-4c51-96ea-8661c6134764","_postman_id":"e59d6c29-7560-4c51-96ea-8661c6134764","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Matters (Prospects)","item":[{"name":"Matter Finders","item":[{"name":"Find Matter By Phone Number","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects?fields=all`, function (err, response) {\n   pm.globals.set(\"phone\", response.json().data.find(({attributes}) => attributes.phone).attributes.phone);\n});\n\n"]}}],"id":"b4d4fe47-67eb-4031-bcb9-932d0221f7d3","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects","find_by_phone",":phone_number"],"host":["{{host}}"],"query":[],"variable":[{"id":"e8d325be-c6f6-46db-82b8-185b5c2677f4","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":"cdc4b294-e862-4de5-b145-7dea637053c4","name":"GET Find Matter By Phone Number","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/prospects/find_by_phone/5555555","protocol":"https","host":["api","lawmatics","com"],"path":["v1","prospects","find_by_phone","5555555"],"variable":[{"key":"phone_number","value":"{{phone}}","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":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"fe5742a93141b540658d83170b538ce3\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.511475","description":"Custom 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":"b4d4fe47-67eb-4031-bcb9-932d0221f7d3"},{"name":"Find Matter By Email Address","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects?fields=all`, function (err, response) {\n   pm.globals.set(\"email\", response.json().data.find(({attributes}) => attributes.email).attributes.email);\n});\n\n"]}}],"id":"05261877-bf8d-458b-acd9-512c40eec05c","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects","find_by_email",":email_address"],"host":["{{host}}"],"query":[],"variable":[{"id":"fcc2a91e-a770-4376-951d-9b065fb3a639","description":{"content":"<p>A valid email address</p>\n","type":"text/plain"},"type":"any","value":"{{email}}","key":"email_address"}]}},"response":[{"id":"354412d7-c678-4294-ab17-03ef5c9062da","name":"GET Find Matter By Email Address","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/prospects/find_by_email/roey+api@lawmatics.com","protocol":"https","host":["api","lawmatics","com"],"path":["v1","prospects","find_by_email","roey+api@lawmatics.com"],"variable":[{"key":"email_address","value":"{{email}}","description":"A valid email address"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"05261877-bf8d-458b-acd9-512c40eec05c"},{"name":"Find Matter By Name","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects?fields=all`, function (err, response) {\n   pm.globals.set(\"name\", response.json().data.find(({attributes}) => attributes.first_name).attributes.first_name);\n});"]}}],"id":"0b789ec1-8253-4be9-84fa-2f9bd2be3336","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects","find_by_name",":name"],"host":["{{host}}"],"query":[],"variable":[{"id":"be1c2d5b-30dc-48e3-84cd-5b57d674ba70","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":"9d239f44-fc93-42d7-a1e6-220065d06aeb","name":"GET Find Matter By Name","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/prospects/find_by_name/rOeY%20cHaS","protocol":"https","host":["api","lawmatics","com"],"path":["v1","prospects","find_by_name","rOeY%20cHaS"],"variable":[{"key":"name","value":"{{name}}","description":"We return the closest match. For better results include the PNC Contact's last name."}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"0b789ec1-8253-4be9-84fa-2f9bd2be3336"}],"id":"89031a70-4145-4ccc-904e-45dcff02f4c6","description":"<p>The following endpoints are fuzzy find endpoints, returning the first <strong>Matter</strong> which matches the passed values.</p>\n","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response has a body with an id\", function () {\n    const body = pm.response.json()\n    pm.expect(body.data).have.property('id');\n});"]}}],"_postman_id":"89031a70-4145-4ccc-904e-45dcff02f4c6","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Matter Interactions","item":[{"name":"Interaction","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/interactions`, function (err, response) {\n   pm.globals.set(\"interaction_id\", response.json().data[0].id);\n});"]}}],"id":"7078264a-b8e7-4054-ba1f-c73a6cefb672","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","interactions",":interaction_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"8d4e1137-2fb0-42a1-a1c3-8b5d67811791","type":"any","value":"{{interaction_id}}","key":"interaction_id"}]}},"response":[{"id":"6ffa0ba4-25ce-47d4-8a5e-514f1f884293","name":"GET Interaction","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/interactions/69","host":["{{host}}"],"path":["v1","interactions","69"],"variable":[{"key":"interaction_id","value":"{{interaction_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/\"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":"7078264a-b8e7-4054-ba1f-c73a6cefb672"},{"name":"Interactions","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status code is Okay\", function () {\n    pm.response.to.be.ok;\n});\npm.test(\"Response time is less than 6s\", function () {\n    pm.expect(pm.response.responseTime).to.be.below(1200);\n});"]}}],"id":"febfe64c-df23-457a-88b1-c43888658b6a","request":{"method":"GET","header":[],"url":"{{host}}/v1/interactions/","description":"<p>A <strong>paginated</strong> list of all Interactions in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>interactable_type</code></td>\n<td>string</td>\n<td>Always <code>\"Prospect\"</code> in practice — Create Interaction only accepts <code>prospect_id</code>, so this can never be anything else through this API</td>\n</tr>\n<tr>\n<td><code>interactable_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>happened_at</code></td>\n<td>datetime</td>\n<td></td>\n</tr>\n<tr>\n<td><code>interaction_type</code></td>\n<td>string</td>\n<td>Free-form text — no fixed/enumerated value list</td>\n</tr>\n<tr>\n<td><code>body</code></td>\n<td>text</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","interactions",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5fccf5f7-8776-42d9-b416-d173f0552832","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":"febfe64c-df23-457a-88b1-c43888658b6a"},{"name":"Create Interaction","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_interaction_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"4e6fa35b-d1d0-4b96-885f-5fb2a46104d6","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/interactions","description":"<p>Create a new <strong>Interaction</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>prospect_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>\"12345\"</code></td>\n<td>The Matter this Interaction is logged against</td>\n</tr>\n<tr>\n<td><code>interaction_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Made Phone Call\"</code></td>\n<td>Free-form text, not a fixed enum. The app's own \"Log Activity\" UI uses a fixed list — <code>Made Phone Call</code>, <code>Sent Email</code>, <code>Had In Person Meeting</code>, <code>Sent Text Message</code>, <code>Posted to Social Media</code>, <code>Physical Mail</code> — but the API does not enforce it; any string is accepted and stored as-is</td>\n</tr>\n<tr>\n<td><code>body</code></td>\n<td>text</td>\n<td>Yes</td>\n<td><code>\"Discussed case status with client.\"</code></td>\n<td>Must be non-blank</td>\n</tr>\n<tr>\n<td><code>happened_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-15T14:30:00.000-08:00\"</code></td>\n<td>ISO 8601. Defaults to the creation time for timeline ordering if omitted</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","interactions"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8ea645c6-c58f-40ab-87d4-9d6d4eded562","name":"POST Create Interaction","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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":"4e6fa35b-d1d0-4b96-885f-5fb2a46104d6"},{"name":"Update Interaction","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/interactions`, function (err, response) {\n   pm.globals.set(\"interaction_id\", response.json().data[0].id);\n});"]}}],"id":"f3ea470a-42f2-4ec2-aeca-e2414e76906e","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/interactions/:interaction_id","description":"<p>Update an existing Interaction by ID.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","interactions",":interaction_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"ca564e39-1533-4eeb-ad68-c6192f758fc4","type":"any","value":"{{created_interaction_id}}","key":"interaction_id"}]}},"response":[{"id":"de75e4ad-9b35-470e-939d-bcd8b54bfb30","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}","options":{"raw":{"language":"text"}}},"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":"f3ea470a-42f2-4ec2-aeca-e2414e76906e"},{"name":"Delete Interaction","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/interactions`, function (err, response) {\n   pm.globals.set(\"interaction_id\", response.json().data[0].id);\n});"]}}],"id":"eee90fc8-0141-4c3a-855d-7ee31308ce76","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","interactions",":interaction_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"d49ffc55-4714-4756-87de-b99fd9d88117","type":"any","value":"{{interaction_id}}","key":"interaction_id"}]}},"response":[{"id":"9844b11e-83f0-4e53-a99b-67d2250f63b5","name":"DELETE Interaction","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"url":{"raw":"{{host}}/v1/interaction/69","host":["{{host}}"],"path":["v1","interaction","69"],"variable":[{"key":"interaction_id","value":"{{interaction_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/\"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":"eee90fc8-0141-4c3a-855d-7ee31308ce76"}],"id":"da3faca6-4e91-48c8-9300-12dc4225bff1","description":"<p>External <strong>Interaction</strong> logs that will be displayed in the activity timeline of a <strong>Matter</strong>.</p>\n","_postman_id":"da3faca6-4e91-48c8-9300-12dc4225bff1","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Matter Marketing Campaigns","item":[{"name":"Campaign","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/campaigns`, function (err, response) {\n   pm.globals.set(\"campaign_id\", response.json().data[0].id);\n});"]}}],"id":"c893ee75-d59f-4f67-995f-71f5c948e38c","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","campaigns",":campaign_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"5d6af2fd-ce8b-4308-a69a-25456e6f1eca","type":"any","value":"{{campaign_id}}","key":"campaign_id"}]}},"response":[{"id":"c6e66eb6-7e00-4da3-b765-d0d9e02eebb0","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"}],"variable":[{"key":"campaign_id","value":"{{campaign_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"43ee10a8f125502530043754a8c0abf9\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.026408","description":"Custom header"}],"cookie":[],"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":"c893ee75-d59f-4f67-995f-71f5c948e38c"},{"name":"Campaigns","id":"9af9604e-4ed6-4a29-b1b4-59573135b65f","request":{"method":"GET","header":[],"url":"{{host}}/v1/campaigns","description":"<p>A <strong>paginated</strong> list of all Marketing Campaigns in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td><code>NULL</code> for standard Campaigns, <code>Referrer</code> for referral records.</td>\n</tr>\n<tr>\n<td><code>source_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact_id</code></td>\n<td>id</td>\n<td>Only for referral records.</td>\n</tr>\n<tr>\n<td><code>company_id</code></td>\n<td>id</td>\n<td>Only for referral records.</td>\n</tr>\n<tr>\n<td><code>utm_match</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>extra_match_value</code></td>\n<td>string</td>\n<td>CallRail-only, \"campaign match value\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","campaigns"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"b08029aa-1fbf-420a-9fb9-dd1d7bd7fa30","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","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","description":"The mime type of this content"},{"key":"ETag","value":"W/\"f1fa3afbde7d591af176761fb2d8363e\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.513929","description":"Custom header"}],"cookie":[],"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":"9af9604e-4ed6-4a29-b1b4-59573135b65f"}],"id":"abb651a2-644e-47dc-9e1f-e52916771b02","_postman_id":"abb651a2-644e-47dc-9e1f-e52916771b02","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Matter Marketing Sources","item":[{"name":"Source","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/sources`, function (err, response) {\n   pm.globals.set(\"source_id\", response.json().data[0].id);\n});"]}}],"id":"7fd5a3a7-aa8f-413b-8b32-132d234f7384","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","sources",":source_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"b7538548-ba52-4421-a876-a0fa669538fc","type":"any","value":"{{source_id}}","key":"source_id"}]}},"response":[{"id":"92da75dd-3934-40dd-beb7-2d59dc82b9aa","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"}],"variable":[{"key":"source_id","value":"{{source_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"48998395646735dac874c8c8386f90fe\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.706541","description":"Custom header"}],"cookie":[],"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":"7fd5a3a7-aa8f-413b-8b32-132d234f7384"},{"name":"Sources","id":"6fa6f73a-f133-4972-9b67-0ce94dbe062e","request":{"method":"GET","header":[],"url":"{{host}}/v1/sources","description":"<p>A <strong>paginated</strong> list of all Marketing Sources in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>string</td>\n<td>6-digit hex string, <code>#RRGGBB</code></td>\n</tr>\n<tr>\n<td><code>spend_frequency</code></td>\n<td>string</td>\n<td>3 options: <code>daily</code>, <code>weekly</code>, <code>monthly</code></td>\n</tr>\n<tr>\n<td><code>utm_match</code></td>\n<td>string</td>\n<td>Matched against <code>utm_source</code>/<code>utm_campaign</code> for web attribution</td>\n</tr>\n<tr>\n<td><code>extra_match_value</code></td>\n<td>string</td>\n<td>CallRail-only, \"source match value\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","sources"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"fd7f87ef-f6a1-49ef-b4c1-0756f6ed919c","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","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","description":"The mime type of this content"},{"key":"ETag","value":"W/\"96d14fd124b530a5be37cd7aac5cf2ab\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.473402","description":"Custom header"}],"cookie":[],"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":"6fa6f73a-f133-4972-9b67-0ce94dbe062e"}],"id":"96cda2eb-1af7-45fb-b116-af48052a3ded","_postman_id":"96cda2eb-1af7-45fb-b116-af48052a3ded","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Matter Pipelines","item":[{"name":"Pipeline","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/pipelines`, function (err, response) {\n   pm.globals.set(\"pipeline_id\", response.json().data[0].id);\n});"]}}],"id":"7db2706f-abc4-40e5-a728-5ac1a04bff8d","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","pipelines",":pipeline_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"4e46c005-aa49-4475-b3ef-0e265b5df14f","type":"any","value":"{{pipeline_id}}","key":"pipeline_id"}]}},"response":[{"id":"a7ea077a-eebd-47aa-8175-0356863e288a","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":"7db2706f-abc4-40e5-a728-5ac1a04bff8d"},{"name":"Pipelines","id":"45091f04-7f53-4588-93a9-d0c65c167030","request":{"method":"GET","header":[],"url":"{{host}}/v1/pipelines","description":"<p>A <strong>paginated</strong> list of all Pipelines in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td><code>order</code></td>\n<td>integer</td>\n<td>Display order among the firm's pipelines (default: 0). Positions are actively managed — inserting a Pipeline at a given position pushes every existing Pipeline at or after that position down by one</td>\n</tr>\n<tr>\n<td><code>pipeline_type</code></td>\n<td>integer</td>\n<td>(Raw integer only) <code>0</code> = normal, <code>1</code> = intake. Labels (e.g. <code>intake</code>) are not accepted.</td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>User id</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","pipelines"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"39960ae0-f070-4154-a04a-437e716a1ba9","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":"45091f04-7f53-4588-93a9-d0c65c167030"}],"id":"3bc86553-cb86-4954-a0f6-64f108237a5a","_postman_id":"3bc86553-cb86-4954-a0f6-64f108237a5a","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Matter Pipeline Stages","item":[{"name":"Stage","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/stages`, function (err, response) {\n   pm.globals.set(\"stage_id\", response.json().data[0].id);\n});"]}}],"id":"039b502c-6d0c-4c20-9dbf-db06e6b739f2","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","stages",":stage_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"072e9641-6855-4d4c-aadd-c1df2ae6f1f5","type":"any","value":"{{stage_id}}","key":"stage_id"}]}},"response":[{"id":"bc676450-84b8-4e3b-bd11-dd71f99c4d70","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":"039b502c-6d0c-4c20-9dbf-db06e6b739f2"},{"name":"Stages","id":"a1a9333c-90d9-4f1d-8fab-e8a1fff1fbfb","request":{"method":"GET","header":[],"url":"{{host}}/v1/stages","description":"<p>A <strong>paginated</strong> list of all Stages in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>order</code></td>\n<td>integer</td>\n<td>Display order within the pipeline</td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>string</td>\n<td>6-digit hex string, <code>#RRGGBB</code> — the app's color picker for Stages uses a fixed palette: <code>#000000</code>, <code>#757F8F</code>, <code>#7997C9</code>, <code>#6519FA</code>, <code>#1D196E</code>, <code>#70B08B</code>, <code>#A8CA45</code>, <code>#EDBE30</code>, <code>#A7783B</code>, <code>#DE5E1C</code>, <code>#80231C</code>, <code>#F70303</code>, <code>#9E4487</code>, <code>#DC438F</code>, <code>#5EB575</code>, <code>#27AE60</code>, <code>#E74C3C</code>, <code>#8E44AD</code>, <code>#16A085</code>, <code>#1F344C</code></td>\n</tr>\n<tr>\n<td><code>track_time_in_stage</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>pipeline_id</code></td>\n<td>id</td>\n<td>Which Pipeline this stage belongs to (see <code>GET /v1/pipelines</code>)</td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>User id</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","stages"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"a69b935c-67d5-4507-8e80-c9d0c07d2578","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":"0a2eaa34-7a38-4821-acb0-43c95a0e41eb","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":"a1a9333c-90d9-4f1d-8fab-e8a1fff1fbfb"}],"id":"4eda387f-b8b3-483b-b199-1ddd25f1ab33","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","_postman_id":"4eda387f-b8b3-483b-b199-1ddd25f1ab33","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Matter Practice Areas","item":[{"name":"Practice Area","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/practice_areas`, function (err, response) {\n   pm.globals.set(\"practice_area_id\", response.json().data[0].id);\n});"]}}],"id":"d6e4c826-ba2d-4721-9191-9098a89f863f","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","practice_areas",":practice_area_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"1f5000bf-a4c4-4d9b-9ca5-2a552da7a126","type":"any","value":"{{practice_area_id}}","key":"practice_area_id"}]}},"response":[{"id":"57c82f9b-4b3d-4bc2-bb8c-6b3e2537ce9f","name":"GET Practice Area","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.lawmatics.com/v1/practice_areas/63","protocol":"https","host":["api","lawmatics","com"],"path":["v1","practice_areas","63"],"variable":[{"key":"practice_area_id","value":"{{practice_area_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"51c763e3f2d0d39ceb337bb238807b39\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.025256","description":"Custom header"}],"cookie":[],"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":"d6e4c826-ba2d-4721-9191-9098a89f863f"},{"name":"Practice Areas","id":"0364c5a3-eba5-4ef8-87ca-dab5fcafc21d","request":{"method":"GET","header":[],"url":"{{host}}/v1/practice_areas","description":"<p>A <strong>paginated</strong> list of all Practice Areas in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>string</td>\n<td>6-digit hex string, #RRGGBB — the app's color picker for Practice Areas uses a fixed palette: <code>#000000</code>, <code>#757F8F</code>, <code>#7997C9</code>, <code>#6519FA</code>, <code>#1D196E</code>, <code>#70B08B</code>, <code>#A8CA45</code>, <code>#EDBE30</code>, <code>#A7783B</code>, <code>#DE5E1C</code>, <code>#80231C</code>, <code>#F70303</code>, <code>#9E4487</code>, <code>#DC438F</code>, <code>#5EB575</code>, <code>#27AE60</code>, <code>#E74C3C</code>, <code>#8E44AD</code>, <code>#16A085</code>, <code>#1F344C</code></td>\n</tr>\n<tr>\n<td><code>statute_of_limitations_enabled</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","practice_areas"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"dd71c86c-72db-4edc-827e-7c92b99e539e","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","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","description":"The mime type of this content"},{"key":"ETag","value":"W/\"7ab6c1839f8565358c9ddb6ec03075ed\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.080161","description":"Custom header"}],"cookie":[],"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":"0364c5a3-eba5-4ef8-87ca-dab5fcafc21d"},{"name":"Create Practice Area","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_practice_area_id\", jsonData.data.id);\n}"]}}],"id":"79f069a2-da05-4c9c-a23d-25756062279b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Test Practice Area 452b7add-6cf8-42b7-96ea-23515e7c8b96\",\n    \"color\": \"#bcc2c9\",\n\t\"statute_of_limitations_enabled\": true\n}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/practice_areas","description":"<p>Create a new <strong>Practice Area</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Family Law\"</code></td>\n<td>Unique per firm (case-insensitive)</td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"#bcc2c9\"</code></td>\n<td>No format validation at the API level, but the app's own color picker only offers a fixed palette: <code>#000000</code>, <code>#757F8F</code>, <code>#7997C9</code>, <code>#6519FA</code>, <code>#1D196E</code>, <code>#70B08B</code>, <code>#A8CA45</code>, <code>#EDBE30</code>, <code>#A7783B</code>, <code>#DE5E1C</code>, <code>#80231C</code>, <code>#F70303</code>, <code>#9E4487</code>, <code>#DC438F</code>, <code>#5EB575</code>, <code>#27AE60</code>, <code>#E74C3C</code>, <code>#8E44AD</code>, <code>#16A085</code>, <code>#1F344C</code>. Use one of these to match what the UI can produce. Note <code>#bcc2c9</code> (the DB default when omitted) isn't itself one of these preset options. If you explicitly send <code>null</code> it will fail (hits a NOT NULL constraint) — omit the key entirely instead</td>\n</tr>\n<tr>\n<td><code>statute_of_limitations_enabled</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>true</code></td>\n<td>Defaults to <code>false</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","practice_areas"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"4ba0a259-5f56-43ab-bf60-42413ef3cc7d","name":"POST Create Practice Area","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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":"79f069a2-da05-4c9c-a23d-25756062279b"},{"name":"Update Practice Area","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/practice_areas`, function (err, response) {\n   pm.globals.set(\"practice_area_id\", response.json().data[0].id);\n});"]}}],"id":"5c6da90a-1ad3-49e0-b13a-0fecf4810d76","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/practice_areas/:practice_area_id","description":"<p>Updates an existing <strong>Practice Area</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>No</td>\n<td>\"Family Law\"</td>\n<td></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>string</td>\n<td>No</td>\n<td>\"#bcc2c9\"</td>\n<td>No format validation at the API level, but the app's own color picker only offers a fixed palette: <code>#000000</code>, <code>#757F8F</code>, <code>#7997C9</code>, <code>#6519FA</code>, <code>#1D196E</code>, <code>#70B08B</code>, <code>#A8CA45</code>, <code>#EDBE30</code>, <code>#A7783B</code>, <code>#DE5E1C</code>, <code>#80231C</code>, <code>#F70303</code>, <code>#9E4487</code>, <code>#DC438F</code>, <code>#5EB575</code>, <code>#27AE60</code>, <code>#E74C3C</code>, <code>#8E44AD</code>, <code>#16A085</code>, <code>#1F344C</code>. Use one of these to match what the UI can produce</td>\n</tr>\n<tr>\n<td><code>statute_of_limitations_enabled</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>true</code></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","practice_areas",":practice_area_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"6d77ace0-1998-4f71-be37-88838bd952fb","type":"any","value":"{{practice_area_id}}","key":"practice_area_id"}]}},"response":[{"id":"b481fece-ce8d-4caf-b39e-2b3a2faa6e40","name":"PUT Update Practice Area","originalRequest":{"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}","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":""}]}},"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":"5c6da90a-1ad3-49e0-b13a-0fecf4810d76"},{"name":"Delete Practice Area","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_event_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/practice_areas`, function (err, response) {\n   pm.globals.set(\"practice_area_id\", response.json().data[0].id);\n});"]}}],"id":"62fb2c2b-0e07-4e92-956b-64cd47f34998","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","practice_areas",":practice_area_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"a6a1dbb4-1127-4182-8e4f-db0bc359edda","type":"any","value":"{{practice_area_id}}","key":"practice_area_id"}]}},"response":[{"id":"0d090249-515e-48f8-9a12-9aaa91211cd6","name":"DELETE Update Practice Area","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/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":""}]}},"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":"62fb2c2b-0e07-4e92-956b-64cd47f34998"}],"id":"ef534c66-bfc4-4ed0-a7a0-48cebb24d845","_postman_id":"ef534c66-bfc4-4ed0-a7a0-48cebb24d845","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Matter Relationships","item":[{"name":"Relationship","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/relationships`, function (err, response) {\n   pm.globals.set(\"relationship_id\", response.json().data[0].id);\n});"]}}],"id":"fcdc0bb9-0310-4daa-8668-34a98ce3c88c","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","relationships",":relationship_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"ecaba859-61f1-4f5f-a714-df4b2200460f","type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"dced14ea-bb8c-4b6e-9ef4-9a6f49da96f7","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":"fcdc0bb9-0310-4daa-8668-34a98ce3c88c"},{"name":"Relationships","id":"e4f07eb1-e29f-4061-880a-5632637c1925","request":{"method":"GET","header":[],"url":"{{host}}/v1/relationships","description":"<p>A <strong>paginated</strong> list of all Relationships in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>prospect_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>relationship_type_id</code></td>\n<td>id</td>\n<td>From <code>GET /v1/relationship_types</code></td>\n</tr>\n<tr>\n<td><code>contactable_id</code></td>\n<td>id</td>\n<td>The related Contact's id</td>\n</tr>\n<tr>\n<td><code>custom_field_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> <code>created_at</code> and <code>updated_at</code> are shown in every response, but aren't real filterable/sortable fields on this endpoint. They're pulled in from a related record rather than stored directly.<br />As a result, <code>filter_by=created_at</code> returns a normal 422 error, and <code>sort_by=created_at</code> falls back to the default <code>id desc</code> sort. Also recommend skipping <code>updated_only=true</code> here.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","relationships"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e940ef11-315d-4db2-890b-0a1bd7cad130","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":"e4f07eb1-e29f-4061-880a-5632637c1925"},{"name":"Create Relationship","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {\n   pm.globals.set(\"contact_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/relationship_types`, function (err, response) {\n   pm.globals.set(\"relationship_type_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/relationships`, function (err, response) {\n   relationship_id = response.json().data[0].id\n   pm.sendRequest({url: `${pm.environment.get('host')}/v1/relationships/${relationship_id}`, method: 'DELETE'})\n});"]}}],"id":"d394e52a-ab4d-4aa4-bb58-4b41a0bfaa9e","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/relationships","description":"<p>Create a <strong>Relationship</strong> between a Matter and a Contact (e.g. Spouse, Emergency Contact), using a previously defined Relationship Type (see <code>relationship_type_id</code> below).</p>\n<p>If the Relationship Type allows multiple (<code>is_repeatable: true</code>), you can create more than one Relationship of that type per Matter.</p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>prospect_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>\"12345\"</code></td>\n<td>The Matter</td>\n</tr>\n<tr>\n<td><code>relationship_type_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>\"7\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>\"67890\"</code></td>\n<td>Must be a Contact — Companies cannot be related through this endpoint</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> A Relationship doesn't have its own <code>created_at</code>/<code>updated_at</code> timestamps.</p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> If the Relationship Type has <code>is_repeatable: false</code> and this Matter already has a Relationship of that type, this returns a 422 (\"Cannot create relationship ''. It already exists.\").</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","relationships"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"372787b4-b9e4-4059-84f2-2ab3d63a5f28","name":"POST Create Relationship","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"prospect_id\": \"101\",\n\t\"contact_id\": \"8\",\n\t\"relationship_type_id\": \"2\"\n}","options":{"raw":{"language":"text"}}},"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":"d394e52a-ab4d-4aa4-bb58-4b41a0bfaa9e"},{"name":"Update Relationship","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {\n   pm.globals.set(\"contact_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/relationship_types`, function (err, response) {\n   pm.globals.set(\"relationship_type_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/relationships`, function (err, response) {\n   pm.globals.set(\"relationship_id\", response.json().data[0].id);\n});"]}}],"id":"f51fc161-55f6-42a2-af8f-f2e94bf7cf32","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/relationships/:relationship_id","description":"<p>Update Relationship</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","relationships",":relationship_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"26717d77-2c92-4640-8573-6e7b81715c53","type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"b801770c-3bad-40e5-a546-e394a8e9ec8f","name":"PUT Update Relationship","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"prospect_id\": \"99\",\n\t\"contact_id\": \"7\",\n\t\"relationship_type_id\": \"9\"\n}","options":{"raw":{"language":"text"}}},"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":"f51fc161-55f6-42a2-af8f-f2e94bf7cf32"},{"name":"Delete Relationship","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/relationships`, function (err, response) {\n   pm.globals.set(\"relationship_id\", response.json().data[0].id);\n});"]}}],"id":"725be3b1-45a4-48e2-8926-00af08a20f7a","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","relationships",":relationship_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"0f7d9b4d-ef5d-4f97-8a5b-b98c49b42c35","type":"any","value":"{{relationship_id}}","key":"relationship_id"}]}},"response":[{"id":"5bade6a1-bfa9-49e3-97b5-a258f29e4e5e","name":"DEL Delete Relationship","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"text","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":"725be3b1-45a4-48e2-8926-00af08a20f7a"}],"id":"1bab61ab-0ff2-4f40-a373-bb20f4aa3329","description":"<p><em>Relationships</em> are connections between a Matter and a Contact</p>\n","_postman_id":"1bab61ab-0ff2-4f40-a373-bb20f4aa3329","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Matter Relationship Types","item":[{"name":"Relationship Type","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/relationship_types`, function (err, response) {\n   pm.globals.set(\"relationship_type_id\", response.json().data[0].id);\n});"]}}],"id":"912c7a4d-f03c-4a58-b154-43f0b3aa631a","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","relationship_types",":relationship_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"858459ef-1b64-4541-bfac-a6809171db0f","type":"any","value":"{{relationship_type_id}}","key":"relationship_type_id"}]}},"response":[{"id":"e41488f8-298f-4d75-9f44-a0808eddda14","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":"912c7a4d-f03c-4a58-b154-43f0b3aa631a"},{"name":"Relationship Types","id":"97d254ce-4791-408d-a9be-2f63d2d45484","request":{"method":"GET","header":[],"url":"{{host}}/v1/relationship_types","description":"<p>A <strong>paginated</strong> list of all Relationship Types in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>is_repeatable</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>sync_email</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>User id</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","relationship_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"3a13f249-aa01-4c8b-9e8d-a03d139510ce","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":"97d254ce-4791-408d-a9be-2f63d2d45484"},{"name":"Create Relationship Type","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_relationship_type_id\", jsonData.data.id);\n}"]}}],"id":"35b9330c-55d2-448c-89b2-483d706e1a7f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Spouse 4e4e50f6-cc5a-4c7a-bd03-132a213d0d00\",\n\t\"is_repeatable\": false\n}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/relationship_types","description":"<p>Create a new <strong>Relationship Type</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Emergency Contact\"</code></td>\n<td>Unique per firm (case-insensitive). A duplicate name returns a 422 with a different error shape than most other endpoints</td>\n</tr>\n<tr>\n<td><code>is_repeatable</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>(send the key to enable)</td>\n<td>Note: Not cast as a real boolean — the value is only checked for presence, so <code>true</code>, <code>false</code>, <code>\"false\"</code>, and <code>0</code> are <em>all</em> treated as \"enable it\". To leave it disabled, omit the key entirely rather than sending <code>false</code></td>\n</tr>\n<tr>\n<td><code>sync_email</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>(send the key to enable)</td>\n<td>Note: Same presence-check trap as <code>is_repeatable</code> — any non-blank value enables it, <code>false</code> included. On top of that: the column's database default is <code>true</code>, but this endpoint always writes an explicit value, so <strong>omitting this field creates the record with <code>sync_email: false</code></strong> — the opposite of the schema default. Send the key with any non-blank value to get <code>true</code></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> Creating a Relationship Type automatically creates a backing lookup Custom Field of the same name (visible via the Custom Fields API). Renaming the Relationship Type later renames that Custom Field too.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","relationship_types"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c1f7bd7b-de41-4c70-9e30-109b5d6e3268","name":"POST Create Relationship Type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Aunties\",\n\t\"is_repeatable\": true\n}","options":{"raw":{"language":"text"}}},"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":"35b9330c-55d2-448c-89b2-483d706e1a7f"},{"name":"Update Relationship Type","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/relationship_types`, function (err, response) {\n   pm.globals.set(\"relationship_type_id\", response.json().data[0].id);\n});"]}}],"id":"8531c6a6-8d92-461a-9e5c-377450fe63c1","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Sister\"\n}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","relationship_types",":relationship_type_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"e9680d2d-6a32-49a2-849f-7df48eefa887","type":"any","value":"{{relationship_type_id}}","key":"relationship_type_id"}]}},"response":[{"id":"8dda3457-0cb9-4527-84c9-d5ac53f3ff20","name":"PUT Update Relationship Type","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Changed Relationship Type\"\n}","options":{"raw":{"language":"text"}}},"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":"8531c6a6-8d92-461a-9e5c-377450fe63c1"}],"id":"b80ab828-d530-4a24-acde-0be97dbb2b3d","description":"<p>These are configured in Matter Settings.</p>\n","_postman_id":"b80ab828-d530-4a24-acde-0be97dbb2b3d","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Matter Sub Statuses","item":[{"name":"Sub Status","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/sub_statuses`, function (err, response) {\n   pm.globals.set(\"sub_status_id\", response.json().data[0].id);\n});"]}}],"id":"b1d37afa-001e-476e-b935-0ae014719451","request":{"method":"GET","header":[],"url":"{{host}}/v1/sub_statuses/:status_id","description":"<p>A specific Sub Status by id</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","sub_statuses",":status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"a218d040-f30f-470b-a628-2f6ba1c0e4c7","type":"any","value":"{{sub_status_id}}","key":"status_id"}]}},"response":[{"id":"93d8b59e-4549-40a9-aa96-8321989cee68","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":"b1d37afa-001e-476e-b935-0ae014719451"},{"name":"Sub Statuses","id":"15fae3f0-2fc9-4a2c-bc23-49f1e246e560","request":{"method":"GET","header":[],"url":"{{host}}/v1/sub_statuses","description":"<p>A <strong>paginated</strong> list of all Sub Statuses in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>integer</td>\n<td>Raw integer only — see note below</td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> <code>status</code> accepts human-readable labels (e.g. <code>\"Hired\"</code>) when creating or updating a Sub Status, but filtering does not support labels. Only the raw integer value works. Use <code>hired = 0</code>, <code>pnc = 1</code>, <code>lost = 2</code>.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","sub_statuses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"b1f2278a-1ca9-492a-9d11-3934778a265a","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":"15fae3f0-2fc9-4a2c-bc23-49f1e246e560"},{"name":"Create Sub Status","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_sub_status_id\", jsonData.data.id);\n}"]}}],"id":"249cf614-dbbe-457c-820e-a90b5da6f6f3","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Deal Closed 09dd9553-e3f7-4ea5-9f47-942d3bcb16cb\",\n    \"status\": \"hired\"\n}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/sub_statuses","description":"<p>Create a new <strong>Matter Sub Status</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Awaiting Documents\"</code></td>\n<td>No uniqueness validation — duplicate names within a firm are allowed (unlike Practice Areas/Relationship Types/Custom Contact Types, which do enforce it)</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"pnc\"</code></td>\n<td>One of <code>hired</code>, <code>pnc</code>, <code>lost</code> (case-insensitive). Defaults to <code>pnc</code>. Note: An invalid value here returns a 500, not a 422</td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>2</code></td>\n<td>Defaults to the API token's user</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","sub_statuses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8ab829fc-30b5-40f9-992a-879641b19e46","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}","options":{"raw":{"language":"text"}}},"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":"249cf614-dbbe-457c-820e-a90b5da6f6f3"},{"name":"Update Sub Status","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/sub_statuses`, function (err, response) {\n   pm.globals.set(\"sub_status_id\", response.json().data[0].id);\n});"]}}],"id":"b8fc4e77-62da-44ee-a341-70fd518f7497","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"New Hired\"\n}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","sub_statuses",":sub_status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"cd0e4c81-7aba-4cea-ae88-481fd8987010","type":"any","value":"{{sub_status_id}}","key":"sub_status_id"}]}},"response":[{"id":"94e65988-5849-4c24-9492-c4044854e871","name":"PUT Update Sub Status","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"New Hired\"\n}","options":{"raw":{"language":"text"}}},"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":"b8fc4e77-62da-44ee-a341-70fd518f7497"},{"name":"Delete Sub Status","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/sub_statuses`, function (err, response) {\n   pm.globals.set(\"sub_status_id\", response.json().data[0].id);\n});"]}}],"id":"b398577c-05bb-40a3-99c7-29ea0b776b98","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","sub_statuses",":sub_status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"37c2d1d2-d8c3-4dd7-9589-6911ec91c697","type":"any","value":"{{sub_status_id}}","key":"sub_status_id"}]}},"response":[{"id":"fc6e5d28-6b1a-42e5-906e-79939e71d013","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":"b398577c-05bb-40a3-99c7-29ea0b776b98"}],"id":"b0cdde21-8c14-4522-b7d4-f8ba3c91abf5","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","_postman_id":"b0cdde21-8c14-4522-b7d4-f8ba3c91abf5","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Create Matter","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_pnc_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/sub_statuses`, function (err, response) {\n   pm.globals.set(\"sub_status_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/practice_areas`, function (err, response) {\n   pm.globals.set(\"practice_area_id\", response.json().data[0].id);\n});"]}}],"id":"c7aefc25-59c3-4929-bbbe-ab36ac351e18","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 <strong>Matter</strong>. A Matter always needs a linked <strong>Contact</strong> or <strong>Company</strong> — see <strong>Establishing the Contact/Company</strong> below.</p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>case_title</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Smith v. Jones\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>case_number</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"2024-CV-001\"</code></td>\n<td>Must be unique per firm, if provided</td>\n</tr>\n<tr>\n<td><code>case_blurb</code></td>\n<td>text</td>\n<td>No</td>\n<td><code>\"Personal injury case\"</code></td>\n<td>Also called Case Description / Matter Description</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>integer</td>\n<td>No</td>\n<td><code>1</code></td>\n<td>Raw integer only: <code>hired</code>=0, <code>pnc</code>=1, <code>lost</code>=2. Defaults to <code>pnc</code>. Overwritten if <code>sub_status_id</code> is set — see note</td>\n</tr>\n<tr>\n<td><code>sub_status_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>3</code></td>\n<td>Setting this overwrites <code>status</code> to match the sub status's status</td>\n</tr>\n<tr>\n<td><code>type_of_billing</code></td>\n<td>integer</td>\n<td>No</td>\n<td><code>1</code></td>\n<td>Raw integer only: <code>flat_fee</code>=0, <code>hourly</code>=1, <code>contingency</code>=2</td>\n</tr>\n<tr>\n<td><code>actual_value_cents</code></td>\n<td>integer</td>\n<td>No</td>\n<td><code>500000</code></td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>estimated_value_cents</code></td>\n<td>integer</td>\n<td>No</td>\n<td><code>750000</code></td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>lead_cost_cents</code></td>\n<td>integer</td>\n<td>No</td>\n<td><code>10000</code></td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>converted_date</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-15T00:00:00.000-08:00\"</code></td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>source_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>5</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>campaign_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>7</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>practice_area_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>2</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>stage_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>1</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>owned_by_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>3</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>originating_attorney_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>4</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>lead_attorney_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>4</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>salesperson_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>6</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>assigned_staff_ids</code></td>\n<td>array of ids</td>\n<td>No</td>\n<td><code>[3, 4]</code></td>\n<td>Assigned after the Matter is created</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td>array of strings</td>\n<td>No</td>\n<td><code>[\"Urgent\"]</code></td>\n<td>Tag names</td>\n</tr>\n<tr>\n<td><code>custom_fields</code></td>\n<td>array of objects</td>\n<td>No</td>\n<td><code>[{ \"id\": \"1027\", \"value\": \"An important case\" }]</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td>array of objects</td>\n<td>No</td>\n<td><code>[{ \"name\": \"Intake\", \"body\": \"Initial consultation notes\" }]</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>2</code></td>\n<td>Allows attributing creation to another user</td>\n</tr>\n<tr>\n<td><code>created_at</code> / <code>updated_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-01T00:00:00.000-08:00\"</code></td>\n<td>ISO 8601. Allows backdating</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Establishing the Contact/Company</strong></p>\n<p>Pass <strong>one</strong> of the following to determine who the Matter is for:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>contact_id</code></td>\n<td>id</td>\n<td>One of these</td>\n<td><code>\"12345\"</code></td>\n<td>Link to an existing Contact</td>\n</tr>\n<tr>\n<td><code>company_id</code></td>\n<td>id</td>\n<td>One of these</td>\n<td><code>\"6789\"</code></td>\n<td>Link to an existing Company</td>\n</tr>\n<tr>\n<td><code>company_name</code></td>\n<td>string</td>\n<td>One of these</td>\n<td><code>\"Acme Legal\"</code></td>\n<td>Creates a new Company</td>\n</tr>\n<tr>\n<td><code>match_contact_by</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"email\"</code></td>\n<td>One of <code>email</code>, <code>name</code>, <code>phone</code> — a hint for which lookup to use below, not a requirement in itself</td>\n</tr>\n</tbody>\n</table>\n</div><p>...or none of the above, but <code>first_name</code> (plus any other Contact fields, like <code>last_name</code>/<code>email</code>/etc.) — creates a new Contact inline; or an <code>email</code>/<code>email_address</code> that matches an existing Contact (only if your firm has email-matching enabled), or a <code>phone</code>/<code>phone_number</code> that matches an existing one.</p>\n<p>If a Company ends up linked, any Contact fields you passed are applied to that Company's primary Contact instead.</p>\n<blockquote>\n<p><strong>Note:</strong> <code>referrer_id</code> is accepted by this endpoint but currently has no effect on the created Matter — don't rely on it.</p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> If you don't pass a <code>fields</code> query param, the response only includes the fields you submitted, not the full default field set.</p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> An invalid date value returns <code>409</code>, not <code>422</code>.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"03126b43-94eb-424b-8a27-b2238cb0753e","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":"c7aefc25-59c3-4929-bbbe-ab36ac351e18"},{"name":"Create Matter From Contact (By ID)","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {\n   pm.globals.set(\"contact_id\", response.json().data[0].id);\n});"]}}],"id":"44c5573d-3e2b-4fc0-9cd9-84a313423663","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}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[{"key":"","value":""}],"variable":[]}},"response":[{"id":"a8f154cb-d6f6-451b-b765-ae1fc4803210","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}","options":{"raw":{"language":"text"}}},"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":"44c5573d-3e2b-4fc0-9cd9-84a313423663"},{"name":"Create Matter From Contact (Matched By Field)","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/contacts`, function (err, response) {\n   pm.globals.set(\"email\", response.json().data[0].attributes.email);\n});"]}}],"id":"0a20056e-c461-42d4-ac12-7817098e6f4c","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}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[{"key":"","value":""}],"variable":[]}},"response":[{"id":"fb852b81-1f3f-41ef-b9c0-5715cc9b552f","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}","options":{"raw":{"language":"text"}}},"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":"0a20056e-c461-42d4-ac12-7817098e6f4c"},{"name":"Create Matter From Company (By ID)","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {\n   pm.globals.set(\"company_id\", response.json().data[0].id);\n});"]}}],"id":"52f5042d-1331-4832-a7c1-f8dfa453838a","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}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d496764c-d6b0-41a9-be27-dd395ab11415","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}","options":{"raw":{"language":"text"}}},"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":"52f5042d-1331-4832-a7c1-f8dfa453838a"},{"name":"Create Matter From Company (By Name)","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/companies`, function (err, response) {\n   pm.globals.set(\"company_name\", response.json().data[0].attributes.name);\n});"]}}],"id":"840a41fc-fc8b-4508-ace6-f56a5cde7938","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}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"54f57fbe-8576-4723-b30e-9edd364d61c7","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}","options":{"raw":{"language":"text"}}},"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":"840a41fc-fc8b-4508-ace6-f56a5cde7938"},{"name":"Matter","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"8bff153a-1d88-42c6-b22b-83636c45f853","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects",":prospect_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"728fb108-7e8d-418e-b831-f0c75a293ed2","type":"any","value":"{{prospect_id}}","key":"prospect_id"}]}},"response":[{"id":"a53a67b7-7aa6-4433-8d9b-2495a5015f7f","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"}],"variable":[{"key":"prospect_id","value":"{{prospect_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"981fbb5344d67b80186114ea12f7db21\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.018461","description":"Custom header"}],"cookie":[],"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":"8bff153a-1d88-42c6-b22b-83636c45f853"},{"name":"Matter With All Fields","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"a06dafc9-928d-43d7-86bf-bbbf10c3e194","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects",":prospect_id"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[{"id":"46049dd1-ce1b-4e9e-a248-d0af29165623","type":"any","value":"{{prospect_id}}","key":"prospect_id"}]}},"response":[{"id":"0eca88a1-cfac-4b83-926e-f00d9e133ec6","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"}],"variable":[{"key":"prospect_id","value":"{{prospect_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"981fbb5344d67b80186114ea12f7db21\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.018461","description":"Custom header"}],"cookie":[],"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":"a06dafc9-928d-43d7-86bf-bbbf10c3e194"},{"name":"Matters","id":"4d942b99-462f-4ba4-a078-1b440ac1e2a4","request":{"method":"GET","header":[],"url":"{{host}}/v1/prospects?fields=all","description":"<p>A <strong>paginated</strong> list of all Matters in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<p>Matters can also be filtered/sorted by the linked Contact's fields. See the <a href=\"https://docs.lawmatics.com/#555909b6-ebb0-4b8b-9e56-1dceb1abb7b7\">Contacts endpoint</a> for that field list.</p>\n<blockquote>\n<p><strong>Note</strong>: <code>created_by_id</code> exists on both Matters and Contacts, so it can't be reliably filtered or sorted on this joined endpoint. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>case_title</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>case_number</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>case_blurb</code></td>\n<td>text</td>\n<td>Referred to as Case Description, Matter Description, and Case Blurb in app</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>enum</td>\n<td>Accepts only the label (<code>hired</code>, <code>pnc</code>, <code>lost</code>)</td>\n</tr>\n<tr>\n<td><code>type_of_billing</code></td>\n<td>integer</td>\n<td>Raw integer only:  <br /><code>flat_fee = 0</code>  <br /><code>hourly = 1</code>  <br /><code>contingency = 2</code></td>\n</tr>\n<tr>\n<td><code>converted_date</code></td>\n<td>datetime</td>\n<td></td>\n</tr>\n<tr>\n<td><code>statute_of_limitations</code></td>\n<td>date</td>\n<td></td>\n</tr>\n<tr>\n<td><code>referring_url</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>actual_value_cents</code></td>\n<td>integer</td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>estimated_value_cents</code></td>\n<td>integer</td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>lead_cost_cents</code></td>\n<td>integer</td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>total_uninvoiced_amount_cents</code></td>\n<td>integer</td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>enable_mail_sync</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>default_non_billable_entries</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>source_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>campaign_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contact_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>company_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>practice_area_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>stage_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>prospect_sub_status_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>owned_by_id</code></td>\n<td>id</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td><code>salesperson_id</code></td>\n<td>id</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td><code>lead_attorney_id</code></td>\n<td>id</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td><code>originating_attorney_id</code></td>\n<td>id</td>\n<td>User ID</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"212b7004-5abf-4800-811d-c4327e0f6931","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","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","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:11:24 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"4d02eedc7416d66fd351180fb85e31bd\"","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=/","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.084050","description":"Custom header"}],"cookie":[],"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":"4d942b99-462f-4ba4-a078-1b440ac1e2a4"},{"name":"Update Matter","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"9a04b8e3-6b6a-4270-9c9e-ce523bf2efb7","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}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects",":prospect_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c00c5770-6b90-4705-9c3b-db29c56faefd","type":"any","value":"{{prospect_id}}","key":"prospect_id"}]}},"response":[{"id":"452ce563-c302-4ce5-bc78-b439395f0348","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}","options":{"raw":{"language":"text"}}},"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"}],"variable":[{"key":"prospect_id","value":"{{prospect_id}}"}]}},"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":"9a04b8e3-6b6a-4270-9c9e-ce523bf2efb7"},{"name":"Delete Matter","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"6b6613da-8cb3-43db-b215-53749b32895b","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/v1/prospects/:prospect_id","description":"<p>Deletes the Matter. It will no longer appear in any future GET responses.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","prospects",":prospect_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"0d9bd5b8-0387-4b95-a5cc-09305391653c","type":"any","value":"{{prospect_id}}","key":"prospect_id"}]}},"response":[{"id":"50377327-a339-4bfa-92b0-0ea5a79e6868","name":"DELETE Matter","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/v1/prospects/41835","host":["{{host}}"],"path":["v1","prospects","41835"],"variable":[{"key":"prospect_id","value":"{{prospect_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"f176259b16806403898933b3d32c788c\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.167211","description":"Custom header"}],"cookie":[],"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":"6b6613da-8cb3-43db-b215-53749b32895b"}],"id":"81981c68-c0bf-4a98-aeba-00f85307d10c","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<blockquote>\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>\" Contact Type. </p>\n</blockquote>\n","_postman_id":"81981c68-c0bf-4a98-aeba-00f85307d10c","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Notes","item":[{"name":"Note","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/notes`, function (err, response) {\n   pm.globals.set(\"note_id\", response.json().data[0].id);\n});"]}}],"id":"5438187f-8d7a-407b-b0a7-4070a6bcf15c","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","notes",":note_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c9e6f65f-a708-41ba-8a28-e9ef74194618","type":"any","value":"{{note_id}}","key":"note_id"}]}},"response":[{"id":"60a2efe2-837f-4d4f-84d1-e01cd29ae948","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"}],"variable":[{"key":"note_id","value":"{{note_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"ETag","value":"W/\"3142b87185b7c3f304ece5cb9386ec01\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.018671","description":"Custom header"}],"cookie":[],"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":"5438187f-8d7a-407b-b0a7-4070a6bcf15c"},{"name":"Notes","id":"931b8dc3-e0d1-4bca-b9a2-782f82eba107","request":{"method":"GET","header":[],"url":"{{host}}/v1/notes","description":"<p>A <strong>paginated</strong> list of all Notes in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>body</code></td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td><code>notable_type</code></td>\n<td>string</td>\n<td>Polymorphic type: <code>Prospect</code>, <code>Contact</code>, or <code>Company</code></td>\n</tr>\n<tr>\n<td><code>notable_id</code></td>\n<td>id</td>\n<td>Polymorphic id of <code>notable_type</code></td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>User id</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Valid Shortcuts:</strong> <code>matter_id</code>, <code>prospect_id</code>, <code>contact_id</code>, <code>company_id</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","notes"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"fad6c1d4-d5a0-4ea9-afe2-f0e90678bb56","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","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","description":"The mime type of this content"},{"key":"ETag","value":"W/\"036d1ad0cbc7de8863c89af41623a036\"","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.149630","description":"Custom header"}],"cookie":[],"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":"931b8dc3-e0d1-4bca-b9a2-782f82eba107"},{"name":"Create Note","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_note_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"c0d63417-fa8b-4d30-9ae2-838d04101027","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","description":"<p>Create a new <strong>Note</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Intake Note\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>body</code></td>\n<td>text</td>\n<td>Yes</td>\n<td><code>\"Met at conference, interested in estate planning services.\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>notable_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Contact\"</code></td>\n<td>One of <code>Prospect</code>, <code>Contact</code>, <code>Client</code>, <code>Company</code> (case-insensitive; <code>matter</code> also accepted)</td>\n</tr>\n<tr>\n<td><code>notable_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>\"12345\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>2</code></td>\n<td>If the id doesn't resolve to a user on the firm, the Note is silently attributed to the API token's user instead — no error either way</td>\n</tr>\n<tr>\n<td><code>created_at</code> / <code>updated_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-01T00:00:00.000-08:00\"</code></td>\n<td>ISO 8601. Allows backdating</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> <code>name</code>/<code>body</code> only check for <code>nil</code>, not blank — an empty string for either will still create the Note.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","notes"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"1b1469ff-2a25-40f3-ba66-86db97ac1436","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":"c0d63417-fa8b-4d30-9ae2-838d04101027"},{"name":"Update Note","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/notes`, function (err, response) {\n   pm.globals.set(\"note_id\", response.json().data[0].id);\n});"]}}],"id":"dd7aa1b7-5a96-4ed0-b617-f86673d66e81","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","description":"<p>Update an existing <strong>Note</strong></p>\n<p>Accepts the same fields as Create Note (<code>name</code>, <code>body</code>, <code>notable_type</code>, <code>notable_id</code>, <code>created_by_id</code>, <code>created_at</code>/<code>updated_at</code>), but none are required on Update — you can update just one field without resending the others.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","notes",":note_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"ec5bca76-5937-447a-b238-4030cdbbb674","type":"any","value":"{{note_id}}","key":"note_id"}]}},"response":[{"id":"95b20eea-38b7-404d-8027-b078739cfe6c","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":"dd7aa1b7-5a96-4ed0-b617-f86673d66e81"},{"name":"Delete Note","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/notes`, function (err, response) {\n   pm.globals.set(\"note_id\", response.json().data[0].id);\n});"]}}],"id":"c1d48899-eb2a-4a5b-acdd-809b7cd56ca6","request":{"method":"DELETE","header":[],"url":"{{host}}/v1/notes/:note_id","description":"<p>Deletes the Note. It will no longer appear in any future GET responses.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","notes",":note_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"a9bdcf64-8383-435c-b880-c668fde09bb4","type":"any","value":"{{note_id}}","key":"note_id"}]}},"response":[{"id":"e1059d6d-c0ed-46d7-9d94-71c0b48de1a1","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":"c1d48899-eb2a-4a5b-acdd-809b7cd56ca6"}],"id":"c842993a-5959-4206-b23a-dfb771c7e1d6","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response time is less than 2000ms\", function () {\n    pm.expect(pm.response.responseTime).to.be.below(2000);\n});"]}}],"_postman_id":"c842993a-5959-4206-b23a-dfb771c7e1d6","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Payment Invoices","item":[{"name":"Invoice","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/invoices`, function (err, response) {\n    console.log(response)\n   pm.globals.set(\"invoice_id\", response.json().data[0].id);\n});\n\n"]}}],"id":"da5f5bd3-6c3c-4f61-b545-a00a9effe3c8","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","invoices",":invoice_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"ad05a765-138a-4653-8ae8-3ea02330d94e","type":"any","value":"{{invoice_id}}","key":"invoice_id"}]}},"response":[{"id":"a822569f-6220-476a-a616-e3f435615234","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"}],"variable":[{"key":"invoice_id","value":"{{invoice_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/\"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":"da5f5bd3-6c3c-4f61-b545-a00a9effe3c8"},{"name":"Invoices","id":"142768cb-c29a-438f-8d01-3f01a8225f6c","request":{"method":"GET","header":[],"url":"{{host}}/v1/invoices","description":"<p>A <strong>paginated</strong> list of all Invoices in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<blockquote>\n</blockquote>\n<p><strong>Note:</strong> <code>outstanding_amount_cents</code> appears in every Invoice response, but it's a calculated value, not a real filterable field. <code>filter_by=outstanding_amount_cents</code> will return a 422.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>number</code></td>\n<td>integer</td>\n<td></td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string enum</td>\n<td>Accepts label directly: <code>draft</code>, <code>sending</code>, <code>sent</code>, <code>paid</code>, <code>partially_paid</code>, <code>past_due</code>, <code>forwarded</code>, <code>processing</code></td>\n</tr>\n<tr>\n<td><code>payment_terms</code></td>\n<td>string enum</td>\n<td>Accepts label directly: <code>due_date</code>, <code>due_on_receipt</code>, <code>net15</code>, <code>net30</code>, <code>net60</code>, <code>installment</code></td>\n</tr>\n<tr>\n<td><code>target_account_type</code></td>\n<td>integer</td>\n<td>Raw integer only: <code>operating = 0</code>, <code>trust = 1</code></td>\n</tr>\n<tr>\n<td><code>prospect_id</code></td>\n<td>id</td>\n<td>Matter id</td>\n</tr>\n<tr>\n<td><code>invoice_type_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>User id</td>\n</tr>\n<tr>\n<td><code>forwarded_to_id</code></td>\n<td>id</td>\n<td>Invoice id</td>\n</tr>\n<tr>\n<td><code>invoiced_at</code></td>\n<td>date</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>due_at</code></td>\n<td>date</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>voided_at</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>written_off_at</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>note</code></td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contactable_name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>contactable_address</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>is_lm_pay</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>enable_online_payment</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>enable_ach_payment</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>enable_cards_payment</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>enable_surcharge</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>send_trust_receipt</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>apply_account_trust_balance</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>apply_matter_trust_balance</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>include_balance_forward</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>include_statement_of_accounts</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>send_from</code></td>\n<td>string</td>\n<td>Specific options include:  <br /><code>firm_default_invoice_email</code>  <br /><code>User-</code> (e.g. \"User-4821\")  <br /><code>custom_field_values-</code> (e.g. \"custom_field_values-77\")  <br /><code>created_by</code>  <br /><code>owned_by</code>  <br /><code>salesperson</code>  <br /><code>lead_attorney</code>  <br /><code>originating_attorney</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","invoices"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"b60b35e9-99f8-4dba-9e94-bccfe5bed3d1","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":"142768cb-c29a-438f-8d01-3f01a8225f6c"}],"id":"2a45edf3-0ace-4368-899f-f04bca1626c1","_postman_id":"2a45edf3-0ace-4368-899f-f04bca1626c1","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Payment Expenses","item":[{"name":"Expenses","id":"a3df84fe-88c1-4612-9530-b934c545d8cb","request":{"method":"GET","header":[{"key":"","value":""}],"url":"{{host}}/v1/expenses?fields=all","description":"<p>A <strong>paginated</strong> list of all Expenses in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<blockquote>\n<p><strong>Note:</strong> <code>contactable_type</code> is stored as <code>\"Prospect\"</code>. When creating an Expense, <code>\"Matter\"</code> is automatically converted to <code>\"Prospect\"</code>, but filtering does not do this conversion, so you must filter using <code>filter_on=Prospect</code>, not <code>Matter</code>. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>expensed_at</code></td>\n<td>date</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>billable</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>cost_cents</code></td>\n<td>integer</td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>float</td>\n<td></td>\n</tr>\n<tr>\n<td><code>total_amount_cents</code></td>\n<td>integer</td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>contactable_type</code></td>\n<td>string</td>\n<td>Polymorphic type, see note above</td>\n</tr>\n<tr>\n<td><code>contactable_id</code></td>\n<td>id</td>\n<td>Polymorphic id of <code>contactable_type</code></td>\n</tr>\n<tr>\n<td><code>billing_expense_type_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>invoice_id</code></td>\n<td>id</td>\n<td>Which invoice this expense was billed on, if any</td>\n</tr>\n<tr>\n<td><code>user_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>User id</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","expenses"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"4d5696f2-8a17-438e-afe9-f544fe76f4ef","name":"GET Expenses","originalRequest":{"method":"GET","header":[{"key":"","value":""}],"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":"a3df84fe-88c1-4612-9530-b934c545d8cb"},{"name":"Expense","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest({\n   url: `${pm.environment.get('host')}/v1/expenses`,\n   method: 'GET',\n   header: {\n       'Authorization': `Bearer ${pm.environment.get('access_token')}`,\n   }\n}, function (err, response) {\n   pm.globals.set(\"expense_id\", response.json().data[0].id);\n});\n"]}}],"id":"6e8e9fee-84a8-4453-b176-9e4ba4fb2d7c","request":{"method":"GET","header":[],"url":"{{host}}/v1/expenses/:expense_id","description":"<p>A specific Expense in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","expenses",":expense_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"186a7d85-9ada-4171-9b69-94d09ba54c80","type":"any","value":"{{expense_id}}","key":"expense_id"}]}},"response":[{"id":"8e2a487b-f14b-4abb-b334-1d74320d4253","name":"GET Expense","originalRequest":{"method":"GET","header":[{"key":"","value":"","disabled":true}],"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":"6e8e9fee-84a8-4453-b176-9e4ba4fb2d7c"},{"name":"Create Expense","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   pm.globals.set(\"user_id\", response.json().data[0].id);\n});\npm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"193dde6d-a0e2-4223-8036-350e97b222e0","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","type":"text","description":"<p>Boolean - Whenther hte expense is billable</p>\n"},{"key":"contactable_type","value":"Matter","type":"text","description":"<p>Matter | Contact | Prospect - record type associated with expense</p>\n"},{"key":"contactable_id","value":"{{prospect_id}}","type":"text","description":"<p>ID - id for record associated with the expense</p>\n"},{"key":"cost_cents","value":"50000","type":"text","description":"<p>Int - Amount in cents the Expense costs</p>\n"},{"key":"description","value":"Research","type":"text","description":"<p>String</p>\n"},{"key":"billing_expense_type_id","value":"1","type":"text","description":"<p>ID - id for associated Billing Expense Type</p>\n","disabled":true},{"key":"created_by_id","value":"{{user_id}}","type":"text","description":"<p>ID - id for User who created the expese</p>\n"},{"key":"invoice_id","value":"125","type":"text","description":"<p>ID - id for the invoice associated with the Expense</p>\n","disabled":true},{"key":"user_id","value":"{{user_id}}","type":"text","description":"<p>ID - id for User Associated with the expense</p>\n"},{"key":"expensed_at","value":"03/14/2024","type":"text","description":"<p>String | Int - ISO ISO8601 Date or Unix timestamp</p>\n"}]},"url":"{{host}}/v1/expenses/","description":"<p>Create a new <strong>Expense</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>billable</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>true</code></td>\n<td>Defaults to <code>true</code></td>\n</tr>\n<tr>\n<td><code>cost_cents</code></td>\n<td>integer</td>\n<td>No</td>\n<td><code>5000</code></td>\n<td>In cents. Defaults to <code>0</code></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Filing fee\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>expensed_at</code></td>\n<td>date</td>\n<td>Yes</td>\n<td><code>\"2024-01-15\"</code></td>\n<td>Omitting this returns a generic error rather than a clear one, but it's still required</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>float</td>\n<td>No</td>\n<td><code>1.0</code></td>\n<td>Defaults to <code>0.0</code>. The column supports decimals, but the app's own Expense form only ever sends whole numbers — decimals are only reachable by calling the API directly</td>\n</tr>\n<tr>\n<td><code>billing_expense_type_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>3</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>contactable_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Prospect\"</code></td>\n<td>Must be <code>Prospect</code> (or <code>Matter</code>, which is converted automatically) — Expenses can only be attached to a Matter in the app today, even though other values are technically accepted by the API. Case-sensitive in an unusual way: lowercase (<code>prospect</code>) or TitleCase (<code>Prospect</code>) both work, but ALL CAPS (<code>PROSPECT</code>) does not and causes a 500</td>\n</tr>\n<tr>\n<td><code>contactable_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>\"12345\"</code></td>\n<td>The Matter's id</td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>2</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>user_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>3</code></td>\n<td>The User this Expense is attributed to</td>\n</tr>\n<tr>\n<td><code>invoice_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>45</code></td>\n<td>Must reference a <code>draft</code> invoice on this firm, or returns a 409</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","expenses",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"40fc3510-c123-4aa9-81d5-c944ac28d650","name":"Create Expense","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","type":"text","description":"Boolean - Whether or not the time was billable"},{"key":"completed_at","value":"1709670661","type":"text","description":"Int - Unix timestamp for when the Time Entry was completed"},{"key":"contactable_type","value":"Matter","type":"text","description":"Matter | Prospect | Contact type of record associated with the Time Entry "},{"key":"contactable_id","value":"12","type":"text","description":"ID - id for the record associated with the Time Entry\n"},{"key":"description","value":"Postage","type":"text","description":"String"},{"key":"duration","value":"61.0","type":"text","description":"Float - Total time elapsed for the Time Entry"},{"key":"rate_cents","value":"12000","type":"text","description":"Int - Hourly rate in cents "},{"key":"rate_flat_fee","value":"","type":"text","description":"Int - Rate in cents if Time Entry is a flat fee","disabled":true},{"key":"show_flat_fee_duration","value":"false","type":"text","description":"Boolean - whether to show the client the duration for the Time Entry","disabled":true},{"key":"started_at","value":"1709560622","type":"text","description":"Int - Unix Timestamp for when the Time Entry was started"},{"key":"billing_activity_type_id","value":"1","type":"text","description":"ID - Billing Activity Type associated with the Time Entry"},{"key":"created_by_id","value":"1","type":"text","description":"ID - id for the User who created the Time Entry"},{"key":"invoice_id","value":"35","type":"text","description":"ID - Invoice associated with the Time Entry","disabled":true},{"key":"user_id","value":"2","type":"text","description":"ID - id for the User who performed the Time Entry"}]},"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":"193dde6d-a0e2-4223-8036-350e97b222e0"},{"name":"Update Expense","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest({\n   url: `${pm.environment.get('host')}/v1/expenses`,\n   method: 'GET',\n   header: {\n       'Authorization': `Bearer ${pm.environment.get('access_token')}`,\n   }\n}, function (err, response) {\n   pm.globals.set(\"expense_id\", response.json().data[0].id);\n});"]}}],"id":"5074792e-a39a-4d2c-824c-4cceee54c444","request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"false","type":"text","description":"<p>Boolean - Whether or not the time was billable</p>\n"},{"key":"description","value":"Updated Description","type":"text","description":"<p>String</p>\n"},{"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 Expense in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","expenses",":expense_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"8cf2088a-a6ce-4f6e-99c1-09df72892be8","type":"any","value":"{{expense_id}}","key":"expense_id"}]}},"response":[{"id":"9051e753-8adf-49e4-b435-847c7e8c5c02","name":"Update Expense","originalRequest":{"method":"PUT","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"description","value":"Research Hours Billed","type":"text","description":"String"},{"key":"duration","value":"200.0","type":"text","description":"Float - Total time elapsed for the Time Entry"},{"key":"id","value":"{{time_entry_id}}","type":"text"}]},"url":{"raw":"{{host}}/v1/expenses/{{expense_id}}","host":["{{host}}"],"path":["v1","expenses","{{expense_id}}"],"variable":[{"key":"expense_id","value":"{{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":"5074792e-a39a-4d2c-824c-4cceee54c444"},{"name":"Expense","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest({\n   url: `${pm.environment.get('host')}/v1/expenses`,\n   method: 'GET',\n   header: {\n       'Authorization': `Bearer ${pm.environment.get('access_token')}`,\n   }\n}, function (err, response) {\n   pm.globals.set(\"expense_id\", response.json().data.find(({relationships}) => relationships.invoice.data === null).id);\n});"]}}],"id":"e7ec0861-f5a2-484a-b0df-10210bbe563d","request":{"method":"DELETE","header":[],"url":"{{host}}/v1/expenses/:expense_id","description":"<p>A specific Expense in Lawmatics</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","expenses",":expense_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c69e4009-99e3-420d-8fda-4caef0cf4c56","type":"any","value":"{{expense_id}}","key":"expense_id"}]}},"response":[{"id":"f1d5cb91-ce73-4204-9c32-f0cde6831c91","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":"e7ec0861-f5a2-484a-b0df-10210bbe563d"}],"id":"e1681acc-663d-4947-b239-84c813e22088","_postman_id":"e1681acc-663d-4947-b239-84c813e22088","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Payment Time Entries","item":[{"name":"Time Entries","id":"1a9f2398-52b9-4895-9ffd-7089b4adb4fc","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<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<blockquote>\n<p><strong>Note:</strong> <code>contactable_type</code> is stored as <code>\"Prospect\"</code>. When creating a Time Entry, <code>\"Matter\"</code> is automatically converted to <code>\"Prospect\"</code>, but filtering does not do this conversion, so you must filter using <code>filter_on=Prospect</code>, not <code>Matter</code>. </p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>duration</code></td>\n<td>float</td>\n<td></td>\n</tr>\n<tr>\n<td><code>billable</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>rate_cents</code></td>\n<td>integer</td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>rate_flat_fee</code></td>\n<td>boolean</td>\n<td>Whether this entry bills at a flat fee instead of rate × duration</td>\n</tr>\n<tr>\n<td><code>show_flat_fee_duration</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>total_amount_cents</code></td>\n<td>integer</td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>started_at</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>completed_at</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>running_since</code></td>\n<td>datetime</td>\n<td>Best used with presence checks: <code>filter_with=present</code>/<code>null</code></td>\n</tr>\n<tr>\n<td><code>contactable_type</code></td>\n<td>string</td>\n<td>Polymorphic type, see note above</td>\n</tr>\n<tr>\n<td><code>contactable_id</code></td>\n<td>id</td>\n<td>Polymorphic id of <code>contactable_type</code></td>\n</tr>\n<tr>\n<td><code>billing_activity_type_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>invoice_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>user_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>User id</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","time_entries"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"a10f5592-8f94-4b75-b482-18e8ba5e4be9","name":"GET Time Entries","originalRequest":{"method":"GET","header":[{"key":"","value":""}],"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":"1a9f2398-52b9-4895-9ffd-7089b4adb4fc"},{"name":"Time Entry","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest({\n   url: `${pm.environment.get('host')}/v1/time_entries`,\n   method: 'GET',\n   header: {\n       'Authorization': `Bearer ${pm.environment.get('access_token')}`,\n   }\n}, function (err, response) {\n   pm.globals.set(\"time_entry_id\", response.json().data[0].id);\n});\n"]}}],"id":"285f10c7-6421-4561-ba64-77aa011a4dcf","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","time_entries",":time_entry_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"3b250f4b-b2ac-4fdf-ad43-18311f8ac147","type":"any","value":"{{time_entry_id}}","key":"time_entry_id"}]}},"response":[{"id":"215a8c57-b596-44e8-8690-4a23523cee26","name":"GET Time Entry","originalRequest":{"method":"GET","header":[{"key":"","value":"","disabled":true}],"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":"285f10c7-6421-4561-ba64-77aa011a4dcf"},{"name":"Create Time Entry","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest({\n   url: `${pm.environment.get('host')}/v1/users`,\n   method: 'GET',\n   header: {\n       'Authorization': `Bearer ${pm.environment.get('access_token')}`,\n   }\n}, function (err, response) {\n    pm.globals.set(\"user_id\", response.json().data[0].id);\n});\npm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"6e28713e-b0d6-4337-ab70-a54eed22ad99","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","type":"text","description":"<p>Boolean - Whether or not the time was billable</p>\n"},{"key":"completed_at","value":"1709670661","type":"text","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"},{"key":"contactable_type","value":"Matter","type":"text","description":"<p>Matter | Prospect | Contact type of record associated with the Time Entry </p>\n"},{"key":"contactable_id","value":"{{prospect_id}}","type":"text","description":"<p>ID - id for the record associated with the Time Entry</p>\n"},{"key":"description","value":"Research Hours Billed","type":"text","description":"<p>String</p>\n"},{"key":"duration","value":"61.0","type":"text","description":"<p>Float - Total time elapsed for the Time Entry</p>\n"},{"key":"rate_cents","value":"12000","type":"text","description":"<p>Int - Hourly rate in cents </p>\n"},{"key":"rate_flat_fee","value":"","type":"text","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","disabled":true},{"key":"show_flat_fee_duration","value":"false","type":"text","description":"<p>Boolean - whether to show the client the duration for the Time Entry</p>\n","disabled":true},{"key":"started_at","value":"1709560622","type":"text","description":"<p>String | Int - ISO ISO8601 Date or Unix Timestamp</p>\n"},{"key":"billing_activity_type_id","value":"1","type":"text","description":"<p>ID - Billing Activity Type associated with the Time Entry</p>\n","disabled":true},{"key":"created_by_id","value":"{{user_id}}","type":"text","description":"<p>ID - id for the User who created the Time Entry</p>\n"},{"key":"invoice_id","value":"35","type":"text","description":"<p>ID - Invoice associated with the Time Entry</p>\n","disabled":true},{"key":"user_id","value":"{{user_id}}","type":"text","description":"<p>ID - id for the User who performed the Time Entry</p>\n"}]},"url":"{{host}}/v1/time_entries/","description":"<p>Create a new <strong>Time Entry</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>billable</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>true</code></td>\n<td>Defaults to <code>true</code></td>\n</tr>\n<tr>\n<td><code>started_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-15T09:00:00.000-08:00\"</code></td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>completed_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-15T10:30:00.000-08:00\"</code></td>\n<td>ISO 8601. If both <code>started_at</code> and <code>completed_at</code> are sent, <code>completed_at</code> is recalculated from <code>started_at</code> + <code>duration</code> and your submitted value is overwritten</td>\n</tr>\n<tr>\n<td><code>duration</code></td>\n<td>float</td>\n<td>No</td>\n<td><code>1.5</code></td>\n<td>In hours</td>\n</tr>\n<tr>\n<td><code>rate_cents</code></td>\n<td>integer</td>\n<td>No</td>\n<td><code>15000</code></td>\n<td>In cents. If omitted or <code>0</code>, the assigned User's default billing rate is applied instead — if that User has no default rate configured either, this just stays <code>0</code> (unbilled), no error</td>\n</tr>\n<tr>\n<td><code>rate_flat_fee</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>false</code></td>\n<td>If <code>true</code> and <code>completed_at</code> isn't set, <code>completed_at</code> is automatically set to the current time</td>\n</tr>\n<tr>\n<td><code>show_flat_fee_duration</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>true</code></td>\n<td>Defaults to <code>true</code></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Drafted motion\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>billing_activity_type_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>2</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>contactable_type</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td><code>\"Prospect\"</code></td>\n<td>Must be <code>Prospect</code> (or <code>Matter</code>, which is converted automatically) — Time Entries can only be attached to a Matter in the app today, even though other values are technically accepted by the API. Required only if the Time Entry ends up marked complete (<code>completed_at</code> set, directly or via the <code>rate_flat_fee</code> auto-set above) — since most Time Entries do end up completed, treat this as required in practice</td>\n</tr>\n<tr>\n<td><code>contactable_id</code></td>\n<td>id</td>\n<td>Conditional</td>\n<td><code>\"12345\"</code></td>\n<td>The Matter's id. Same conditional requirement as <code>contactable_type</code></td>\n</tr>\n<tr>\n<td><code>user_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>3</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>2</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>invoice_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>45</code></td>\n<td>Must reference a <code>draft</code> invoice on this firm, or returns a 409</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","time_entries",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"3512e0d1-a676-4c98-a301-1e0cf5e6fd78","name":"Create Time Entry","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","type":"text","description":"Boolean - Whether or not the time was billable"},{"key":"completed_at","value":"1709670661","type":"text","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"},{"key":"contactable_type","value":"Matter","type":"text","description":"Matter | Prospect | Contact type of record associated with the Time Entry "},{"key":"contactable_id","value":"12","type":"text","description":"ID - id for the record associated with the Time Entry\n"},{"key":"description","value":"Research Hours Billed","type":"text","description":"String"},{"key":"duration","value":"61.0","type":"text","description":"Float - Total time elapsed for the Time Entry"},{"key":"rate_cents","value":"12000","type":"text","description":"Int - Hourly rate in cents "},{"key":"rate_flat_fee","value":"","type":"text","description":"Boolean - whether Time Entry is a flat fee. Note completed_at is automatically set for flat fee items, if not given","disabled":true},{"key":"show_flat_fee_duration","value":"false","type":"text","description":"Boolean - whether to show the client the duration for the Time Entry","disabled":true},{"key":"started_at","value":"1709560622","type":"text","description":"Int - Unix Timestamp for when the Time Entry was started"},{"key":"billing_activity_type_id","value":"1","type":"text","description":"ID - Billing Activity Type associated with the Time Entry"},{"key":"created_by_id","value":"1","type":"text","description":"ID - id for the User who created the Time Entry"},{"key":"invoice_id","value":"35","type":"text","description":"ID - Invoice associated with the Time Entry","disabled":true},{"key":"user_id","value":"2","type":"text","description":"ID - id for the User who performed the Time Entry"}]},"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":"a0d5294f-70d9-4d37-aadc-dd980ac000a2","name":"Create Flat Fee Time Entry","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","type":"text","description":"Boolean - Whether or not the time was billable"},{"key":"completed_at","value":"1709670661","type":"text","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"},{"key":"contactable_type","value":"Matter","type":"text","description":"Matter | Prospect | Contact type of record associated with the Time Entry "},{"key":"contactable_id","value":"12","type":"text","description":"ID - id for the record associated with the Time Entry\n"},{"key":"description","value":"Research Hours Billed","type":"text","description":"String"},{"key":"duration","value":"61.0","type":"text","description":"Float - Total time elapsed for the Time Entry"},{"key":"rate_cents","value":"12000","type":"text","description":"Int - Hourly rate in cents "},{"key":"rate_flat_fee","value":"","type":"text","description":"Boolean - whether Time Entry is a flat fee. Note completed_at is automatically set for flat fee items, if not given","disabled":true},{"key":"show_flat_fee_duration","value":"false","type":"text","description":"Boolean - whether to show the client the duration for the Time Entry","disabled":true},{"key":"started_at","value":"1709560622","type":"text","description":"Int - Unix Timestamp for when the Time Entry was started"},{"key":"billing_activity_type_id","value":"1","type":"text","description":"ID - Billing Activity Type associated with the Time Entry"},{"key":"created_by_id","value":"1","type":"text","description":"ID - id for the User who created the Time Entry"},{"key":"invoice_id","value":"35","type":"text","description":"ID - Invoice associated with the Time Entry","disabled":true},{"key":"user_id","value":"2","type":"text","description":"ID - id for the User who performed the Time Entry"}]},"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":"e7bb65d5-fc8a-4621-b1ef-09c233700a4d","name":"Create Time Entry For Invoice","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"true","type":"text","description":"Boolean - Whether or not the time was billable"},{"key":"completed_at","value":"1709670661","type":"text","description":"Int - Unix timestamp for when the Time Entry was completed"},{"key":"contactable_type","value":"Matter","type":"text","description":"Matter | Prospect | Contact type of record associated with the Time Entry "},{"key":"contactable_id","value":"12","type":"text","description":"ID - id for the record associated with the Time Entry\n"},{"key":"description","value":"Research Hours Billed","type":"text","description":"String"},{"key":"duration","value":"61.0","type":"text","description":"Float - Total time elapsed for the Time Entry"},{"key":"rate_cents","value":"12000","type":"text","description":"Int - Hourly rate in cents"},{"key":"started_at","value":"1709560622","type":"text","description":"Int - Unix Timestamp for when the Time Entry was started"},{"key":"billing_activity_type_id","value":"1","type":"text","description":"ID - Billing Activity Type associated with the Time Entry"},{"key":"created_by_id","value":"1","type":"text","description":"ID - id for the User who created the Time Entry"},{"key":"invoice_id","value":"{{invoice_id}}","type":"text","description":"ID - Invoice associated with the Time Entry"},{"key":"user_id","value":"2","type":"text","description":"ID - id for the User who performed the Time Entry"}]},"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":"6e28713e-b0d6-4337-ab70-a54eed22ad99"},{"name":"Update Time Entry","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest({\n   url: `${pm.environment.get('host')}/v1/time_entries`,\n   method: 'GET',\n   header: {\n       'Authorization': `Bearer ${pm.environment.get('access_token')}`,\n   }\n}, function (err, response) {\n   pm.globals.set(\"time_entry_id\", response.json().data[0].id);\n});"]}}],"id":"6d15b184-67d2-4338-a611-db9e5eba8f46","request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"billable","value":"false","type":"text","description":"<p>Boolean - Whether or not the time was billable</p>\n"},{"key":"completed_at","value":"1709670661","type":"text","description":"<p>Int - Unix timestamp for when the Time Entry was completed</p>\n","disabled":true},{"key":"contactable_type","value":"Matter","type":"text","description":"<p>Matter | Prospect | Contact type of record associated with the Time Entry </p>\n","disabled":true},{"key":"contactable_id","value":"12","type":"text","description":"<p>ID - id for the record associated with the Time Entry</p>\n","disabled":true},{"key":"description","value":"Updated Description","type":"text","description":"<p>String</p>\n"},{"key":"duration","value":"61.0","type":"text","description":"<p>Float - Total time elapsed for the Time Entry</p>\n","disabled":true},{"key":"rate_cents","value":"12000","type":"text","description":"<p>Int - Hourly rate in cents </p>\n","disabled":true},{"key":"rate_flat_fee","value":"","type":"text","description":"<p>Int - Rate in cents if Time Entry is a flat fee</p>\n","disabled":true},{"key":"show_flat_fee_duration","value":"false","type":"text","description":"<p>Boolean - whether to show the client the duration for the Time Entry</p>\n","disabled":true},{"key":"started_at","value":"1709560622","type":"text","description":"<p>Int - Unix Timestamp for when the Time Entry was started</p>\n","disabled":true},{"key":"billing_activity_type_id","value":"1","type":"text","description":"<p>ID - Billing Activity Type associated with the Time Entry</p>\n","disabled":true},{"key":"created_by_id","value":"1","type":"text","description":"<p>ID - id for the User who created the Time Entry</p>\n","disabled":true},{"key":"invoice_id","value":"35","type":"text","description":"<p>ID - Invoice associated with the Time Entry</p>\n","disabled":true},{"key":"user_id","value":"2","type":"text","description":"<p>ID - id for the User who performed the Time Entry</p>\n","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","time_entries","{{time_entry_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"a59f81af-7a71-48b6-87c9-bffbfc95cb81","name":"Update Time Entry","originalRequest":{"method":"PUT","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"description","value":"Research Hours Billed","type":"text","description":"String"},{"key":"duration","value":"200.0","type":"text","description":"Float - Total time elapsed for the Time Entry"},{"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":"6d15b184-67d2-4338-a611-db9e5eba8f46"},{"name":"Time Entry","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/time_entries?fields=invoice`, function (err, response) {\n    // Delete uninvoiced time entry\n   pm.globals.set(\"time_entry_id\", response.json().data.find(({relationships}) => relationships.invoice.data === null).id);\n});"]}}],"id":"26131b56-52bf-42b4-9a32-4c4bfb228906","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","time_entries",":time_entry_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"b9d7fe95-8b86-4e7d-a51b-9ad555a09a06","type":"any","value":"{{time_entry_id}}","key":"time_entry_id"}]}},"response":[{"id":"388259fe-420a-446b-8697-03b44bd6af53","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":"26131b56-52bf-42b4-9a32-4c4bfb228906"}],"id":"44df989e-78f8-4108-8d0b-5a4950d2dad0","_postman_id":"44df989e-78f8-4108-8d0b-5a4950d2dad0","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Payment Transactions","item":[{"name":"Transaction","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/transactions`, function (err, response) {\n   pm.globals.set(\"transaction_id\", response.json().data[0].id);\n});"]}}],"id":"c5a865c7-642c-44a4-aa69-dc954a6ce06b","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","transactions",":transaction_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"58c13855-b9a5-46f2-a845-f543ff546812","type":"any","value":"{{transaction_id}}","key":"transaction_id"}]}},"response":[{"id":"332809d0-ad6a-4926-b583-ea3aac6a77fa","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"}],"variable":[{"key":"transaction_id","value":"{{transaction_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/\"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            \"status\": \"processed\",\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":"c5a865c7-642c-44a4-aa69-dc954a6ce06b"},{"name":"Transactions","id":"923917a8-4a35-4c92-ade8-8fddd7b88798","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<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transaction_type</code></td>\n<td>integer</td>\n<td>Raw integer only: <code>debit</code>=0, <code>credit</code>=1</td>\n</tr>\n<tr>\n<td><code>bank_account_type</code></td>\n<td>integer</td>\n<td>Raw integer only: <code>operating</code>=0, <code>trust</code>=1</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>integer</td>\n<td>Raw integer only: <code>processing</code>=0, <code>processed</code>=1, <code>failed</code>=2</td>\n</tr>\n<tr>\n<td><code>payment_method</code></td>\n<td>integer</td>\n<td>Raw integer only: <code>credit_card</code>=0, <code>check</code>=1, <code>cash</code>=2, <code>paypal</code>=3, <code>venmo</code>=4, <code>other</code>=5, <code>debit_card</code>=7, <code>ach</code>=8, <code>invoice_refund</code>=9, <code>trust_balance_transfer</code>=10, <code>trust_fund_request_refund</code>=11, <code>allocated_trust_payment</code>=12, <code>unallocated_trust_payment</code>=13, <code>withdrawal</code>=14, <code>surcharge_refund</code>=15 (6 is deprecated)</td>\n</tr>\n<tr>\n<td><code>amount_cents</code></td>\n<td>integer</td>\n<td>In cents</td>\n</tr>\n<tr>\n<td><code>executed_at</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>settled_at</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>note</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>is_lm_pay</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>invoice_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>transactionable_type</code></td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> <code>transactions</code> also has its own <code>prospect_id</code> column, but the <code>prospect_id</code> shortcut below is checked first and takes priority — there's currently no way to filter on that raw column value directly.</p>\n</blockquote>\n<p><strong>Valid Shortcuts:</strong> <code>matter_id</code>, <code>prospect_id</code>, <code>contact_id</code>, <code>company_id</code> — polymorphic, maps to <code>transactionable_type</code>/<code>transactionable_id</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","transactions"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"b14ac933-3b11-4537-97b8-a4f6de09f8f3","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                \"status\": \"processed\",\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                \"status\": \"processed\",\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                \"status\": \"processed\",\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                \"status\": \"processed\",\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                \"status\": \"processed\",\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                \"status\": \"processed\",\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":"923917a8-4a35-4c92-ade8-8fddd7b88798"},{"name":"Create Transaction","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/invoices`, function (err, response) {\n   pm.globals.set(\"invoice_id\", response.json().data.find(invoice => invoice.attributes.outstanding_amount_cents > 0).id)\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"be2d6de2-1361-472f-93f5-72021ca55bae","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 <strong>Transaction</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transactable_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Contact\"</code></td>\n<td>One of <code>Contact</code>, <code>Company</code> (case-insensitive) — Transactions are billed to a person or company, not a Matter, so <code>Prospect</code>/<code>Matter</code> isn't a real option in the app. (The API will technically accept <code>Prospect</code>, but not the more common <code>Matter</code> alias — sending <code>\"Matter\"</code> causes a 500. Stick to <code>Contact</code>/<code>Company</code> to match how the app actually uses this field.)</td>\n</tr>\n<tr>\n<td><code>transactable_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>\"12345\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>transaction_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"debit\"</code></td>\n<td>One of <code>debit</code>, <code>credit</code></td>\n</tr>\n<tr>\n<td><code>bank_account_type</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"operating\"</code></td>\n<td>One of <code>operating</code>, <code>trust</code></td>\n</tr>\n<tr>\n<td><code>payment_method</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"credit_card\"</code></td>\n<td>One of <code>credit_card</code>, <code>check</code>, <code>cash</code>, <code>paypal</code>, <code>venmo</code>, <code>other</code>, <code>debit_card</code>, <code>ach</code>, <code>invoice_refund</code>, <code>trust_balance_transfer</code>, <code>trust_fund_request_refund</code>, <code>allocated_trust_payment</code>, <code>unallocated_trust_payment</code>, <code>withdrawal</code>, <code>surcharge_refund</code>. Automatically overridden to <code>invoice_refund</code> if <code>transaction_type</code> is <code>debit</code> — see note below</td>\n</tr>\n<tr>\n<td><code>executed_at</code></td>\n<td>datetime</td>\n<td>Yes</td>\n<td><code>\"2024-01-15T00:00:00.000-08:00\"</code></td>\n<td>Omitting this returns a generic error rather than a clear one, but it's still required</td>\n</tr>\n<tr>\n<td><code>amount_cents</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td><code>50000</code></td>\n<td>In cents. Omitting this returns a generic error rather than a clear one, but it's still required</td>\n</tr>\n<tr>\n<td><code>note</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Retainer payment\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>invoice_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>45</code></td>\n<td>If set (or resolved via <code>invoice_number</code>), the Matter/Contact/Company you passed via <code>transactable_type</code>/<code>transactable_id</code> is discarded and re-derived from the invoice instead. The two fields are still required to pass initial validation even though their values may not end up used</td>\n</tr>\n<tr>\n<td><code>invoice_number</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"INV-1001\"</code></td>\n<td>Alternative to <code>invoice_id</code> — send only one</td>\n</tr>\n<tr>\n<td><code>refunded_transaction_id</code></td>\n<td>id</td>\n<td>Conditional</td>\n<td><code>\"789\"</code></td>\n<td>Required if <code>transaction_type</code> is <code>debit</code> (must reference an existing <code>credit</code> transaction on the same invoice). Ignored/cleared if <code>transaction_type</code> is <code>credit</code></td>\n</tr>\n<tr>\n<td><code>send_receipt</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>true</code></td>\n<td>Defaults to <code>true</code> if omitted</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> You can't set which Matter a Transaction is linked to directly — it comes from the linked invoice (if any). The <code>prospect_id</code> field shown as filterable on GET always stays empty on records created through this endpoint.</p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> <code>created_at</code>/<code>updated_at</code> are accepted but have no effect — this endpoint always uses the actual creation time.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","transactions"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[]}},"response":[{"id":"6a54eb01-12bd-471d-9406-944b4fcae9e0","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":"90455b0e-df97-48ec-8e67-456441097b5d","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":"be2d6de2-1361-472f-93f5-72021ca55bae"}],"id":"302c2f68-8c42-490a-9338-81e453e1fdff","_postman_id":"302c2f68-8c42-490a-9338-81e453e1fdff","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Phone Numbers","item":[{"name":"Phone Number","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/phone_numbers`, function (err, response) {\n   pm.globals.set(\"phone_number_id\", response.json().data[0].id);\n});\npm.globals.get(\"variable_key\");"]}}],"id":"72e95065-8b8b-4ecb-bfbc-7706de1aea4c","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","phone_numbers",":phone_number_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"d4b15457-873c-4daa-9b15-950ec581fc7d","type":"any","value":"{{phone_number_id}}","key":"phone_number_id"}]}},"response":[{"id":"4d2c379b-2b7e-446e-b7e4-bc5b1fa690be","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":"72e95065-8b8b-4ecb-bfbc-7706de1aea4c"},{"name":"Phone Numbers","id":"6257f714-0334-4f8d-a104-1ab26872ba69","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<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>label</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>info</code></td>\n<td>string</td>\n<td>The actual phone number value</td>\n</tr>\n<tr>\n<td><code>is_valid</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>informationable_type</code></td>\n<td>string</td>\n<td>One of <code>Prospect</code>, <code>Contact</code>, <code>Company</code>, <code>Firm</code></td>\n</tr>\n<tr>\n<td><code>informationable_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","phone_numbers"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e40dfaec-3df9-4818-ba44-2c9565fa2f49","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":"6257f714-0334-4f8d-a104-1ab26872ba69"},{"name":"Create Phone Number","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_phone_number_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});\n"]}}],"id":"48006acf-dd33-4152-ae63-9ba6f8a7a2f2","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>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>label</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Mobile\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>info</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"123-456-7890\"</code></td>\n<td>Digits, <code>+</code>, and <code>-</code> only — any letters are rejected with a 422</td>\n</tr>\n<tr>\n<td><code>informationable_type</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td><code>\"Contact\"</code></td>\n<td>One of <code>Prospect</code>, <code>Contact</code>, <code>Company</code>, <code>Firm</code> (case-insensitive; <code>matter</code> also accepted). Required unless <code>Firm</code></td>\n</tr>\n<tr>\n<td><code>informationable_id</code></td>\n<td>id</td>\n<td>Conditional</td>\n<td><code>\"12345\"</code></td>\n<td>Required for all <code>informationable_type</code> values except <code>Firm</code></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> Setting the Phone Number on a <code>Prospect</code> (Matter) sets it on the Matter's linked <strong>Contact</strong>/<strong>Company</strong>, not the Matter itself.</p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> Only one <code>label: \"Primary\"</code> Phone Number is allowed per owner — a second one returns a 422.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","phone_numbers"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"2b18479c-ba89-4700-a326-ab35edb72187","name":"Create Phone Number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Primary\",\n    \"info\": \"123-123-1234\",\n    \"informationable_type\": \"Prospect\",\n    \"informationable_id\": {{prospect_id}}\n}","options":{"raw":{"language":"text"}}},"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":"48006acf-dd33-4152-ae63-9ba6f8a7a2f2"},{"name":"Update Phone Number","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/phone_numbers`, function (err, response) {\n   pm.globals.set(\"phone_number_id\", response.json().data[0].id);\n});\n\n"]}}],"id":"0c842865-8fee-4582-b822-f50a3ba5d623","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}","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","phone_numbers",":phone_number_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"6193726a-d55c-4d33-87dc-c813f9de9bf7","type":"any","value":"{{phone_number_id}}","key":"phone_number_id"}]}},"response":[{"id":"ec2f01ef-6382-4ebf-a7e8-57fa4c694e4f","name":"PUT Update Phone Number","originalRequest":{"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}","options":{"raw":{"language":"text"}}},"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":"0c842865-8fee-4582-b822-f50a3ba5d623"},{"name":"Delete Phone Number","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/phone_numbers`, function (err, response) {\n   pm.globals.set(\"phone_number_id\", response.json().data[0].id);\n});"]}}],"id":"e7054f76-382c-4328-aeca-1db7cc7d2a91","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","phone_numbers",":phone_number_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"bcf58043-3e79-469e-ab25-6b32a863e13e","type":"any","value":"{{phone_number_id}}","key":"phone_number_id"}]}},"response":[{"id":"0021fcf5-63be-4230-90a6-400dd6358f67","name":"DEL Delete Phone Number","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"e7054f76-382c-4328-aeca-1db7cc7d2a91"}],"id":"3c19192c-a995-4d97-b3a3-a6d5eb4c5e02","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","_postman_id":"3c19192c-a995-4d97-b3a3-a6d5eb4c5e02","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Tags","item":[{"name":"Tag","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tags`, function (err, response) {\n   pm.globals.set(\"tag_id\", response.json().data[0].id);\n});"]}}],"id":"7ce2c6a7-4c40-4576-b833-4827b73fefbb","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tags",":tag_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"4aeec7e3-2ea6-4802-851f-7a9bf3c5343b","type":"any","value":"{{tag_id}}","key":"tag_id"}]}},"response":[{"id":"546fc1bb-1639-4b80-bb26-8c12bef02654","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"}],"variable":[{"key":"tag_id","value":"{{tag_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/\"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":"7ce2c6a7-4c40-4576-b833-4827b73fefbb"},{"name":"Tags","id":"0fcdd88a-f21e-4d68-97b2-a474792cf5e3","request":{"method":"GET","header":[],"url":"{{host}}/v1/tags","description":"<p>A <strong>paginated</strong> list of all Tags in Lawmatics</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>key</code></td>\n<td>string</td>\n<td>Filterable, but never returned in the response (not even with <code>fields=all</code>) — it is derived from <code>name</code> and not part of the serialized output</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Valid Shortcuts:</strong> <code>matter_id</code>, <code>prospect_id</code>, <code>contact_id</code>, <code>company_id</code>, <code>task_id</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tags"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"a4b91d3a-77fe-4384-a6b8-402b9c3efb4b","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":"6d15e54a-16ae-4dfe-8131-4b0215367727","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":"2aa907de-4f82-43ba-b21c-38ca61fa5421","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":"eab8df7b-8dc9-4e84-aaf5-68af01917a9a","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":"0fcdd88a-f21e-4d68-97b2-a474792cf5e3"},{"name":"Update Tag","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tags`, function (err, response) {\n   pm.globals.set(\"tag_id\", response.json().data[0].id);\n});"]}}],"id":"6e3a298a-5f45-439f-b202-e741143faf36","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Updated Tag 1215abf9-e298-4743-a3e2-f4729f750082\",\n    \"color\": \"#554433\",\n\t\"description\": \"One tag to rule them all\"\n}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/tags/:tag_id","description":"<p>Update an existing <strong>Tag</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>No</td>\n<td>\"VIP\"</td>\n<td></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>string</td>\n<td>No</td>\n<td>\"#8fc1d8\"</td>\n<td>Rendered directly as a raw CSS <code>background-color</code> value — any valid CSS color string works via this API (hex, <code>rgb()</code>, named colors, etc.), not just hex. The app's own UI sets this through a <em>separate</em> color picker (click the colored dot on a tag chip, not the create form), restricted to a fixed 21-color preset palette: <code>#FF8800</code>, <code>#FFB980</code>, <code>#C23D3D</code>, <code>#CE6464</code>, <code>#FFC017</code>, <code>#E3A500</code>, <code>#4397BE</code>, <code>#8FC1D8</code>, <code>#C72575</code>, <code>#E46EA9</code>, <code>#9E4487</code>, <code>#757F8F</code>, <code>#7997C9</code>, <code>#6519FA</code>, <code>#70B08B</code>, <code>#A8CA45</code>, <code>#EDBE30</code>, <code>#A7783B</code>, <code>#DE5E1C</code>, <code>#80231C</code>, <code>#F70303</code>. Use one of these to visually match the app</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>No</td>\n<td>\"High priority clients\"</td>\n<td>Accepted by the API, but not currently surfaced anywhere in the app's own Tag UI</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tags",":tag_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"af6911a7-97f2-4f0f-bc6c-925f7c06ef16","type":"any","value":"{{tag_id}}","key":"tag_id"}]}},"response":[{"id":"23c32162-4a53-4b2d-bbf1-77746b47c4ce","name":"PUT Update Task","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Updated Tag\",\n    \"color\": \"#554433\",\n\t\"description\": \"A tag to rule them all\"\n}","options":{"raw":{"language":"text"}}},"url":{"raw":"{{host}}/v1/tags/1?fields=all","host":["{{host}}"],"path":["v1","tags","1"],"query":[{"key":"fields","value":"all"}],"variable":[{"key":"tag_id","value":"{{tag_id}}"}]}},"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":"6e3a298a-5f45-439f-b202-e741143faf36"},{"name":"Delete Tag","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tags`, function (err, response) {\n   pm.globals.set(\"tag_id\", response.json().data[0].id);\n});"]}}],"id":"309eddd2-0be8-46d2-92f6-a6843ef58d83","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tags",":tag_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"e0ca3435-322f-4088-aeee-6b5d796e25a9","type":"any","value":"{{tag_id}}","key":"tag_id"}]}},"response":[{"id":"4c031576-851f-4e1b-887c-b25d80ee6841","name":"DELETE Delete Tag","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":""}]}},"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":"309eddd2-0be8-46d2-92f6-a6843ef58d83"},{"name":"Create Tag","id":"89b128b6-6018-45fb-9197-9912b7d209e9","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Tag 9f5fb6ae-d3b2-4fbc-9579-5364307a2137\",\n    \"color\": \"#554433\",\n\t\"description\": \"A tag to rule them all\"\n}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/tags","description":"<p>Create a new <strong>Tag</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"VIP\"</code></td>\n<td>Whitespace is squished on save. Uniqueness is case-insensitive on the normalized value — <code>\"VIP\"</code> and <code>\"vip\"</code> collide</td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"#8fc1d8\"</code></td>\n<td>Rendered directly as a raw CSS <code>background-color</code> value, so any valid CSS color string works via this API (hex, <code>rgb()</code>, named colors, etc.) — not just hex. The app's own UI sets this through a <em>separate</em> color picker (click the colored dot on a tag chip, not the create form), restricted to a fixed 21-color preset palette: <code>#FF8800</code>, <code>#FFB980</code>, <code>#C23D3D</code>, <code>#CE6464</code>, <code>#FFC017</code>, <code>#E3A500</code>, <code>#4397BE</code>, <code>#8FC1D8</code>, <code>#C72575</code>, <code>#E46EA9</code>, <code>#9E4487</code>, <code>#757F8F</code>, <code>#7997C9</code>, <code>#6519FA</code>, <code>#70B08B</code>, <code>#A8CA45</code>, <code>#EDBE30</code>, <code>#A7783B</code>, <code>#DE5E1C</code>, <code>#80231C</code>, <code>#F70303</code>. Use one of these to visually match the app</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"High priority clients\"</code></td>\n<td>Accepted by the API, but not currently surfaced anywhere in the app's own Tag UI</td>\n</tr>\n<tr>\n<td><code>created_at</code> / <code>updated_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-01T00:00:00.000-08:00\"</code></td>\n<td>ISO 8601</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tags"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ed6bf0e4-ccf5-4895-b3d3-02378ed5b690","name":"POST Create Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"New Tag\",\n    \"color\": \"#554433\",\n\t\"description\": \"A tag to rule them all\"\n}","options":{"raw":{"language":"text"}}},"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":"89b128b6-6018-45fb-9197-9912b7d209e9"},{"name":"Attach Tag","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"0ac89016-6ae0-4246-9bff-650eef0fb9b2","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>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>matter_id</code> / <code>contact_id</code> / <code>company_id</code> / <code>task_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>\"12345\"</code></td>\n<td>The ID of the entity to attach tags to. Pass exactly one of these</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td>array of strings</td>\n<td>Yes</td>\n<td><code>[\"VIP\", \"Referral\"]</code></td>\n<td>Tag names to attach. If a tag doesn't exist, it's created</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tags","attach"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"78b4c38f-5d45-4d40-ae85-2bdfdc49f0a1","name":"POST Attach Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"0ac89016-6ae0-4246-9bff-650eef0fb9b2"},{"name":"Detach Tag","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"08875995-6200-42ee-bb24-605eea6804b8","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 <strong>Matter</strong>, <strong>Contact</strong>, <strong>Company</strong>, or <strong>Task</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>matter_id</code> / <code>contact_id</code> / <code>company_id</code> / <code>task_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>\"12345\"</code></td>\n<td>The ID of the entity to detach tags from. Pass exactly one of these</td>\n</tr>\n<tr>\n<td><code>tags</code></td>\n<td>array of strings</td>\n<td>Yes</td>\n<td><code>[\"VIP\"]</code></td>\n<td>Tag names to detach. If a tag doesn't exist, it's ignored</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tags","detach"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5cd10248-717b-4278-a7b1-816f1a7bc104","name":"POST Detach Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"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"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"08875995-6200-42ee-bb24-605eea6804b8"}],"id":"a4ef811a-5d2f-4fe8-89c2-b820300b58be","_postman_id":"a4ef811a-5d2f-4fe8-89c2-b820300b58be","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Tasks","item":[{"name":"Task","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n   pm.globals.set(\"task_id\", response.json().data[0].id);\n});"]}}],"id":"37bba0e3-bfcb-484f-a850-0001daade77f","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"2fa3f2d4-7046-4352-b5f5-ad2963381b27","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"06603207-1509-46cc-9846-e7ea2e27a7f7","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"}],"variable":[{"key":"task_id","value":"{{task_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/\"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":"37bba0e3-bfcb-484f-a850-0001daade77f"},{"name":"Tasks","id":"36bce453-4d12-42d4-afe7-2016405a939d","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><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>text</td>\n<td></td>\n</tr>\n<tr>\n<td><code>done</code></td>\n<td>boolean</td>\n<td></td>\n</tr>\n<tr>\n<td><code>due_date</code></td>\n<td>datetime</td>\n<td></td>\n</tr>\n<tr>\n<td><code>priority</code></td>\n<td>integer</td>\n<td>Raw integer only: <code>low</code>=0, <code>medium</code>=1, <code>high</code>=2</td>\n</tr>\n<tr>\n<td><code>task_status_id</code></td>\n<td>id</td>\n<td></td>\n</tr>\n<tr>\n<td><code>assigned_by_id</code></td>\n<td>id</td>\n<td>User id</td>\n</tr>\n<tr>\n<td><code>created_by_id</code></td>\n<td>id</td>\n<td>User id</td>\n</tr>\n<tr>\n<td><code>taskable_type</code></td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> <code>status</code> is not a filterable field (returns a 422) — use <code>task_status_id</code> instead. </p>\n</blockquote>\n<p><strong>Valid Shortcuts:</strong> <code>user_id</code>, <code>matter_id</code>, <code>prospect_id</code>, <code>contact_id</code>, <code>company_id</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"281c659f-dab9-4492-91b4-9be5254201fb","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":"23c95229-2b55-4b27-bd03-2ce4f7f71eb4","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":"b541ccf3-b8ea-4411-bcf5-72ded3920585","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":"6ec4c7d9-6943-436b-8342-3f84d0c3bc2e","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":"74482102-917a-4e05-8b5d-4c854499e756","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":"c4b88e7d-9270-44d4-8369-ddcb78222c9e","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":"36bce453-4d12-42d4-afe7-2016405a939d"},{"name":"Subtask","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n    task_id = response.json().data[0].id\n    pm.globals.set(\"task_id\", task_id);\n    pm.sendRequest({url: `${pm.environment.get('host')}/v1/tasks/${task_id}/subtasks`, method: 'POST', body: {body: \"task\", done: false}}, function (err, response) {\n        pm.globals.set(\"subtask_id\", response.json().data.id);\n    })\n    }\n);"]}}],"id":"922ea549-d5f7-49a5-bc62-8e50f515825d","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","subtasks",":subtask_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"9f3918a4-726a-4df9-9b69-30d670010ed3","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"9f3c3825-8d89-43c5-a05a-ac6cb4698c44","type":"any","value":"{{subtask_id}}","key":"subtask_id"}]}},"response":[{"id":"f04917ef-c72c-4313-8a5f-14a6f75986d4","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"922ea549-d5f7-49a5-bc62-8e50f515825d"},{"name":"Subtasks","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n   pm.globals.set(\"task_id\", response.json().data[0].id);\n});"]}}],"id":"0bdbd859-90e0-4208-b07b-8c9a32ed754d","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<blockquote>\n<p><strong>Note:</strong> Filtering doesn't reliably work on this endpoint right now — it's likely to return errors instead of results, due to a backend bug. Avoid using <code>filter_by</code> here until it's fixed.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","subtasks"],"host":["{{host}}"],"query":[],"variable":[{"id":"9ecdb1a2-068f-4aca-ba1a-763e54bbb006","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"a2c76dc8-8f2d-471b-813f-484160910db0","name":"GET Subtasks","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/tasks/task_id/subtasks","host":["{{host}}"],"path":["tasks","task_id","subtasks"],"variable":[{"key":"task_id","value":"{{task_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"0bdbd859-90e0-4208-b07b-8c9a32ed754d"},{"name":"Comment","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   user_id =  response.json().data[0].id\n   pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n    task_id = response.json().data[0].id\n    pm.globals.set(\"task_id\", task_id);\n    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'}})\n    pm.sendRequest(`${pm.environment.get('host')}/v1/tasks/${task_id}/comments`, function (err, response) {\n        pm.globals.set(\"comment_id\", response.json().data[0].id);\n    })\n})\n})\n"]}}],"id":"1b48777f-e5fa-4f8a-a693-e21209713467","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","comments",":comment_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"066c7038-3e13-46d0-b6f9-d693573a107e","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"ba8e2468-f973-435f-8e8c-a1ea84c097ce","type":"any","value":"{{comment_id}}","key":"comment_id"}]}},"response":[{"id":"927d6623-366a-45c4-bfa4-d177ed0ed215","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"1b48777f-e5fa-4f8a-a693-e21209713467"},{"name":"Comments","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n   pm.globals.set(\"task_id\", response.json().data[0].id);\n});"]}}],"id":"0cc3844f-d31e-4386-a57c-1dbe7d4f47c7","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<blockquote>\n<p><strong>Note:</strong> Filtering doesn't reliably work on this endpoint right now — it's likely to return errors instead of results, due to a backend bug. Avoid using <code>filter_by</code> here until it's fixed.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","comments"],"host":["{{host}}"],"query":[],"variable":[{"id":"f5a10ec0-65ee-4326-bc4c-24b1ff29e2fc","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"bf2b1fa8-a49c-4ac3-96a4-42e71869a877","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"0cc3844f-d31e-4386-a57c-1dbe7d4f47c7"},{"name":"Create Task","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_task_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   pm.globals.set(\"user_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/tags`, function (err, response) {\n   pm.globals.set(\"tag_id\", response.json().data[0].id);\n});"]}}],"id":"94fb2070-615c-42fb-8c5b-ac3ea848fb1d","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/tasks","description":"<p>Create a new <strong>Task</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Follow up with client\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>due_date</code></td>\n<td>datetime</td>\n<td>Yes</td>\n<td><code>\"2024-01-20T00:00:00.000-08:00\"</code></td>\n<td>ISO 8601. Required by this endpoint even though the column itself allows <code>null</code></td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>text</td>\n<td>No</td>\n<td><code>\"Check on document status\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>priority</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"medium\"</code></td>\n<td>One of <code>low</code> (default), <code>medium</code>, <code>high</code>. Note: An invalid value returns a 500, not a 422</td>\n</tr>\n<tr>\n<td><code>done</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>false</code></td>\n<td>Defaults to <code>false</code></td>\n</tr>\n<tr>\n<td><code>task_status_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>3</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>taskable_type</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Contact\"</code></td>\n<td>One of <code>Prospect</code>/<code>Matter</code>, <code>Contact</code>, <code>Client</code>, <code>Company</code> (case-insensitive) — all four are real, selectable options in the app's own \"Associated With\" picker</td>\n</tr>\n<tr>\n<td><code>taskable_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>\"12345\"</code></td>\n<td>Required if <code>taskable_type</code> is set. Both can be left out entirely — the app itself supports creating a Task with nothing attached</td>\n</tr>\n<tr>\n<td><code>assigned_by_id</code></td>\n<td>id</td>\n<td>No</td>\n<td><code>2</code></td>\n<td>Not validated against your firm — an id from anywhere will be accepted</td>\n</tr>\n<tr>\n<td><code>user_ids</code></td>\n<td>array of ids</td>\n<td>No</td>\n<td><code>[2, 3]</code></td>\n<td>The Users assigned to this Task. Unknown/foreign ids are silently ignored, not an error</td>\n</tr>\n<tr>\n<td><code>tag_ids</code></td>\n<td>array of ids</td>\n<td>No</td>\n<td><code>[5, 8]</code></td>\n<td>Same silent-ignore behavior as <code>user_ids</code> for unknown ids</td>\n</tr>\n<tr>\n<td><code>recurrence_rule</code></td>\n<td>object</td>\n<td>No</td>\n<td><code>{ \"type\": \"weekly\", \"monday\": true, \"friday\": true }</code></td>\n<td>Follows the shape below</td>\n</tr>\n<tr>\n<td><code>created_at</code> / <code>updated_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-01T00:00:00.000-08:00\"</code></td>\n<td>ISO 8601</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong><code>recurrence_rule</code> shape</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>One of <code>daily</code>, <code>weekly</code>, <code>monthly</code>, <code>yearly</code></td>\n</tr>\n<tr>\n<td><code>endOption</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>endDate</code></td>\n<td>date</td>\n</tr>\n<tr>\n<td><code>frequency</code></td>\n<td>number — used when <code>type</code> is <code>daily</code></td>\n</tr>\n<tr>\n<td><code>sunday</code> / <code>monday</code> / <code>tuesday</code> / <code>wednesday</code> / <code>thursday</code> / <code>friday</code> / <code>saturday</code></td>\n<td>boolean — used when <code>type</code> is <code>weekly</code></td>\n</tr>\n<tr>\n<td><code>monthlyFrequency</code></td>\n<td>number — used when <code>type</code> is <code>monthly</code></td>\n</tr>\n<tr>\n<td><code>dayOfMonth</code></td>\n<td>number — used when <code>type</code> is <code>monthly</code></td>\n</tr>\n<tr>\n<td><code>month</code></td>\n<td>string — used when <code>type</code> is <code>yearly</code></td>\n</tr>\n<tr>\n<td><code>dayOfMonthYear</code></td>\n<td>number — used when <code>type</code> is <code>yearly</code></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> <code>user_id</code> (singular) is not accepted on create — use <code>user_ids</code> (an array) instead, even for a single assignee.</p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> <code>subtasks</code> is not usable here, despite occasionally appearing as a permitted parameter internally — subtasks can only be created via the separate <code>POST /v1/tasks/:id/subtasks</code> endpoint.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"55a34008-6429-4606-a8a8-2911a0a3d8eb","name":"POST Create Task","originalRequest":{"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\": [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}","options":{"raw":{"language":"text"}}},"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":"94fb2070-615c-42fb-8c5b-ac3ea848fb1d"},{"name":"Create Subtask","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_subtask_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n   pm.globals.set(\"task_id\", response.json().data[0].id);\n});"]}}],"id":"1b83d6fb-9534-4fb6-ad83-dc7f18f86ac8","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<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>body</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Draft initial paperwork\"</code></td>\n<td>Not enforced by the API — you can technically omit it and get a blank subtask — but treat it as required, since a subtask without a description isn't useful</td>\n</tr>\n<tr>\n<td><code>done</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>false</code></td>\n<td>Defaults to <code>false</code></td>\n</tr>\n<tr>\n<td><code>created_at</code> / <code>updated_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-01T00:00:00.000-08:00\"</code></td>\n<td>ISO 8601</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> Position in the subtask list can't be set directly — new subtasks are automatically appended to the end.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","subtasks"],"host":["{{host}}"],"query":[],"variable":[{"id":"53f44f6b-458b-42e9-9cea-82f829442116","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"fded5274-eec6-46a2-9769-ad3c79f6c5f2","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"1b83d6fb-9534-4fb6-ad83-dc7f18f86ac8"},{"name":"Create Comment","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_comment_id\", jsonData.data.id);\n}"]}},{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n   pm.globals.set(\"task_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   pm.globals.set(\"user_id\", response.json().data[0].id);\n});"]}}],"id":"35a105a7-82bc-4471-a79c-34a69b4dcb5a","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.</p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>body</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"Called client to confirm hearing date.\"</code></td>\n<td>Supports basic HTML tags for formatting (e.g. <code>&lt;b&gt;</code>, <code>&lt;i&gt;</code>)</td>\n</tr>\n<tr>\n<td><code>user_id</code></td>\n<td>id</td>\n<td>Yes</td>\n<td><code>2</code></td>\n<td>The User the comment is attributed to</td>\n</tr>\n<tr>\n<td><code>mentioned_user_ids</code></td>\n<td>array of ids</td>\n<td>No</td>\n<td><code>[3, 4]</code></td>\n<td>Notifies these Users via an @mention. Unlike Tasks' <code>user_ids</code>/<code>tag_ids</code>, an invalid id here returns a clear 404 rather than being silently ignored</td>\n</tr>\n<tr>\n<td><code>created_at</code> / <code>updated_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-01T00:00:00.000-08:00\"</code></td>\n<td>ISO 8601</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","comments"],"host":["{{host}}"],"query":[],"variable":[{"id":"360dc8c2-d0bf-478f-a37d-a873a89a3a1e","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"90fbb52c-0e2c-402c-82e6-f242fbf8e1b4","name":"Create Comment","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"body\": \"A new comment on task\",\n    \"user_id\": 2,\n    \"mentioned_user_ids\": [1]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{host}}/v1/tasks/:task_id/comments","host":["{{host}}"],"path":["v1","tasks",":task_id","comments"],"variable":[{"key":"task_id","value":"45"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"35a105a7-82bc-4471-a79c-34a69b4dcb5a"},{"name":"Update Task","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n   pm.globals.set(\"task_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   pm.globals.set(\"user_id\", response.json().data[0].id);\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/tags`, function (err, response) {\n   pm.globals.set(\"tag_id\", response.json().data[0].id);\n});"]}}],"id":"1451c832-80a7-4a05-98b1-9ac736f85f17","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}","options":{"raw":{"language":"text"}}},"url":"{{host}}/v1/tasks/:task_id?fields=all","description":"<p>Updates a <strong>Task</strong></p>\n<p>Accepts the same fields as Create Task (<code>name</code>, <code>due_date</code>, <code>description</code>, <code>priority</code>, <code>done</code>, <code>task_status_id</code>, <code>taskable_type</code>, <code>taskable_id</code>, <code>assigned_by_id</code>, <code>user_ids</code>, <code>tag_ids</code>, <code>recurrence_rule</code>), but none are required on Update.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id"],"host":["{{host}}"],"query":[{"key":"fields","value":"all"}],"variable":[{"id":"eb14caca-7078-4d1a-a005-ee2614a96e69","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"e667feb9-885d-4a8d-8432-e572f98c926d","name":"PUT Update Task","originalRequest":{"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\": 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}","options":{"raw":{"language":"text"}}},"url":{"raw":"{{host}}/v1/tasks/1?fields=all","host":["{{host}}"],"path":["v1","tasks","1"],"query":[{"key":"fields","value":"all"}],"variable":[{"key":"task_id","value":"{{task_id}}"}]}},"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":"1451c832-80a7-4a05-98b1-9ac736f85f17"},{"name":"Update Subtask","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n    pm.globals.set(\"task_id\", response.json().data[0].id);\n    pm.sendRequest(`${pm.environment.get('host')}/v1/tasks/${response.json().data[0].id}/subtasks`, function (err, response) {\n        pm.globals.set(\"subtask_id\", response.json().data[0].id);\n    })\n});"]}}],"id":"6a13c9c6-05c7-4128-91c4-910a173b5ff4","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","subtasks",":subtask_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c29dde68-60bd-4251-9a35-b09acac620bb","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"1ce7819f-e7bb-4229-9a79-d2fe7394c392","type":"any","value":"{{subtask_id}}","key":"subtask_id"}]}},"response":[{"id":"0d898d6a-4a4f-45d1-9e1a-a0a2cf2b0104","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"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":"6a13c9c6-05c7-4128-91c4-910a173b5ff4"},{"name":"Update Comment","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n    pm.globals.set(\"task_id\", response.json().data[0].id);\n    pm.sendRequest(`${pm.environment.get('host')}/v1/tasks/${response.json().data[0].id}/comments`, function (err, response) {\n        pm.globals.set(\"comment_id\", response.json().data[0].id);\n    })\n});\n\npm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   pm.globals.set(\"user_id\", response.json().data[0].id);\n});"]}}],"id":"ea290f85-a8f2-4625-96e6-0b184130435d","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","comments",":comment_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"78afb82e-9722-45c6-a5db-9e39cb8f4085","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"d25a724d-a4ae-4588-9f7b-562edf75cab0","type":"any","value":"{{comment_id}}","key":"comment_id"}]}},"response":[{"id":"b9661e36-483f-44a0-9d21-726060051da9","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"ea290f85-a8f2-4625-96e6-0b184130435d"},{"name":"Delete Task","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n   pm.globals.set(\"task_id\", response.json().data[0].id);\n});"]}}],"id":"4940d8ea-1f00-404f-adee-5c745260e210","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"c5826e99-7904-4f55-8435-e3345b244cbd","type":"any","value":"{{task_id}}","key":"task_id"}]}},"response":[{"id":"bd8f8cfe-e207-48b6-9404-862477afe1a8","name":"DELETE Delete Task","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"url":{"raw":"{{host}}/v1/tasks/13?fields=all","host":["{{host}}"],"path":["v1","tasks","13"],"query":[{"key":"fields","value":"all"}],"variable":[{"key":"task_id","value":"{{task_id}}"}]}},"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":"4940d8ea-1f00-404f-adee-5c745260e210"},{"name":"Delete Subtask","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n    pm.globals.set(\"task_id\", response.json().data[0].id);\n    pm.sendRequest(`${pm.environment.get('host')}/v1/tasks/${response.json().data[0].id}/subtasks`, function (err, response) {\n        pm.globals.set(\"subtask_id\", response.json().data[0].id);\n    })\n});"]}}],"id":"aca309ef-5f62-47a2-9e14-728c8b4678c8","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","subtasks",":subtask_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"99c870fb-5e60-4e61-81ca-6c5c036b9109","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"4549bf28-2aba-4aab-88e4-35017961b61d","type":"any","value":"{{subtask_id}}","key":"subtask_id"}]}},"response":[{"id":"7d7990fb-bb4d-4f2a-8d4b-b5e6c39db445","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"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":"aca309ef-5f62-47a2-9e14-728c8b4678c8"},{"name":"Delete Comment","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/tasks`, function (err, response) {\n    pm.globals.set(\"task_id\", response.json().data[0].id);\n    pm.sendRequest(`${pm.environment.get('host')}/v1/tasks/${response.json().data[0].id}/comments`, function (err, response) {\n        pm.globals.set(\"comment_id\", response.json().data[0].id);\n    })\n});"]}}],"id":"7a6b39dc-1410-4874-a551-1f66d1fef07e","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","tasks",":task_id","comments",":comment_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"4c337c58-ab23-45c3-a399-d4a9a3180b83","type":"any","value":"{{task_id}}","key":"task_id"},{"id":"498559f6-216b-427e-83d0-582ac2354d84","type":"any","value":"{{comment_id}}","key":"comment_id"}]}},"response":[{"id":"41deea44-c831-46e2-a84a-f5c043b926a8","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"7a6b39dc-1410-4874-a551-1f66d1fef07e"}],"id":"df03520a-f95e-41dc-af12-9d45677ecebb","_postman_id":"df03520a-f95e-41dc-af12-9d45677ecebb","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Task Statuses","item":[{"name":"Task Status","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/task_statuses`, function (err, response) {\n   pm.globals.set(\"task_status_id\", response.json().data[0].id);\n});"]}}],"id":"076b9dcd-425c-4027-bd40-541fa036bbd3","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","task_statuses",":task_status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"b5993b5b-da4b-4eb5-8ed2-263c56e3acc0","type":"any","value":"{{task_status_id}}","key":"task_status_id"}]}},"response":[{"id":"34b5f849-20ef-46b0-89ad-d41097158034","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"076b9dcd-425c-4027-bd40-541fa036bbd3"},{"name":"Task Statuses","id":"954dcaae-3b59-47d2-88b5-5e13f47a4df2","request":{"method":"GET","header":[],"url":"{{host}}/v1/task_statuses","description":"<p>Gets all the task statuses in Lawmatics.</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","task_statuses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"53f68a9b-4047-43c8-8e9b-3b1e190d900a","name":"GET Task Statuses","originalRequest":{"method":"GET","header":[],"url":"localhost:3001/v1/task_statuses"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"954dcaae-3b59-47d2-88b5-5e13f47a4df2"},{"name":"Create Task Status","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_task_status_id\", jsonData.data.id);\n}\n"]}}],"id":"697de89f-0532-48f4-aafd-13921cc072e0","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>Create a new <strong>Task Status</strong></p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"In Progress\"</code></td>\n<td>No validation on this model — technically optional, though a blank name isn't useful</td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"#8fc1d8\"</code></td>\n<td>No format validation at the API level, but the app's own color picker only offers a fixed palette: <code>#000000</code>, <code>#757F8F</code>, <code>#7997C9</code>, <code>#6519FA</code>, <code>#1D196E</code>, <code>#70B08B</code>, <code>#A8CA45</code>, <code>#EDBE30</code>, <code>#A7783B</code>, <code>#DE5E1C</code>, <code>#80231C</code>, <code>#F70303</code>, <code>#9E4487</code>, <code>#DC438F</code>, <code>#5EB575</code>, <code>#27AE60</code>, <code>#E74C3C</code>, <code>#8E44AD</code>, <code>#16A085</code>, <code>#1F344C</code>. Use one of these to match what the UI can produce</td>\n</tr>\n<tr>\n<td><code>created_at</code> / <code>updated_at</code></td>\n<td>datetime</td>\n<td>No</td>\n<td><code>\"2024-01-01T00:00:00.000-08:00\"</code></td>\n<td>ISO 8601</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> Position in the Task Status list can't be set directly — new statuses are automatically appended to the end of the firm's list.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","task_statuses"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"6aedf0b4-a7d9-4960-b213-efc018c61aef","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"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"697de89f-0532-48f4-aafd-13921cc072e0"},{"name":"Update Task Status","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/task_statuses`, function (err, response) {\n   pm.globals.set(\"task_status_id\", response.json().data[0].id);\n});"]}}],"id":"1062eae9-c7de-4e61-9bcc-58d47aa18c25","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","task_statuses",":task_status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"9f158bce-0c5c-40f6-8028-cf70e4afb6b2","type":"any","value":"{{task_status_id}}","key":"task_status_id"}]}},"response":[{"id":"997a4b66-601a-4e89-95a0-a5fddb9f322a","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"1062eae9-c7de-4e61-9bcc-58d47aa18c25"},{"name":"Delete Task Status","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/task_statuses`, function (err, response) {\n   pm.globals.set(\"task_status_id\", response.json().data[0].id);\n});"]}}],"id":"847d3410-8fc9-4dd1-9acc-ee5049bf95e5","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","task_statuses",":task_status_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"0bae1e70-a3b2-4ad4-9f94-bf48b74488df","type":"any","value":"{{task_status_id}}","key":"task_status_id"}]}},"response":[{"id":"8e26623d-2720-43d1-9146-353210e8daac","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"847d3410-8fc9-4dd1-9acc-ee5049bf95e5"}],"id":"4ec5e18b-0474-404b-98e1-1debb1ef0af2","_postman_id":"4ec5e18b-0474-404b-98e1-1debb1ef0af2","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Timeline Activities","item":[{"name":"Activity","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/activities`, function (err, response) {\n   pm.globals.set(\"activity_id\", response.json().data[0].id);\n});"]}}],"id":"f5603eb3-af58-42a2-b811-c88a62451cd5","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","activities",":activity_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"fa6caee9-28c6-49ce-a470-6f1b280801ad","type":"any","value":"{{activity_id}}","key":"activity_id"}]}},"response":[{"id":"7af0e2e4-d0e6-45f5-9af9-271ca619a006","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":"f5603eb3-af58-42a2-b811-c88a62451cd5"},{"name":"Activities","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/prospects`, function (err, response) {\n   pm.globals.set(\"prospect_id\", response.json().data[0].id);\n});"]}}],"id":"1d29ed74-d60b-45a0-a5d8-dce5fdda495b","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><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>key</code></td>\n<td>string</td>\n<td>Aliased as <code>event</code> — <code>filter_by=event</code> also works</td>\n</tr>\n<tr>\n<td><code>tracked_type</code></td>\n<td>string</td>\n<td>Aliased as <code>type</code>; value is auto-capitalized (e.g. <code>filter_on=prospect</code> → <code>Prospect</code>)</td>\n</tr>\n<tr>\n<td><code>parent_id</code></td>\n<td>integer</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> The default filter operator here is always exact match (<code>=</code>), even for <code>key</code> — pass <code>filter_with=ilike</code> explicitly for partial matches.</p>\n</blockquote>\n<p><strong>Valid Shortcuts:</strong> <code>matter_id</code>, <code>contact_id</code></p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.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":"d8ff7b0a-f03c-40db-958e-8d367a67a723","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":"37f1951f-4c59-484e-8e2c-080279648aaa","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":"f0f4b2d9-1695-446d-845a-2c603fc62fd6","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":"7d482115-81b0-43ad-98da-60473661c25d","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":"40572072-fb27-4f95-91ac-8e6a0d3ec25b","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":"ab466c5d-5c4a-4950-9974-5641253d83a4","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":"1d29ed74-d60b-45a0-a5d8-dce5fdda495b"}],"id":"2fdfc633-0493-401c-a5c1-fe97c035bd12","_postman_id":"2fdfc633-0493-401c-a5c1-fe97c035bd12","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Users","item":[{"name":"User","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   pm.globals.set(\"user_id\", response.json().data[0].id);\n});"]}}],"id":"4690b673-83cc-48e6-b921-284a2aa71353","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","users",":user_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"08baa87d-1b80-4c42-aa88-455c91689fb4","type":"any","value":"{{user_id}}","key":"user_id"}]}},"response":[{"id":"88fbd3b0-08ee-4ac8-95cb-ca87ee0f657e","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"}],"variable":[{"key":"user_id","value":"{{user_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:00:33 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"10ad7636fc8bbe5b872ae42128743faf\"","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=/","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.013752","description":"Custom header"}],"cookie":[],"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":"4690b673-83cc-48e6-b921-284a2aa71353"},{"name":"Users","id":"032565d4-72cb-490c-8e67-267415432b8b","request":{"method":"GET","header":[],"url":"{{host}}/v1/users","description":"<p>Return a <strong>paginated</strong> list of all users in the firm</p>\n<p><strong>Filter Options</strong> (<a href=\"https://docs.lawmatics.com/#7f995af9-0042-49dd-a34f-2b1a1b6e2e7c\">See our Filtering params</a>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>phone_number</code></td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td><code>confirmed_at</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>last_sign_in_at</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>deactivated_at</code></td>\n<td>datetime</td>\n<td>ISO 8601</td>\n</tr>\n<tr>\n<td><code>sign_in_count</code></td>\n<td>integer</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> <code>role</code> is not a filterable field (returns a 422) — it lives on a join table, not directly on <code>users</code>.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","users"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"1a46869e-df36-40ad-aefe-05cc230324d4","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","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","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:01:24 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"668c76b5d8dd32ba58a74931dba1c3c2\"","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=/","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.017804","description":"Custom header"}],"cookie":[],"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":"032565d4-72cb-490c-8e67-267415432b8b"},{"name":"Me","id":"36610a43-49d9-4a19-8c56-961fe54a02b2","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","users","me"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"20b54474-971b-41cf-bcb9-e669c6816b52","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","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","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:03:33 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"1c2b12f9d9177e83f1c639ce0522ae3b\"","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=/","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.010836","description":"Custom header"}],"cookie":[],"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":"36610a43-49d9-4a19-8c56-961fe54a02b2"},{"name":"Create User","event":[{"listen":"test","script":{"type":"text/javascript","exec":["var jsonData = pm.response.json();\nif (jsonData.data) {\n  pm.globals.set(\"created_user_id\", jsonData.data.id);\n}"]}}],"id":"954f81d4-c000-4365-bbc7-7ba6f6192305","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 an existing user to your firm if the email already belongs to one.</p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"newuser@lawfirm.com\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Jane\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Doe\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>phone_number</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"123-456-7890\"</code></td>\n<td></td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"...\"</code></td>\n<td>6–128 characters. Sets the new user's initial password directly, rather than the invitee choosing it themselves via the invitation email flow</td>\n</tr>\n<tr>\n<td><code>role</code></td>\n<td>string</td>\n<td>Yes</td>\n<td><code>\"Attorney\"</code></td>\n<td>Matched by exact name against your firm's existing Roles (e.g. <code>Admin</code>, <code>Attorney</code>, <code>Non-Active</code>). A firm admin-scoped API token can create users with the <code>Admin</code> role</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Note:</strong> If the <code>email</code> you submit already belongs to an existing user (at your firm or elsewhere), this endpoint attaches that existing user to your firm instead of creating a new one, and may send them an invitation email — same behavior as inviting an existing user from the app.</p>\n</blockquote>\n<blockquote>\n<p><strong>Note:</strong> If your firm is on seat-based billing with no available seats, this returns a 402, not a 422 or 201.</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","users"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"79e2593c-dbdd-40d5-af9d-3658887fabba","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/"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"954f81d4-c000-4365-bbc7-7ba6f6192305"},{"name":"Update User","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   pm.globals.set(\"user_id\", response.json().data[0].id);\n});"]}}],"id":"28834a71-5c2f-484f-85af-5dd209ab92df","request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Bruce\",\n    \"last_name\": \"Banner\",\n    \"email\": \"thebat.b49a1bb0-9043-4410-a095-669fae700fc4@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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","users",":user_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"f87d34f4-d8d3-4d50-b689-913ff1962c9d","type":"any","value":"{{user_id}}","key":"user_id"}]}},"response":[{"id":"f843606c-cb5f-4f31-9742-b08047f63885","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"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"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":"28834a71-5c2f-484f-85af-5dd209ab92df"},{"name":"Delete User","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.sendRequest(`${pm.environment.get('host')}/v1/users`, function (err, response) {\n   pm.globals.set(\"user_id\", response.json().data[0].id);\n});"]}}],"id":"e6442f4d-0105-4ade-8fea-455a7cc7e4a9","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":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}},"urlObject":{"path":["v1","users",":user_id"],"host":["{{host}}"],"query":[],"variable":[{"id":"f66625c9-ceec-42cf-b5c7-bb99e3ae0361","type":"any","value":"{{created_user_id}}","key":"user_id"}]}},"response":[{"id":"a444d39f-5cbf-486a-a941-0cc9c3442d9c","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"}],"variable":[{"key":"user_id","value":"{{created_user_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json; charset=utf-8","description":"The mime type of this content"},{"key":"Date","value":"Wed, 17 Oct 2018 01:00:33 GMT","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"10ad7636fc8bbe5b872ae42128743faf\"","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=/","description":"an HTTP cookie"},{"key":"Transfer-Encoding","value":"chunked","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","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","description":"Custom header"},{"key":"X-Runtime","value":"0.013752","description":"Custom header"}],"cookie":[],"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":"e6442f4d-0105-4ade-8fea-455a7cc7e4a9"}],"id":"8511be01-d5c0-40c5-9c89-0eea97c025c4","_postman_id":"8511be01-d5c0-40c5-9c89-0eea97c025c4","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Overview & Setup","item":[],"id":"2f140bf9-427f-4160-b448-6cf7cb1226bd","description":"<h2 id=\"overview\">Overview</h2>\n<p>Webhooks are outbound - Lawmatics pushes events to your server. There is no REST endpoint to call; you expose your own HTTPS URL and Lawmatics delivers events to it.</p>\n<h2 id=\"setup\">Setup</h2>\n<p>A firm administrator registers the endpoint in the Lawmatics dashboard under <strong>Settings &gt; Webhooks</strong>, where they provide your HTTPS endpoint URL.</p>\n<p>The subscription is automatically subscribed to the <code>matter.converted</code> event. More event types are coming; today <code>matter.converted</code> is the only event delivered.</p>\n<p>Upon creation, a signing secret (<code>whsec_...</code>) is shown once with a copy button. The administrator must share it with you securely. If it is lost, a new one can be regenerated from the webhook's action menu. Store it in your environment:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>LAWMATICS_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n\n</code></pre><p><strong>Requirements:</strong></p>\n<ul>\n<li><p>Endpoint URL must use HTTPS</p>\n</li>\n<li><p>Limit of two webhooks per endpoint per firm (v1)</p>\n</li>\n</ul>\n<p>Full setup walkthrough and code examples: <a href=\"https://help.lawmatics.com/en/articles/15438485-outbound-webhooks\">Lawmatics Outbound Webhooks - Developer Guide</a></p>\n","_postman_id":"2f140bf9-427f-4160-b448-6cf7cb1226bd","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}},{"name":"Signature Verification","item":[],"id":"db3d678a-e0d1-4d15-95c4-fb01abfbc47d","description":"<h2 id=\"verifying-webhook-signatures\">Verifying Webhook Signatures</h2>\n<p>Every request from Lawmatics includes these headers:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>X-Lawmatics-Signature</code></td>\n<td><code>sha256=</code> + HMAC-SHA256 hex digest</td>\n</tr>\n<tr>\n<td><code>X-Lawmatics-Timestamp</code></td>\n<td>Unix timestamp (seconds)</td>\n</tr>\n<tr>\n<td><code>X-Lawmatics-Event-Id</code></td>\n<td>Unique event ID (<code>evt_</code>) for idempotency</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>How to verify:</strong></p>\n<ol>\n<li><p>Join the <code>X-Lawmatics-Timestamp</code> value and the raw request body with a period: <code>{timestamp}.{raw_body}</code> (e.g. <code>1791250110.{\"id\":\"evt_...\"}</code>)</p>\n</li>\n<li><p>Compute <code>HMAC-SHA256</code> of that string using your subscription secret</p>\n</li>\n<li><p>Prefix the hex digest with <code>sha256=</code></p>\n</li>\n<li><p>Compare to the <code>X-Lawmatics-Signature</code> header using a constant-time comparison</p>\n</li>\n</ol>\n<blockquote>\n<p>Always use a constant-time comparison to prevent timing attacks.<br />Reject requests with a timestamp older than 5 minutes to prevent replay attacks. </p>\n</blockquote>\n<p>Code examples in Node.js, Ruby, and Python: <a href=\"https://help.lawmatics.com/en/articles/15438485-outbound-webhooks\">Lawmatics Outbound Webhooks - Developer Guide</a></p>\n","_postman_id":"db3d678a-e0d1-4d15-95c4-fb01abfbc47d","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}}],"id":"8c7e144f-d29f-4892-9094-1d782c52a33f","description":"<p>Lawmatics webhooks let your server receive real-time notifications when events occur - no polling required.</p>\n<p>When a subscribed event fires (currently <code>matter.converted</code>), Lawmatics sends a signed HTTP POST to the firm's registered HTTPS endpoint.</p>\n<p><strong>Note:</strong> Webhooks are not part of the REST API. Subscriptions are created and managed by a firm administrator in the Lawmatics dashboard (<strong>Settings &gt; Webhooks</strong>); the sections in this folder are reference documentation only and make no HTTP call.</p>\n<p><strong>Key facts:</strong></p>\n<ul>\n<li><p>Limit of two webhooks per endpoint per firm (v1)</p>\n</li>\n<li><p>Requests are signed with HMAC-SHA256</p>\n</li>\n<li><p>Delivery is retried up to 7 total attempts on failure (1 initial + 6 retries)</p>\n</li>\n</ul>\n<p>Full developer guide: <a href=\"https://help.lawmatics.com/en/articles/15438485-outbound-webhooks\">Lawmatics Outbound Webhooks - Developer Guide</a></p>\n","_postman_id":"8c7e144f-d29f-4892-9094-1d782c52a33f","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]},"isInherited":true,"source":{"_postman_id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","id":"e2baf2ff-2068-4586-8a21-dacdeb82a8e5","name":"Lawmatics OAuth API v1.23.0","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"advancedConfig":[{"key":"clientId","value":"{{client_id}}"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"authUrl","value":"<auth-url>"},{"key":"tokenName","value":"<token-name>"},{"key":"tokenType","value":"<token-type>"},{"key":"clientSecret","value":"{{client_secret}}"},{"key":"redirect_uri","value":"<redirect_uri>"},{"key":"grant_type","value":"<grant_type>"},{"key":"useBrowser","value":"<use-browser>"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["pm.request.headers.add({ \n    key: \"Authorization\",\n    value: `Bearer ${pm.environment.get('access_token')}`\n});"]}},{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response should not have errors\", function () { \n    pm.response.to.not.be.error;\n    pm.response.to.not.have.jsonBody(\"error\");\n});\n\nif (!pm.request.url.toString().includes('download')) {\n    pm.test(\"Data should be present\", function () {\n        pm.expect(pm.response.json().data).to.not.be.empty;\n    });\n}\n\nif (pm.request.method === \"POST\") {\n    pm.test(\"Status code is 201\", function () {\n        pm.response.to.have.status(201);\n    })\n}\n\nif (['GET', 'PUT', 'PATCH', 'DELETE'].includes(pm.request.method)) {\n    pm.test(\"Status code is 200\", function () {\n        pm.response.to.have.status(200);\n    })\n}"]}}],"variable":[{"key":"host","value":"localhost:3001","type":"string","disabled":true},{"key":"client_id","value":"","type":"string","disabled":true},{"key":"client_secret","value":"","type":"string","disabled":true},{"key":"super_,matter_id","value":"super_matter_id","type":"string"},{"key":"super_matter_id","value":"5678","type":"string"}]}