Skip to main content
Version: Next

APIEntitlement

Index

Properties

application_id

application_id: string

ID of the parent application

deleted

deleted: boolean

Whether the entitlement was deleted

optionalends_at

ends_at?: string

Date at which the entitlement is no longer valid. Not present when using test entitlements.

optionalguild_id

guild_id?: string

ID of the guild that is granted access to the entitlement’s sku

id

id: string

ID of the entitlement

sku_id

sku_id: string

ID of the SKU

optionalstarts_at

starts_at?: string

Start date at which the entitlement is valid. Not present when using test entitlements.

type

type: ApplicationSubscription

Type of entitlement

optionaluser_id

user_id?: string

ID of the user that is granted access to the entitlement’s sku