Hi Janice -
The maximum currently supported is 450 days (38,880,000 seconds)
Cheers,
Mal.
------------------------------
Thanks and regards,
Malcolm Green
Nexon Asia Pacific Pty. Ltd.
malcolm.green@nexon.com.au------------------------------
Original Message:
Sent: 10-12-2021 11:23
From: Janice Jahnsen
Subject: OAuth Client Credential - Token Duration
Is there a way to extend the duration beyond the 48 hours? say to 1 year?
------------------------------
Janice Jahnsen
F5 Networks, Inc.
Original Message:
Sent: 02-10-2017 10:42
From: Gina Tyree
Subject: OAuth Client Credential - Token Duration
Hi @Stefano Pucci. I reached out to our authorization gurus and found out: "there is no way to have a permanent token. When the API returns a 401 response the token should be refreshed. You can take a look at the docs here: https://developer.mypurecloud.com/api/rest/authorization/."
I hope this helps. There's actually quite a bit of information on authorization in the Dev Center - https://developer.mypurecloud.com/forum/. This is a great spot to ask API-related questions.
Have a lovely day!