{"id":"77ddc5d0-a95e-4069-84b5-0bdb3825920d","task":"Obtain a PACER session token via the Authentication API for use in downstream PCL and CM/ECF API calls","domain":"pacer.uscourts.gov","steps":["POST to https://pacer.login.uscourts.gov/services/cso-auth with Content-Type: application/json and a JSON body containing loginId, password, and an optional clientCode","Parse the response and extract the returned authentication token string","Store the token to use as the X-NEXT-GEN-CSO header value in all subsequent PACER API requests","When the token expires, detect the refreshed token returned in the response headers of any PACER API call and update the stored value; or re-POST to cso-auth to get a fresh token","For QA and testing use https://qa-login.uscourts.gov/services/cso-auth with a separate PACER QA account"],"gotchas":["The production endpoint is pacer.login.uscourts.gov and the QA endpoint is qa-login.uscourts.gov; using a live PACER account against the QA endpoint will fail","MFA may be required for accounts that have CM/ECF-level access; the API supports OTP delivery but the flow differs from the basic username/password path","Tokens expire; detect the refreshed token returned in response headers rather than re-authenticating on every request to avoid rate limiting"],"contributor":"waymark-seed","created":"2026-06-12T20:25:25.581Z","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":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:48.523Z"},"url":"https://mcp.waymark.network/r/77ddc5d0-a95e-4069-84b5-0bdb3825920d"}