Samples & Tutorials

Follow these step-by-step tutorials to learn the concepts you need to build your first application using the Spark APIs.

See All Examples

Using Rooms and MessagesSee Example

Learn how to list conversation rooms and post messages. It's a working tutorial demonstrating how to modify an existing web application to list Spark conversation rooms, and post new messages.

Estimated time: 25 minutes

App AuthenticationSee Example

Learn how to authenticate a web app. It's a working tutorial demonstrating how to implement a Spark authentication sequence from within a browser-based JavaScript application. The output is a Spark auth token which can then be used to perform Spark API requests.

Estimated time: 25 minutes

Intro to WebhooksSee Example

Learn to use the Spark Webhooks API to create a webhook that will subscribe to new messages in a room.

Estimated time: 15 minutes