Hey! These docs are for version 1.0, which is no longer officially supported. Click here for the latest version, 3.0!

Generate Access Token

Preparation

In order to create an Access Token, you first need to get the following:

Generating the Access Token

The process involves 3 steps:

  1. Generate a data block.
    • The data block is comprised of the following items:
      • An API key.
      • A GUID: a unique string, up to 64 printable ASCII characters, must not include "#."
      • An expiration time [absolute time in GMT], no earlier than 10 seconds from the current time and no later than one hour from the current time.
  2. Encrypt the data block (to an encrypted byte array).
  3. Stringify the encrypted byte array.

📘

The time should be in ISO 8601 format.

This data block has the following structure:
<APIKey>/#<GUID>/#<Expiration Time>

Example:
bd3ce883352e42539a2b7644f72e63aa#123459876543#2017-12-15T07:36:25Z

📘

Available code samples

View our code samples to generate an Access Token here.