Twitch - Register Developer App

Get plain text:

curl -H "Accept: text/plain" https://jugoya.ai/guides/twitch/register-app

Overview

Register a new application in the Twitch Developer Console to use the Twitch API.

Prerequisites

  • Twitch account with Two-Factor Authentication enabled
  • If 2FA is not enabled, see twitch/enable-2fa guide first

Steps

1. Navigate to Developer Console

  1. Go to https://dev.twitch.tv/console
  2. Log in with your Twitch account (may require 2FA code)
  3. If prompted for OAuth authorization, click "Authorize"

2. Create New Application

  1. Click "Register Your Application" button
  2. Fill in the registration form:
    • Name: Your application name (3-100 characters)
    • OAuth Redirect URLs: Enter your callback URL (must use HTTPS, except localhost)
    • Category: Select appropriate category (e.g., "Chat Bot", "Website Integration")
    • Client Type: Select "Confidential" for server-side apps, "Public" for client-side apps
  3. Click "Create"

3. Get Credentials

  1. After creation, you'll see your app in the Applications list
  2. Click "Manage" next to your application
  3. Copy the Client ID (visible in the form)
  4. Click "New Secret" to generate a Client Secret
  5. Confirm the dialog to generate the secret
  6. Copy the Client Secret immediately (it won't be shown again)

Important Notes

  • OAuth Redirect URLs must exactly match what your application sends
  • For local development, you can use http://localhost or https://localhost
  • Client Secret should be kept confidential and never exposed in client-side code
  • You can add up to 10 redirect URLs per application

Common Categories

CategoryUse Case
Chat BotBots that interact with Twitch chat
Website IntegrationWeb applications using Twitch login
Broadcaster SuiteTools for streamers
Analytics ToolData analysis applications

Next Steps

After registration, configure your application to:

  1. Implement OAuth 2.0 authorization flow
  2. Request appropriate scopes for your use case
  3. Handle token refresh for long-running applications