Using the Stagent JavaScript API

The Stagent JS API can be used to control the booking request widget, and provides the following methods to the global Stagent() widget, allowing you to control your booking widget programmatically.


Open widget

Simply opens the widget.

Stagent()

Open specific artist

Designed for agency teams, this feature opens the widget with a solo artist preselected, allowing you to launch it directly from a specific artist’s page.

Stagent('artist_id')

The artist_id is passed as a string and can be found by navigating to the roster and selecting a specific artist. The artist_id is the second id in the url.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us