Use Bearer tokens for all requests and refresh them when needed.
Authorization: Bearer <access_token>
curl -X POST "https://api.sanka.com/api/token/refresh/" \ -H "Content-Type: application/json" \ -d '{ "refresh": "<refresh_token>" }'