Channel Points

Events raised when a broadcaster manages their Channel Points rewards, and when a viewer redeems an automatic or custom reward.

View as markdown
Provide feedback for this page

Channel Points Automatic Reward Redemption Add

The channel.channel_points_automatic_reward_redemption.add subscription type sends a notification when a viewer redeems an automatic channel points reward on the specified channel. This version also sends a notification when a viewer redeems one of the built-in Power-ups with Bits. Those notifications have a reward.type of message_effect, gigantify_an_emote or celebration. Custom Power-ups don't trigger this subscription type; for those, use channel.custom_power_up_redemption.add. Version 2 doesn't send notifications for Power-ups.

Subscription

Type
channel.channel_points_automatic_reward_redemption.add
Version
1

Authorization

Requires one of the following:

  • A user access token that includes the channel:read:redemptions or channel:manage:redemptions scope.The User ID associated with the token must match the broadcaster_user_id in the event's condition.
  • An app access token.The application, through prior authorization, must have been granted:
    • The channel:read:redemptions or channel:manage:redemptions scope for the user represented by the broadcaster_user_id event condition.

Subscription Request Body

  • typeStringRequired
    The subscription type name: channel.channel_points_automatic_reward_redemption.add.
  • versionStringRequired
    The subscription type version: 1.
  • conditionObjectRequired
    Subscription-specific parameters.
    Hide child attributesShow child attributes
    • condition.broadcaster_user_idStringRequired
      The broadcaster user ID for the channel you want to receive channel points automatic reward redemption add notifications for.
  • transportObjectRequired
    Transport-specific parameters.
    Hide child attributesShow child attributes
    • transport.methodStringRequired
      The transport method for EventSub.

      Possible values

      • webhook
      • websocket
      • conduit
    • transport.callbackString

      The callback URL where notifications are sent. The URL must use the HTTPS protocol and port 443, and its host must resolve to a public IPv4 address. Hosts that resolve only to IPv6 addresses aren't supported. See Processing an Event.

      Required if method is webhook. Don't specify it for other methods.

      NOTE: Redirects are not followed.

    • transport.secretString

      The secret used to verify the signature. The secret must be an ASCII string that's a minimum of 10 characters long and a maximum of 100 characters long. For information about how the secret is used, see Verifying the event message.

      Required if method is webhook. Don't specify it for other methods.

    • transport.session_idString

      An ID that identifies the WebSocket to send notifications to. When you connect to EventSub using WebSockets, the server returns the ID in the Welcome message.

      Required if method is websocket. Don't specify it for other methods.

    • transport.conduit_idString

      An ID that identifies the conduit to send this notification to. When you create a conduit, the server returns the ID in the API response.

      Required if method is conduit. Don't specify it for other methods.

Event Payload

  • subscriptionObject
    Metadata about the subscription.
    Hide child attributesShow child attributes
    • subscription.idString
      The Subscription ID of the subscription.
    • subscription.typeString
      The notification's subscription type.
    • subscription.versionString
      The version of the subscription.
    • subscription.statusString
      The status of the subscription.
    • subscription.costInteger
      How much the subscription counts against your limit. See Subscription Limits for more information.
    • subscription.conditionObject
      Subscription-specific parameters.
      Hide child attributesShow child attributes
      • subscription.condition.broadcaster_user_idString
        The broadcaster user ID for the channel you want to receive channel points automatic reward redemption add notifications for.
    • subscription.created_atString
      The UTC date and time (in RFC3339 format) of when the subscription was created.
    • subscription.transportObject
      The transport that the notification was sent over.
      Hide child attributesShow child attributes
      • subscription.transport.methodString
        The transport method.

        Possible values

        • webhook
        • websocket
        • conduit
      • subscription.transport.callbackString
        The callback URL where notifications are sent. Included only if method is webhook.
      • subscription.transport.session_idString
        The ID of the WebSocket session that notifications are sent to. Included only if method is websocket.
      • subscription.transport.conduit_idString
        The ID of the conduit that notifications are sent to. Included only if method is conduit.
  • eventObject
    The event information.
    Hide child attributesShow child attributes
    • event.broadcaster_user_idString
      The ID of the channel where the reward was redeemed.
    • event.broadcaster_user_loginString
      The login of the channel where the reward was redeemed.
    • event.broadcaster_user_nameString
      The display name of the channel where the reward was redeemed.
    • event.user_idString
      The ID of the redeeming user.
    • event.user_loginString
      The login of the redeeming user.
    • event.user_nameString
      The display name of the redeeming user.
    • event.idString
      The ID of the Redemption.
    • event.rewardObject
      An object that contains the reward information.
      Hide child attributesShow child attributes
      • event.reward.typeString
        The type of reward.

        Possible values

        • single_message_bypass_sub_mode
        • send_highlighted_message
        • random_sub_emote_unlock
        • chosen_sub_emote_unlock
        • chosen_modified_sub_emote_unlock
        • message_effect
          A built-in Power-up that the viewer redeemed with Bits.
        • gigantify_an_emote
          A built-in Power-up that the viewer redeemed with Bits.
        • celebration
          A built-in Power-up that the viewer redeemed with Bits.
      • event.reward.costInteger
        The reward's cost in Channel Points. For the Power-ups that viewers redeem with Bits (message_effect, gigantify_an_emote and celebration), cost is 0.
      • event.reward.unlocked_emoteObjectNullable
        The emote that the viewer unlocked. Set only for random_sub_emote_unlock redemptions; null for every other reward type, including chosen_sub_emote_unlock and chosen_modified_sub_emote_unlock. To get the emote for chosen unlocks, use version 2.
        Hide child attributesShow child attributes
        • event.reward.unlocked_emote.idString
          The emote ID.
        • event.reward.unlocked_emote.nameString
          The human readable emote token.
    • event.messageObject
      An object that contains the user message and emote information needed to recreate the message. The object is always present.
      Hide child attributesShow child attributes
      • event.message.textString
        The text of the chat message that the redemption posted. Is an empty string if the redemption didn't post a chat message, such as an emote unlock or a celebration, or a message that AutoMod held for review. For gigantify_an_emote, the text ends with the code of the gigantified emote.
      • event.message.emotesObject[]Nullable
        An array that includes the emote ID and start and end positions for where the emote appears in the text. Is null if the message contains no emotes or the redemption didn't post a chat message.
        Hide child attributesShow child attributes
        • event.message.emotes.beginInteger
          The zero-based UTF-8 byte offset in text where the emote starts.
        • event.message.emotes.endInteger
          The zero-based UTF-8 byte offset in text of the emote's last byte. The range is inclusive; for example, in Hello world! VoHiYo the emote VoHiYo has begin 13 and end 18.
        • event.message.emotes.idString
          The emote ID.
    • event.user_inputStringNullable
      The message that the viewer entered when redeeming the reward. Is null if the viewer didn't enter a message. For gigantify_an_emote, this doesn't include the code of the gigantified emote, which message.text does include.
    • event.redeemed_atString
      The UTC date and time (in RFC3339 format) of when the reward was redeemed.
Subscription Request Body Example
{
  "type": "channel.channel_points_automatic_reward_redemption.add",
  "version": "1",
  "condition": {
    "broadcaster_user_id": "12826"
  },
  "transport": {
    "method": "webhook",
    "callback": "https://example.com/webhooks/callback",
    "secret": "s3cRe7"
  }
}
Event Payload Example
{
  "subscription": {
    "id": "7297f7eb-3bf5-461f-8ae6-7cd7781ebce3",
    "status": "enabled",
    "type": "channel.channel_points_automatic_reward_redemption.add",
    "version": "1",
    "condition": {
      "broadcaster_user_id": "12826"
    },
    "transport": {
      "method": "webhook",
      "callback": "https://example.com/webhooks/callback"
    },
    "created_at": "2024-02-23T21:12:33.771005262Z",
    "cost": 0
  },
  "event": {
    "broadcaster_user_id": "12826",
    "broadcaster_user_name": "Twitch",
    "broadcaster_user_login": "twitch",
    "user_id": "141981764",
    "user_name": "TwitchDev",
    "user_login": "twitchdev",
    "id": "f024099a-e0fe-4339-9a0a-a706fb59f353",
    "reward": {
      "type": "send_highlighted_message",
      "cost": 100,
      "unlocked_emote": null
    },
    "message": {
      "text": "Hello world! VoHiYo",
      "emotes": [
        {
          "id": "81274",
          "begin": 13,
          "end": 18
        }
      ]
    },
    "user_input": "Hello world! VoHiYo ",
    "redeemed_at": "2024-02-23T21:14:34.260398045Z"
  }
}

Channel Points Automatic Reward Redemption Add V2

The channel.channel_points_automatic_reward_redemption.add subscription type sends a notification when a viewer has redeemed an automatic channel points reward on the specified channel.

Subscription

Type
channel.channel_points_automatic_reward_redemption.add
Version
2

Authorization

Requires one of the following:

  • A user access token that includes the channel:read:redemptions or channel:manage:redemptions scope.The User ID associated with the token must match the broadcaster_user_id in the event's condition.
  • An app access token.The application, through prior authorization, must have been granted:
    • The channel:read:redemptions or channel:manage:redemptions scope for the user represented by the broadcaster_user_id event condition.

Subscription Request Body

  • typeStringRequired
    The subscription type name: channel.channel_points_automatic_reward_redemption.add.
  • versionStringRequired
    The subscription type version: 2.
  • conditionObjectRequired
    Subscription-specific parameters.
    Hide child attributesShow child attributes
    • condition.broadcaster_user_idStringRequired
      The broadcaster user ID for the channel you want to receive channel points automatic reward redemption add notifications for.
  • transportObjectRequired
    Transport-specific parameters.
    Hide child attributesShow child attributes
    • transport.methodStringRequired
      The transport method for EventSub.

      Possible values

      • webhook
      • websocket
      • conduit
    • transport.callbackString

      The callback URL where notifications are sent. The URL must use the HTTPS protocol and port 443, and its host must resolve to a public IPv4 address. Hosts that resolve only to IPv6 addresses aren't supported. See Processing an Event.

      Required if method is webhook. Don't specify it for other methods.

      NOTE: Redirects are not followed.

    • transport.secretString

      The secret used to verify the signature. The secret must be an ASCII string that's a minimum of 10 characters long and a maximum of 100 characters long. For information about how the secret is used, see Verifying the event message.

      Required if method is webhook. Don't specify it for other methods.

    • transport.session_idString

      An ID that identifies the WebSocket to send notifications to. When you connect to EventSub using WebSockets, the server returns the ID in the Welcome message.

      Required if method is websocket. Don't specify it for other methods.

    • transport.conduit_idString

      An ID that identifies the conduit to send this notification to. When you create a conduit, the server returns the ID in the API response.

      Required if method is conduit. Don't specify it for other methods.

Event Payload

  • subscriptionObject
    Metadata about the subscription.
    Hide child attributesShow child attributes
    • subscription.idString
      The Subscription ID of the subscription.
    • subscription.typeString
      The notification's subscription type.
    • subscription.versionString
      The version of the subscription.
    • subscription.statusString
      The status of the subscription.
    • subscription.costInteger
      How much the subscription counts against your limit. See Subscription Limits for more information.
    • subscription.conditionObject
      Subscription-specific parameters.
      Hide child attributesShow child attributes
      • subscription.condition.broadcaster_user_idString
        The broadcaster user ID for the channel you want to receive channel points automatic reward redemption add notifications for.
    • subscription.created_atString
      The UTC date and time (in RFC3339 format) of when the subscription was created.
    • subscription.transportObject
      The transport that the notification was sent over.
      Hide child attributesShow child attributes
      • subscription.transport.methodString
        The transport method.

        Possible values

        • webhook
        • websocket
        • conduit
      • subscription.transport.callbackString
        The callback URL where notifications are sent. Included only if method is webhook.
      • subscription.transport.session_idString
        The ID of the WebSocket session that notifications are sent to. Included only if method is websocket.
      • subscription.transport.conduit_idString
        The ID of the conduit that notifications are sent to. Included only if method is conduit.
  • eventObject
    The event information.
    Hide child attributesShow child attributes
    • event.broadcaster_user_idString
      The ID of the channel where the reward was redeemed.
    • event.broadcaster_user_loginString
      The login of the channel where the reward was redeemed.
    • event.broadcaster_user_nameString
      The display name of the channel where the reward was redeemed.
    • event.user_idString
      The ID of the redeeming user.
    • event.user_loginString
      The login of the redeeming user.
    • event.user_nameString
      The display name of the redeeming user.
    • event.idString
      The ID of the Redemption.
    • event.rewardObject
      An object that contains the reward information.
      Hide child attributesShow child attributes
      • event.reward.typeString
        The type of reward.

        Possible values

        • single_message_bypass_sub_mode
        • send_highlighted_message
        • random_sub_emote_unlock
        • chosen_sub_emote_unlock
        • chosen_modified_sub_emote_unlock
      • event.reward.channel_pointsInteger
        The reward's cost in Channel Points. When broadcasters redeem a reward on their own channel, no points are used, but this field still contains the reward's cost.
      • event.reward.emoteObjectNullable
        Emote associated with the reward.
        Hide child attributesShow child attributes
        • event.reward.emote.idString
          The emote ID.
        • event.reward.emote.nameString
          The human readable emote token.
    • event.messageObjectNullable
      An object that contains the user message and emote information needed to recreate the message. Is null for the emote unlock rewards (random_sub_emote_unlock, chosen_sub_emote_unlock and chosen_modified_sub_emote_unlock), and when AutoMod holds the viewer's message for review.
      Hide child attributesShow child attributes
      • event.message.textString
        The chat message in plain text.
      • event.message.fragmentsObject[]
        The ordered list of chat message fragments.
        Hide child attributesShow child attributes
        • event.message.fragments.textString
          The message text in fragment.
        • event.message.fragments.typeString
          The type of message fragment.

          Possible values

          • text
          • emote
        • event.message.fragments.emoteObjectNullable
          The metadata pertaining to the emote.
          Hide child attributesShow child attributes
          • event.message.fragments.emote.idString
            The ID that uniquely identifies this emote.
    • event.redeemed_atString
      The UTC date and time (in RFC3339 format) of when the reward was redeemed.
Subscription Request Body Example
{
  "type": "channel.channel_points_automatic_reward_redemption.add",
  "version": "2",
  "condition": {
    "broadcaster_user_id": "12826"
  },
  "transport": {
    "method": "webhook",
    "callback": "https://example.com/webhooks/callback",
    "secret": "s3cRe7"
  }
}
Event Payload Example
{
  "subscription": {
    "id": "7297f7eb-3bf5-461f-8ae6-7cd7781ebce3",
    "status": "enabled",
    "type": "channel.channel_points_automatic_reward_redemption.add",
    "version": "2",
    "condition": {
      "broadcaster_user_id": "12826"
    },
    "transport": {
      "method": "webhook",
      "callback": "https://example.com/webhooks/callback"
    },
    "created_at": "2024-02-23T21:12:33.771005262Z",
    "cost": 0
  },
  "event": {
    "broadcaster_user_id": "12826",
    "broadcaster_user_name": "Twitch",
    "broadcaster_user_login": "twitch",
    "user_id": "141981764",
    "user_name": "TwitchDev",
    "user_login": "twitchdev",
    "id": "f024099a-e0fe-4339-9a0a-a706fb59f353",
    "reward": {
      "type": "send_highlighted_message",
      "channel_points": 100,
      "emote": null
    },
    "message": {
      "text": "Hello world! VoHiYo",
      "fragments": [
        {
          "type": "text",
          "text": "Hello world! ",
          "emote": null
        },
        {
          "type": "emote",
          "text": "VoHiYo",
          "emote": {
            "id": "81274"
          }
        }
      ]
    },
    "redeemed_at": "2024-08-12T21:14:34.260398045Z"
  }
}

Channel Points Custom Reward Redemption Add

The channel.channel_points_custom_reward_redemption.add subscription type sends a notification when a user redeems a custom channel points reward on the specified channel, including when broadcasters redeem their own rewards.

Subscription

Type
channel.channel_points_custom_reward_redemption.add
Version
1

Authorization

Requires one of the following:

  • A user access token that includes the channel:read:redemptions or channel:manage:redemptions scope.The User ID associated with the token must match the broadcaster_user_id in the event's condition.
  • An app access token.The application, through prior authorization, must have been granted:
    • The channel:read:redemptions or channel:manage:redemptions scope for the user represented by the broadcaster_user_id event condition.

Subscription Request Body

  • typeStringRequired
    The subscription type name: channel.channel_points_custom_reward_redemption.add.
  • versionStringRequired
    The subscription type version: 1.
  • conditionObjectRequired
    Subscription-specific parameters. Pass in the broadcaster user ID for the channel you want to receive channel points custom reward redemption notifications for. You can optionally pass in a reward id to only receive notifications for a specific reward.
    Hide child attributesShow child attributes
    • condition.broadcaster_user_idStringRequired
      The broadcaster user ID for the channel you want to receive channel points custom reward redemption add notifications for.
    • condition.reward_idStringNullable
      Specify a reward id to only receive notifications for a specific reward.
  • transportObjectRequired
    Transport-specific parameters.
    Hide child attributesShow child attributes
    • transport.methodStringRequired
      The transport method for EventSub.

      Possible values

      • webhook
      • websocket
      • conduit
    • transport.callbackString

      The callback URL where notifications are sent. The URL must use the HTTPS protocol and port 443, and its host must resolve to a public IPv4 address. Hosts that resolve only to IPv6 addresses aren't supported. See Processing an Event.

      Required if method is webhook. Don't specify it for other methods.

      NOTE: Redirects are not followed.

    • transport.secretString

      The secret used to verify the signature. The secret must be an ASCII string that's a minimum of 10 characters long and a maximum of 100 characters long. For information about how the secret is used, see Verifying the event message.

      Required if method is webhook. Don't specify it for other methods.

    • transport.session_idString

      An ID that identifies the WebSocket to send notifications to. When you connect to EventSub using WebSockets, the server returns the ID in the Welcome message.

      Required if method is websocket. Don't specify it for other methods.

    • transport.conduit_idString

      An ID that identifies the conduit to send this notification to. When you create a conduit, the server returns the ID in the API response.

      Required if method is conduit. Don't specify it for other methods.

Event Payload

  • subscriptionObject
    Metadata about the subscription.
    Hide child attributesShow child attributes
    • subscription.idString
      The Subscription ID of the subscription.
    • subscription.typeString
      The notification's subscription type.
    • subscription.versionString
      The version of the subscription.
    • subscription.statusString
      The status of the subscription.
    • subscription.costInteger
      How much the subscription counts against your limit. See Subscription Limits for more information.
    • subscription.conditionObject
      Subscription-specific parameters.
      Hide child attributesShow child attributes
      • subscription.condition.broadcaster_user_idString
        The broadcaster user ID for the channel you want to receive channel points custom reward redemption add notifications for.
      • subscription.condition.reward_idString
        The ID of the reward that the subscription is limited to. Is an empty string if the subscription isn't limited to a reward.
    • subscription.created_atString
      The UTC date and time (in RFC3339 format) of when the subscription was created.
    • subscription.transportObject
      The transport that the notification was sent over.
      Hide child attributesShow child attributes
      • subscription.transport.methodString
        The transport method.

        Possible values

        • webhook
        • websocket
        • conduit
      • subscription.transport.callbackString
        The callback URL where notifications are sent. Included only if method is webhook.
      • subscription.transport.session_idString
        The ID of the WebSocket session that notifications are sent to. Included only if method is websocket.
      • subscription.transport.conduit_idString
        The ID of the conduit that notifications are sent to. Included only if method is conduit.
  • eventObject
    The event information.
    Hide child attributesShow child attributes
    • event.idString
      The redemption identifier.
    • event.broadcaster_user_idString
      The requested broadcaster ID.
    • event.broadcaster_user_loginString
      The requested broadcaster login.
    • event.broadcaster_user_nameString
      The requested broadcaster display name.
    • event.user_idString
      User ID of the user that redeemed the reward.
    • event.user_loginString
      Login of the user that redeemed the reward.
    • event.user_nameString
      Display name of the user that redeemed the reward.
    • event.user_inputString
      The user input provided. Empty string if not provided.
    • event.statusString
      The redemption's status. Is fulfilled if the reward skips the request queue (the reward's should_redemptions_skip_request_queue setting is true); otherwise, unfulfilled. Possible values are unknown, unfulfilled, fulfilled, and canceled.
    • event.redeemed_atString
      RFC3339 timestamp of when the reward was redeemed.
    • event.rewardObject
      Basic information about the reward that was redeemed, at the time it was redeemed.
      Hide child attributesShow child attributes
      • event.reward.idString
        The reward identifier.
      • event.reward.titleString
        The reward name.
      • event.reward.costInteger
        The reward cost.
      • event.reward.promptString
        The reward description.
Subscription Request Body Example
{
  "type": "channel.channel_points_custom_reward_redemption.add",
  "version": "1",
  "condition": {
    "broadcaster_user_id": "1337",
    "reward_id": "92af127c-7326-4483-a52b-b0da0be61c01"
  },
  "transport": {
    "method": "webhook",
    "callback": "https://example.com/webhooks/callback",
    "secret": "s3cRe7"
  }
}
Event Payload Example
{
    "subscription": {
        "id": "f1c2a387-161a-49f9-a165-0f21d7a4e1c4",
        "type": "channel.channel_points_custom_reward_redemption.add",
        "version": "1",
        "status": "enabled",
        "cost": 0,
        "condition": {
            "broadcaster_user_id": "1337",
            "reward_id": "92af127c-7326-4483-a52b-b0da0be61c01"
        },
         "transport": {
            "method": "webhook",
            "callback": "https://example.com/webhooks/callback"
        },
        "created_at": "2019-11-16T10:11:12.634234626Z"
    },
    "event": {
        "id": "17fa2df1-ad76-4804-bfa5-a40ef63efe63",
        "broadcaster_user_id": "1337",
        "broadcaster_user_login": "cool_user",
        "broadcaster_user_name": "Cool_User",
        "user_id": "9001",
        "user_login": "cooler_user",
        "user_name": "Cooler_User",
        "user_input": "pogchamp",
        "status": "unfulfilled",
        "reward": {
            "id": "92af127c-7326-4483-a52b-b0da0be61c01",
            "title": "title",
            "cost": 100,
            "prompt": "reward prompt"
        },
        "redeemed_at": "2020-07-15T17:16:03.17106713Z"
    }
}

Channel Points Custom Reward Redemption Update

The channel.channel_points_custom_reward_redemption.update subscription type sends a notification when the status of a redemption of a channel points custom reward changes on the specified channel, for example when the redemption is marked as fulfilled or canceled. Changing the status of several redemptions at once sends one notification per redemption.

Subscription

Type
channel.channel_points_custom_reward_redemption.update
Version
1

Authorization

Requires one of the following:

  • A user access token that includes the channel:read:redemptions or channel:manage:redemptions scope.The User ID associated with the token must match the broadcaster_user_id in the event's condition.
  • An app access token.The application, through prior authorization, must have been granted:
    • The channel:read:redemptions or channel:manage:redemptions scope for the user represented by the broadcaster_user_id event condition.

Subscription Request Body

  • typeStringRequired
    The subscription type name: channel.channel_points_custom_reward_redemption.update.
  • versionStringRequired
    The subscription type version: 1.
  • conditionObjectRequired
    Subscription-specific parameters. Pass in the broadcaster user ID for the channel you want to receive channel points custom reward redemption update notifications for. You can optionally pass in a reward id to only receive notifications for a specific reward.
    Hide child attributesShow child attributes
    • condition.broadcaster_user_idStringRequired
      The broadcaster user ID for the channel you want to receive channel points custom reward redemption update notifications for.
    • condition.reward_idStringNullable
      Specify a reward id to only receive notifications for a specific reward.
  • transportObjectRequired
    Transport-specific parameters.
    Hide child attributesShow child attributes
    • transport.methodStringRequired
      The transport method for EventSub.

      Possible values

      • webhook
      • websocket
      • conduit
    • transport.callbackString

      The callback URL where notifications are sent. The URL must use the HTTPS protocol and port 443, and its host must resolve to a public IPv4 address. Hosts that resolve only to IPv6 addresses aren't supported. See Processing an Event.

      Required if method is webhook. Don't specify it for other methods.

      NOTE: Redirects are not followed.

    • transport.secretString

      The secret used to verify the signature. The secret must be an ASCII string that's a minimum of 10 characters long and a maximum of 100 characters long. For information about how the secret is used, see Verifying the event message.

      Required if method is webhook. Don't specify it for other methods.

    • transport.session_idString

      An ID that identifies the WebSocket to send notifications to. When you connect to EventSub using WebSockets, the server returns the ID in the Welcome message.

      Required if method is websocket. Don't specify it for other methods.

    • transport.conduit_idString

      An ID that identifies the conduit to send this notification to. When you create a conduit, the server returns the ID in the API response.

      Required if method is conduit. Don't specify it for other methods.

Event Payload

  • subscriptionObject
    Metadata about the subscription.
    Hide child attributesShow child attributes
    • subscription.idString
      The Subscription ID of the subscription.
    • subscription.typeString
      The notification's subscription type.
    • subscription.versionString
      The version of the subscription.
    • subscription.statusString
      The status of the subscription.
    • subscription.costInteger
      How much the subscription counts against your limit. See Subscription Limits for more information.
    • subscription.conditionObject
      Subscription-specific parameters.
      Hide child attributesShow child attributes
      • subscription.condition.broadcaster_user_idString
        The broadcaster user ID for the channel you want to receive channel points custom reward redemption update notifications for.
      • subscription.condition.reward_idString
        The ID of the reward that the subscription is limited to. Is an empty string if the subscription isn't limited to a reward.
    • subscription.created_atString
      The UTC date and time (in RFC3339 format) of when the subscription was created.
    • subscription.transportObject
      The transport that the notification was sent over.
      Hide child attributesShow child attributes
      • subscription.transport.methodString
        The transport method.

        Possible values

        • webhook
        • websocket
        • conduit
      • subscription.transport.callbackString
        The callback URL where notifications are sent. Included only if method is webhook.
      • subscription.transport.session_idString
        The ID of the WebSocket session that notifications are sent to. Included only if method is websocket.
      • subscription.transport.conduit_idString
        The ID of the conduit that notifications are sent to. Included only if method is conduit.
  • eventObject
    The event information.
    Hide child attributesShow child attributes
    • event.idString
      The redemption identifier.
    • event.broadcaster_user_idString
      The requested broadcaster ID.
    • event.broadcaster_user_loginString
      The requested broadcaster login.
    • event.broadcaster_user_nameString
      The requested broadcaster display name.
    • event.user_idString
      User ID of the user that redeemed the reward.
    • event.user_loginString
      Login of the user that redeemed the reward.
    • event.user_nameString
      Display name of the user that redeemed the reward.
    • event.user_inputString
      The user input provided. Empty string if not provided.
    • event.statusString
      Will be fulfilled or canceled. Possible values are unknown, unfulfilled, fulfilled, and canceled.
    • event.rewardObject
      Basic information about the reward that was redeemed, at the time it was redeemed.
      Hide child attributesShow child attributes
      • event.reward.idString
        The reward identifier.
      • event.reward.titleString
        The reward name.
      • event.reward.costInteger
        The reward cost.
      • event.reward.promptString
        The reward description.
    • event.redeemed_atString
      RFC3339 timestamp of when the reward was redeemed.
Subscription Request Body Example
{
  "type": "channel.channel_points_custom_reward_redemption.update",
  "version": "1",
  "condition": {
    "broadcaster_user_id": "1337",
    "reward_id": "92af127c-7326-4483-a52b-b0da0be61c01"
  },
  "transport": {
    "method": "webhook",
    "callback": "https://example.com/webhooks/callback",
    "secret": "s3cRe7"
  }
}
Event Payload Example
{
    "subscription": {
        "id": "f1c2a387-161a-49f9-a165-0f21d7a4e1c4",
        "type": "channel.channel_points_custom_reward_redemption.update",
        "version": "1",
        "status": "enabled",
        "cost": 0,
        "condition": {
            "broadcaster_user_id": "1337",
            "reward_id": "92af127c-7326-4483-a52b-b0da0be61c01"
        },
         "transport": {
            "method": "webhook",
            "callback": "https://example.com/webhooks/callback"
        },
        "created_at": "2019-11-16T10:11:12.634234626Z"
    },
    "event": {
        "id": "17fa2df1-ad76-4804-bfa5-a40ef63efe63",
        "broadcaster_user_id": "1337",
        "broadcaster_user_login": "cool_user",
        "broadcaster_user_name": "Cool_User",
        "user_id": "9001",
        "user_login": "cooler_user",
        "user_name": "Cooler_User",
        "user_input": "pogchamp",
        "status": "fulfilled",
        "reward": {
            "id": "92af127c-7326-4483-a52b-b0da0be61c01",
            "title": "title",
            "cost": 100,
            "prompt": "reward prompt"
        },
        "redeemed_at": "2020-07-15T17:16:03.17106713Z"
    }
}

Channel Points Custom Reward Add

The channel.channel_points_custom_reward.add subscription type sends a notification when a custom channel points reward has been created for the specified channel.

Subscription

Type
channel.channel_points_custom_reward.add
Version
1

Authorization

Requires one of the following:

  • A user access token that includes the channel:read:redemptions or channel:manage:redemptions scope.The User ID associated with the token must match the broadcaster_user_id in the event's condition.
  • An app access token.The application, through prior authorization, must have been granted:
    • The channel:read:redemptions or channel:manage:redemptions scope for the user represented by the broadcaster_user_id event condition.

Subscription Request Body

  • typeStringRequired
    The subscription type name: channel.channel_points_custom_reward.add.
  • versionStringRequired
    The subscription type version: 1.
  • conditionObjectRequired
    Subscription-specific parameters. Pass in the broadcaster user ID for the channel you want to receive channel points custom reward add notifications for.
    Hide child attributesShow child attributes
    • condition.broadcaster_user_idStringRequired
      The broadcaster user ID for the channel you want to receive channel points custom reward add notifications for.
  • transportObjectRequired
    Transport-specific parameters.
    Hide child attributesShow child attributes
    • transport.methodStringRequired
      The transport method for EventSub.

      Possible values

      • webhook
      • websocket
      • conduit
    • transport.callbackString

      The callback URL where notifications are sent. The URL must use the HTTPS protocol and port 443, and its host must resolve to a public IPv4 address. Hosts that resolve only to IPv6 addresses aren't supported. See Processing an Event.

      Required if method is webhook. Don't specify it for other methods.

      NOTE: Redirects are not followed.

    • transport.secretString

      The secret used to verify the signature. The secret must be an ASCII string that's a minimum of 10 characters long and a maximum of 100 characters long. For information about how the secret is used, see Verifying the event message.

      Required if method is webhook. Don't specify it for other methods.

    • transport.session_idString

      An ID that identifies the WebSocket to send notifications to. When you connect to EventSub using WebSockets, the server returns the ID in the Welcome message.

      Required if method is websocket. Don't specify it for other methods.

    • transport.conduit_idString

      An ID that identifies the conduit to send this notification to. When you create a conduit, the server returns the ID in the API response.

      Required if method is conduit. Don't specify it for other methods.

Event Payload

  • subscriptionObject
    Metadata about the subscription.
    Hide child attributesShow child attributes
    • subscription.idString
      The Subscription ID of the subscription.
    • subscription.typeString
      The notification's subscription type.
    • subscription.versionString
      The version of the subscription.
    • subscription.statusString
      The status of the subscription.
    • subscription.costInteger
      How much the subscription counts against your limit. See Subscription Limits for more information.
    • subscription.conditionObject
      Subscription-specific parameters.
      Hide child attributesShow child attributes
      • subscription.condition.broadcaster_user_idString
        The broadcaster user ID for the channel you want to receive channel points custom reward add notifications for.
    • subscription.created_atString
      The UTC date and time (in RFC3339 format) of when the subscription was created.
    • subscription.transportObject
      The transport that the notification was sent over.
      Hide child attributesShow child attributes
      • subscription.transport.methodString
        The transport method.

        Possible values

        • webhook
        • websocket
        • conduit
      • subscription.transport.callbackString
        The callback URL where notifications are sent. Included only if method is webhook.
      • subscription.transport.session_idString
        The ID of the WebSocket session that notifications are sent to. Included only if method is websocket.
      • subscription.transport.conduit_idString
        The ID of the conduit that notifications are sent to. Included only if method is conduit.
  • eventObject
    The event information.
    Hide child attributesShow child attributes
    • event.idString
      The reward identifier.
    • event.broadcaster_user_idString
      The requested broadcaster ID.
    • event.broadcaster_user_loginString
      The requested broadcaster login.
    • event.broadcaster_user_nameString
      The requested broadcaster display name.
    • event.is_enabledBoolean
      Is the reward currently enabled. If false, the reward won't show up to viewers.
    • event.is_pausedBoolean
      Is the reward currently paused. If true, viewers can't redeem.
    • event.is_in_stockBoolean
      Is the reward currently in stock. If false, viewers can't redeem. Also false if max_per_stream is enabled and the broadcaster isn't live.
    • event.titleString
      The reward title.
    • event.costInteger
      The reward cost.
    • event.promptString
      The reward description.
    • event.is_user_input_requiredBoolean
      Does the viewer need to enter information when redeeming the reward.
    • event.should_redemptions_skip_request_queueBoolean
      Should redemptions be set to fulfilled status immediately when redeemed and skip the request queue instead of the normal unfulfilled status.
    • event.max_per_streamObject
      Whether a maximum per stream is enabled and what the maximum is.
      Hide child attributesShow child attributes
      • event.max_per_stream.is_enabledBoolean
        Is the setting enabled.
      • event.max_per_stream.valueInteger
        The max per stream limit.
    • event.max_per_user_per_streamObject
      Whether a maximum per user per stream is enabled and what the maximum is.
      Hide child attributesShow child attributes
      • event.max_per_user_per_stream.is_enabledBoolean
        Is the setting enabled.
      • event.max_per_user_per_stream.valueInteger
        The max per user per stream limit.
    • event.background_colorString
      Custom background color for the reward, as a hex color code with a # prefix. Example: #FA1ED2. Is an empty string if the reward was created without a background color.
    • event.imageObjectNullable
      Set of custom images of 1x, 2x and 4x sizes for the reward. Always null in this notification, because a custom image can be uploaded only after the reward is created. The channel.channel_points_custom_reward.update notification reports the image once it's uploaded.
      Hide child attributesShow child attributes
      • event.image.url_1xString
        URL for the image at 1x size.
      • event.image.url_2xString
        URL for the image at 2x size.
      • event.image.url_4xString
        URL for the image at 4x size.
    • event.default_imageObject
      Set of default images of 1x, 2x and 4x sizes for the reward.
      Hide child attributesShow child attributes
      • event.default_image.url_1xString
        URL for the image at 1x size.
      • event.default_image.url_2xString
        URL for the image at 2x size.
      • event.default_image.url_4xString
        URL for the image at 4x size.
    • event.global_cooldownObject
      Whether a cooldown is enabled and what the cooldown is in seconds.
      Hide child attributesShow child attributes
      • event.global_cooldown.is_enabledBoolean
        Is the setting enabled.
      • event.global_cooldown.secondsInteger
        The cooldown in seconds.
    • event.cooldown_expires_atStringNullable
      Timestamp of the cooldown expiration. null if the reward isn't on cooldown.
    • event.redemptions_redeemed_current_streamIntegerNullable
      The number of redemptions redeemed during the current live stream. Counts against the max_per_stream limit. null if the broadcasters stream isn't live or max_per_stream isn't enabled.
Subscription Request Body Example
{
  "type": "channel.channel_points_custom_reward.add",
  "version": "1",
  "condition": {
    "broadcaster_user_id": "1337"
  },
  "transport": {
    "method": "webhook",
    "callback": "https://example.com/webhooks/callback",
    "secret": "s3cRe7"
  }
}
Event Payload Example
{
    "subscription": {
        "id": "f1c2a387-161a-49f9-a165-0f21d7a4e1c4",
        "type": "channel.channel_points_custom_reward.add",
        "version": "1",
        "status": "enabled",
        "cost": 0,
        "condition": {
            "broadcaster_user_id": "1337"
        },
         "transport": {
            "method": "webhook",
            "callback": "https://example.com/webhooks/callback"
        },
        "created_at": "2019-11-16T10:11:12.634234626Z"
    },
    "event": {
        "id": "afaa7e34-6b17-49f0-a19a-d1e76eaaf673",
        "broadcaster_user_id": "1337",
        "broadcaster_user_login": "cool_user",
        "broadcaster_user_name": "Cool_User",
        "is_enabled": true,
        "is_paused": false,
        "is_in_stock": true,
        "title": "Cool Reward",
        "cost": 100,
        "prompt": "reward prompt",
        "is_user_input_required": true,
        "should_redemptions_skip_request_queue": false,
        "cooldown_expires_at": null,
        "redemptions_redeemed_current_stream": 0,
        "max_per_stream": {
            "is_enabled": true,
            "value": 1000
        },
        "max_per_user_per_stream": {
            "is_enabled": true,
            "value": 1000
        },
        "global_cooldown": {
            "is_enabled": true,
            "seconds": 1000
        },
        "background_color": "#FA1ED2",
        "image": null,
        "default_image": {
            "url_1x": "https://static-cdn.jtvnw.net/custom-reward-images/default-1.png",
            "url_2x": "https://static-cdn.jtvnw.net/custom-reward-images/default-2.png",
            "url_4x": "https://static-cdn.jtvnw.net/custom-reward-images/default-4.png"
        }
    }
}

Channel Points Custom Reward Remove

The channel.channel_points_custom_reward.remove subscription type sends a notification when a custom channel points reward has been removed from the specified channel.

Subscription

Type
channel.channel_points_custom_reward.remove
Version
1

Authorization

Requires one of the following:

  • A user access token that includes the channel:read:redemptions or channel:manage:redemptions scope.The User ID associated with the token must match the broadcaster_user_id in the event's condition.
  • An app access token.The application, through prior authorization, must have been granted:
    • The channel:read:redemptions or channel:manage:redemptions scope for the user represented by the broadcaster_user_id event condition.

Subscription Request Body

  • typeStringRequired
    The subscription type name: channel.channel_points_custom_reward.remove.
  • versionStringRequired
    The subscription type version: 1.
  • conditionObjectRequired
    Subscription-specific parameters. Pass in the broadcaster user ID for the channel you want to receive channel points custom reward remove notifications for. You can optionally pass in a reward ID to only receive notifications for a specific reward.
    Hide child attributesShow child attributes
    • condition.broadcaster_user_idStringRequired
      The broadcaster user ID for the channel you want to receive channel points custom reward remove notifications for.
    • condition.reward_idStringNullable
      Specify a reward id to only receive notifications for a specific reward.
  • transportObjectRequired
    Transport-specific parameters.
    Hide child attributesShow child attributes
    • transport.methodStringRequired
      The transport method for EventSub.

      Possible values

      • webhook
      • websocket
      • conduit
    • transport.callbackString

      The callback URL where notifications are sent. The URL must use the HTTPS protocol and port 443, and its host must resolve to a public IPv4 address. Hosts that resolve only to IPv6 addresses aren't supported. See Processing an Event.

      Required if method is webhook. Don't specify it for other methods.

      NOTE: Redirects are not followed.

    • transport.secretString

      The secret used to verify the signature. The secret must be an ASCII string that's a minimum of 10 characters long and a maximum of 100 characters long. For information about how the secret is used, see Verifying the event message.

      Required if method is webhook. Don't specify it for other methods.

    • transport.session_idString

      An ID that identifies the WebSocket to send notifications to. When you connect to EventSub using WebSockets, the server returns the ID in the Welcome message.

      Required if method is websocket. Don't specify it for other methods.

    • transport.conduit_idString

      An ID that identifies the conduit to send this notification to. When you create a conduit, the server returns the ID in the API response.

      Required if method is conduit. Don't specify it for other methods.

Event Payload

  • subscriptionObject
    Metadata about the subscription.
    Hide child attributesShow child attributes
    • subscription.idString
      The Subscription ID of the subscription.
    • subscription.typeString
      The notification's subscription type.
    • subscription.versionString
      The version of the subscription.
    • subscription.statusString
      The status of the subscription.
    • subscription.costInteger
      How much the subscription counts against your limit. See Subscription Limits for more information.
    • subscription.conditionObject
      Subscription-specific parameters.
      Hide child attributesShow child attributes
      • subscription.condition.broadcaster_user_idString
        The broadcaster user ID for the channel you want to receive channel points custom reward remove notifications for.
      • subscription.condition.reward_idString
        The ID of the reward that the subscription is limited to. Is an empty string if the subscription isn't limited to a reward.
    • subscription.created_atString
      The UTC date and time (in RFC3339 format) of when the subscription was created.
    • subscription.transportObject
      The transport that the notification was sent over.
      Hide child attributesShow child attributes
      • subscription.transport.methodString
        The transport method.

        Possible values

        • webhook
        • websocket
        • conduit
      • subscription.transport.callbackString
        The callback URL where notifications are sent. Included only if method is webhook.
      • subscription.transport.session_idString
        The ID of the WebSocket session that notifications are sent to. Included only if method is websocket.
      • subscription.transport.conduit_idString
        The ID of the conduit that notifications are sent to. Included only if method is conduit.
  • eventObject
    The event information.
    Hide child attributesShow child attributes
    • event.idString
      The reward identifier.
    • event.broadcaster_user_idString
      The requested broadcaster ID.
    • event.broadcaster_user_loginString
      The requested broadcaster login.
    • event.broadcaster_user_nameString
      The requested broadcaster display name.
    • event.is_enabledBoolean
      Is the reward currently enabled. If false, the reward won't show up to viewers.
    • event.is_pausedBoolean
      Is the reward currently paused. If true, viewers can't redeem.
    • event.is_in_stockBoolean
      Is the reward currently in stock. If false, viewers can't redeem.
    • event.titleString
      The reward title.
    • event.costInteger
      The reward cost.
    • event.promptString
      The reward description.
    • event.is_user_input_requiredBoolean
      Does the viewer need to enter information when redeeming the reward.
    • event.should_redemptions_skip_request_queueBoolean
      Should redemptions be set to fulfilled status immediately when redeemed and skip the request queue instead of the normal unfulfilled status.
    • event.max_per_streamObject
      Whether a maximum per stream is enabled and what the maximum is.
      Hide child attributesShow child attributes
      • event.max_per_stream.is_enabledBoolean
        Is the setting enabled.
      • event.max_per_stream.valueInteger
        The max per stream limit.
    • event.max_per_user_per_streamObject
      Whether a maximum per user per stream is enabled and what the maximum is.
      Hide child attributesShow child attributes
      • event.max_per_user_per_stream.is_enabledBoolean
        Is the setting enabled.
      • event.max_per_user_per_stream.valueInteger
        The max per user per stream limit.
    • event.background_colorString
      Custom background color for the reward. Format: Hex with # prefix. Example: #FA1ED2. Is an empty string if the reward doesn't have a background color.
    • event.imageObjectNullable
      Set of custom images of 1x, 2x and 4x sizes for the reward. Can be null if no images have been uploaded. When a reward is removed, its custom image files are deleted, so these URLs might no longer load.
      Hide child attributesShow child attributes
      • event.image.url_1xString
        URL for the image at 1x size.
      • event.image.url_2xString
        URL for the image at 2x size.
      • event.image.url_4xString
        URL for the image at 4x size.
    • event.default_imageObject
      Set of default images of 1x, 2x and 4x sizes for the reward.
      Hide child attributesShow child attributes
      • event.default_image.url_1xString
        URL for the image at 1x size.
      • event.default_image.url_2xString
        URL for the image at 2x size.
      • event.default_image.url_4xString
        URL for the image at 4x size.
    • event.global_cooldownObject
      Whether a cooldown is enabled and what the cooldown is in seconds.
      Hide child attributesShow child attributes
      • event.global_cooldown.is_enabledBoolean
        Is the setting enabled.
      • event.global_cooldown.secondsInteger
        The cooldown in seconds.
    • event.cooldown_expires_atStringNullable
      Timestamp of the cooldown expiration. null if the reward isn't on cooldown.
    • event.redemptions_redeemed_current_streamIntegerNullable
      The number of redemptions redeemed during the current live stream. Counts against the max_per_stream limit. null if the broadcasters stream isn't live or max_per_stream isn't enabled.
Subscription Request Body Example
{
  "type": "channel.channel_points_custom_reward.remove",
  "version": "1",
  "condition": {
    "broadcaster_user_id": "1337",
    "reward_id": "92af127c-7326-4483-a52b-b0da0be61c01"
  },
  "transport": {
    "method": "webhook",
    "callback": "https://example.com/webhooks/callback",
    "secret": "s3cRe7"
  }
}
Event Payload Example
{
    "subscription": {
        "id": "f1c2a387-161a-49f9-a165-0f21d7a4e1c4",
        "type": "channel.channel_points_custom_reward.remove",
        "version": "1",
        "status": "enabled",
        "cost": 0,
        "condition": {
            "broadcaster_user_id": "1337",
            "reward_id": "92af127c-7326-4483-a52b-b0da0be61c01"
        },
         "transport": {
            "method": "webhook",
            "callback": "https://example.com/webhooks/callback"
        },
        "created_at": "2019-11-16T10:11:12.634234626Z"
    },
    "event": {
        "id": "92af127c-7326-4483-a52b-b0da0be61c01",
        "broadcaster_user_id": "1337",
        "broadcaster_user_login": "cool_user",
        "broadcaster_user_name": "Cool_User",
        "is_enabled": true,
        "is_paused": false,
        "is_in_stock": false,
        "title": "Cool Reward",
        "cost": 100,
        "prompt": "reward prompt",
        "is_user_input_required": true,
        "should_redemptions_skip_request_queue": false,
        "cooldown_expires_at": "2019-11-16T10:16:12Z",
        "redemptions_redeemed_current_stream": 123,
        "max_per_stream": {
            "is_enabled": true,
            "value": 1000
        },
        "max_per_user_per_stream": {
            "is_enabled": true,
            "value": 1000
        },
        "global_cooldown": {
            "is_enabled": true,
            "seconds": 1000
        },
        "background_color": "#FA1ED2",
        "image": {
            "url_1x": "https://static-cdn.jtvnw.net/image-1.png",
            "url_2x": "https://static-cdn.jtvnw.net/image-2.png",
            "url_4x": "https://static-cdn.jtvnw.net/image-4.png"
        },
        "default_image": {
            "url_1x": "https://static-cdn.jtvnw.net/default-1.png",
            "url_2x": "https://static-cdn.jtvnw.net/default-2.png",
            "url_4x": "https://static-cdn.jtvnw.net/default-4.png"
        }
    }
}

Channel Points Custom Reward Update

The channel.channel_points_custom_reward.update subscription type sends a notification when a custom channel points reward is updated for the specified channel. A notification is sent when:

  • The reward is updated, including when it's paused or unpaused, or when a new custom image is uploaded for it.
  • A viewer redeems the reward and it has max_per_stream or global_cooldown enabled.
  • The broadcaster's stream starts, for each reward that has max_per_stream enabled and is in stock.
  • The broadcaster's stream ends, for each reward that has max_per_stream enabled.

Each notification contains the reward's complete current settings and state, not only the values that changed. No notification is sent when a cooldown expires.

Subscription

Type
channel.channel_points_custom_reward.update
Version
1

Authorization

Requires one of the following:

  • A user access token that includes the channel:read:redemptions or channel:manage:redemptions scope.The User ID associated with the token must match the broadcaster_user_id in the event's condition.
  • An app access token.The application, through prior authorization, must have been granted:
    • The channel:read:redemptions or channel:manage:redemptions scope for the user represented by the broadcaster_user_id event condition.

Subscription Request Body

  • typeStringRequired
    The subscription type name: channel.channel_points_custom_reward.update.
  • versionStringRequired
    The subscription type version: 1.
  • conditionObjectRequired
    Subscription-specific parameters. Pass in the broadcaster user ID for the channel you want to receive channel points custom reward update notifications for. You can optionally pass in a reward id to only receive notifications for a specific reward.
    Hide child attributesShow child attributes
    • condition.broadcaster_user_idStringRequired
      The broadcaster user ID for the channel you want to receive channel points custom reward update notifications for.
    • condition.reward_idStringNullable
      Specify a reward id to only receive notifications for a specific reward.
  • transportObjectRequired
    Transport-specific parameters.
    Hide child attributesShow child attributes
    • transport.methodStringRequired
      The transport method for EventSub.

      Possible values

      • webhook
      • websocket
      • conduit
    • transport.callbackString

      The callback URL where notifications are sent. The URL must use the HTTPS protocol and port 443, and its host must resolve to a public IPv4 address. Hosts that resolve only to IPv6 addresses aren't supported. See Processing an Event.

      Required if method is webhook. Don't specify it for other methods.

      NOTE: Redirects are not followed.

    • transport.secretString

      The secret used to verify the signature. The secret must be an ASCII string that's a minimum of 10 characters long and a maximum of 100 characters long. For information about how the secret is used, see Verifying the event message.

      Required if method is webhook. Don't specify it for other methods.

    • transport.session_idString

      An ID that identifies the WebSocket to send notifications to. When you connect to EventSub using WebSockets, the server returns the ID in the Welcome message.

      Required if method is websocket. Don't specify it for other methods.

    • transport.conduit_idString

      An ID that identifies the conduit to send this notification to. When you create a conduit, the server returns the ID in the API response.

      Required if method is conduit. Don't specify it for other methods.

Event Payload

  • subscriptionObject
    Metadata about the subscription.
    Hide child attributesShow child attributes
    • subscription.idString
      The Subscription ID of the subscription.
    • subscription.typeString
      The notification's subscription type.
    • subscription.versionString
      The version of the subscription.
    • subscription.statusString
      The status of the subscription.
    • subscription.costInteger
      How much the subscription counts against your limit. See Subscription Limits for more information.
    • subscription.conditionObject
      Subscription-specific parameters.
      Hide child attributesShow child attributes
      • subscription.condition.broadcaster_user_idString
        The broadcaster user ID for the channel you want to receive channel points custom reward update notifications for.
      • subscription.condition.reward_idString
        The ID of the reward that the subscription is limited to. Is an empty string if the subscription isn't limited to a reward.
    • subscription.created_atString
      The UTC date and time (in RFC3339 format) of when the subscription was created.
    • subscription.transportObject
      The transport that the notification was sent over.
      Hide child attributesShow child attributes
      • subscription.transport.methodString
        The transport method.

        Possible values

        • webhook
        • websocket
        • conduit
      • subscription.transport.callbackString
        The callback URL where notifications are sent. Included only if method is webhook.
      • subscription.transport.session_idString
        The ID of the WebSocket session that notifications are sent to. Included only if method is websocket.
      • subscription.transport.conduit_idString
        The ID of the conduit that notifications are sent to. Included only if method is conduit.
  • eventObject
    The event information.
    Hide child attributesShow child attributes
    • event.idString
      The reward identifier.
    • event.broadcaster_user_idString
      The requested broadcaster ID.
    • event.broadcaster_user_loginString
      The requested broadcaster login.
    • event.broadcaster_user_nameString
      The requested broadcaster display name.
    • event.is_enabledBoolean
      Is the reward currently enabled. If false, the reward won't show up to viewers.
    • event.is_pausedBoolean
      Is the reward currently paused. If true, viewers can't redeem.
    • event.is_in_stockBoolean
      Is the reward currently in stock. If false, viewers can't redeem.
    • event.titleString
      The reward title.
    • event.costInteger
      The reward cost.
    • event.promptString
      The reward description.
    • event.is_user_input_requiredBoolean
      Does the viewer need to enter information when redeeming the reward.
    • event.should_redemptions_skip_request_queueBoolean
      Should redemptions be set to fulfilled status immediately when redeemed and skip the request queue instead of the normal unfulfilled status.
    • event.max_per_streamObject
      Whether a maximum per stream is enabled and what the maximum is.
      Hide child attributesShow child attributes
      • event.max_per_stream.is_enabledBoolean
        Is the setting enabled.
      • event.max_per_stream.valueInteger
        The max per stream limit.
    • event.max_per_user_per_streamObject
      Whether a maximum per user per stream is enabled and what the maximum is.
      Hide child attributesShow child attributes
      • event.max_per_user_per_stream.is_enabledBoolean
        Is the setting enabled.
      • event.max_per_user_per_stream.valueInteger
        The max per user per stream limit.
    • event.background_colorString
      Custom background color for the reward. Format: Hex with # prefix. Example: #FA1ED2. Is an empty string if the reward doesn't have a background color.
    • event.imageObjectNullable
      Set of custom images of 1x, 2x and 4x sizes for the reward. Can be null if no images have been uploaded.
      Hide child attributesShow child attributes
      • event.image.url_1xString
        URL for the image at 1x size.
      • event.image.url_2xString
        URL for the image at 2x size.
      • event.image.url_4xString
        URL for the image at 4x size.
    • event.default_imageObject
      Set of default images of 1x, 2x and 4x sizes for the reward.
      Hide child attributesShow child attributes
      • event.default_image.url_1xString
        URL for the image at 1x size.
      • event.default_image.url_2xString
        URL for the image at 2x size.
      • event.default_image.url_4xString
        URL for the image at 4x size.
    • event.global_cooldownObject
      Whether a cooldown is enabled and what the cooldown is in seconds.
      Hide child attributesShow child attributes
      • event.global_cooldown.is_enabledBoolean
        Is the setting enabled.
      • event.global_cooldown.secondsInteger
        The cooldown in seconds.
    • event.cooldown_expires_atStringNullable
      Timestamp of the cooldown expiration. null if the reward isn't on cooldown.
    • event.redemptions_redeemed_current_streamIntegerNullable
      The number of redemptions redeemed during the current live stream. Counts against the max_per_stream limit. null if the broadcasters stream isn't live or max_per_stream isn't enabled.
Subscription Request Body Example
{
  "type": "channel.channel_points_custom_reward.update",
  "version": "1",
  "condition": {
    "broadcaster_user_id": "1337",
    "reward_id": "92af127c-7326-4483-a52b-b0da0be61c01"
  },
  "transport": {
    "method": "webhook",
    "callback": "https://example.com/webhooks/callback",
    "secret": "s3cRe7"
  }
}
Event Payload Example
{
    "subscription": {
        "id": "f1c2a387-161a-49f9-a165-0f21d7a4e1c4",
        "type": "channel.channel_points_custom_reward.update",
        "version": "1",
        "status": "enabled",
        "cost": 0,
        "condition": {
            "broadcaster_user_id": "1337",
            "reward_id": "92af127c-7326-4483-a52b-b0da0be61c01"
        },
         "transport": {
            "method": "webhook",
            "callback": "https://example.com/webhooks/callback"
        },
        "created_at": "2019-11-16T10:11:12.634234626Z"
    },
    "event": {
        "id": "92af127c-7326-4483-a52b-b0da0be61c01",
        "broadcaster_user_id": "1337",
        "broadcaster_user_login": "cool_user",
        "broadcaster_user_name": "Cool_User",
        "is_enabled": true,
        "is_paused": false,
        "is_in_stock": false,
        "title": "Cool Reward",
        "cost": 100,
        "prompt": "reward prompt",
        "is_user_input_required": true,
        "should_redemptions_skip_request_queue": false,
        "cooldown_expires_at": "2019-11-16T10:16:12Z",
        "redemptions_redeemed_current_stream": 123,
        "max_per_stream": {
            "is_enabled": true,
            "value": 1000
        },
        "max_per_user_per_stream": {
            "is_enabled": true,
            "value": 1000
        },
        "global_cooldown": {
            "is_enabled": true,
            "seconds": 1000
        },
        "background_color": "#FA1ED2",
        "image": {
            "url_1x": "https://static-cdn.jtvnw.net/image-1.png",
            "url_2x": "https://static-cdn.jtvnw.net/image-2.png",
            "url_4x": "https://static-cdn.jtvnw.net/image-4.png"
        },
        "default_image": {
            "url_1x": "https://static-cdn.jtvnw.net/default-1.png",
            "url_2x": "https://static-cdn.jtvnw.net/default-2.png",
            "url_4x": "https://static-cdn.jtvnw.net/default-4.png"
        }
    }
}