curl "https://app.runtm.com/api/v1/slack/integration" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
import requests
resp = requests.get(
"https://app.runtm.com/api/v1/slack/integration",
headers={
"Authorization": "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
)
print(resp.json())
const resp = await fetch(
"https://app.runtm.com/api/v1/slack/integration",
{
headers: {
Authorization: "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
}
);
const data = await resp.json();
{
"connected": true,
"connection_type": "oauth",
"managed_app_available": true,
"team_name": "Acme Corp",
"bot_user_id": "U01ABC123",
"service_user_id": "usr_xyz",
"service_user_name": "Alice",
"default_template": null,
"default_github_repo": "acme-corp/backend",
"default_agent": "claude-code",
"rate_limit_per_hour": 30,
"enabled": true,
"interactivity_confirmed": true,
"channel_repo_map": {
"C01ABC123": "acme-corp/frontend"
},
"service_account_health": {
"healthy": true,
"issues": []
}
}
Slack
Get Integration
Get the Slack integration configuration and status.
GET
/
api
/
v1
/
slack
/
integration
curl "https://app.runtm.com/api/v1/slack/integration" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
import requests
resp = requests.get(
"https://app.runtm.com/api/v1/slack/integration",
headers={
"Authorization": "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
)
print(resp.json())
const resp = await fetch(
"https://app.runtm.com/api/v1/slack/integration",
{
headers: {
Authorization: "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
}
);
const data = await resp.json();
{
"connected": true,
"connection_type": "oauth",
"managed_app_available": true,
"team_name": "Acme Corp",
"bot_user_id": "U01ABC123",
"service_user_id": "usr_xyz",
"service_user_name": "Alice",
"default_template": null,
"default_github_repo": "acme-corp/backend",
"default_agent": "claude-code",
"rate_limit_per_hour": 30,
"enabled": true,
"interactivity_confirmed": true,
"channel_repo_map": {
"C01ABC123": "acme-corp/frontend"
},
"service_account_health": {
"healthy": true,
"issues": []
}
}
Returns the current Slack integration status for the active organization, including connection type, team info, service account health, and configuration.
Required scope:
integrations:read
Requires organization context via the
X-Organization-Id header.string
required
The organization to check.
boolean
required
Whether a Slack integration exists.
string
required
"oauth" for managed app or "manual" for self-hosted.boolean
required
Whether the managed OAuth app is configured.
string
Slack workspace name.
string
Slack bot user ID.
string
Runtime user ID used as the service account.
string
Display name of the service account user.
string
Default sandbox template.
string
Default GitHub repo for agent sessions.
string
required
Default coding agent.
integer
required
Maximum agent launches per hour.
boolean
required
Whether the integration is enabled.
boolean
required
Whether Slack interactivity has been verified.
object
Channel ID to GitHub repo mapping.
object
required
Health status with
healthy boolean and issues array.curl "https://app.runtm.com/api/v1/slack/integration" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
import requests
resp = requests.get(
"https://app.runtm.com/api/v1/slack/integration",
headers={
"Authorization": "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
)
print(resp.json())
const resp = await fetch(
"https://app.runtm.com/api/v1/slack/integration",
{
headers: {
Authorization: "Bearer runtm_xxx",
"X-Organization-Id": "org_abc123",
},
}
);
const data = await resp.json();
{
"connected": true,
"connection_type": "oauth",
"managed_app_available": true,
"team_name": "Acme Corp",
"bot_user_id": "U01ABC123",
"service_user_id": "usr_xyz",
"service_user_name": "Alice",
"default_template": null,
"default_github_repo": "acme-corp/backend",
"default_agent": "claude-code",
"rate_limit_per_hour": 30,
"enabled": true,
"interactivity_confirmed": true,
"channel_repo_map": {
"C01ABC123": "acme-corp/frontend"
},
"service_account_health": {
"healthy": true,
"issues": []
}
}