Get Discord account settings
Returns the current Discord account settings including webhook identity (display name and avatar), connected channel, and guild information.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://zernio.com/api/v1/accounts/string/discord-settings"{
"account": {
"_id": "abc123",
"platform": "discord",
"username": "announcements",
"displayName": "My Server - #announcements",
"profilePicture": "https://cdn.discordapp.com/icons/123/abc.png",
"channelId": "1234567890123456789",
"channelName": "announcements",
"channelType": "0",
"guildId": "9876543210987654321",
"webhookUsername": "My Brand",
"webhookAvatarUrl": "https://example.com/logo.png"
}
}{
"error": "Unauthorized"
}List Discord guild channels GET
Returns the text, announcement, and forum channels in the connected Discord guild. Use this to discover available channels when switching the connected channel via PATCH /v1/accounts/{accountId}/discord-settings.
Update Discord settings PATCH
Update Discord account settings. Supports two operations (can be combined): 1. **Webhook identity** - Set the default display name and avatar that appear as the message author on every post. These are account-level defaults; individual posts can override them via platformSpecificData.webhookUsername / webhookAvatarUrl. 2. **Switch channel** - Move the connection to a different channel in the same guild. A new webhook is automatically created in the target channel.