Entitlement Object
Entitlement Structure
Entitlement Example
Entitlement Types
List Entitlements
GET/applications/{application.id}/entitlements
Returns all entitlements for a given app, active and expired.
Query String Params
Get Entitlement
GET/applications/{application.id}/entitlements/{entitlement.id}
Returns an entitlement.
Consume an Entitlement
POST/applications/{application.id}/entitlements/{entitlement.id}/consume
For One-Time Purchase consumable SKUs, marks a given entitlement for the user as consumed. The entitlement will have consumed: true when using List Entitlements.
Returns a 204 No Content on success.
Create Test Entitlement
POST/applications/{application.id}/entitlements
Creates a test entitlement to a given SKU for a given guild or user. Discord will act as though that user or guild has entitlement to your premium offering.
This endpoint returns a partial entitlement object. It will not contain subscription_id, starts_at, or ends_at, as it’s valid in perpetuity.
After creating a test entitlement, you’ll need to reload your Discord client. After doing so, you’ll see that your server or user now has premium access.
JSON Params
Delete Test Entitlement
DELETE/applications/{application.id}/entitlements/{entitlement.id}
Deletes a currently-active test entitlement. Discord will act as though that user or guild no longer has entitlement to your premium offering.
Returns 204 No Content on success.