API bearer token not working

@lvnry2000
we would recommend to checkout the new approaches: