---
title: "The places a connection can bring in."
method: GET
path: "/integrations/{integrationId}/origins"
tags: ["Integrations"]
---

# The places a connection can bring in.

`GET /integrations/{integrationId}/origins`

## Request

- Base URL: `https://docs.sleeperhit.studio/api/v1`
- URL: `https://docs.sleeperhit.studio/api/v1/integrations/{integrationId}/origins`
- Auth: HTTP bearer

Asks the product which places this connection can read, each with `ready` (and a `readyHint` when not) and `chosen`. `available: false` while reading from the product is not built yet. Owners and admins only. Scope: `story:read`. Free.

## Response `200`

The places, and which are chosen.

- IntegrationOrigins
  - `integrationId` string, required
  - `providerSlug` string, required
  - `available` boolean, required: False while reading from this product is not built yet.
  - `origins` IntegrationOrigin[], required
    - `originKey` string, required: The stable upstream id (channel id, page id, owner/repo, team id, space key).
    - `label` string, required
    - `isPrivate` boolean, required
    - `kind` string, required
    - `ready` boolean, required
    - `readyHint` string, nullable, required: How to make a place ready, e.g. "Type /invite @Sleeper Hit in #releases".
    - `chosen` boolean, required
  - `chosen` string[], required
  - `installUrl` string, nullable, required: GitHub: where to install the app on an organization.
  - `queued` boolean: PUT only: the first check was queued.

## Other responses

- `401`: Missing, malformed, revoked, or expired API key.
- `403`: API key is valid but lacks the scope, is blocked by IP allowlist, or the account is disabled.
- `404`: `integration_not_found`.
- `409`: `integration_unavailable`: not connected, or the product refused access (reconnect).
- `429`: Rate limit for this API key + IP + route family was exceeded.
- `500`: The API failed unexpectedly. Safe to retry with the same Idempotency-Key.
- `503`: `integration_unavailable`: the product is busy; try again in a minute.

---

[API](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api.md) · [All operations](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api/revisions/64c1102ccb2f?raw)
