api

Returns a list of channel webhook objects. Requires the MANAGE_WEBHOOKS permission.

get/api/channels/{channel_id}/webhooks/

Request

  • Base URL
    https://api.rory.server.spacebar.chat
  • URL
    https://api.rory.server.spacebar.chat/api/channels/{channel_id}/webhooks/
  • Auth
    HTTP bearer

Path parameters

channel_idstring required

channel_id

Response

idstring required

A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z

If we have a snowflake '266241948824764416' we can represent it as binary:

64                                          22     17     12          0
 000000111011000111100001101001000101000000  00001  00000  000000000000
      number of ms since Discord epoch       worker  pid    increment
type1 | 2 | 3 required
guild_idstring nullable
channel_idstring nullable required
namestring nullable required
avatarstring nullable required
tokenstring
application_idstring nullable required
urlstring

Changes