Median

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

StatusDescription
200The integrations.
401The bearer token is missing, revoked, or expired.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
emailobjectNo
email.availablebooleanNo
email.addressstringNo
email.enabledbooleanNo
slackobjectNo
slack.availablebooleanNo
slack.workspaceanyNo
slack.mirrorChannelanyNo
slack.enabledbooleanNo
slack.botRunningbooleanNo
discordobjectNo
discord.availablebooleanNo
discord.serveranyNo
discord.ticketChannelanyNo
discord.staffRoleanyNo
discord.mirrorChannelanyNo
discord.mirrorEnabledbooleanNo
discord.enabledbooleanNo
discord.botRunningbooleanNo
githubobjectNo
github.accountsstring[]No
github.reposobject[]No
github.repos[].repostringNo
github.repos[].branchanyNo
github.repos[].pathanyNo
github.repos[].statusstringNo
github.repos[].erroranyNo
github.repos[].publishedAtanyNo
github.repos[].lastSyncedAtanyNo
github.docsSitesobject[]NoThe same repositories read as what they are, so every page has an address from the first sync.
github.docsSites[].repostringNo
github.docsSites[].frameworkstringNo
github.docsSites[].publishedAtanyNo
github.docsSites[].statusstringNo
notionobjectNo
notion.workspaceanyNo
notion.connectedByanyNo
linearobjectNo
linear.availablebooleanNo
linear.workspaceanyNo
linear.teamanyNo
linear.autoCreateIssuesbooleanNo
issueRepoobjectNoWhere signals open GitHub issues, when anywhere.
issueRepo.repostringNo
issueRepo.autoCreatebooleanNo
commitReposobject[]No
commitRepos[].repostringNo
commitRepos[].branchanyNo
commitRepos[].closeFromCommitsbooleanNo

Example request

curl https://api.median.sh/v1/integrations \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc