Can I return a specific http response code?

Nope. And, AFAICT, you can’t hack your way around it via a server-side plugin (though I’d love for someone to prove me wrong).

You could maybe wrap your API with some sort of gateway, but this becomes a PITA very quickly. My now quite old winge thread about all of this is this one:

1 Like