Introduction
The Subroutine API is primarily GraphQL. It can be used directly with the GraphQL client of your choice, or through one of the SDKs we support.
To use Subroutine, you must have an organization account. If you don't already have one, you can create an account on the Subroutine Dashboard. Throughout this documentation, you will navigate between the SDK/API integration and the Subroutine Dashboard. We will guide you through the features and workflows as we explore different sections of the onboarding process.
This documentation is organized into sections, each focusing on a specific feature provided by Subroutine. To begin, refer to the getting started section.
API Reference
Subroutine APIs are organized around a few main endpoints:
Name | Endpoint | Type | Description |
---|---|---|---|
Player | player.api.subroutine.com | GraphQL | Main API for client applications integration and player interaction. |
Admin | admin.api.subroutine.com | GraphQL | Administrative API for organization owners; used directly by the Subroutine Dashboard. |
Authentication | auth.api.subroutine.com | REST | API for player and organization registration, as well as authentication. |
Analytics | analytics.api.subroutine.com | GraphQL | API for organization users to fetch data and game statistics. |