Use the API
Use the API
Create and manage access tiers with the BeyondWords API:
- List tiers:
GET /projects/{project_id}/player_settings/access_tiers - Create a tier:
POST /projects/{project_id}/player_settings/access_tiers - Get a tier:
GET /projects/{project_id}/player_settings/access_tiers/{id} - Edit a tier’s audio, agent, connector, and summary access:
PUT /projects/{project_id}/player_settings/access_tiers/{id}
Configuration options
For each tier, you can configure the following settings:Audio
Audio
- Article: Whether readers can play the audio article through the widget, when available. If so, whether they can play the full article, the title and first segment only, or the title only. Allows you to limit content access on lower tiers.
- Summary: Whether readers can play the audio summary through the widget, when available. Allows you to limit content access on lower tiers.
- Call to action: The call-to-action text and link that can appear in the audio section of the widget. Allows you to display upgrade prompts. Needs the Default version.
- Intro: Which intro plays in the widget, if any. Allows you to tailor messaging to each tier.
- Outro: What outro plays in the widget, if any. Allows you to tailor messaging to each tier.
- Play ads: Whether or not ads play according to your project settings. Allows you to create ad-supported and ad-free tiers.
The intro and outro in the default tier sync with the intro and outro in widget settings.
Agent
Agent
- Messages per conversation: Whether or not readers can chat with the agent via text. If so, how many messages they can send per conversation. Allows you to limit agent usage on lower tiers.
- Seconds per conversation: Whether or not readers can chat with the agent via voice. If so, how long each conversation can be. Allows you to limit agent usage on lower tiers.
- Leave blank for unlimited, or enter 0 to turn off text chat or voice.
- Call to action: The call-to-action text and link that can appear in the chat section of the widget. Allows you to display upgrade prompts. Needs the Default version.
Connector
Connector
- AI connector access: Whether or not readers can use the connector after verifying their email address (only applies when the connector is Private). Allows you to limit content access on lower tiers.
Set up access tiers
1
Go to access tiers
Go to the Access → Tiers page in your project dashboard.
2
Edit the default tier
Click ••• → Edit next to the Default tier.Configure the settings that should apply to anonymous readers.Click Save in each section you change.
3
Create other tiers
Return to Access → Tiers and click + Access tier.Enter a Name, then click Create tier. The tier’s slug is created from its name and can’t be changed later.Configure the tier’s settings, then click Save in each section you change.Repeat this step for each tier you want to create.
4
Assign readers to your tiers
Use authentication (recommended) to verify readers’ memberships and assign the appropriate access tier, or pass the tier’s slug through a public widget.
Ghost and Piano subscriber sign-in is in beta. Contact our team to request early access.
Ghost
Ghost
- Go to Access → Authentication.
- Enter your Ghost URL and Admin API key. (In your Ghost admin, go to Settings → Advanced → Integrations, click Add custom integration, then copy its API URL and Admin API key.) If you’ve already connected Ghost in Content → Sources → Ghost, you can click Use integration key instead.
- Click Connect.
- Scroll down to Tier mapping, choose the access tier for each Ghost tier, then click Save.
- Make the widget private, and add
authProvider: 'ghost'to your widget embed code.
Piano
Piano
- Go to Access → Authentication.
- In the Piano tab, enter your Application ID, Region, API token, and Private key. (The Application ID and API token are on the home screen of your Piano dashboard. Only Piano admins can see the private key.)
- Click Connect.
- Scroll down to Resource mapping, choose the access tier for each Piano resource, then click Save.
- Make the widget private, and add
authProvider: 'piano'to your widget embed code.
Switch sign-in provider
Switch sign-in provider
Each project can use one sign-in provider: Ghost or Piano. To switch, go to the connected provider’s tab on the Access → Authentication page, click Remove, and confirm. This deletes its mapping, and a private widget gives every reader the Default tier until you connect another provider.Then connect the other provider using the steps above.
MemberPress
MemberPress
If your WordPress site uses MemberPress, you can map membership status to BeyondWords access tiers with the The values passed through
beyondwords_player_sdk_params filter. This applies automatically wherever the BeyondWords widget appears.accessTier must match your BeyondWords tier slugs exactly. Adjust anonymous and subscribed if your tiers use different slugs.See How to add a filter for instructions on adding this code through the Code Snippets plugin or your child theme’s functions.php file.Other
Other
You can add the The
accessTier parameter to your BeyondWords widget embed code and set its value dynamically based on the visitor’s status.accessTier parameter only controls the widget experience; it does not verify the reader’s identity or enforce access to your website. Your paywall or membership platform remains responsible for determining which tier applies.This only works when the widget is Public. A private widget ignores accessTier.Anyone who isn’t signed in or doesn’t match a mapped tier receives the Default tier.
Archive and restore access tiers
Archive tiers you no longer need. Tiers are archived instead of deleted, so their analytics are kept.- Go to Access → Tiers in your project dashboard.
- Click ••• → Archive next to the tier.
- Click Archive to confirm.
FAQs
What happens if I don't set an access tier?
What happens if I don't set an access tier?
If
accessTier is omitted from your embed code, the widget defaults to the anonymous tier settings, which have full access to content and ads by default. Any intro or outro set in Widget → Audio will apply to the anonymous tier.Existing embeds will continue to work exactly as before without any changes.Can I track engagement by access tier?
Can I track engagement by access tier?
You can track engagement by access tier in audio analytics and agent analytics. Use the filter at the top of either dashboard to focus on metrics for any specific tier.Alternatively, use our integrations to review metrics in your chosen platform.Connector analytics doesn’t support access tier segmentation.
How can I demo access tiers without updating my embed code?
How can I demo access tiers without updating my embed code?
You can demo access tiers by appending
?accessTier={slug} (or &accessTier={slug} if the URL already has query parameters) to any shareable URL.This only works when the widget is Public. A private widget ignores accessTier and uses the Default tier.Why can't I set up an audio paywall?
Why can't I set up an audio paywall?
An audio paywall may not be included in your plan. It is currently available on Standard and Enterprise plans. You can upgrade in your BeyondWords dashboard, or contact support for help.