Managing content in Notion
Managing content in Notion
Understanding Bullet dashboard
Understanding Bullet dashboard
Hosting
Hosting
Membership/Content Gating
Membership/Content Gating
Blog
Blog
SEO and metadata
SEO and metadata
Liquid Syntax
Liquid Syntax
How to's
How to's
Billing
Billing
API Documentation
API Documentation
API Reference
Before getting started
Almost all of the APIs listed here need the following details.
- Site ID
- API Key
API Root url
https://api.bullet.so/api/v1
Get a list of all members for a specific site
GET /sites/:site_id/members/
Add a member to a site
Note: Adding new segments is not possible via API. You need to add new segments from Dashboard. You can only pass existing segments from API.
POST /sites/:site_id/members/ { "name": "John Doe", "email":"john.doe@gmail.com", "allowedSegments":["free","vip"] }
Update a member's information
PATCH /sites/:site_id/members/:email { "name": "John Doe", "allowedSegments":["free","vip"] }
Add a member to a specific segment
Note: Adding new segments is not possible via API. You need to add new segments from Dashboard. You can only pass existing segments from API.
POST /sites/:site_id/members/:email/segments { "allowedSegments":["premium"] }
Remove segment from a member
DELETE /sites/:site_id/members/:email/segments { "allowedSegments":["premium"] }
Remove a member from a site
DELETE /sites/:site_id/members/:email