API Returns 401 for Missing or Invalid Tokens

September 15, 2026

The Merge Freeze API now responds the same way to a bad access token on every endpoint, following the HTTP standard.

What’s Changed

On the branch, freeze log, and scheduled freeze endpoints:

SituationBeforeNow
No access_token provided403 or 500, depending on the endpoint401 Unauthorized
Wrong access token403 Forbidden401 Unauthorized
Valid token, but your plan doesn’t include this feature403 Forbidden403 Forbidden (unchanged)

In short: 401 means “we don’t know who you are,” and 403 means “we know who you are, but you can’t do this.”

What You Need to Do

If your scripts or CI jobs check for a 403 to detect a bad or expired token, update them to check for 401. Requests with a valid token aren’t affected.

Questions?

See the web API docs or reach out at hello@mergefreeze.com.