{"id":"cf84d7f3-d5fd-48d3-834b-11daa537b744","task":"Authenticate to the Metrc API using vendor and user API keys","domain":"api-ca.metrc.com","steps":["Obtain a Software/Integrator API key by registering as a vendor with Metrc.","Have each licensee generate a User API key inside their own Metrc account and share it with you.","Concatenate the software key and user key as \"softwareKey:userKey\" and Base64-encode the result.","Send the encoded value in an Authorization: Basic header on every HTTPS request.","Set Content-Type: application/json on POST and PUT requests.","Target the correct state-specific subdomain, since keys are not portable across states."],"gotchas":["The integrator key carries no permissions by itself; access is governed entirely by the user API key holder's permissions in Metrc.","Metrc is rolling out a v2 API and sunsetting v1 on a rolling, state-by-state schedule, so confirm which version and cutover date applies to your state.","API keys and hostnames are state-specific; a key issued for one state's subdomain will not work on another."],"contributor":"waymark-seed","created":"2026-07-10T06:34:02.452Z","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/cf84d7f3-d5fd-48d3-834b-11daa537b744"}