Skip to content

Search the documentation by title, section, or page text.

API Overview

Looking for Legacy V1 API Documentation?

The Botsi API is a developer-first platform designed to interact with the Botsi AI Pricing Models, profile management, paywall selection, and event tracking.

Get the Botsi Postman Collection here: Postman Collection

Base URL: https://api.botsi.com/v2

Profile management#

EndpointMethodPurpose
Create a ProfilePOSTCreate the record Botsi keeps for one of your users
Get a ProfileGETRead a Profile's current access, subscriptions, and custom attributes
Update a ProfilePATCHChange a Profile's details after it's created
Record Apple Consumption ConsentPATCHRecord whether the user agreed to share consumption data with Apple
Add Custom AttributesPOSTAdd one or more attributes to a Profile
Update Custom AttributesPUTChange an existing attribute

Fetch Paywalls#

EndpointMethodPurpose
Fetch PaywallPOSTRetrieve a paywall intelligently selected for a user profile and placement

Events and purchases#

EndpointMethodPurpose
Send Paywall Shown EventPOSTRecord Paywall exposure
Validate Apple Store PurchasePOSTValidate an App Store purchase
Validate Google Play Store PurchasePOSTValidate a Google Play purchase
Restore Apple Store PurchasesPOSTGrant a Profile the access its App Store subscription carries
Restore Google Play SubscriptionsPOSTGrant a Profile the access its Google Play subscriptions carry

Inbound revenue and subscription events from each billing platform are documented on that platform's own page. Notification URLs covers the URL format they share.

App Store Server Notifications

Google Play Real-Time Developer Notifications

Stripe Webhooks

Shopify Webhooks

Custom Webhooks