gravatar export explicit on server and client

I don't know the exact signature for api.export, but this one worked for me on client + server, whereas the other one was failing on the server for me.