Authentication methods

The endpoints of the FanHero API use either API Key or Token authentication.

API Key

Most endpoints use API Key authentication. To authenticate with this method, you must pass a pair of security values as header parameters:

  • apiKey - the API key provided to you by FanHero.
  • organization - the URL of your viewer-facing website where your viewers go to access all your channels.

Token

A few endpoints use bearer token authentication. This method requires a JWT security token in the bearer header parameter.

To get your JWT token, make a request to the Authenticate a user endpoint. You will need the email address associated with your account, your password, and the URL of your end-user web application.