Skip to main content
POST
JavaScript

التفويضات

Authorization
string
header
مطلوب

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

الجسم

application/json
integration_config
Feature Flag Config · object
مطلوب

Platform-specific configuration (validated per integration_type)

integration_type
enum<string>
مطلوب

Which platform integration this entitlement uses

الخيارات المتاحة:
discord,
telegram,
github,
figma,
framer,
notion,
digital_files,
license_key,
feature_flag
name
string
مطلوب

Display name for this entitlement

description
string | null

Optional description

metadata
Metadata · object

Additional metadata for the entitlement

الاستجابة

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

business_id
string
مطلوب

Identifier of the business that owns this entitlement.

created_at
string<date-time>
مطلوب

Timestamp when the entitlement was created.

id
string
مطلوب

Unique identifier of the entitlement.

integration_config
Feature Flag Config · object
مطلوب

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

integration_type
enum<string>
مطلوب

Platform integration this entitlement uses.

الخيارات المتاحة:
discord,
telegram,
github,
figma,
framer,
notion,
digital_files,
license_key,
feature_flag
is_active
boolean
مطلوب

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

metadata
Metadata · object
مطلوب

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

name
string
مطلوب

Display name supplied at creation.

updated_at
string<date-time>
مطلوب

Timestamp when the entitlement was last modified.

description
string | null

Optional description supplied at creation.

آخر تعديل في ٢٨ مايو ٢٠٢٦