---
title: "Get Slack Oauth Url"
method: GET
path: "/api/v1/sdk/slack/oauth-url"
tags: ["public-api", "public-slack"]
---

# Get Slack Oauth Url

`GET /api/v1/sdk/slack/oauth-url`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/sdk/slack/oauth-url`
- Auth: none declared

Get the Slack OAuth authorization URL.

User must open the returned URL in their browser to authorize.

**SDK Usage:**
```python
result = client.alerts.get_slack_oauth_url()
print(f"Open: {result['auth_url']}")
```

## Headers

- `Authorization` string

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
