New docs? Check out the change log to learn more!
curl --request POST \
--url https://discord.com/api/v10/applications/{application_id}/entitlements \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"sku_id": "<string>",
"owner_id": "<string>",
"owner_type": 123
}
'{
"id": "<string>",
"sku_id": "<string>",
"application_id": "<string>",
"user_id": "<string>",
"deleted": true,
"type": 123,
"guild_id": "<unknown>",
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"fulfilled_at": "2023-11-07T05:31:56Z",
"fulfillment_status": "<unknown>",
"consumed": true,
"gifter_user_id": "<unknown>",
"parent_id": "<unknown>"
}curl --request POST \
--url https://discord.com/api/v10/applications/{application_id}/entitlements \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"sku_id": "<string>",
"owner_id": "<string>",
"owner_type": 123
}
'{
"id": "<string>",
"sku_id": "<string>",
"application_id": "<string>",
"user_id": "<string>",
"deleted": true,
"type": 123,
"guild_id": "<unknown>",
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"fulfilled_at": "2023-11-07T05:31:56Z",
"fulfillment_status": "<unknown>",
"consumed": true,
"gifter_user_id": "<unknown>",
"parent_id": "<unknown>"
}Discord bot token
200 response for create_entitlement