API Tokens

AUTHENTICATING ON OUR SERVER

To access our API, you’ll need to generate a unique token which can be done your EzyStream Dashboard. This should be kept secure, and should be installed within your application securely. It allows us to identify you, and protect against unauthorised traffic. 


GENERATING YOUR TOKEN AND SECRET

  1. Click the setting cog at the top right of the screen.
  2. Select "Features"
  3. Find the External API Access feature tile.
  4. Click ‘Configure’
  5. Click ‘Generate’. This then display’s your ‘token’ and ‘secret’.

IMPORTANT

  1. Once you close the configuration window, you cannot return to these details, so make sure you have saved them securely before closing the window.
  2. You can only have one token active at any one time. By generating a new coupon you will de-active your old one. Doing this could be disable access to our API in old versions of your application, so care should be taken. 


USING ENCRYPTION (AES)

Before making a request to our API, you must encrypt details like your membership. This can be done by:

  1. Open SSL encryption (openssl_encrypt).
  2. Specify the AES Cipher. AES-256-CBC
  3. Use the token generated in your Dashboard as the key (Remove dashes). key
  4. Use the secret as a initialization vector. iv



Struggling to find an answer to your question? Send us an email: help@ezystream.com