.. _api:
API
"""
Smartmate exposes an automatically generated `GraphQL `_ API for developers to interact with Smartmate and the :ref:`apps ` published in their workspace.
The GraphQL endpoint URL is ``https://YOUR-WORKSPACE-ws.apps.smartmate.io/v1/graphql``. (Make sure to replace ``YOUR-WORKSPACE`` with the id of your workspace.
This endpoint is protected, and should be called with a valid authorization token.
See:
.. toctree::
:maxdepth: 1
:titlesonly:
auth/index
smartmate-graphql-api/index
apps-graphql-api/index