Docketwise

App · 23 actions

Manage immigration cases in Docketwise: create and update contacts and matters, keep notes, read USCIS receipts, invoices and documents.

Actions

ActionWhat it does
Add noteAdd a note to a matter or a contact.
Create contactAdd a contact: a person or an institution, with an address and a phone number if given.
Create matterOpen a matter (a case) for a contact, with assigned users if given.
Delete contactDelete a contact.
Delete matterDelete a matter.
Delete noteDelete a note.
Get contactGet one contact with their address and notes.
Get documentGet one document's details.
Get document download linkGet a link that downloads a document's file.
Get invoiceGet one invoice with the matters it bills.
Get matterGet one matter with its client, assigned users, USCIS receipts and notes.
List contactsList the firm's contacts (clients, beneficiaries and companies), 200 a page.
List documentsList the firm's documents, or search them by title.
List invoice chargesList the charges (services, expenses and fees) on an invoice.
List invoicesList the firm's invoices and trust requests with their totals and balances.
List matter receiptsList the USCIS receipt numbers on a matter.
List matter statusesList the firm's matter statuses.
List matter typesList the firm's matter types, each with its statuses in order.
List mattersList the firm's matters (cases), 200 a page.
List usersList the firm's Docketwise users.
Update contactChange a contact's name, company, email, type or lead flag.
Update matterChange a matter's title, number, description, client or assigned users.
Update noteChange a note's title or text.

Add note

Add a note to a matter or a contact.

Inputs

NotecontenttextRequired
The note.
Titletitletext
A title for the note.
Mattermatter_idtext
The matter it is about. Give this or a contact.
Contactcontact_idtext
The contact it is about.

Outputs

noteobject
The new note
Example output
{
  "note": {
    "category": "All Notes",
    "client_id": 12,
    "content": "Ask for the missing passport photos.",
    "created_at": "2026-11-30T15:04:05.000Z",
    "created_by_id": 3,
    "date": "2026-11-30T15:04:05.000Z",
    "id": 51,
    "matter_id": 77,
    "starred": false,
    "title": "Request photos",
    "updated_at": "2026-11-30T15:04:05.000Z"
  }
}

Create contact

Add a contact: a person or an institution, with an address and a phone number if given. Give a name or a company name.

Inputs

First namefirst_nametext
First name.
Last namelast_nametext
Last name.
Middle namemiddle_nametext
Middle name.
Company namecompany_nametext
The company's name, for an institution.
Emailemailtext
Email address.
Typecontact_typetext
A person or an institution (a company).One of: Person, Institution (Institution (company)).
Leadleadtrue/false
On to mark the contact a lead (a prospective client).
Streetstreettext
Street number and name.
Apartmentapartmenttext
Apartment or suite number.
Citycitytext
City.
Statestatetext
State.
ZIP codezip_codetext
ZIP code.
Phonephonetext
A daytime phone number.

Outputs

contactobject
The new contact, as Docketwise returns it
Example output
{
  "contact": {
    "company_name": "",
    "created_at": "2026-11-30T15:04:05.000Z",
    "email": "maria@example.com",
    "first_name": "Maria",
    "id": 12,
    "last_name": "Lopez",
    "lead": false,
    "lead_phone": "",
    "middle_name": "",
    "notes": [
      {
        "category": "All Notes",
        "client_id": 12,
        "content": "Ask for the missing passport photos.",
        "created_at": "2026-11-30T15:04:05.000Z",
        "created_by_id": 3,
        "date": "2026-11-30T15:04:05.000Z",
        "id": 51,
        "matter_id": 77,
        "starred": false,
        "title": "Request photos",
        "updated_at": "2026-11-30T15:04:05.000Z"
      }
    ],
    "physical_address": {
      "city": "Austin",
      "street_number_and_name": "12 Main St"
    },
    "updated_at": "2026-11-30T15:04:05.000Z"
  }
}

Create matter

Open a matter (a case) for a contact, with assigned users if given.

Inputs

Clientcontact_idtextRequired
The contact the matter is for.
Titletitletext
The matter's title, such as Lopez I-130.
Numbernumbertext
Your own matter number.
Descriptiondescriptiontext
What the matter is about.
Assigned usersuser_idslist
The firm's users working on the matter.

Outputs

matterobject
The new matter, as Docketwise returns it
Example output
{
  "matter": {
    "archived": false,
    "attorney_id": 3,
    "client": {
      "first_name": "Maria",
      "id": 12,
      "last_name": "Lopez"
    },
    "client_id": 12,
    "created_at": "2026-11-30T15:04:05.000Z",
    "description": "Family petition",
    "id": 77,
    "notes": [
      {
        "category": "All Notes",
        "client_id": 12,
        "content": "Ask for the missing passport photos.",
        "created_at": "2026-11-30T15:04:05.000Z",
        "created_by_id": 3,
        "date": "2026-11-30T15:04:05.000Z",
        "id": 51,
        "matter_id": 77,
        "starred": false,
        "title": "Request photos",
        "updated_at": "2026-11-30T15:04:05.000Z"
      }
    ],
    "number": "2026-014",
    "priority_date": "2026-10-01",
    "priority_date_status": "current",
    "receipt_number": "IOE0912345678",
    "receipts": [],
    "status": "Filed",
    "title": "Lopez I-130",
    "type": "Family-Based",
    "updated_at": "2026-11-30T15:04:05.000Z",
    "user_ids": [
      3
    ]
  }
}

Delete contact

Delete a contact.

Inputs

Contactcontact_idtextRequired
The contact. Pick one, or give its ID.

Outputs

contact_idtext
The contact deleted
deletedtrue/false
True once it is gone
Example output
{
  "contact_id": "12",
  "deleted": true
}

Delete matter

Delete a matter.

Inputs

Mattermatter_idtextRequired
The matter. Pick one, or give its ID.

Outputs

deletedtrue/false
True once it is gone
matter_idtext
The matter deleted
Example output
{
  "deleted": true,
  "matter_id": "77"
}

Delete note

Delete a note.

Inputs

Note IDnote_idtextRequired
The note's ID, from 'Add note' or 'Get matter'.

Outputs

deletedtrue/false
True once it is gone
note_idtext
The note deleted
Example output
{
  "deleted": true,
  "note_id": "51"
}

Get contact

Get one contact with their address and notes.

Inputs

Contactcontact_idtextRequired
The contact. Pick one, or give its ID.

Outputs

contactobject
The contact
Example output
{
  "contact": {
    "company_name": "",
    "created_at": "2026-11-30T15:04:05.000Z",
    "email": "maria@example.com",
    "first_name": "Maria",
    "id": 12,
    "last_name": "Lopez",
    "lead": false,
    "lead_phone": "",
    "middle_name": "",
    "notes": [
      {
        "category": "All Notes",
        "client_id": 12,
        "content": "Ask for the missing passport photos.",
        "created_at": "2026-11-30T15:04:05.000Z",
        "created_by_id": 3,
        "date": "2026-11-30T15:04:05.000Z",
        "id": 51,
        "matter_id": 77,
        "starred": false,
        "title": "Request photos",
        "updated_at": "2026-11-30T15:04:05.000Z"
      }
    ],
    "physical_address": {
      "city": "Austin",
      "street_number_and_name": "12 Main St"
    },
    "updated_at": "2026-11-30T15:04:05.000Z"
  }
}

Get document

Get one document's details.

Inputs

Document IDdocument_idtextRequired
The document's ID, from 'List documents'.

Outputs

documentobject
The document
Example output
{
  "document": {
    "archived": false,
    "client_id": 12,
    "created_at": "2026-11-30T15:04:05.000Z",
    "doc_url": "https://app.docketwise.com/documents/88",
    "id": 88,
    "size": 369233,
    "title": "Lopez G-28",
    "updated_at": "2026-11-30T15:04:05.000Z",
    "uploaded_by_email": "",
    "user_id": 3
  }
}

Get a link that downloads a document's file. The link works for one hour.

Inputs

Document IDdocument_idtextRequired
The document's ID, from 'List documents'.

Outputs

document_idtext
The document
urltext
The download link, good for one hour
Example output
{
  "document_id": "88",
  "url": "https://files.example.com/lopez-g28.pdf?expires=3600"
}

Get invoice

Get one invoice with the matters it bills.

Inputs

Invoice IDinvoice_idtextRequired
The invoice's ID, from 'List invoices'.

Outputs

invoiceobject
The invoice
Example output
{
  "invoice": {
    "close_date": "",
    "contact_id": 12,
    "created_at": "2026-11-30T15:04:05.000Z",
    "description": "Filing fees",
    "due_date": "2026-12-04",
    "id": 31,
    "invoice_matters": [
      {
        "id": 1,
        "invoice_id": 31,
        "matter_id": 77
      }
    ],
    "invoice_number": "1031",
    "invoice_type": "bill",
    "issue_date": "2026-11-20",
    "status": "unpaid",
    "stored_balance": "1200.0",
    "stored_total": "1200.0",
    "updated_at": "2026-11-30T15:04:05.000Z",
    "user_id": 3
  }
}

Get matter

Get one matter with its client, assigned users, USCIS receipts and notes.

Inputs

Mattermatter_idtextRequired
The matter. Pick one, or give its ID.

Outputs

matterobject
The matter
Example output
{
  "matter": {
    "archived": false,
    "attorney_id": 3,
    "client": {
      "first_name": "Maria",
      "id": 12,
      "last_name": "Lopez"
    },
    "client_id": 12,
    "created_at": "2026-11-30T15:04:05.000Z",
    "description": "Family petition",
    "id": 77,
    "notes": [
      {
        "category": "All Notes",
        "client_id": 12,
        "content": "Ask for the missing passport photos.",
        "created_at": "2026-11-30T15:04:05.000Z",
        "created_by_id": 3,
        "date": "2026-11-30T15:04:05.000Z",
        "id": 51,
        "matter_id": 77,
        "starred": false,
        "title": "Request photos",
        "updated_at": "2026-11-30T15:04:05.000Z"
      }
    ],
    "number": "2026-014",
    "priority_date": "2026-10-01",
    "priority_date_status": "current",
    "receipt_number": "IOE0912345678",
    "receipts": [],
    "status": "Filed",
    "title": "Lopez I-130",
    "type": "Family-Based",
    "updated_at": "2026-11-30T15:04:05.000Z",
    "user_ids": [
      3
    ]
  }
}

List contacts

List the firm's contacts (clients, beneficiaries and companies), 200 a page.

Inputs

Typecontact_typetext
A person or an institution (a company).One of: Person, Institution (Institution (company)).
Pagepagenumber
Which page of 200, from 1. Defaults to the first.At least 1.

Outputs

contactslist
The contacts
countnumber
How many were returned on this page
paginationobject
Docketwise's paging details (totals and next page), when it sends them
Example output
{
  "contacts": [
    {
      "company_name": "",
      "created_at": "2026-11-30T15:04:05.000Z",
      "email": "maria@example.com",
      "first_name": "Maria",
      "id": 12,
      "last_name": "Lopez",
      "lead": false,
      "lead_phone": "",
      "middle_name": "",
      "notes": [
        {
          "category": "All Notes",
          "client_id": 12,
          "content": "Ask for the missing passport photos.",
          "created_at": "2026-11-30T15:04:05.000Z",
          "created_by_id": 3,
          "date": "2026-11-30T15:04:05.000Z",
          "id": 51,
          "matter_id": 77,
          "starred": false,
          "title": "Request photos",
          "updated_at": "2026-11-30T15:04:05.000Z"
        }
      ],
      "physical_address": {
        "city": "Austin",
        "street_number_and_name": "12 Main St"
      },
      "updated_at": "2026-11-30T15:04:05.000Z"
    }
  ],
  "count": 1,
  "pagination": {
    "total": 1,
    "total_pages": 1
  }
}

List documents

List the firm's documents, or search them by title.

Inputs

Title containssearchtext
Only documents whose title matches.
Pagepagenumber
Which page of 200, from 1. Defaults to the first.At least 1.

Outputs

countnumber
How many were returned on this page
documentslist
The documents
paginationobject
Docketwise's paging details (totals and next page), when it sends them
Example output
{
  "count": 1,
  "documents": [
    {
      "archived": false,
      "client_id": 12,
      "created_at": "2026-11-30T15:04:05.000Z",
      "doc_url": "https://app.docketwise.com/documents/88",
      "id": 88,
      "size": 369233,
      "title": "Lopez G-28",
      "updated_at": "2026-11-30T15:04:05.000Z",
      "uploaded_by_email": "",
      "user_id": 3
    }
  ],
  "pagination": {
    "total": 1,
    "total_pages": 1
  }
}

List invoice charges

List the charges (services, expenses and fees) on an invoice.

Inputs

Invoice IDinvoice_idtextRequired
The invoice's ID, from 'List invoices'.

Outputs

chargeslist
The charges
countnumber
How many were returned on this page
paginationobject
Docketwise's paging details (totals and next page), when it sends them
Example output
{
  "charges": [
    {
      "amount": "1200.0",
      "contact_id": 12,
      "created_at": "2026-11-30T15:04:05.000Z",
      "date": "2026-11-20",
      "description": "Attorney fee",
      "id": 4,
      "invoice_id": 31,
      "matter_id": 77,
      "status": "fee",
      "user_id": 3
    }
  ],
  "count": 1,
  "pagination": {
    "total": 1,
    "total_pages": 1
  }
}

List invoices

List the firm's invoices and trust requests with their totals and balances.

Inputs

Pagepagenumber
Which page of 200, from 1. Defaults to the first.At least 1.

Outputs

countnumber
How many were returned on this page
invoiceslist
The invoices
paginationobject
Docketwise's paging details (totals and next page), when it sends them
Example output
{
  "count": 1,
  "invoices": [
    {
      "close_date": "",
      "contact_id": 12,
      "created_at": "2026-11-30T15:04:05.000Z",
      "description": "Filing fees",
      "due_date": "2026-12-04",
      "id": 31,
      "invoice_matters": [
        {
          "id": 1,
          "invoice_id": 31,
          "matter_id": 77
        }
      ],
      "invoice_number": "1031",
      "invoice_type": "bill",
      "issue_date": "2026-11-20",
      "status": "unpaid",
      "stored_balance": "1200.0",
      "stored_total": "1200.0",
      "updated_at": "2026-11-30T15:04:05.000Z",
      "user_id": 3
    }
  ],
  "pagination": {
    "total": 1,
    "total_pages": 1
  }
}

List matter receipts

List the USCIS receipt numbers on a matter.

Inputs

Mattermatter_idtextRequired
The matter. Pick one, or give its ID.

Outputs

countnumber
How many were returned on this page
paginationobject
Docketwise's paging details (totals and next page), when it sends them
receiptslist
The receipts
Example output
{
  "count": 1,
  "pagination": {
    "total": 1,
    "total_pages": 1
  },
  "receipts": [
    {
      "contact_id": 12,
      "created_at": "2026-11-30T15:04:05.000Z",
      "description": "I-130 receipt",
      "id": 9,
      "matter_id": 77,
      "number": "IOE0912345678",
      "status_update_type": "manual",
      "updated_at": "2026-11-30T15:04:05.000Z"
    }
  ]
}

List matter statuses

List the firm's matter statuses.

Inputs

Pagepagenumber
Which page of 200, from 1. Defaults to the first.At least 1.

Outputs

countnumber
How many were returned on this page
matter_statuseslist
The statuses
paginationobject
Docketwise's paging details (totals and next page), when it sends them
Example output
{
  "count": 1,
  "matter_statuses": [
    {
      "created_at": "2026-11-30T15:04:05.000Z",
      "duration": 14,
      "id": 5,
      "move_to_next_status": false,
      "name": "Case Evaluation and Document Collection",
      "sort": 1,
      "updated_at": "2026-11-30T15:04:05.000Z"
    }
  ],
  "pagination": {
    "total": 1,
    "total_pages": 1
  }
}

List matter types

List the firm's matter types, each with its statuses in order.

Inputs

Pagepagenumber
Which page of 200, from 1. Defaults to the first.At least 1.

Outputs

countnumber
How many were returned on this page
matter_typeslist
The matter types
paginationobject
Docketwise's paging details (totals and next page), when it sends them
Example output
{
  "count": 1,
  "matter_types": [
    {
      "created_at": "2026-11-30T15:04:05.000Z",
      "id": 2,
      "matter_statuses": [
        {
          "created_at": "2026-11-30T15:04:05.000Z",
          "duration": 14,
          "id": 5,
          "move_to_next_status": false,
          "name": "Case Evaluation and Document Collection",
          "sort": 1,
          "updated_at": "2026-11-30T15:04:05.000Z"
        }
      ],
      "name": "Family-Based",
      "updated_at": "2026-11-30T15:04:05.000Z"
    }
  ],
  "pagination": {
    "total": 1,
    "total_pages": 1
  }
}

List matters

List the firm's matters (cases), 200 a page.

Inputs

Pagepagenumber
Which page of 200, from 1. Defaults to the first.At least 1.

Outputs

countnumber
How many were returned on this page
matterslist
The matters
paginationobject
Docketwise's paging details (totals and next page), when it sends them
Example output
{
  "count": 1,
  "matters": [
    {
      "archived": false,
      "attorney_id": 3,
      "client": {
        "first_name": "Maria",
        "id": 12,
        "last_name": "Lopez"
      },
      "client_id": 12,
      "created_at": "2026-11-30T15:04:05.000Z",
      "description": "Family petition",
      "id": 77,
      "notes": [
        {
          "category": "All Notes",
          "client_id": 12,
          "content": "Ask for the missing passport photos.",
          "created_at": "2026-11-30T15:04:05.000Z",
          "created_by_id": 3,
          "date": "2026-11-30T15:04:05.000Z",
          "id": 51,
          "matter_id": 77,
          "starred": false,
          "title": "Request photos",
          "updated_at": "2026-11-30T15:04:05.000Z"
        }
      ],
      "number": "2026-014",
      "priority_date": "2026-10-01",
      "priority_date_status": "current",
      "receipt_number": "IOE0912345678",
      "receipts": [],
      "status": "Filed",
      "title": "Lopez I-130",
      "type": "Family-Based",
      "updated_at": "2026-11-30T15:04:05.000Z",
      "user_ids": [
        3
      ]
    }
  ],
  "pagination": {
    "total": 1,
    "total_pages": 1
  }
}

List users

List the firm's Docketwise users.

Inputs

Pagepagenumber
Which page of 200, from 1. Defaults to the first.At least 1.

Outputs

countnumber
How many were returned on this page
paginationobject
Docketwise's paging details (totals and next page), when it sends them
userslist
The users
Example output
{
  "count": 1,
  "pagination": {
    "total": 1,
    "total_pages": 1
  },
  "users": [
    {
      "attorney_profile": {
        "first_name": "Ana",
        "id": 3,
        "last_name": "Reyes"
      },
      "created_at": "2026-11-30T15:04:05.000Z",
      "email": "ana@example-law.com",
      "id": 3,
      "updated_at": "2026-11-30T15:04:05.000Z"
    }
  ]
}

Update contact

Change a contact's name, company, email, type or lead flag. Only the fields given change.

Inputs

Contactcontact_idtextRequired
The contact. Pick one, or give its ID.
First namefirst_nametext
First name.
Last namelast_nametext
Last name.
Middle namemiddle_nametext
Middle name.
Company namecompany_nametext
The company's name, for an institution.
Emailemailtext
Email address.
Typecontact_typetext
A person or an institution (a company).One of: Person, Institution (Institution (company)).
Leadleadtrue/false
On to mark the contact a lead (a prospective client).

Outputs

contactobject
The contact, read back
Example output
{
  "contact": {
    "company_name": "",
    "created_at": "2026-11-30T15:04:05.000Z",
    "email": "maria.lopez@example.com",
    "first_name": "Maria",
    "id": 12,
    "last_name": "Lopez",
    "lead": false,
    "lead_phone": "",
    "middle_name": "",
    "notes": [
      {
        "category": "All Notes",
        "client_id": 12,
        "content": "Ask for the missing passport photos.",
        "created_at": "2026-11-30T15:04:05.000Z",
        "created_by_id": 3,
        "date": "2026-11-30T15:04:05.000Z",
        "id": 51,
        "matter_id": 77,
        "starred": false,
        "title": "Request photos",
        "updated_at": "2026-11-30T15:04:05.000Z"
      }
    ],
    "physical_address": {
      "city": "Austin",
      "street_number_and_name": "12 Main St"
    },
    "updated_at": "2026-11-30T15:04:05.000Z"
  }
}

Update matter

Change a matter's title, number, description, client or assigned users. Only the fields given change.

Inputs

Mattermatter_idtextRequired
The matter. Pick one, or give its ID.
Titletitletext
A new title.
Numbernumbertext
A new matter number.
Descriptiondescriptiontext
A new description.
Clientcontact_idtext
A new client for the matter.
Assigned usersuser_idslist
The firm's users working on the matter.

Outputs

matterobject
The matter, read back
Example output
{
  "matter": {
    "archived": false,
    "attorney_id": 3,
    "client": {
      "first_name": "Maria",
      "id": 12,
      "last_name": "Lopez"
    },
    "client_id": 12,
    "created_at": "2026-11-30T15:04:05.000Z",
    "description": "Family petition",
    "id": 77,
    "notes": [
      {
        "category": "All Notes",
        "client_id": 12,
        "content": "Ask for the missing passport photos.",
        "created_at": "2026-11-30T15:04:05.000Z",
        "created_by_id": 3,
        "date": "2026-11-30T15:04:05.000Z",
        "id": 51,
        "matter_id": 77,
        "starred": false,
        "title": "Request photos",
        "updated_at": "2026-11-30T15:04:05.000Z"
      }
    ],
    "number": "2026-014",
    "priority_date": "2026-10-01",
    "priority_date_status": "current",
    "receipt_number": "IOE0912345678",
    "receipts": [],
    "status": "Filed",
    "title": "Lopez I-130 (spouse)",
    "type": "Family-Based",
    "updated_at": "2026-11-30T15:04:05.000Z",
    "user_ids": [
      3
    ]
  }
}

Update note

Change a note's title or text. Give the matter or contact it is on.

Inputs

Note IDnote_idtextRequired
The note's ID, from 'Add note' or 'Get matter'.
Mattermatter_idtext
The matter the note is on. Give this or the contact.
Contactcontact_idtext
The contact the note is on.
Titletitletext
A new title.
Notecontenttext
New text for the note.

Outputs

note_idtext
The note changed
updatedtrue/false
True once it is changed
Example output
{
  "note_id": "51",
  "updated": true
}

On this page