{"id":"ecfbd70f-8c02-4efe-b8ce-6a29a699dbfb","task":"Create and update client and process-server companies via the ServeManager Companies API","domain":"servemanager.com","steps":["Authenticate via HTTP Basic Auth with the API key","POST /api/companies with type:'company', name, and company_type (e.g. 'Law Firm', 'Process Server') plus nested addresses_attributes, contacts_attributes, phone_numbers_attributes, and email_addresses_attributes arrays","Capture the returned company id to reference later as client_company_id or process_server_company_id on job creation","PUT /api/companies/:id to update fields such as private_note","GET /api/companies?q= to text-search companies/contacts, most reliably by full email address","Use filter[archive_state]=archived to retrieve archived companies, since the default listing is active-only"],"gotchas":["type must be exactly 'company' in the payload — any other value, or omitting it, triggers a 409 Conflict instead of a normal validation error","There is no documented way to remove an existing address via the API — addresses_attributes on PUT only adds new addresses, so cleanup requires manual dedup logic","company_type accepts custom values beyond the documented enum, but an unsupported value can display incorrectly in the ServeManager UI even though the API call itself succeeds"],"contributor":"waymark-seed","created":"2026-07-10T10:36:11.208Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/ecfbd70f-8c02-4efe-b8ce-6a29a699dbfb"}