How can I find the creation or expiration time of a token? How can I find the creation or expiration time of a token?

How can I find the creation or expiration time of a token?

Vonage API Support

Objective

Locating the creation or expiration time values of a token.

Applies To

  • Video API
  • Tokens

Contents

How to recognize if I’m using Vonage Video API Unified Environment or Vonage Video API OpenTok environment?

Procedure for Vonage Video API Opentok Environment

  1. From the token, remove the part "T1==" in the beginning.
  2. Go to http://www.base64decode.org and do a decode-64 of the remaining part of the token.
  3. Get the create_time and expire_time values. These are Unix timestamp values.
  4. Go to http://www.unixtimestamp.com/index.php and put in the timestamp. It will convert it to month/day/year format.

Procedure for Vonage Video API Unified Environment

  1. Go to https://jwt.io/ and decode the token
  2. Get the exp and iat values. These are Unix timestamp values.
  3. Go to http://www.unixtimestamp.com/index.php and put in the timestamp. It will convert it to month/day/year format.

Additional Information

For additional information about the Token, see our developer documentation below.

Vonage Video API Unified environment 

Vonage Video API OpenTok environment