List Campaigns (lawmatics_list-campaigns)
List marketing campaigns from Lawmatics with optional pagination and sorting. Each campaign includes its description, UTM match string, tracking number, PNC count, and a to-one {id,type} pointer to its source; use get-campaign for the full record including the attributed matters (prospects).
Tool Input
pageinteger— Page number (1-based)(> 0)
sortBystring— Column to sort by(enum: "id", "created_at", "updated_at")
sortOrderstring— Sort direction; ascending or descending(enum: "asc", "desc")
Tool Output
campaignsarrayrequired— Marketing campaigns on this page of results
[]object
idstringrequired— Lawmatics marketing campaign ID
namestringrequired— Campaign name
descriptionstringnullrequired— Free-text description of the campaign; null if unset
utmMatchstringnullrequired— UTM parameter match string used to attribute traffic to this campaign; null if unset
trackingNumberstringnullrequired— Phone tracking number for the campaign, in E.164 format (e.g. "+18556347246"); null if unset
pncCountnumbernullrequired— Count of PNCs (potential new clients) attributed to this campaign; null if not reported
matterCountnumberrequired— Number of matters currently attributed to this campaign
createdAtstringrequired— When the campaign was created, as an ISO 8601 timestamp
updatedAtstringrequired— When the campaign was last updated, as an ISO 8601 timestamp
relationshipsobjectrequired— To-one JSON:API relationship pointers as {id,type} stubs. Not materialized — follow a pointer by calling that resource's own tool. List rows carry to-one pointers only; use get-campaign for the full envelope incl. to-many attributed matters (prospects).
1 field
sourceobjectnullrequired— Marketing source this campaign belongs to (type 'source') pointer; null when it has no source
2 fields
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
paginationobjectrequired— Pagination metadata derived from the API `meta` envelope
totalPagesnumberrequired— Total number of pages available
limitPerPagenumberrequired— Maximum campaigns returned per page
totalEntriesnumberrequired— Total number of campaigns across all pages
Related Tools