GET /skus/{sku_id}/subscriptions

Changed on

Returns all subscriptions containing the SKU, filtered by user.

Request

  • Base URL
    https://discord.com/api/v10
  • Auth
    • API key in header Authorization
    • or OAuth 2
      Authorization code: https://discord.com/api/oauth2/authorize
      Client credentials
      Implicit: https://discord.com/api/oauth2/authorize
      Token URL: https://discord.com/api/oauth2/token scopes: activities.invites.write, activities.read, activities.write, applications.builds.read, applications.builds.upload, applications.commands, applications.commands.permissions.update, applications.commands.update, applications.entitlements, applications.store.update, bot, connections, dm_channels.read, email, gdm.join, guilds, guilds.join, guilds.members.read, identify, messages.read, openid, relationships.read, role_connections.write, rpc, rpc.activities.write, rpc.notifications.read, rpc.screenshare.read, rpc.screenshare.write, rpc.video.read, rpc.video.write, rpc.voice.read, rpc.voice.write, voice, webhook.incoming

Query parameters

beforestring snowflake
afterstring snowflake
limitinteger
user_idstring snowflake

Response

200 response for get_sku_subscriptions

idstring snowflake required
user_idstring snowflake required
sku_idsSnowflakeType[] required

List of SKUs subscribed to

renewal_sku_idsSnowflakeType[] nullable required

List of SKUs that this user will be subscribed to at renewal

entitlement_idsSnowflakeType[] required

List of entitlements granted for this subscription

current_period_startstring date-time required

Start of the current subscription period

current_period_endstring date-time required

End of the current subscription period

canceled_atstring date-time nullable required

When the subscription was canceled

countrystring nullable

ISO3166-1 alpha-2 country code of the payment source used to purchase the subscription

Changes