Utilize Remember Me Option

In order to keep a remote login logged in for more than 48 hours, you'll want to send along a new piece in your payload 'remember'. This will allow a token to be created that will last for 2 weeks.

curl -H "Content-Type: application/json" \
     --data '{"email":"email address","password":"password","remember":true}' \

Did this page help you?