discord
List Discord guild channels
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.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
accountIdstring
Response Body
application/json
application/json
curl -X GET "https://zernio.com/api/v1/accounts/string/discord-channels"{
"channels": [
{
"id": "1234567890123456789",
"name": "general",
"type": 0
},
{
"id": "2345678901234567890",
"name": "announcements",
"type": 5
},
{
"id": "3456789012345678901",
"name": "feedback",
"type": 15
}
]
}Empty
{
"error": "Unauthorized"
}Empty
Update action link PATCH
Updates a place action link (change URL or action type). Only the fields included in the request body will be updated.
Get Discord account settings GET
Returns the current Discord account settings including webhook identity (display name and avatar), connected channel, and guild information.