# Introduction to the Salto Space API
> A guide to what the Salto Space API is, what you can manage in Salto Space with it, and how a request flows from your application to Salto Space.


The Space API is a secure, Salto-hosted REST API for managing identity and access data in Salto Space.
It is part of Salto IDM Connect, the API and integration layer of Salto IDM.
External systems authenticate with OAuth2 and call the API over HTTPS.
The API validates each request, isolates it to your tenant, and translates it into the SHIP protocol (Salto Host Interface Protocol) before it returns a JSON response.
It stores no access data of its own, so it acts as a governed, metered gateway to your Salto Space installation.

For a product overview, see [Salto IDM Connect on the Salto support site](https://support.saltosystems.com/idm/connect/).

## What you can manage {#what-you-can-manage}

Use the Space API to manage the following resources:

- **Users**: create, read, update, and delete users, including activation, expiration, PIN, and group membership.
- **Access levels and zones**: create, read, update, and delete the access levels and zones that control who can go where.
- **Mobile keys**: assign and cancel JustIN Mobile and JustIN Mobile SDK keys, and send JustIN Mobile SDK audit trails to Salto Space.
- **Physical keys**: assign, update, and cancel a user's card at a Salto Space encoder.
- **Doors**: manage door configuration and trigger remote (online) openings.

All resources are partition-aware, so a single integration can manage multi-site and multi-property environments.

## How it works {#how-it-works}

Your application requests an OAuth2 access token, then calls the REST endpoints with that token as a bearer credential.
The API authorizes each request, scopes it to your tenant, and meters it against your licensed API capacity.

![Space API request flow from your application through the Salto IDM identity server and the Space API to Salto Space.](images/data-flow.svg)
{.zoomable-image}

Each request follows these steps:

1. Your application requests a bearer token from the Salto IDM identity server with its client ID and secret.
2. It calls a Space API endpoint over HTTPS with the bearer token.
3. The Space API authorizes the call, scopes it to your tenant, and meters it.
4. The Space API reads or updates the data in Salto Space over SHIP, through the connection route of your installation.
5. The Space API returns the result to your application as a JSON response.

| Property | Detail |
| --- | --- |
| Interface | REST over HTTPS, with JSON request and response bodies |
| Authentication | OAuth2 client credentials (bearer token) |
| Connection to Salto Space | SHIP protocol, through the connection route of your installation |
| Hosting | Salto-hosted cloud service, with no customer hardware to run |
| Scope | Partition-aware, for multi-site environments |

## Next steps {#next-steps}

[Connect Salto Space](https://support.saltosystems.com/idm/connect/space-api/connect-salto-space/) on the Salto support site, then see [Authentication](/space/space-api/authentication) to request an access token and make your first call.

