Get organization_id for drop.entitlement.grant subscription

Hello!
To subscribe to an event “drop.entitlement.grant”, need define “organization_id” in the request body:

{
    "type": "drop.entitlement.grant",
    "version": "1",
    "condition": {
        "organization_id": ""
    },
    "transport": {
        "method": "webhook",
        "callback": "https://example.com/webhooks/callback",
        "secret": "s3cRe7"
    },
    "is_batching_enabled": true,
}

Where can I get an organization_id? Can I use the organization name here?
Thankful for any help!

No

I believe it’s displayed on your organisations pages or can be found in the URL

Indeed. If you go to https://dev.twitch.tv/console, in the upper right corner you should see a dropdown to switch from your personal dashboard to that of an Org you are part of. When you switch to an org you should see https://dev.twitch.tv/org/ORG ID/console as the URL.

Many thanks @BarryCarlyon and @Dist! Your answers helped me a lot.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.