Skip to main content
GET
https://api.duckybot.xyz
/
guilds
Fetch user guilds
curl --request GET \
  --url https://api.duckybot.xyz/guilds \
  --header 'Token: <token>'
{
    "code": 200,
    "message": "Guilds for '598958193032560642' fetched successfully.",
    "data": [
        {
            "name": "💛 Ducky's Pond",
            "id": "1228508072289370172",
            "icon": "https://cdn.discordapp.com/icons/1228508072289370172/78c23e643bd80241aa013b88cd0225cb.png",
            "members": 1790,
            "owner": "598958193032560642",
            "role": "Owner",
            "ducky": true,
            "plus": {
                "plus": {
                    "userid": "1257389588910182411",
                    "guilds": [
                        "1228508072289370172"
                    ],
                    "slots": 0
                },
                "active": true
            },
            "permissions": {
                "ERLC_STAFF": true,
                "DUCKY_PLUS_GUILD": true,
                "QUALITY_ASSURANCE": true,
                "ERLC_ADMIN": true,
                "DOCWRITER": true,
                "FOUNDER": true,
                "ERLC_MANAGER": true,
                "MANAGE_SERVER": true,
                "EXECUTIVE": true,
                "BOT_DEVELOPER": true,
                "WEB_DEVELOPER": true,
                "SETUP": true,
                "SESSION_STARTER": true,
                "MOD": true,
                "SUPPORT": true,
                "MANAGEMENT": true,
                "ADMIN": true,
                "DUCKY_STAFF": true,
                "ERLC_LINKED": true,
                "DUCKY_PLUS_MEMBER": true
            }
        }
        // ...
    ]
}
{
    "code": 200,
    "message": "Guilds for '598958193032560642' fetched successfully.",
    "data": [
        {
            "name": "💛 Ducky's Pond",
            "id": "1228508072289370172",
            "icon": "https://cdn.discordapp.com/icons/1228508072289370172/78c23e643bd80241aa013b88cd0225cb.png",
            "members": 1790,
            "owner": "598958193032560642",
            "role": "Owner",
            "ducky": true,
            "plus": {
                "plus": {
                    "userid": "1257389588910182411",
                    "guilds": [
                        "1228508072289370172"
                    ],
                    "slots": 0
                },
                "active": true
            },
            "permissions": {
                "ERLC_STAFF": true,
                "DUCKY_PLUS_GUILD": true,
                "QUALITY_ASSURANCE": true,
                "ERLC_ADMIN": true,
                "DOCWRITER": true,
                "FOUNDER": true,
                "ERLC_MANAGER": true,
                "MANAGE_SERVER": true,
                "EXECUTIVE": true,
                "BOT_DEVELOPER": true,
                "WEB_DEVELOPER": true,
                "SETUP": true,
                "SESSION_STARTER": true,
                "MOD": true,
                "SUPPORT": true,
                "MANAGEMENT": true,
                "ADMIN": true,
                "DUCKY_STAFF": true,
                "ERLC_LINKED": true,
                "DUCKY_PLUS_MEMBER": true
            }
        }
        // ...
    ]
}

Headers

Token
string
required
The Ducky session token of the user.

Response Data

data
object[]
In this endpoint, the response data is an array of objects.