Get Email Campaign (lawmatics_get-email-campaign)
Fetch a single email campaign from Lawmatics by its composite ID (e.g. "MarketingCampaign-1"), including a `relationships` envelope of {id,type} pointers to its audience and custom email template.
Tool Input
campaignIdstringrequired— Composite campaign ID to fetch, in the form "TypeofCampaign-id" (e.g. "MarketingCampaign-1", "RecurringCampaign-1", "DateCampaign-1")(pattern: ^[A-Za-z]+-\d+$)
Tool Output
idstringrequired— Composite campaign ID (e.g. "MarketingCampaign-1"); pass this to the stats tool to fetch per-recipient stats
namestringrequired— Campaign name as shown in Lawmatics
statusnumberrequired— Integer status code for the campaign (e.g. 0, 1); value meanings are not documented
openRatenumbernullrequired— Email open rate for the campaign; null when not yet computed
sendCountnumbernullrequired— Number of emails sent for this campaign; null when not yet computed
sentAtstringnullrequired— When the campaign was sent, as an ISO 8601 timestamp; null if it has not been sent
startedProcessingAtstringnullrequired— When the campaign started processing, as an ISO 8601 timestamp; null if it has not started
campaignTypestringrequired— Campaign kind; observed values are "MarketingCampaign" and "RecurringCampaign" ("DateCampaign" is documented but unobserved in responses)
createdAtstringrequired— When the campaign was created, as an ISO 8601 timestamp
relationshipsobjectrequired— JSON:API relationship pointers to related records as {id,type} stubs. Not materialized — follow a pointer by calling that resource's own get tool (e.g. type 'custom_email' -> get-custom-email). PROVISIONAL: shape modeled from documentation, not yet live-confirmed.
audienceobjectnullrequired— Audience this campaign targets (type 'audience') pointer; null when it has no audience
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
customEmailobjectnullrequired— Custom email template this campaign sends (type 'custom_email') pointer; null when unset
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
Related Tools