Chuyển đến nội dung chính
GET
JavaScript

Ủy quyền

Authorization
string
header
bắt buộc

Send your API key as a bearer token: Authorization: Bearer <api_key>. A test mode key starts with dodo_test_, for example dodo_test_AbCd1234EfGh5678.<secret>. A live mode key starts with dodo_live_. Use a test mode key on test.dodopayments.com and a live mode key on live.dodopayments.com. Keys from before these tags have no tag and operate as before.

Tham số đường dẫn

id
string
bắt buộc

Entitlement ID

Phản hồi

Detailed view of a single entitlement: identity, integration type, integration-specific configuration, and metadata.

business_id
string
bắt buộc

Identifier of the business that owns this entitlement.

created_at
string<date-time>
bắt buộc

Timestamp when the entitlement was created.

id
string
bắt buộc

Unique identifier of the entitlement.

integration_config
Feature Flag Config · object
bắt buộc

Integration-specific configuration. For digital_files entitlements this includes presigned download URLs for each attached file.

integration_type
enum<string>
bắt buộc

Platform integration this entitlement uses.

Tùy chọn có sẵn:
discord,
telegram,
github,
figma,
framer,
notion,
digital_files,
license_key,
feature_flag
is_active
boolean
bắt buộc

Always true for entitlements returned by the public API; soft-deleted entitlements are not returned.

metadata
Metadata · object
bắt buộc

Arbitrary key-value metadata supplied at creation or via PATCH.

name
string
bắt buộc

Display name supplied at creation.

updated_at
string<date-time>
bắt buộc

Timestamp when the entitlement was last modified.

description
string | null

Optional description supplied at creation.

Lần sửa đổi cuối 13 tháng 5, 2026