GET /integrations
Updated Oct 1, 20261 minute read
Everything connected
What is connected and what each one is pointed at, in one read: the email address, the Slack and Discord channels, the GitHub accounts and repositories, the Notion workspace, the Linear team, and where issues and commits are read from. available: false means the deployment has no app to connect through, which is a different thing from nobody having connected one. The tracker half reads as empty rather than as absent for a caller who cannot manage signals.
Part of Integrations.
Responses
| Status | Description |
|---|---|
200 | The integrations. |
401 | The bearer token is missing, revoked, or expired. |
429 | Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits. |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
email | object | No | |
email.available | boolean | No | |
email.address | string | No | |
email.enabled | boolean | No | |
slack | object | No | |
slack.available | boolean | No | |
slack.workspace | any | No | |
slack.mirrorChannel | any | No | |
slack.enabled | boolean | No | |
slack.botRunning | boolean | No | |
discord | object | No | |
discord.available | boolean | No | |
discord.server | any | No | |
discord.ticketChannel | any | No | |
discord.staffRole | any | No | |
discord.mirrorChannel | any | No | |
discord.mirrorEnabled | boolean | No | |
discord.enabled | boolean | No | |
discord.botRunning | boolean | No | |
github | object | No | |
github.accounts | string[] | No | |
github.repos | object[] | No | |
github.repos[].repo | string | No | |
github.repos[].branch | any | No | |
github.repos[].path | any | No | |
github.repos[].status | string | No | |
github.repos[].error | any | No | |
github.repos[].publishedAt | any | No | |
github.repos[].lastSyncedAt | any | No | |
github.docsSites | object[] | No | The same repositories read as what they are, so every page has an address from the first sync. |
github.docsSites[].repo | string | No | |
github.docsSites[].framework | string | No | |
github.docsSites[].publishedAt | any | No | |
github.docsSites[].status | string | No | |
notion | object | No | |
notion.workspace | any | No | |
notion.connectedBy | any | No | |
linear | object | No | |
linear.available | boolean | No | |
linear.workspace | any | No | |
linear.team | any | No | |
linear.autoCreateIssues | boolean | No | |
issueRepo | object | No | Where signals open GitHub issues, when anywhere. |
issueRepo.repo | string | No | |
issueRepo.autoCreate | boolean | No | |
commitRepos | object[] | No | |
commitRepos[].repo | string | No | |
commitRepos[].branch | any | No | |
commitRepos[].closeFromCommits | boolean | No |
Example request
curl https://api.median.sh/v1/integrations \
-H "Authorization: Bearer $BEARER_AUTH"