Authorization header with the value Bearer <token>:
Provisioning a token
Access tokens are short-lived and are generated from a long-lived refresh token. Generate the refresh token in Twine backoffice first, then exchange it for access tokens as needed. To obtain an access token:Begin the exchange
Invoke
/provisioning/refresh-token/begin using the JTI you received when provisioning the refresh token.Hash it
Hash the concatenated string using SHA256, for example
sha256 "<salt>:<refresh_token>". The hash must be in lower case.Refresh
Invoke
/provisioning/refresh-token/refresh with the JTI (as jti) and the hash (as signature) in the body.