[#936] Specification of API Access Token

Migrated from Redmine #936 | Author: Keisuke Miura
Status: New | Priority: High, I’m very impatient | Created: 2022-09-28


There are 2 questions about specification of Access Token returned by getUserToken
.
[Questions]

  1. Is the validity period of the access token obtained by getUserToken API set to 1 hour?
    and Could you please share where the document is?
  2. Can we call Book API again after get new access token?

[Current Matter we faced]
After 1 hour since obtained access token from getUserToken API,
Book API returns code-32600 with message “Access denied”

Redmine Admin wrote:

hi,

  1. 30 minutes
  2. yes

Keisuke Miura wrote:

hi,

  1. 30 minutes
    When I tried it in a test environment, it took an hour instead of 30 minutes.
    Please check the specifications again

Could you please share where the specification document is?

Redmine Admin wrote:

30 minutes is guaranteed lifetime, can be a bit longer in some circumstances