hm, ok, will you provide an example of api auth in docs? that will clarify a lot, because maybe i dont understand something right)