---
title: "Connect a Discord channel"
method: POST
path: "/api/accounts/discord/connect"
---

# Connect a Discord channel

`POST /api/accounts/discord/connect`

## Request

- Base URL: `https://api.seenpaid.com`
- URL: `https://api.seenpaid.com/api/accounts/discord/connect`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.seenpaid.com/authorize`, token URL `https://api.seenpaid.com/token`, scopes: `accounts:write`)

Discord connects via a channel Incoming Webhook URL — no OAuth.

## Request body

- object
  - `webhookUrl` string, uri, required

## Response `201`

Created

- object
  - `success` true
  - `data` SocialAccount
    - `id` string, uuid
    - `platform` 'x' | 'bluesky' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'discord' | 'telegram' | 'mastodon' | 'nostr' | 'devto' | 'hashnode' | 'medium' | 'reddit' | 'threads' | 'tumblr' | 'pinterest' | 'vk' | 'slack' | 'wordpress' | 'ghost' | 'lemmy' | 'webhook' | 'microblog' | 'matrix'
    - `handle` string, nullable
    - `status` 'connected' | 'needs_reconnect' | 'disconnected'
    - `createdAt` string, date-time

## Other responses

- `400`: Request body failed Zod validation.
- `401`: Missing or invalid credential (API key or OAuth token).

---

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