Oauth Refresh Token Best Practices

Hi Jici,

It’s a POST call to a URL endpoint. Where i need to enter my username and password like the below;
{
“username”: “testuser”,
“password”: “test”,
}

Then it returns a unique token in json. to use the other API calls you need to get a new token every 8 hours using the above process and insert the tokenn into your API calls.

So therefore it would be great to be able to save this token every 8 hours in my database, and then use that data point as a variable when i make the other API calls.

thanks in advance!