Skip to main content

Authentication

API key
  1. Go to your account page on Listen and open the Developer section. API keys can be created by Admins and Supervisors.
  2. Create an API key.
  3. Use it in your request in the x-api-key header.
Each API key is scoped to a single organization. It works with the data endpoints as well as the Study Creation API for creating and launching studies. Google ID Token This method is only possible if your account uses sign-in with Google (OAuth2). In that case, set the x-id header to a valid id_token from your Google account. This method works with the data endpoints (/responses, /list_surveys, questions) only — the Study Creation API (/api/public/v1/...) accepts API keys only.
Documentation for Google ID tokens