API
Labels

Labels

Read the API Overview to get started and learn more.

Get all labels

Get all labels for a guild by the guilds id

GET /guilds/guildId/labels

Parameters

guildId The id of a discord guild

Responses

200 Response (All labels for the guild):

Response FieldTypeDescription
labelsarrayList of labels

Create a label

Create a label for a guild

POST /guilds/guildId/labels

Parameters

guildId The id of a discord guild

Request body

Request FieldTypeDescription
namestringThe name of the label
color (optional)stringThe color of the label

Responses

200 Response (The created label):

Response FieldTypeDescription
idstringThe id of the label
namestringThe name of the label
color (optional)stringThe color of the label

Update a label

Update a label for a guild by the guild and label id

PUT /guilds/guildId/labels/labelId

Parameters

guildId The id of a discord guild
labelId The ID of the label

Request body

Request FieldTypeDescription
namestringThe name of the label
color (optional)stringThe color of the label

Responses

200 Response (The updated label):

Response FieldTypeDescription
idstringThe id of the label
namestringThe name of the label
color (optional)stringThe color of the label

Delete a label

Delete a label for a guild by the guild and label id

DELETE /guilds/guildId/labels/labelId

Parameters

guildId The id of a discord guild
labelId The ID of the label

Responses

204 Response (The label was deleted): Empty response.

Social Media

X (Twitter)

Instagram

Discord

GitHub

YouTube

WhatsApp

bnder logo