api

Returns a webhook object for the given id. Requires the MANAGE_WEBHOOKS permission or to be the owner of the webhook.

get/api/webhooks/{webhook_id}/

Request

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

Path parameters

webhook_idstring required

webhook_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

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added