Skip to main content
This helper task creates an Integrity token for Twitch actions like following, subscribing, or sending bits. You can also do this with our Kasada task, this just makes it easier.

Create Task​

Create the task with the createTask endpoint, or use our Software Development Kit to make your integration process even easier!

Task Structure

Example Request

Upon successfully submitting the task to us, you should receive a ‘taskId’ in the response.

Example Response

Response Fields:
  • taskId - Unique identifier for this task. Use this to retrieve results.

Getting Results

Retrieve the results using the getTaskResult method. or use our Software Development Kit to make your integration process even easier!

Example Request

Example Response

Response Fields:
  • device-id - Device identifier used for this task
  • integrity-token - Ready-to-use Twitch integrity token for authentication
  • expiration - Whenever the token will expire.
  • user-agent - User-agent that was used to generate the token
  • client-id - Client ID used for this request

Quick Start Example

Because this is a helper function, there is no official example available, but we do include quick start code in Python.