Langsung ke konten utama
POST
JavaScript

Otorisasi

Authorization
string
header
wajib

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
integration_config
Feature Flag Config · object
wajib

Platform-specific configuration (validated per integration_type)

integration_type
enum<string>
wajib

Which platform integration this entitlement uses

Opsi yang tersedia:
discord,
telegram,
github,
figma,
framer,
notion,
digital_files,
license_key,
feature_flag
name
string
wajib

Display name for this entitlement

description
string | null

Optional description

metadata
Metadata · object

Additional metadata for the entitlement

Respons

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

business_id
string
wajib

Identifier of the business that owns this entitlement.

created_at
string<date-time>
wajib

Timestamp when the entitlement was created.

id
string
wajib

Unique identifier of the entitlement.

integration_config
Feature Flag Config · object
wajib

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

integration_type
enum<string>
wajib

Platform integration this entitlement uses.

Opsi yang tersedia:
discord,
telegram,
github,
figma,
framer,
notion,
digital_files,
license_key,
feature_flag
is_active
boolean
wajib

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

metadata
Metadata · object
wajib

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

name
string
wajib

Display name supplied at creation.

updated_at
string<date-time>
wajib

Timestamp when the entitlement was last modified.

description
string | null

Optional description supplied at creation.

Terakhir diubah pada 28 Mei 2026