Guilded Client
  1. Webhooks
Guilded Client
  • Intro
  • Community Libraries
  • Permissions Values
  • Reference
  • Webhooks
  • Chat
    • Get Embed for URL
      GET
    • Get Metadata
      GET
    • Get Channel Messages
      GET
    • Get Pinned Messages
      GET
  • List Items
    • Get List Items
      GET
    • Get List Item Note
      GET
  • Users
    • Modify User
      GET
    • Get Current User Verification
      GET
    • Send Verification Email
      POST
    • Verify Email Address
      GET
    • Get User Owned Steam Apps
      GET
    • Get User
      GET
    • Get User Profile
      GET
    • Get User Profile Posts
      GET
    • Get User Profile Post
      GET
    • Check Email Address
      GET
  • Teams
    • Get Team Presences
      GET
    • Get Team Info
      GET
    • Get Shallow Search Results
      GET
    • Submit Deep Search Query
      GET
    • Check Subdomain
      GET
    • Look up Teams
      GET
    • Check Team Name
      GET
  • Members
    • Get Team Members
    • Detail Team Members
    • Detail Voice Members
    • Sort Member IDs
    • Detail Team Bots
  • Channels
    • Get Team Channels
    • Get Team Channel
    • Get Group Archived Channels
    • Get Thread
    • Get Channel Threads
    • Get Channel Thread Count
    • Get Voice Channel Groups
  • Webhooks
    • Get Channel Webhooks
      GET
    • Execute Webhook
      POST
  • Guilded Meta
    • Redirect to App
    • Get App QR
  • Tournaments
    • Get Tournaments
    • Get Tournament
    • Get Tournament Info
    • Get Tournament Any Bracket Confirmed
    • Get Tournament from Invite
    • Get Tournament Hash Invites
    • Get Tournament Bracket Matches
    • Get Upcoming Tournaments
    • Get Completed Tournaments
    • Get Featured Tournaments
  • Websocket
    • Websocket
  1. Webhooks

Execute Webhook

POST
/webhooks/{webhookId}/{webhookToken}
webhooks
Send a message or create a list item using a webhook, depending on its channel type.
For list items, text is extracted from content and embeds and inserted into the item's message, then the full body of the payload is duplicated as the item's note as it would appear for a normal message.
INFO
This endpoint no longer accepts GitHub payloads. For a substitute, see guilded-webhook-proxy, a community project.
application/json: Standard JSON body for normal messages or list items without attachments.
multipart/form-data: Form body for creating a message or list item with attachments. To send embeds with this content type, you must use payload_json as a stringified embeds key is not properly validated.

Request

Path Params
webhookId
string 
required
webhookToken
string 
required
Body Params application/json
content
string 
optional
>= 1 characters<= 2000 characters
embeds
array[object (Embed) {10}] 
optional
<= 10 items
title
string 
optional
description
string 
optional
url
string 
optional
color
integer 
optional
timestamp
string 
optional
footer
object 
optional
thumbnail
object 
optional
image
object 
optional
author
object 
optional
fields
array [object {3}] 
optional
username
string 
optional
>= 1 characters<= 128 characters
avatar_url
string <uri>
optional
Example
{
    "content": "string",
    "embeds": [
        {
            "title": "string",
            "description": "string",
            "url": "string",
            "color": 0,
            "timestamp": "string",
            "footer": {
                "text": "string",
                "icon_url": "string",
                "iconUrl": "string"
            },
            "thumbnail": {
                "url": "string"
            },
            "image": {
                "url": "string"
            },
            "author": {
                "name": "string",
                "url": "string",
                "icon_url": "string",
                "iconUrl": "string"
            },
            "fields": [
                {
                    "name": "string",
                    "value": "string",
                    "inline": true
                }
            ]
        }
    ],
    "username": "string",
    "avatar_url": "http://example.com"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://media.guilded.gg/webhooks//' \
--header 'Content-Type: application/json' \
--data-raw '{
    "content": "string",
    "embeds": [
        {
            "title": "string",
            "description": "string",
            "url": "string",
            "color": 0,
            "timestamp": "string",
            "footer": {
                "text": "string",
                "icon_url": "string",
                "iconUrl": "string"
            },
            "thumbnail": {
                "url": "string"
            },
            "image": {
                "url": "string"
            },
            "author": {
                "name": "string",
                "url": "string",
                "icon_url": "string",
                "iconUrl": "string"
            },
            "fields": [
                {
                    "name": "string",
                    "value": "string",
                    "inline": true
                }
            ]
        }
    ],
    "username": "string",
    "avatar_url": "http://example.com"
}'

Responses

🟢200Message or list item created successfully
application/json
Body
optional
One of
A message in a chat channel or thread
id
string <uuid>
read-onlyrequired
The ID of the message
Example:
00000000-0000-0000-0000-000000000000
channelId
string <uuid>
read-onlyrequired
The ID of the channel
Example:
00000000-0000-0000-0000-000000000000
content
object (Content) 
read-onlyrequired
The content of the message
type
enum<string> 
read-onlyoptional
The type of message
Allowed values:
defaultsystem
Default:
default
createdBy
string 
read-onlyrequired
The user ID that created the message
>= 8 characters
Example:
Ann6LewA
createdAt
string <date-time>
read-onlyrequired
When the message was created
webhookId
string <uuid>
optional
The webhook ID that created the message
Example:
00000000-0000-0000-0000-000000000000
isOptimistic
boolean 
deprecated
Unknown
isPrivate
boolean 
optional
Whether the message is only visible to the users mentioned within its content and to moderators with "Moderator view" enabled
Default:
false
isSilent
boolean 
optional
Whether the mentions in this message were silenced (not delivered to recipients)
Default:
false
repliesToIds
array[string <uuid>]
read-onlyoptional
A list of message IDs that the message is in reply to
>= 0 items<= 5 items
guildedClientId
string  | null 
read-onlyoptional
The ID of the applicable client. Usually a UUID, but will be rest-api if said client is an application who performed an action from Guilded's bot API
Example:
00000000-0000-0000-0000-000000000000
Example
{
    "id": "00000000-0000-0000-0000-000000000000",
    "channelId": "00000000-0000-0000-0000-000000000000",
    "content": {
        "object": "value",
        "document": {
            "object": "document",
            "data": {
                "profile": {
                    "name": "shay",
                    "profilePicture": "https://s3-us-west-2.amazonaws.com/www.guilded.gg/WebhookThumbnail/3626a9cdc1020a98bd6c1724049c89a8-Full.webp?w=160&h=160"
                },
                "hiddenEmbedUrls": {
                    "{url}": false
                }
            },
            "nodes": [
                {
                    "object": "block",
                    "type": "markdown-plain-text",
                    "data": {
                        "isEmbedMessage": false,
                        "embeds": [
                            {
                                "title": "string",
                                "description": "string",
                                "url": "string",
                                "color": 0,
                                "timestamp": "string",
                                "footer": {
                                    "text": "string",
                                    "icon_url": "string",
                                    "iconUrl": "string"
                                },
                                "thumbnail": {
                                    "url": "string"
                                },
                                "image": {
                                    "url": "string"
                                },
                                "author": {
                                    "name": "string",
                                    "url": "string",
                                    "icon_url": "string",
                                    "iconUrl": "string"
                                },
                                "fields": [
                                    {
                                        "name": "string",
                                        "value": "string",
                                        "inline": true
                                    }
                                ]
                            }
                        ],
                        "url": "string",
                        "createdBy": "string",
                        "oldName": "string",
                        "newName": "string",
                        "type": "channel-renamed"
                    },
                    "nodes": [
                        {
                            "object": "text",
                            "type": "mention",
                            "data": {
                                "mention": {
                                    "type": "role",
                                    "matcher": "string",
                                    "name": "string",
                                    "nickname": true,
                                    "color": "string",
                                    "id": "string",
                                    "sortOrder": 0
                                },
                                "reaction": {
                                    "id": 0,
                                    "customReactionId": 0,
                                    "customReaction": {
                                        "id": 761262,
                                        "name": "frog-donut",
                                        "png": "https://s3-us-west-2.amazonaws.com/www.guilded.gg/CustomReaction/02f8bf8e57fb08568e9260461f34390c-Full.webp?w=120&h=120",
                                        "webp": "https://s3-us-west-2.amazonaws.com/www.guilded.gg/CustomReaction/02f8bf8e57fb08568e9260461f34390c-Full.webp?w=120&h=120",
                                        "apng": null
                                    }
                                },
                                "channel": {
                                    "id": "string"
                                },
                                "href": "string"
                            },
                            "leaves": [
                                {
                                    "object": "leaf",
                                    "text": "string",
                                    "marks": [
                                        {
                                            "data": {},
                                            "object": "mark",
                                            "type": "bold"
                                        }
                                    ]
                                }
                            ]
                        }
                    ],
                    "": "string"
                }
            ]
        }
    },
    "type": "default",
    "createdBy": "Ann6LewA",
    "createdAt": "2019-08-24T14:15:22Z",
    "webhookId": "00000000-0000-0000-0000-000000000000",
    "isOptimistic": true,
    "isPrivate": false,
    "isSilent": false,
    "repliesToIds": [
        "00000000-0000-0000-0000-000000000000"
    ],
    "guildedClientId": "00000000-0000-0000-0000-000000000000"
}
Modified at 2024-07-01 13:14:56
Previous
Get Channel Webhooks
Next
Redirect to App
Built with