So It might be useful for someone else, So apparently JsonBin.io has a bad curl request info in documentation. Instead of double quotes "" use single quotes '' for the X-Master-Key or X-Access-Key header. and the Curl request passes without 401 error. Hope it helps somebody