Integrations

Start connecting a product: a link for a person to open.

Open the link in a browser where you are signed in to Sleeper Hit as the same person, approve the product's screen, and you land back on the Integrations page to choose what to bring in. The connection is not made until that browser step finishes. Owners and admins only (403 integration_forbidden). 409 integration_unavailable for a product that is not switched on or not readable yet, or already connected (reconnect it from the app instead). Scope: story:write. Free.

post/integrations/providers/{slug}/connect

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/integrations/providers/{slug}/connect
  • Auth: HTTP bearer

Request body

returnTostring

An app path to land on afterwards (default /dashboard/integrations).

Response

The link to open, and the pending connection it completes.

integrationIdstring required
authorizeUrlstring required

For a PERSON to open in a browser.

instructionsstring required

Example response

{
  "instructions": "Open the link in a browser where you are signed in to Sleeper Hit as the same person, approve the product's screen, and you land back on the Integrations page to choose what to bring in. The connection is not made until that browser step finishes."
}

Changes

No recorded changes to this operation across all 1 revision of this API.