[
{
"handle": "servers",
"meta": {
"short": "Servers",
"description": "Manage Discord servers (guilds) including creation, updates, and deletions."
},
"endpoint": {
"value": "/guilds",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "String",
"selector": ["id"],
"meta": {
"description": "The unique identifier for the server."
}
},
{
"name": "name",
"type": "String",
"selector": ["name"],
"meta": {
"description": "The name of the server."
}
},
{
"name": "icon",
"type": "String",
"selector": ["icon"],
"meta": {
"description": "The icon hash of the server."
}
},
{
"name": "owner_id",
"type": "String",
"selector": ["owner_id"],
"meta": {
"description": "The ID of the server owner."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
}
},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
},
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"name\": \"{{name}}\", \"region\": \"{{region}}\"}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the server",
"required": true
},
{
"name": "region",
"type": "String",
"description": "Region of the server",
"required": true
}
]
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "String",
"description": "Server ID",
"required": true
}
]
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
}
},
"queryParams": {},
"bodyTemplate": null
},
"update": {
"method": "PATCH",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "String",
"description": "Server ID",
"required": true
}
]
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
},
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"name\": \"{{name}}\"}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "New name of the server",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "String",
"description": "Server ID",
"required": true
}
]
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
}
},
"queryParams": {},
"bodyTemplate": null
}
},
"webhooks": [
{
"event": "server_updated",
"path": "/webhooks/discord/server_updated",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the server." } },
{ "name": "name", "type": "String", "selector": ["name"], "meta": { "description": "The name of the server." } },
{ "name": "description", "type": "String", "selector": ["description"], "meta": { "description": "The description of the server." } },
{ "name": "owner_id", "type": "String", "selector": ["owner_id"], "meta": { "description": "The ID of the server owner." } }
]
},
{
"event": "member_added",
"path": "/webhooks/discord/member_added",
"payload": [
{ "name": "guild_id", "type": "String", "selector": ["guild_id"], "meta": { "description": "The ID of the server." } },
{ "name": "user_id", "type": "String", "selector": ["user", "id"], "meta": { "description": "The ID of the member." } },
{ "name": "username", "type": "String", "selector": ["user", "username"], "meta": { "description": "The username of the member." } },
{ "name": "joined_at", "type": "String", "selector": ["joined_at"], "meta": { "description": "The timestamp when the member joined." } }
]
},
{
"event": "member_removed",
"path": "/webhooks/discord/member_removed",
"payload": [
{ "name": "guild_id", "type": "String", "selector": ["guild_id"], "meta": { "description": "The ID of the server." } },
{ "name": "user_id", "type": "String", "selector": ["user", "id"], "meta": { "description": "The ID of the member." } },
{ "name": "username", "type": "String", "selector": ["user", "username"], "meta": { "description": "The username of the member." } }
]
}
]
},
{
"handle": "channels",
"meta": {
"short": "Channels",
"description": "Manage Discord channels within servers, including text and voice channels."
},
"endpoint": {
"value": "/guilds/{{guild_id}}/channels",
"placeholders": [
{
"name": "guild_id",
"type": "String",
"description": "ID of the server",
"required": true
}
]
},
"fields": [
{
"name": "id",
"type": "String",
"selector": ["id"],
"meta": {
"description": "The unique identifier for the channel."
}
},
{
"name": "name",
"type": "String",
"selector": ["name"],
"meta": {
"description": "The name of the channel."
}
},
{
"name": "type",
"type": "Integer",
"selector": ["type"],
"meta": {
"description": "The type of channel (e.g., 0 for text, 2 for voice)."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
}
},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
},
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"name\": \"{{name}}\", \"type\": {{type}}}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the channel",
"required": true
},
{
"name": "type",
"type": "Integer",
"description": "Type of channel (0 for text, 2 for voice)",
"required": true
}
]
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "String",
"description": "Channel ID",
"required": true
}
]
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
}
},
"queryParams": {},
"bodyTemplate": null
},
"update": {
"method": "PATCH",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "String",
"description": "Channel ID",
"required": true
}
]
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
},
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"name\": \"{{name}}\"}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "New name of the channel",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "String",
"description": "Channel ID",
"required": true
}
]
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
}
},
"queryParams": {},
"bodyTemplate": null
}
},
"webhooks": [
{
"event": "channel_created",
"path": "/webhooks/discord/channel_created",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the channel." } },
{ "name": "guild_id", "type": "String", "selector": ["guild_id"], "meta": { "description": "The ID of the server." } },
{ "name": "name", "type": "String", "selector": ["name"], "meta": { "description": "The name of the channel." } },
{ "name": "type", "type": "Integer", "selector": ["type"], "meta": { "description": "The type of channel." } }
]
},
{
"event": "channel_deleted",
"path": "/webhooks/discord/channel_deleted",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the deleted channel." } },
{ "name": "guild_id", "type": "String", "selector": ["guild_id"], "meta": { "description": "The ID of the server." } }
]
}
]
},
{
"handle": "messages",
"meta": {
"short": "Messages",
"description": "Manage messages within Discord channels, including sending, editing, and deleting messages."
},
"endpoint": {
"value": "/channels/{{channel_id}}/messages",
"placeholders": [
{
"name": "channel_id",
"type": "String",
"description": "ID of the channel",
"required": true
}
]
},
"fields": [
{
"name": "id",
"type": "String",
"selector": ["id"],
"meta": {
"description": "The unique identifier for the message."
}
},
{
"name": "content",
"type": "String",
"selector": ["content"],
"meta": {
"description": "The content of the message."
}
},
{
"name": "author_id",
"type": "String",
"selector": ["author", "id"],
"meta": {
"description": "The unique ID of the message author."
}
},
{
"name": "author_username",
"type": "String",
"selector": ["author", "username"],
"meta": {
"description": "The username of the message author."
}
},
{
"name": "author_global_name",
"type": "String",
"selector": ["author", "global_name"],
"meta": {
"description": "The display name of the message author."
}
},
{
"name": "author_bot",
"type": "Boolean",
"selector": ["author", "bot"],
"meta": {
"description": "Whether the message author is a bot."
}
},
{
"name": "timestamp",
"type": "String",
"selector": ["timestamp"],
"meta": {
"description": "The timestamp of the message."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
}
},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
},
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"content\": \"{{content}}\"}",
"placeholders": [
{
"name": "content",
"type": "String",
"description": "Content of the message",
"required": true
}
]
}
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "String",
"description": "Message ID",
"required": true
}
]
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
}
},
"queryParams": {},
"bodyTemplate": null
},
"update": {
"method": "PATCH",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "String",
"description": "Message ID",
"required": true
}
]
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
},
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"content\": \"{{content}}\"}",
"placeholders": [
{
"name": "content",
"type": "String",
"description": "New content of the message",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "String",
"description": "Message ID",
"required": true
}
]
},
"headers": {
"Authorization": {
"value": "Bot {{token}}",
"placeholders": [
{
"name": "token",
"type": "String",
"description": "Discord bot token",
"required": true
}
]
}
},
"queryParams": {},
"bodyTemplate": null
}
},
"webhooks": [
{
"event": "message_created",
"path": "/webhooks/discord/message_created",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the message." } },
{ "name": "channel_id", "type": "String", "selector": ["channel_id"], "meta": { "description": "The ID of the channel." } },
{ "name": "guild_id", "type": "String", "selector": ["guild_id"], "meta": { "description": "The ID of the server." } },
{ "name": "content", "type": "String", "selector": ["content"], "meta": { "description": "The content of the message." } },
{ "name": "author_id", "type": "String", "selector": ["author", "id"], "meta": { "description": "The unique ID of the message author." } },
{ "name": "author_username", "type": "String", "selector": ["author", "username"], "meta": { "description": "The username of the message author." } }
]
},
{
"event": "message_updated",
"path": "/webhooks/discord/message_updated",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the message." } },
{ "name": "channel_id", "type": "String", "selector": ["channel_id"], "meta": { "description": "The ID of the channel." } },
{ "name": "content", "type": "String", "selector": ["content"], "meta": { "description": "The new content of the message." } }
]
},
{
"event": "message_deleted",
"path": "/webhooks/discord/message_deleted",
"payload": [
{ "name": "id", "type": "String", "selector": ["id"], "meta": { "description": "The unique identifier for the deleted message." } },
{ "name": "channel_id", "type": "String", "selector": ["channel_id"], "meta": { "description": "The ID of the channel." } }
]
}
]
}
]