### Example Account/Matter Reference JSON Source: https://app.practicepanther.com/content/apidocs/index An example JSON payload illustrating the structure of account and matter references within Practice Panther. ```JSON { "id": "66262fe3-281b-4875-820b-a35afb05e06d", "display_name": "Jane Doe" } ``` -------------------------------- ### Example User Object JSON Source: https://app.practicepanther.com/content/apidocs/index An example JSON payload for a User object, illustrating the expected format for user data. ```JSON { "id": "00000000-0000-0000-0000-000000000000", "is_active": "boolean", "display_name": "string", "first_name": "string", "last_name": "string", "middle_name": "string", "email": "string", "created_at": "string (date-time)", "updated_at": "string (date-time)" } ``` -------------------------------- ### Practice Panther API - Event Response Example Source: https://app.practicepanther.com/content/apidocs/index Example JSON response for an event retrieved from the Practice Panther API. ```json { "id": "35540b4d-7b19-4161-86ae-c68aadee2f39", "account_ref": { "id": "35540b4d-7b19-4161-86ae-c68aadee2f39", "display_name": "Jane Doe" }, "matter_ref": { "id": "35540b4d-7b19-4161-86ae-c68aadee2f39", "display_name": "My Matter" }, "subject": "Event Subject...", "location": "Event Location", "notes": "These are my notes...", "is_all_day": false, "start_date_time": "2018-03-12T00:00:00+00:00", "end_date_time": "2018-03-12T00:00:00+00:00", "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" } ``` -------------------------------- ### Task Request and Response Example Source: https://app.practicepanther.com/content/apidocs/index This snippet shows an example JSON request and response for a Task object. It details fields like ID, account references, matter references, subject, notes, status, due date, assigned users and contacts, tags, and timestamps. ```JSON { "id": "66262fe3-281b-4875-820b-a35afb05e06d", "account_ref": { "id": "66262fe3-281b-4875-820b-a35afb05e06d", "display_name": "Jane Doe" }, "matter_ref": { "id": "66262fe3-281b-4875-820b-a35afb05e06d", "display_name": "My Matter" }, "subject": "subject1", "notes": "notes1", "status": "NotCompleted", "due_date": "2018-03-12T00:00:00+00:00", "assigned_to_users": [ { "id": "66262fe3-281b-4875-820b-a35afb05e06d", "display_name": "Jon Doe", "email_address": "email_address1" } ], "assigned_to_contacts": [ { "account_ref": { "id": "66262fe3-281b-4875-820b-a35afb05e06d", "display_name": "Jane Doe" }, "id": "66262fe3-281b-4875-820b-a35afb05e06d", "display_name": "John Doe" } ], "tags": [ "My Tag 1", "My Tag 2" ], "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" } ``` -------------------------------- ### Practice Panther API - ExpenseCategory Response Example Source: https://app.practicepanther.com/content/apidocs/index Example JSON response for an ExpenseCategory retrieved or created via the Practice Panther API. ```json { "id": "88d3fe00-ef8f-41a8-b7ff-748ee44a8db2", "name": "My Expense", "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" } ``` -------------------------------- ### Practice Panther API - Invoice Response Example Source: https://app.practicepanther.com/content/apidocs/index Example JSON response for a successful (200 OK) invoice retrieval from the Practice Panther API. This structure details various components of an invoice, including account and matter references, dates, time entries, expenses, flat fees, subtotals, taxes, discounts, and payment status. ```APIDOC Response Example (200 OK): { "account_ref": { "id": "string", "display_name": "string" }, "matter_ref": { "id": "string", "display_name": "string" }, "id": "string", "issue_date": "string (date-time)", "due_date": "string (date-time)", "items_time_entries": [ { "quantity": "number (double)", "rate": "number (double)", "discount": "number (double)", "subtotal": "number (double)", "tax1_name": "string", "tax1_rate": "string", "tax1_amount": "number (double)", "tax2_name": "string", "tax2_rate": "string", "tax2_amount": "number (double)", "total": "number (double)", "date": "string (date-time)", "billed_by": "string", "item_name": "string", "item_description": "string" } ], "items_expenses": [ { "quantity": "number (double)", "rate": "number (double)", "discount": "number (double)", "subtotal": "number (double)", "tax1_name": "string", "tax1_rate": "string", "tax1_amount": "number (double)", "tax2_name": "string", "tax2_rate": "string", "tax2_amount": "number (double)", "total": "number (double)", "date": "string (date-time)", "billed_by": "string", "item_name": "string", "item_description": "string" } ], "items_flat_fees": [ { "quantity": "number (double)", "rate": "number (double)", "discount": "number (double)", "subtotal": "number (double)", "tax1_name": "string", "tax1_rate": "string", "tax1_amount": "number (double)", "tax2_name": "string", "tax2_rate": "string", "tax2_amount": "number (double)", "total": "number (double)", "date": "string (date-time)", "billed_by": "string", "item_name": "string", "item_description": "string" } ], "subtotal": "number (double)", "tax": "number (double)", "discount": "number (double)", "total": "number (double)", "total_paid": "number (double)", "total_outstanding": "number (double)", "invoice_type": "string", "created_at": "string (date-time)", "updated_at": "string (date-time)" } ``` -------------------------------- ### Practice Panther API - ExpenseCategory Request Example Source: https://app.practicepanther.com/content/apidocs/index Example JSON request body for creating or updating an ExpenseCategory in the Practice Panther API. ```json { "id": "88d3fe00-ef8f-41a8-b7ff-748ee44a8db2", "name": "My Expense", "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" } ``` -------------------------------- ### Example ItemReference Object JSON Source: https://app.practicepanther.com/content/apidocs/index An example JSON payload for an ItemReference object, showing its basic structure with an ID and name. ```JSON { "id": "00000000-0000-0000-0000-000000000000", "name": "string" } ``` -------------------------------- ### Example Time Entry JSON Source: https://app.practicepanther.com/content/apidocs/index An example JSON payload representing a TimeEntry object, demonstrating the structure and typical values for its fields. ```JSON { "id": "b171701d-9e5c-47bd-8182-84e208ea24bd", "is_billable": false, "is_billed": false, "date": "2018-03-12T00:00:00+00:00", "hours": 1, "rate": 1, "description": "description1", "private_notes": "private_notes1", "account_ref": { "id": "b171701d-9e5c-47bd-8182-84e208ea24bd", "display_name": "Jane Doe" }, "matter_ref": { "id": "b171701d-9e5c-47bd-8182-84e208ea24bd", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "b171701d-9e5c-47bd-8182-84e208ea24bd", "display_name": "Jon Doe", "email_address": "email_address1" }, "item_ref": { "id": "b171701d-9e5c-47bd-8182-84e208ea24bd", "name": "name1" }, "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" } ``` -------------------------------- ### Account Response Example (200 OK) Source: https://app.practicepanther.com/content/apidocs/index This snippet shows a successful response (200 OK) for an account-related API call, detailing the structure of account information, including custom fields and contact details. ```json { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe", "number": 123, "company_name": "My Company Name", "address_street_1": "10800", "address_street_2": "Biscayne Blvd", "address_city": "Miami", "address_state": "Florida", "address_country": "United States", "address_zip_code": "33161", "company_custom_field_values": [ { "custom_field_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "label": "My Label", "value_type": "TextBox" }, "value_boolean": false, "contact_ref": { "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe" }, "value_date_time": "2018-03-12T00:00:00+00:00", "value_number": 123, "value_string": "Custom Field Value" } ], "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00", "notes": "These are my notes...", "primary_contact": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "is_primary_contact": false, "display_name": "Jake Doe", "first_name": "Jake", "middle_name": "Joe", "last_name": "Doe", "phone_mobile": "202-555-0197", "phone_home": "202-555-0171", "phone_fax": "202-555-0161", "phone_work": "202-555-0101", "email": "myemail@john-doe.cf", "notes": "These are my notes...", "custom_field_values": [ { "custom_field_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "label": "My Label", "value_type": "TextBox" }, "value_boolean": false, "contact_ref": { "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe" }, "value_date_time": "2018-03-12T00:00:00+00:00", "value_number": 123, "value_string": "Custom Field Value" } ] }, "other_contacts": [ { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "is_primary_contact": false, "display_name": "Jake Doe", "first_name": "Jake", "middle_name": "Joe", "last_name": "Doe", "phone_mobile": "202-555-0197", "phone_home": "202-555-0171", "phone_fax": "202-555-0161", "phone_work": "202-555-0101", "email": "myemail@john-doe.cf", "notes": "These are my notes...", "custom_field_values": [ { "custom_field_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "label": "My Label", "value_type": "TextBox" }, "value_boolean": false, "contact_ref": { "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe" }, "value_date_time": "2018-03-12T00:00:00+00:00", "value_number": 123, "value_string": "Custom Field Value" } ] } ] } ``` -------------------------------- ### Get Users API Source: https://app.practicepanther.com/content/apidocs/index Retrieves a list of users. Supports filtering by creation date, update date, and email address. Returns a list of User objects. ```APIDOC GET /api/v2/users Parameters: created_since (string, date-time, query): Filter users created after this date. updated_since (string, date-time, query): Filter users updated after this date. email_address (string, query): Filter users by email address. Responses: 200 OK: Content-Types: application/json, text/json Response Body: { "id": "string (uuid)", "is_active": "boolean", "display_name": "string", "first_name": "string", "last_name": "string", "middle_name": "string", "email": "string", "created_at": "string (date-time)", "updated_at": "string (date-time)" } Security: oauth2: full Tags: Users ``` -------------------------------- ### Contact Response Example Source: https://app.practicepanther.com/content/apidocs/index This snippet shows a successful (200 OK) response for a contact-related API call, detailing the structure of contact information including custom fields and associated accounts. ```APIDOC ##### Response Example (200 OK) ```json { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe", "number": 123, "company_name": "My Company Name", "address_street_1": "10800", "address_street_2": "Biscayne Blvd", "address_city": "Miami", "address_state": "Florida", "address_country": "United States", "address_zip_code": "33161", "company_custom_field_values": [ { "custom_field_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "label": "My Label", "value_type": "TextBox" }, "value_boolean": false, "contact_ref": { "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe" }, "value_date_time": "2018-03-12T00:00:00+00:00", "value_number": 123, "value_string": "Custom Field Value" } ], "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00", "notes": "These are my notes...", "primary_contact": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "is_primary_contact": false, "display_name": "Jake Doe", "first_name": "Jake", "middle_name": "Joe", "last_name": "Doe", "phone_mobile": "202-555-0197", "phone_home": "202-555-0171", "phone_fax": "202-555-0161", "phone_work": "202-555-0101", "email": "myemail@john-doe.cf", "notes": "These are my notes...", "custom_field_values": [ { "custom_field_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "label": "My Label", "value_type": "TextBox" }, "value_boolean": false, "contact_ref": { "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe" }, "value_date_time": "2018-03-12T00:00:00+00:00", "value_number": 123, "value_string": "Custom Field Value" } ] }, "other_contacts": [ { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "is_primary_contact": false, "display_name": "Jake Doe", "first_name": "Jake", "middle_name": "Joe", "last_name": "Doe", "phone_mobile": "202-555-0197", "phone_home": "202-555-0171", "phone_fax": "202-555-0161", "phone_work": "202-555-0101", "email": "myemail@john-doe.cf", "notes": "These are my notes...", "custom_field_values": [ { "custom_field_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "label": "My Label", "value_type": "TextBox" }, "value_boolean": false, "contact_ref": { "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe" }, "value_date_time": "2018-03-12T00:00:00+00:00", "value_number": 123, "value_string": "Custom Field Value" } ] } ] } ``` ``` -------------------------------- ### Example Contact Data Structure Source: https://app.practicepanther.com/content/apidocs/index An example JSON object representing a contact, including personal details, company information, and custom field values. This demonstrates the typical structure of contact data within the Practice Panther API. ```json { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe", "number": 123, "company_name": "My Company Name", "address_street_1": "10800", "address_street_2": "Biscayne Blvd", "address_city": "Miami", "address_state": "Florida", "address_country": "United States", "address_zip_code": "33161", "company_custom_field_values": [ { "custom_field_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "label": "My Label", "value_type": "TextBox" }, "value_boolean": false, "contact_ref": { "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe" }, "value_date_time": "2018-03-12T00:00:00+00:00", "value_number": 123, "value_string": "Custom Field Value" } ], "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00", "notes": "These are my notes...", "primary_contact": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "is_primary_contact": false, "display_name": "Jake Doe", "first_name": "Jake", "middle_name": "Joe", "last_name": "Doe", "phone_mobile": "202-555-0197", "phone_home": "202-555-0171", "phone_fax": "202-555-0161", "phone_work": "202-555-0101", "email": "myemail@john-doe.cf", "notes": "These are my notes...", "custom_field_values": [ { "custom_field_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "label": "My Label", "value_type": "TextBox" }, "value_boolean": false, "contact_ref": { "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe" }, "value_date_time": "2018-03-12T00:00:00+00:00", "value_number": 123, "value_string": "Custom Field Value" } ] }, "other_contacts": [ { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "is_primary_contact": false, "display_name": "Jake Doe", "first_name": "Jake", "middle_name": "Joe", "last_name": "Doe", "phone_mobile": "202-555-0197", "phone_home": "202-555-0171", "phone_fax": "202-555-0161", "phone_work": "202-555-0101", "email": "myemail@john-doe.cf", "notes": "These are my notes...", "custom_field_values": [ { "custom_field_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "label": "My Label", "value_type": "TextBox" }, "value_boolean": false, "contact_ref": { "account_ref": { "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "Jane Doe" }, "id": "f9e1fae4-e49e-4be2-b5f8-2e63c02e0ce4", "display_name": "John Doe" }, "value_date_time": "2018-03-12T00:00:00+00:00", "value_number": 123, "value_string": "Custom Field Value" } ] } ] } ``` -------------------------------- ### Practice Panther Expenses API Source: https://app.practicepanther.com/content/apidocs/index Documentation for the Practice Panther Expenses API, including endpoints for POST (create), DELETE (delete) expenses, and their request/response examples and schemas. ```APIDOC POST /api/v2/Expenses Description: Creates a new expense. Request Content-Types: application/json, text/json, application/x-www-form-urlencoded Request Example: { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "is_billable": false, "is_billed": false, "date": "2018-03-12T00:00:00+00:00", "amount": 123, "description": "This is my expense", "private_notes": "These are my notes...", "account_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "display_name": "Jane Doe" }, "matter_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "display_name": "Jon Doe", "email_address": "email_address1" }, "expense_category_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "name": "My Expense", "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" }, "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" } Response Example (200 OK): { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "is_billable": false, "is_billed": false, "date": "2018-03-12T00:00:00+00:00", "amount": 123, "description": "This is my expense", "private_notes": "These are my notes...", "account_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "display_name": "Jane Doe" }, "matter_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "display_name": "Jon Doe", "email_address": "email_address1" }, "expense_category_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "name": "My Expense", "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" }, "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" } DELETE /api/v2/Expenses Parameters: id: string (uuid) - The ID of the expense to delete. Response Example (200 OK): { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "is_billable": false, "is_billed": false, "date": "2018-03-12T00:00:00+00:00", "amount": 123, "description": "This is my expense", "private_notes": "These are my notes...", "account_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "display_name": "Jane Doe" }, "matter_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "display_name": "Jon Doe", "email_address": "email_address1" }, "expense_category_ref": { "id": "1f916b76-86d4-4471-b8e5-cbdbc24bde72", "name": "My Expense", "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" }, "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" } Security: oauth2: full Definitions: Expense: id: string (uuid) is_billable: boolean is_billed: boolean date: string (date-time) amount: number description: string private_notes: string account_ref: object id: string (uuid) display_name: string matter_ref: object id: string (uuid) display_name: string billed_by_user_ref: object id: string (uuid) display_name: string email_address: string expense_category_ref: object id: string (uuid) name: string created_at: string (date-time) updated_at: string (date-time) created_at: string (date-time) updated_at: string (date-time) ``` -------------------------------- ### Email API Documentation Source: https://app.practicepanther.com/content/apidocs/index Details the structure and usage of the Email API endpoints, including request and response examples for creating and deleting emails. ```APIDOC APIDOC: Email Definition: id: string (uuid) subject: string cc: array of objects (address: string, display_name: string) to: array of objects (address: string, display_name: string) from: object (address: string, display_name: string) body: string account_ref: object (id: string (uuid), display_name: string) matter_ref: object (id: string (uuid), display_name: string) date: string (date-time) created_at: string (date-time) updated_at: string (date-time) POST /api/v2/emails: Description: Creates a new email. Request Body Example: { "id": "46cf8d07-11df-4341-b382-e9606dca276e", "subject": "Email subject", "cc": [ { "address": "myemail@john-doe.cf", "display_name": "John Doe" } ], "to": [ { "address": "myemail@john-doe.cf", "display_name": "John Doe" } ], "from": { "address": "myemail@john-doe.cf", "display_name": "John Doe" }, "body": "Email Body", "account_ref": { "id": "46cf8d07-11df-4341-b382-e9606dca276e", "display_name": "Jane Doe" }, "matter_ref": { "id": "46cf8d07-11df-4341-b382-e9606dca276e", "display_name": "My Matter" }, "date": "2018-03-12T00:00:00+00:00" } Responses: 200 OK: Content-Type: application/json, text/json Response Body Example: { "id": "46cf8d07-11df-4341-b382-e9606dca276e", "subject": "Email subject", "cc": [ { "address": "myemail@john-doe.cf", "display_name": "John Doe" } ], "to": [ { "address": "myemail@john-doe.cf", "display_name": "John Doe" } ], "from": { "address": "myemail@john-doe.cf", "display_name": "John Doe" }, "body": "Email Body", "account_ref": { "id": "46cf8d07-11df-4341-b382-e9606dca276e", "display_name": "Jane Doe" }, "matter_ref": { "id": "46cf8d07-11df-4341-b382-e9606dca276e", "display_name": "My Matter" }, "date": "2018-03-12T00:00:00+00:00", "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" } DELETE /api/v2/emails: Description: Deletes an email by ID. Parameters: id: string (uuid) - The ID of the email to delete (in query). Responses: 200 OK: Content-Type: application/json, text/json Response Body Example: { "id": "46cf8d07-11df-4341-b382-e9606dca276e", "subject": "Email subject", "cc": [ { "address": "myemail@john-doe.cf", "display_name": "John Doe" } ], "to": [ { "address": "myemail@john-doe.cf", "display_name": "John Doe" } ], "from": { "address": "myemail@john-doe.cf", "display_name": "John Doe" }, "body": "Email Body", "account_ref": { "id": "46cf8d07-11df-4341-b382-e9606dca276e", "display_name": "Jane Doe" }, "matter_ref": { "id": "46cf8d07-11df-4341-b382-e9606dca276e", "display_name": "My Matter" }, "date": "2018-03-12T00:00:00+00:00", "created_at": "2018-03-12T00:00:00+00:00", "updated_at": "2018-03-12T00:00:00+00:00" } ```