API referenceDiscord
GET /accounts/{id}/discord-settings
Connected channel and server, and the default webhook identity of every post
GET
BearerAuthheader
AuthorizationBearer <token>API key sk_...
id*stringAccount id
{account}
application/json- response
account?curl -X GET 'https://example.com/api/v1/accounts/string/discord-settings'Example Response
{ "account": { "_id": "string", "id": "string", "platform": "discord", "connection": "bot", "username": "string", "displayName": "string", "profilePicture": "string", "channelId": "string", "channelName": "string", "channelType": "string", "guildId": "string", "webhookUsername": "string", "webhookAvatarUrl": "string" }}GET /accounts/{id}/discord-channels GET
Text (0), announcement (5) and forum (15) channels of the account's server
PATCH /accounts/{id}/discord-settings PATCH
Default webhook identity (webhookUsername 1-80 characters without "discord"/"clyde", webhookAvatarUrl https; "" resets) and/or channelId: move the account to another text, announcement or forum channel of the same server (the bot creates a webhook there)