Pages

Bnder API documentation for Pages. Read the API Overview to get started and learn more.

Get all domains

Gets all domains in the guild

GET/consumer/v1/guilds/guildId/pages/domains
ParametersDescription
guildIdThe id of a discord guild

Request body

empty

Response

Status: 200 -

empty response

Create a new domain

Creates a new domain in the

POST/consumer/v1/guilds/guildId/pages/domains
ParametersDescription
guildIdThe id of a discord guild

Request body

FieldTypeDescription
domainstringThe name of the domain to create. Must be between 1 and 50 characters.
display_namestringThe display name of the domain.

Response

Status: 201 -

empty response

Get a domain

Gets a domain in the guild

GET/consumer/v1/guilds/guildId/pages/domains/domainId
ParametersDescription
guildIdThe id of a discord guild
domainIdThe ID of the domain

Request body

empty

Response

Status: 200 -

empty response

Update a domain

Updates a domain in the guild

PUT/consumer/v1/guilds/guildId/pages/domains/domainId
ParametersDescription
guildIdThe id of a discord guild
domainIdThe ID of the domain

Request body

FieldTypeDescription
display_namestringThe display name of the domain.

Response

Status: 200 -

empty response

Delete a domain

Deletes a domain in the guild

DELETE/consumer/v1/guilds/guildId/pages/domains/domainId
ParametersDescription
guildIdThe id of a discord guild
domainIdThe ID of the domain

Request body

empty

Response

Status: 204 - Domain deleted successfully

empty response