---
title: Developer reference
published: true
tier: free
index: 2
---

# Developer reference

Use `https://glue.fast` as the host for these requests.

## Registered apps

Host your app on your own HTTPS domain. In **Settings → Channels**, use the **Apps** section below the five project channels to register it. Customers sign in with Glue and authorize the app to read their results. [Register an app](../../guides/apps/build-an-app-for-saved-results.md#register-your-website)

### Authentication

Use [OAuth](./authentication/README.md) to request access, exchange an authorization code for a token, or revoke access.

| Request | Operation |
| --- | --- |
| `GET /api/auth/oauth2/authorize` | [Authorize an app](./authentication/authorize.md) |
| `POST /api/auth/oauth2/token` | [Exchange a code](./authentication/token.md) |
| `POST /api/auth/oauth2/revoke` | [Revoke an access token](./authentication/revoke.md) |

[Credentials](../author/credentials.md)

### Results

The following app paths are relative to `/api/v1/apps/{appId}`. Use the app ID from your registration and the customer's OAuth token to read or delete [saved results](./results/README.md).

| Request | Operation |
| --- | --- |
| `GET /results` | [List results](./results/list.md) |
| `GET /results/{resultId}` | [Get result](./results/get.md) |
| `DELETE /results/{resultId}` | [Delete result](./results/delete.md) |

### Artifacts

Use the transfer token from `save_result` to upload [artifacts](./artifacts/README.md). To download a file from a saved result, use the customer's OAuth token.

| Request | Operation |
| --- | --- |
| `PUT /saves/{saveId}/artifacts/{artifactId}` | [Upload artifact](./artifacts/upload.md) |
| `GET /results/{resultId}/artifacts/{artifactId}` | [Download artifact](./artifacts/download.md) |

### Viewer state

Read or update a customer's [progress through a result](./viewer-state/README.md).

| Request | Operation |
| --- | --- |
| `GET /results/{resultId}/state` | [Get viewer state](./viewer-state/get.md) |
| `PATCH /results/{resultId}/state` | [Update viewer state](./viewer-state/update.md) |

### Accounts

Use the optional `account:read` scope to look up the [customer who authorized the app](./accounts/README.md).

| Request | Operation |
| --- | --- |
| `GET /account` | [Get account](./accounts/get.md) |

[Save a result over MCP](../author-tools/content-mcp/save-result.md) · [Errors](./errors.md)

## Publishing and distribution

| Resource | Operations |
| --- | --- |
| [Published content](./published-content/README.md) | Read Markdown, list public pages and retrieve a sitemap. |
| [Downloads](./downloads/README.md) | Download a release artifact, the publishing CLI or the skill installer. |
| [MCP endpoints](./mcp-endpoints/README.md) | Call the Content MCP or Author MCP endpoint over HTTP. |
| [Tokens](./tokens/README.md) | Create, list and revoke project publishing tokens. |

## Guides

[Build an app for saved results](../../guides/apps/build-an-app-for-saved-results.md) · [Publish a skill with a companion app](../../guides/apps/publish-a-skill-with-a-companion-app.md) · [All guides](../../guides/README.md)
