Getting a 401 Unauthorized on every API call. I copied the key directly from the dashboard so I don't think it's a typo.
Carol WrightStaff238 days ago
A couple of common causes: are you sending the key as a Bearer token in the Authorization header (Authorization: Bearer YOUR_KEY), or somewhere else like a query parameter? We only accept it in the header. Also worth double-checking there's no trailing whitespace or newline character if you copied it from a file rather than directly from the dashboard.
Christopher C.238 days ago
I was passing it as a query param actually, not the header. Switched to the Authorization header and it's working now.
This ticket has been resolved. Its author or SubsiMail staff can reopen it to reply further.
We use Google Analytics to understand traffic to this site. It only runs if you accept -- see our Privacy Policy.