Access Tokens

Accept terms and conditions

Accept terms during the authentication flow. Converts the pending token to an access token.

post/access-tokens/accept-terms

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/access-tokens/accept-terms
  • Auth: none required

Request body

pendingTokenstring required

Pending token received from the authentication flow

signaturestring required

Terms signature hash

initialLanguage'ar-YE' | 'bg-BG' | 'ca-ES' | 'cs-CZ' | 'da-DK' | 'de-DE' | 'el-GR' | 'en-GB' | 'en-US' | 'es-ES' | 'et-EE' | 'fa-IR' | 'fi-FI' | 'fr-FR' | 'hu-HU' | 'id-ID' | 'it-IT' | 'ja-JP' | 'ko-KR' | 'nl-NL' | 'pl-PL' | 'pt-BR' | 'pt-PT' | 'ro-RO' | 'ru-RU' | 'sk-SK' | 'sr-Cyrl-RS' | 'sr-Latn-RS' | 'sv-SE' | 'tr-TR' | 'uk-UA' | 'uz-UZ' | 'vi-VN' | 'zh-CN' | 'zh-TW' nullable

Preferred language for user interface and notifications (used only if user language is not set)

Example request

{
  "pendingToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ4...",
  "signature": "940226c4c41f51afe3980ceb63704e752636526f4c52a4ea579e85b247493d94",
  "initialLanguage": "en-US"
}

Response

Terms accepted successfully

itemstring required

Access token for API authentication

Example response

{
  "item": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ5..."
}

Changes

No recorded changes to this operation across all 1 revision of this API.