Bento SDKs
The recommended way to interact with the Bento API is by using one of our official SDKs. Bento offers fine-tuned 1st party packages for JavaScript, Ruby, PHP, Laravel, Wordpress, Woocommerce, and Next.js libraries to make your life easier and give you the best experience when consuming the API.
Library not supported? We've created a Postman Collection that contains all the endpoints for the Bento API. This is a great resource to get started with the API and understand how the endpoints work, especially if we don't have a library for your preferred language.
Additionally, you can view our OpenAPI Spec for comprehensive details on each endpoint and their responses. Some people even generate client libraries from these specs!
Official libraries
Client-side JS SDK
Website analytics script for tracking events and user activity on your website in bento.
Library Feature Support
Below is a table of the features that are supported by each library. Our goal is to get each library up to feature parity with the others. If you'd like to contribute in exchange for credits, please reach out to us via support.
Feature | Node | Next.js | Laravel | Wordpress | Ruby | PHP | JS | Python | Swift |
---|---|---|---|---|---|---|---|---|---|
Web Visitor Tracking | |||||||||
Event Trigger | |||||||||
Subscriber Import | |||||||||
Subscriber API | |||||||||
Events API | |||||||||
Emails API | |||||||||
Fields API | |||||||||
Tags API | |||||||||
Broadcasts API | |||||||||
Stats API | |||||||||
Reporting API | |||||||||
Utility API |