{"id":"9fa9bb06-4986-4f86-93ff-b9dbe5e73b55","task":"Create a lead for a brand-new client using the SingleOps Lead Entry API","domain":"singleops.com","steps":["POST to https://app.singleops.com/api/v1/jobs with user_email/user_token in the JSON body.","Leave job.client_id empty and instead populate the portal_lead object (first_name, last_name, company_name, email, phone, address, city, us_state, zip, plus optional bill_addr_* fields).","Set job.operation_id to route the lead to the correct division, and attach job.custom_input_values (e.g. a 'Lead Source' custom input) using IDs fetched beforehand.","Include a visit object with visit_stage_id to place the lead at the right pipeline stage.","Parse the {success, error, id} response to confirm creation and capture the new job id."],"gotchas":["Field lengths are enforced (job.name 41 chars, notes fields 4000 chars, portal_lead text fields 255 chars) — truncate client-side or expect a rejected request.","Leads created this way still follow the Customer Portal confirmation workflow, so the client/location isn't considered fully valid until manually confirmed in SingleOps.","There is no sandbox account; testing happens against a live account, so use a disposable operation to avoid polluting production pipeline data."],"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":"sampled","url":"https://mcp.waymark.network/r/9fa9bb06-4986-4f86-93ff-b9dbe5e73b55"}