---
title: "Generate Install Url"
method: POST
path: "/slack/install"
tags: ["Slack"]
---

# Generate Install Url

`POST /slack/install`

## Request

- Base URL: `https://apigcp.trynia.ai/v2`
- URL: `https://apigcp.trynia.ai/v2/slack/install`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nozomio-labs/apis/nia-ai-api/docs/slack/install/post.ts> (a function with typed inputs; its response is checked against the schema)

Generate a Slack OAuth authorization URL.

## Request body

- SlackInstallRequest: Generate an OAuth URL to install Nia's Slack app.
  - `redirect_uri` string, nullable: Custom OAuth redirect URI
  - `scopes` string[], nullable: Override default bot scopes

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-02-28** `7e426dce5dda`: 2 info
  - api tag `Slack` added
  - api tag `Usage` removed
- **2026-02-20** `056a9334ce0b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/changes/slack/install/post.md)

---

[API](https://skmtc.dev/nozomio-labs/apis/nia-ai-api.md) - [All operations](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/revisions/dbb602a3ef17?raw)
