Skip to main content
POST
Create access tier

Authorizations

X-Api-Key
string
header
required

Path Parameters

project_id
string
required

The numeric ID of your project

Body

application/json
slug
string
required
name
string
required
segment_limit
integer | null
ads_enabled
boolean
intro_url
string | null
outro_url
string | null
cta_text
string | null
cta_url
string | null
player_agent
object

Response

Created

id
integer
slug
string

Unique identifier for the object

name
string

Human readable name of the access tier

segment_limit
integer | null

Maximum number of segments allowed for playback. Null means no limit.

ads_enabled
boolean

Whether ads are enabled for this tier

intro_url
string | null

URL of the intro audio file

outro_url
string | null

URL of the outro audio file

cta_text
string | null

Text of the call-to-action shown in the player

cta_url
string | null

URL the call-to-action links to

player_agent
object

Player agent settings for this tier

created
string

Time at which the object was created (ISO 8601)

updated
string

Time at which the object was updated (ISO 8601)