# SSTI API

[SmartShare Tenant Inviter (SSTI)](./../SmartShare%20Tenant%20Inviter%20(SSTI).md) provides API for scripters which allows managing tenant's guests and partners and reacting on events.

## Server API Scheme

You put your own script to the SSTI server object. Your script is able to communicate with SSTI:

 ![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/894f1709-ec87-4ee9-ad69-4447330317ae/SSTI_API_scheme.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T140000Z&X-Amz-Expires=86400&X-Amz-Signature=afe2c3ac3a480c934036d494af3ec2c80dd03aea5788409821a1765d3198de8c&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =471x348")

It is a two-way communication. The messages are:


1. coming from your script to SSTI - **commands**
2. coming from SSTI to your script - **events**

## SSTI API Reference

For a complete list of commands and events, [click here](/doc/a435f7ff-caac-4d85-9fe4-6169d2969c55).

### Usage and examples

Open the [API Reference](/doc/a435f7ff-caac-4d85-9fe4-6169d2969c55) page and check event/command pages for examples.

---

**Documents**

- [SSTI Server API Reference](https://www.mysmartbots.com/docs/s/main/doc/ssti-server-api-reference-8HjGi6ut66)