---
title: "POST /api/webhooks/{webhook_id}/{webhook_token}/github/"
method: POST
path: "/api/webhooks/{webhook_id}/{webhook_token}/github/"
tags: ["api"]
---

# POST /api/webhooks/{webhook_id}/{webhook_token}/github/

`POST /api/webhooks/{webhook_id}/{webhook_token}/github/`

## Path parameters

- `webhook_id` string, required
- `webhook_token` string, required

## Query parameters

- `wait` boolean
- `thread_id` string

## Request body

- WebhookExecuteSchema
  - `content` string
  - `username` string
  - `avatar_url` string
  - `tts` boolean
  - `embeds` Embed[]
    - `title` string
    - `type` 'article' | 'gifv' | 'image' | 'link' | 'poll_result' | 'rich' | 'video'
    - `description` string
    - `url` string
    - `timestamp` string, date-time
    - `color` integer
    - `footer` object
      - `text` string, required
      - `icon_url` string
      - `proxy_icon_url` string
    - `image` EmbedImage
      - `url` string
      - `proxy_url` string
      - `height` integer
      - `width` integer
    - `thumbnail` EmbedImage
      - `url` string
      - `proxy_url` string
      - `height` integer
      - `width` integer
    - `video` EmbedImage
      - `url` string
      - `proxy_url` string
      - `height` integer
      - `width` integer
    - `provider` object
      - `name` string
      - `url` string
    - `author` object
      - `name` string
      - `url` string
      - `icon_url` string
      - `proxy_icon_url` string
    - `fields` object[]
      - `name` string, required
      - `value` string, required
      - `inline` boolean
  - `allowed_mentions` AllowedMentions
    - `parse` string[]
    - `roles` string[]
    - `users` string[]
    - `replied_user` boolean
  - `components` unknown[]
    - unknown
  - `file` object
    - `filename` string, required
  - `payload_json` string
  - `attachments` object[]
    - `id` string, required
    - `filename` string, required
  - `flags` integer
  - `thread_name` string
  - `applied_tags` string[]
  - `message_reference` object
    - `message_id` string, required
    - `channel_id` string
    - `guild_id` string
    - `fail_if_not_exists` boolean
  - `sticker_ids` string[]
  - `nonce` string
  - `enforce_nonce` boolean
  - `poll` PollCreationSchema
    - `question` PollMedia, required
      - `text` string
      - `emoji` union
        - object
          - `id` string
          - `name` string, required
          - `animated` boolean
        - object
          - `id` string, required
          - `name` string
          - `animated` boolean
    - `answers` PollAnswer[], required
      - `answer_id` integer
      - `poll_media` PollMedia, required
        - `text` string
        - `emoji` union
          - object
            - `id` string
            - `name` string, required
            - `animated` boolean
          - object
            - `id` string, required
            - `name` string
            - `animated` boolean
    - `duration` integer
    - `allow_multiselect` boolean
    - `layout_type` integer

## Response `204`

No description available

## Other responses

- `400`
- `404` — No description available

---

[API](https://skmtc.net/spacebarchat/apis/spacebar-server.md) · [All operations](https://skmtc.net/spacebarchat/apis/spacebar-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spacebarchat/spacebar-server/versions/034b4e879932/schema)
