Docketwise
App · 23 actions
Manage immigration cases in Docketwise: create and update contacts and matters, keep notes, read USCIS receipts, invoices and documents.
Actions
| Action | What it does |
|---|---|
| Add note | Add a note to a matter or a contact. |
| Create contact | Add a contact: a person or an institution, with an address and a phone number if given. |
| Create matter | Open a matter (a case) for a contact, with assigned users if given. |
| Delete contact | Delete a contact. |
| Delete matter | Delete a matter. |
| Delete note | Delete a note. |
| Get contact | Get one contact with their address and notes. |
| Get document | Get one document's details. |
| Get document download link | Get a link that downloads a document's file. |
| Get invoice | Get one invoice with the matters it bills. |
| Get matter | Get one matter with its client, assigned users, USCIS receipts and notes. |
| List contacts | List the firm's contacts (clients, beneficiaries and companies), 200 a page. |
| List documents | List the firm's documents, or search them by title. |
| List invoice charges | List the charges (services, expenses and fees) on an invoice. |
| List invoices | List the firm's invoices and trust requests with their totals and balances. |
| List matter receipts | List the USCIS receipt numbers on a matter. |
| List matter statuses | List the firm's matter statuses. |
| List matter types | List the firm's matter types, each with its statuses in order. |
| List matters | List the firm's matters (cases), 200 a page. |
| List users | List the firm's Docketwise users. |
| Update contact | Change a contact's name, company, email, type or lead flag. |
| Update matter | Change a matter's title, number, description, client or assigned users. |
| Update note | Change a note's title or text. |
Add note
Add a note to a matter or a contact.
Inputs
- Note
contenttextRequired - The note.
- Title
titletext - A title for the note.
- Matter
matter_idtext - The matter it is about. Give this or a contact.
- Contact
contact_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 name
first_nametext - First name.
- Last name
last_nametext - Last name.
- Middle name
middle_nametext - Middle name.
- Company name
company_nametext - The company's name, for an institution.
- Email
emailtext - Email address.
- Type
contact_typetext - A person or an institution (a company).One of:
Person,Institution(Institution (company)). - Lead
leadtrue/false - On to mark the contact a lead (a prospective client).
- Street
streettext - Street number and name.
- Apartment
apartmenttext - Apartment or suite number.
- City
citytext - City.
- State
statetext - State.
- ZIP code
zip_codetext - ZIP code.
- Phone
phonetext - 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
- Client
contact_idtextRequired - The contact the matter is for.
- Title
titletext - The matter's title, such as Lopez I-130.
- Number
numbertext - Your own matter number.
- Description
descriptiontext - What the matter is about.
- Assigned users
user_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
- Contact
contact_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
- Matter
matter_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 ID
note_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
- Contact
contact_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 ID
document_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 document download link
Get a link that downloads a document's file. The link works for one hour.
Inputs
- Document ID
document_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 ID
invoice_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
- Matter
matter_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
- Type
contact_typetext - A person or an institution (a company).One of:
Person,Institution(Institution (company)). - Page
pagenumber - 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 contains
searchtext - Only documents whose title matches.
- Page
pagenumber - 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 ID
invoice_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
- Page
pagenumber - 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
- Matter
matter_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
- Page
pagenumber - 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
- Page
pagenumber - 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
- Page
pagenumber - 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
- Page
pagenumber - 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
- Contact
contact_idtextRequired - The contact. Pick one, or give its ID.
- First name
first_nametext - First name.
- Last name
last_nametext - Last name.
- Middle name
middle_nametext - Middle name.
- Company name
company_nametext - The company's name, for an institution.
- Email
emailtext - Email address.
- Type
contact_typetext - A person or an institution (a company).One of:
Person,Institution(Institution (company)). - Lead
leadtrue/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
- Matter
matter_idtextRequired - The matter. Pick one, or give its ID.
- Title
titletext - A new title.
- Number
numbertext - A new matter number.
- Description
descriptiontext - A new description.
- Client
contact_idtext - A new client for the matter.
- Assigned users
user_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 ID
note_idtextRequired - The note's ID, from 'Add note' or 'Get matter'.
- Matter
matter_idtext - The matter the note is on. Give this or the contact.
- Contact
contact_idtext - The contact the note is on.
- Title
titletext - A new title.
- Note
contenttext - 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
}