/
v3.0.11Get access

getJweInfo

This JSON structure represents an Encrypted Payload response. Instead of returning raw data, the server provides a JWE (JSON Web Encryption) string, which ensures that the sensitive information inside can only be read by a client holding the correct decryption key.

Request parameters:

NameDescriptionTypeValuesDefault
alg
Encryption algorithmstring--
tokenType
The type of token being requestedstring"JWT", "JWE", etc.-

Call example:

getJweInfo({
  alg: 'HS256',
  tokenType: 'JWT'
})

Response examples:

{
  code: 0,
  rid: 1896147113,
  data: {
    result: 0,
    result_text: null,
    details: {
      jwe: 'eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.ilEIXVBmG_jMhBRydS5eQJHpIbQviie1xBiyquVxcUySMRT9ZIWlJcCb1J3AW7Yx1D6ywTG96yxUete3K_TYWyQeP7T4NR19.B2gZ61ljqIkbu-TaAjLBOg._ecSbicwkeD89pw-g1UBbtwDnLmVYEzDnMitaUa35ClimrvJx6XL0rdmcHtQ5uFnx9rPmKQE54_xLGDnu6mSmj7Miv1tV9x63uaqugvSXlTSiiCvetaKOJjsRNQ6JWmp5kD4PGOAWun6C3PRqSshTNdpDqykclJyPhLWc2fBy84FbamVsGnae7O07BHcQon2x2KCGxNFzFc_0g_oKLsyGaFsyiyULGeNOAb1o8_t9axS2wRAKfg-6CiZzF2J1ScvtG4_NI9ffkYoQns65cSd1qEGgoqnpnUtsh4WwwaWVwf75Rgf00FfH10j7GWnnTwIeea-Nh-9_01ugui7LNkBoj9_ZtS8mG1qELM0z5ewX0L733uBCQsrDYfzIDzLwXmuTMVnyjq4o0H6cIromy-jl6Z47q5fhjxSAlfcRIw5j9A.3b2srD22MAU44d-zhjWelZC4_PaqIZwNd9VigEO47Mg'
    }
  },
  hasError: false,
  error: {
    message: ''
  }
}

Response parameters:

NameDescriptionTypeValues
jwe
JSON Web Encryption. A compact, URL-safe string representing encrypted content. It typically consists of five parts separated by dots (Header, Encrypted Key, Initialization Vector, Ciphertext, and Authentication Tag).string-