# Discord Integration via LowCodeAPI
**Last Updated**: February 11, 2026
## Overview
Voice, video, and text chat
The Discord API provides access to:
- **Social Chat** - Related functionality
## Base Endpoint
```
https://api.lowcodeapi.com/discord/
```
**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`
## Authentication
LowCodeAPI handles authentication automatically. You only need to:
1. **Sign up** at [Discord](https://discord.com/)
2. **Get your credentials** from [credential page](https://discord.com/)
3. **Connect your account** in LowCodeAPI dashboard
4. **Use your `api_token`** in all requests
The `api_token` is your LowCodeAPI authentication token. LowCodeAPI will automatically:
- Fetch your provider credentials (API keys, OAuth tokens, etc.)
- Apply them to each request
- Handle token refresh for OAuth providers
**Auth Type**: OAUTH2.0
## URL Format (Important)
LowCodeAPI supports **two URL formats** for endpoints with path parameters. **Always try New Format first**, and only fall back to Old Format if it doesn't work.
### New Format (Priority) - Dynamic Path Parameters
- **Path parameters stay in the URL path** - Do NOT convert to query parameters
- **Provider name is always in the URL path** after `api.lowcodeapi.com/`
- Pattern: `https://api.lowcodeapi.com/{provider}/{path_with_params}?api_token={api_token}`
**Example**:
```bash
# New Format - Path parameter stays in the URL path
https://api.lowcodeapi.com/discord/resource/{RESOURCE_ID}?api_token=YOUR_API_TOKEN
```
### Old Format (Fallback) - Sanitized Path + Query Parameters
- **Path parameters become query parameters**
- **Provider name is always in the URL path**
- Pattern: `https://api.lowcodeapi.com/{provider}/{sanitized_path}?{path_params}&api_token={api_token}`
**Example**:
```bash
# Old Format - Path parameter becomes a query parameter
https://api.lowcodeapi.com/discord/resource/id?id=RESOURCE_ID&api_token=YOUR_API_TOKEN
```
### Decision Flow for AI Agents
1. Always use **New Format first** - Keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider
## API Categories
- **Application** - 2 endpoints
- **Application Role Connection Metadata** - 2 endpoints
- **Audit Logs** - 1 endpoints
- **Auto Moderation** - 5 endpoints
- **Channel** - 38 endpoints
- **Emoji** - 5 endpoints
- **Guild** - 46 endpoints
- **Guild Scheduled Event** - 6 endpoints
- **Guild Template** - 7 endpoints
- **Invite** - 2 endpoints
- **Stage Instance** - 4 endpoints
- **Sticker ** - 7 endpoints
- **User** - 10 endpoints
- **Voice** - 1 endpoints
- **Webhook ** - 15 endpoints
## Common Endpoints
### Category: Application
#### Get Current Application
**Method**: `GET` | **LowCodeAPI Path**: `/applications/@me`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/applications/@me?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/applications/me?api_token={api_token}
```
**Description**: Get Current Application
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/applications/@me?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Current Application](https://discord.com/developers/docs/resources/application#get-current-application)
---
#### Edit Current Application
**Method**: `PATCH` | **LowCodeAPI Path**: `/applications/@me`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/applications/@me?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/applications/me?api_token={api_token}
```
**Description**: Edit Current Application
**Request Body**:
```json
{
"flags": "<number>",
"interactions_endpoint_url": "<string>"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `cover_image` | string | No | Default rich presence invite cover image for the app |
| `custom_install_url` | string | No | Default custom authorization URL for the app if enabled |
| `description` | string | No | Description of the app |
| `flags` | number | Yes | App's public flags |
| `icon` | string | No | image data Icon for the app |
| `install_params` | object | No | Settings for the app's default in-app authorization link if enabled |
| `interactions_endpoint_url` | string | Yes | Interactions endpoint URL for the app |
| `role_connections_verification_url` | string | No | Role connection verification URL for the app |
| `tags` | array | No | List of tags describing the content and functionality of the app |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/applications/@me?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Edit Current Application](https://discord.com/developers/docs/resources/application#edit-current-application)
---
### Category: Application Role Connection Metadata
#### Get Application Role Connection Metadata Records
**Method**: `GET` | **LowCodeAPI Path**: `/applications/{application.id}/role-connections/metadata`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/applications/{application.id}/role-connections/metadata?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/applications/application_id/role-connections/metadata?application_id={application_id}&api_token={api_token}
```
**Description**: Get Application Role Connection Metadata Records
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `application_id` | string | Yes | Application ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/applications/{application.id}/role-connections/metadata?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Application Role Connection Metadata Records](https://discord.com/developers/docs/resources/application-role-connection-metadata#get-application-role-connection-metadata-records)
---
#### Update Application Role Connection Metadata Records
**Method**: `PUT` | **LowCodeAPI Path**: `/applications/{application.id}/role-connections/metadata`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/applications/{application.id}/role-connections/metadata?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/applications/application_id/role-connections/metadata?application_id={application_id}&api_token={api_token}
```
**Description**: Update Application Role Connection Metadata Records
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `application_id` | string | Yes | Application ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PUT "https://api.lowcodeapi.com/discord/applications/{application.id}/role-connections/metadata?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Update Application Role Connection Metadata Records](https://discord.com/developers/docs/resources/application-role-connection-metadata#update-application-role-connection-metadata-records)
---
### Category: Audit Logs
#### Get Guild Audit Log
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/audit-logs`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/audit-logs?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/audit-logs?guild_id={guild_id}&action_type={action_type}&after={after}&before={before}&limit={limit}&user_id={user_id}&api_token={api_token}
```
**Description**: Get Guild Audit Log
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `action_type` | number | No | Filter the log by action type |
| `after` | string | No | Entries with ID greater than a specific audit log entry ID |
| `before` | string | No | Entries with ID less than a specific audit log entry ID |
| `limit` | number | No | Maximum number of entries to return,50 |
| `user_id` | string | No | Entries from a specific user ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/audit-logs?action_type=VALUE&after=VALUE&before=VALUE&limit=VALUE&user_id=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Audit Log](https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log)
---
### Category: Auto Moderation
#### List Auto Moderation Rules for Guild
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/auto-moderation/rules`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/auto-moderation/rules?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/auto-moderation/rules?guild_id={guild_id}&api_token={api_token}
```
**Description**: List Auto Moderation Rules for Guild
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/auto-moderation/rules?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [List Auto Moderation Rules for Guild](https://discord.com/developers/docs/resources/auto-moderation#list-auto-moderation-rules-for-guild)
---
#### Get Auto Moderation Rule
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/auto-moderation/rules/auto_moderation_rule_id?auto_moderation_rule_id={auto_moderation_rule_id}&guild_id={guild_id}&api_token={api_token}
```
**Description**: Get Auto Moderation Rule
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `auto_moderation_rule_id` | string | Yes | Auto Moderation Rules ID |
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Auto Moderation Rule](https://discord.com/developers/docs/resources/auto-moderation#get-auto-moderation-rule)
---
#### Create Auto Moderation Rule
**Method**: `POST` | **LowCodeAPI Path**: `/guilds/{guild.id}/auto-moderation/rules`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/auto-moderation/rules?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/auto-moderation/rules?guild_id={guild_id}&api_token={api_token}
```
**Description**: Create Auto Moderation Rule
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Request Body**:
```json
{
"trigger_metadata": "<object>"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `actions` | array | No | the actions which will execute when the rule is triggered |
| `enabled` | boolean | No | whether the rule is enabled,false |
| `event_type` | number | No | the event type |
| `exempt_channels` | array | No | the channel ids that should not be affected by the rule |
| `exempt_roles` | array | No | the role ids that should not be affected by the rule |
| `name` | string | No | the rule name |
| `trigger_metadata` | object | Yes | the trigger metadata |
| `trigger_type` | number | No | the trigger type |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/guilds/{guild.id}/auto-moderation/rules?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Auto Moderation Rule](https://discord.com/developers/docs/resources/auto-moderation#create-auto-moderation-rule)
---
#### Modify Auto Moderation Rule
**Method**: `PATCH` | **LowCodeAPI Path**: `/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/auto-moderation/rules/auto_moderation_rule_id?auto_moderation_rule_id={auto_moderation_rule_id}&guild_id={guild_id}&api_token={api_token}
```
**Description**: Modify Auto Moderation Rule
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `auto_moderation_rule_id` | string | Yes | Auto Moderation Rules ID |
| `guild_id` | string | Yes | Guild ID |
**Request Body**:
```json
{
"trigger_metadata": "<object>"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `actions` | array | No | the actions which will execute when the rule is triggered |
| `enabled` | boolean | No | whether the rule is enabled |
| `event_type` | number | No | the event type |
| `exempt_channels` | array | No | the channel ids that should not be affected by the rule |
| `exempt_roles` | array | No | the role ids that should not be affected by the rule |
| `name` | string | No | the rule name |
| `trigger_metadata` | object | Yes | the trigger metadata |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Auto Moderation Rule](https://discord.com/developers/docs/resources/auto-moderation#modify-auto-moderation-rule)
---
#### Delete Auto Moderation Rule
**Method**: `DELETE` | **LowCodeAPI Path**: `/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/auto-moderation/rules/auto_moderation_rule_id?auto_moderation_rule_id={auto_moderation_rule_id}&channel_id={channel_id}&api_token={api_token}
```
**Description**: Delete Auto Moderation Rule
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `auto_moderation_rule_id` | string | Yes | Auto Moderation Rules ID |
| `channel_id` | string | Yes | Channel ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Auto Moderation Rule](https://discord.com/developers/docs/resources/auto-moderation#delete-auto-moderation-rule)
---
### Category: Channel
#### Get Channel
**Method**: `GET` | **LowCodeAPI Path**: `/channels/{channel.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id?channel_id={channel_id}&api_token={api_token}
```
**Description**: Get Channel
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/channels/{channel.id}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Channel](https://discord.com/developers/docs/resources/channel#get-channel)
---
#### Modify Channel
**Method**: `PATCH` | **LowCodeAPI Path**: `/channels/{channel.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id?channel_id={channel_id}&api_token={api_token}
```
**Description**: Modify Channel
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `icon` | number | No | base64 encoded icon |
| `name` | string | No | character channel name |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/channels/{channel.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Channel](https://discord.com/developers/docs/resources/channel#modify-channel)
---
#### Delete/Close Channel
**Method**: `DELETE` | **LowCodeAPI Path**: `/channels/{channel.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id?channel_id={channel_id}&api_token={api_token}
```
**Description**: Delete/Close Channel
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/channels/{channel.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete/Close Channel](https://discord.com/developers/docs/resources/channel#deleteclose-channel)
---
#### Get Channel Messages
**Method**: `GET` | **LowCodeAPI Path**: `/channels/{channel.id}/messages`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages?channel_id={channel_id}&after={after}&around={around}&before={before}&limit={limit}&api_token={api_token}
```
**Description**: Get Channel Messages
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `after` | string | No | Get messages after this message ID |
| `around` | string | No | Get messages around this message ID |
| `before` | string | No | Get messages before this message ID |
| `limit` | number | No | Max number of messages to return (1-100) |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages?after=VALUE&around=VALUE&before=VALUE&limit=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Channel Messages](https://discord.com/developers/docs/resources/channel#get-channel-messages)
---
#### Get Channel Message
**Method**: `GET` | **LowCodeAPI Path**: `/channels/{channel.id}/messages/{message.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages/message_id?channel_id={channel_id}&message_id={message_id}&api_token={api_token}
```
**Description**: Get Channel Message
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
| `message_id` | string | Yes | MessageID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Channel Message](https://discord.com/developers/docs/resources/channel#get-channel-message)
---
#### Create Message
**Method**: `POST` | **LowCodeAPI Path**: `/channels/{channel.id}/messages`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages?channel_id={channel_id}&api_token={api_token}
```
**Description**: Create Message
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
**Request Body**:
```json
{
"components": "<array>",
"content": "<string>",
"embeds": "<array>",
"files": "<file>",
"sticker_ids": "<array>"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `allowed_mentions` | object | No | Allowed mentions for the message |
| `attachments` | array | No | Attachment objects with filename and description |
| `components` | array | Yes | Components to include with the message |
| `content` | string | Yes | Message contents |
| `embeds` | array | Yes | Up to 10 rich embeds (up to 6000 characters) |
| `files` | file | Yes | Contents of the file being sent |
| `flags` | number | No | Message flags combined as a bitfield |
| `message_reference` | string | No | Include to make your message a reply |
| `nonce` | number | No | Can be used to verify a message was sent Value will appear in the Message Create event |
| `payload_json` | string | No | JSON-encoded body of non-file params only for multipart/form-data requests |
| `sticker_ids` | array | Yes | IDs of up to 3 stickers in the server to send in the message |
| `tts` | boolean | No | true if this is a TTS message |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Message](https://discord.com/developers/docs/resources/channel#create-message)
---
#### Crosspost Message
**Method**: `POST` | **LowCodeAPI Path**: `/channels/{channel.id}/messages/{message.id}/crosspost`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/crosspost?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages/message_id/crosspost?channel_id={channel_id}&message_id={message_id}&api_token={api_token}
```
**Description**: Crosspost Message
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
| `message_id` | string | Yes | MessageID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/crosspost?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Crosspost Message](https://discord.com/developers/docs/resources/channel#crosspost-message)
---
#### Create Reaction
**Method**: `POST` | **LowCodeAPI Path**: `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages/message_id/reactions/emoji/me?channel_id={channel_id}&emoji={emoji}&message_id={message_id}&api_token={api_token}
```
**Description**: Create Reaction
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
| `emoji` | string | Yes | Emoji |
| `message_id` | string | Yes | MessageID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Reaction](https://discord.com/developers/docs/resources/channel#create-reaction)
---
#### Delete Own Reaction
**Method**: `DELETE` | **LowCodeAPI Path**: `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages/message_id/reactions/emoji/me?channel_id={channel_id}&emoji={emoji}&message_id={message_id}&api_token={api_token}
```
**Description**: Delete Own Reaction
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
| `emoji` | string | Yes | Emoji |
| `message_id` | string | Yes | MessageID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Own Reaction](https://discord.com/developers/docs/resources/channel#delete-own-reaction)
---
#### Delete User Reaction
**Method**: `DELETE` | **LowCodeAPI Path**: `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/{user.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/{user.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages/message_id/reactions/emoji/user_id?channel_id={channel_id}&emoji={emoji}&message_id={message_id}&user_id={user_id}&api_token={api_token}
```
**Description**: Delete User Reaction
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
| `emoji` | string | Yes | Emoji |
| `message_id` | string | Yes | MessageID |
| `user_id` | string | Yes | User ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/{user.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete User Reaction](https://discord.com/developers/docs/resources/channel#delete-user-reaction)
---
#### Get Reactions
**Method**: `GET` | **LowCodeAPI Path**: `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions/{emoji}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages/message_id/reactions/emoji?channel_id={channel_id}&emoji={emoji}&message_id={message_id}&after={after}&limit={limit}&api_token={api_token}
```
**Description**: Get Reactions
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
| `emoji` | string | Yes | Emoji |
| `message_id` | string | Yes | MessageID |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `after` | string | No | Get users after this user ID,absent |
| `limit` | number | No | Max number of users to return,25 |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions/{emoji}?after=VALUE&limit=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Reactions](https://discord.com/developers/docs/resources/channel#get-reactions)
---
#### Delete All Reactions
**Method**: `DELETE` | **LowCodeAPI Path**: `/channels/{channel.id}/messages/{message.id}/reactions`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages/message_id/reactions?channel_id={channel_id}&message_id={message_id}&api_token={api_token}
```
**Description**: Delete All Reactions
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
| `message_id` | string | Yes | MessageID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete All Reactions](https://discord.com/developers/docs/resources/channel#delete-all-reactions)
---
#### Delete All Reactions for Emoji
**Method**: `DELETE` | **LowCodeAPI Path**: `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions/{emoji}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages/message_id/reactions/emoji?channel_id={channel_id}&emoji={emoji}&message_id={message_id}&api_token={api_token}
```
**Description**: Delete All Reactions for Emoji
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
| `emoji` | string | Yes | Emoji |
| `message_id` | string | Yes | MessageID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}/reactions/{emoji}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete All Reactions for Emoji](https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji)
---
#### Edit Message
**Method**: `PATCH` | **LowCodeAPI Path**: `/channels/{channel.id}/messages/{message.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages/message_id?channel_id={channel_id}&message_id={message_id}&api_token={api_token}
```
**Description**: Edit Message
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
| `message_id` | string | Yes | MessageID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `allowed_mentions` | object | No | Allowed mentions for the message |
| `attachments` | array | No | Attached files to keep and possible descriptions for new files |
| `components` | array | No | Components to include with the message |
| `content` | string | No | Message contents up to 2000 characters |
| `embeds` | array | No | Up to 10 rich embeds |
| `files` | file | No | Contents of the file being sent/edited |
| `flags` | number | No | Edit the flags of a message |
| `payload_json` | string | No | JSON-encoded body of non-file params |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Edit Message](https://discord.com/developers/docs/resources/channel#edit-message)
---
#### Delete Message
**Method**: `DELETE` | **LowCodeAPI Path**: `/channels/{channel.id}/messages/{message.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/messages/message_id?channel_id={channel_id}&message_id={message_id}&api_token={api_token}
```
**Description**: Delete Message
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
| `message_id` | string | Yes | MessageID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/channels/{channel.id}/messages/{message.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Message](https://discord.com/developers/docs/resources/channel#delete-message)
---
*Note: Showing 15 of 38 endpoints in this category. See complete reference below.*
---
### Category: Emoji
#### List Guild Emojis
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/emojis`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/emojis?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/emojis?guild_id={guild_id}&api_token={api_token}
```
**Description**: List Guild Emojis
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/emojis?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [List Guild Emojis](https://discord.com/developers/docs/resources/emoji#list-guild-emojis)
---
#### Get Guild Emoji
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/emojis/{emoji.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/emojis/{emoji.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/emojis/emoji_id?emoji_id={emoji_id}&guild_id={guild_id}&api_token={api_token}
```
**Description**: Get Guild Emoji
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `emoji_id` | string | Yes | Emoji ID |
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/emojis/{emoji.id}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Emoji](https://discord.com/developers/docs/resources/emoji#get-guild-emoji)
---
#### Create Guild Emoji
**Method**: `POST` | **LowCodeAPI Path**: `/guilds/{guild.id}/emojis`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/emojis?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/emojis?guild_id={guild_id}&api_token={api_token}
```
**Description**: Create Guild Emoji
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `image` | string | No | emoji image |
| `name` | string | No | name of the emoji |
| `roles` | array | No | roles allowed to use this emoji |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/guilds/{guild.id}/emojis?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Guild Emoji](https://discord.com/developers/docs/resources/emoji#create-guild-emoji)
---
#### Modify Guild Emoji
**Method**: `PATCH` | **LowCodeAPI Path**: `/guilds/{guild.id}/emojis/{emoji.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/emojis/{emoji.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/emojis/emoji_id?emoji_id={emoji_id}&guild_id={guild_id}&api_token={api_token}
```
**Description**: Modify Guild Emoji
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `emoji_id` | string | Yes | Emoji ID |
| `guild_id` | string | Yes | Guild ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `name` | string | No | name of the emoji |
| `roles` | array | No | roles allowed to use this emoji |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/guilds/{guild.id}/emojis/{emoji.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Guild Emoji](https://discord.com/developers/docs/resources/emoji#modify-guild-emoji)
---
#### Delete Guild Emoji
**Method**: `DELETE` | **LowCodeAPI Path**: `/guilds/{guild.id}/emojis/{emoji.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/emojis/{emoji.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/emojis/emoji_id?emoji_id={emoji_id}&guild_id={guild_id}&api_token={api_token}
```
**Description**: Delete Guild Emoji
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `emoji_id` | string | Yes | Emoji ID |
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/guilds/{guild.id}/emojis/{emoji.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Guild Emoji](https://discord.com/developers/docs/resources/emoji#delete-guild-emoji)
---
### Category: Guild
#### Create Guild
**Method**: `POST` | **LowCodeAPI Path**: `/guilds`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds?api_token={api_token}
```
**Description**: Create Guild
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `afk_channel_id` | string | No | id for afk channel |
| `afk_timeout` | number | No | afk timeout in seconds |
| `channels` | array | No | new guild's channels |
| `default_message_notifications` | number | No | Default notification level for the guild |
| `explicit_content_filter` | number | No | explicit content filter level |
| `icon` | string | No | image for the guild icon |
| `name` | string | No | name of the guild |
| `region` | string | No | voice region id |
| `roles` | array | No | new guild roles |
| `system_channel_flags` | number | No | system channel flags |
| `system_channel_id` | string | No | the id of the channel where guild notices such as welcome messages and boost events are posted |
| `verification_level` | number | No | verification level |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/guilds?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Guild](https://discord.com/developers/docs/resources/guild#create-guild)
---
#### Get Guild
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id?guild_id={guild_id}&with_counts={with_counts}&api_token={api_token}
```
**Description**: Get Guild
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `with_counts` | boolean | No | when true will return approximate member and presence counts for the guild,false |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}?with_counts=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild](https://discord.com/developers/docs/resources/guild#get-guild)
---
#### Get Guild Preview
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/preview`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/preview?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/preview?guild_id={guild_id}&api_token={api_token}
```
**Description**: Get Guild Preview
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/preview?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Preview](https://discord.com/developers/docs/resources/guild#get-guild-preview)
---
#### Modify Guild
**Method**: `PATCH` | **LowCodeAPI Path**: `/guilds/{guild.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id?guild_id={guild_id}&api_token={api_token}
```
**Description**: Modify Guild
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `afk_channel_id` | string | No | id for afk channel |
| `afk_timeout` | number | No | afk timeout in seconds |
| `banner` | string | No | image for the guild banner |
| `default_message_notifications` | integer | No | default message notification level |
| `description` | string | No | the description for the guild |
| `discovery_splash` | string | No | image for the guild discovery splash |
| `explicit_content_filter` | integer | No | explicit content filter level |
| `features` | array | No | enabled guild features |
| `icon` | string | No | image for the guild icon |
| `name` | string | No | guild name |
| `owner_id` | string | No | user id to transfer guild ownership |
| `preferred_locale` | string | No | the preferred locale of a Community guild used in server discovery and notices from Discord,en-US |
| `premium_progress_bar_enabled` | boolean | No | whether the guild's boost progress bar should be enabled |
| `public_updates_channel_id` | string | No | the id of the channel where admins and moderators of Community guilds receive notices from Discord |
| `rules_channel_id` | string | No | the id of the channel where Community guilds display rules or guidelines |
| `safety_alerts_channel_id` | string | No | the id of the channel where admins and moderators of Community guilds receive safety alerts from Discord |
| `splash` | string | No | image for the guild splash |
| `system_channel_flags` | number | No | system channel flags |
| `system_channel_id` | string | No | the id of the channel where guild notices such as welcome messages and boost events are posted |
| `verification_level` | integer | No | verification level |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/guilds/{guild.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Guild](https://discord.com/developers/docs/resources/guild#modify-guild)
---
#### Delete Guild
**Method**: `DELETE` | **LowCodeAPI Path**: `/guilds/{guild.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id?guild_id={guild_id}&api_token={api_token}
```
**Description**: Delete Guild
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/guilds/{guild.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Guild](https://discord.com/developers/docs/resources/guild#delete-guild)
---
#### Get Guild Channels
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/channels`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/channels?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/channels?guild_id={guild_id}&api_token={api_token}
```
**Description**: Get Guild Channels
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/channels?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Channels](https://discord.com/developers/docs/resources/guild#get-guild-channels)
---
#### Create Guild Channel
**Method**: `POST` | **LowCodeAPI Path**: `/guilds/{guild.id}/channels`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/channels?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/channels?guild_id={guild_id}&api_token={api_token}
```
**Description**: Create Guild Channel
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Request Body**:
```json
{
"bitrate": "<number>",
"permission_overwrites": "<array>"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `type` | number | No | the type of channel |
| `available_tags` | array | No | set of tags that can be used in a GUILD_FORUM or a GUILD_MEDIA channel |
| `bitrate` | number | Yes | the bitrate of the voice or stage channel |
| `default_auto_archive_duration` | number | No | the default duration that the clients use for newly created threads in the channel in minutes to automatically archive the thread after recent activity |
| `default_forum_layout` | number | No | the default forum layout view used to display posts in GUILD_FORUM channels |
| `default_reaction_emoji` | object | No | emoji to show in the add reaction button on a thread in a GUILD_FORUM or a GUILD_MEDIA channel |
| `default_sort_order` | number | No | the default sort order type used to order posts in GUILD_FORUM and GUILD_MEDIA channels |
| `default_thread_rate_limit_per_user` | number | No | the initial rate_limit_per_user to set on newly created threads in a channel |
| `name` | string | No | channel name |
| `nsfw` | boolean | No | whether the channel is nsfw |
| `ntc_region` | string | No | channel voice region id of the voice or stage channel automatic when set to null |
| `parent_id` | string | No | id of the parent category for a channel |
| `permission_overwrites` | array | Yes | of partial overwrite objects the channels permission overwrites |
| `position` | number | No | sorting position of the channel |
| `rate_limit_per_user` | number | No | amount of seconds a user has to wait before sending another message |
| `topic` | string | No | channel topic |
| `user_limit` | number | No | the user limit of the voice channel |
| `video_quality_mode` | number | No | the camera video quality mode of the voice channel |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/guilds/{guild.id}/channels?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Guild Channel](https://discord.com/developers/docs/resources/guild#create-guild-channel)
---
#### Modify Guild Channel Positions
**Method**: `PATCH` | **LowCodeAPI Path**: `/guilds/{guild.id}/channels`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/channels?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/channels?guild_id={guild_id}&api_token={api_token}
```
**Description**: Modify Guild Channel Positions
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | No | channel id |
| `lock_permissions` | boolean | No | syncs the permission overwrites with the new parent if moving to a new category |
| `parent_id` | string | No | the new parent ID for the channel that is moved |
| `position` | number | No | sorting position of the channel |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/guilds/{guild.id}/channels?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Guild Channel Positions](https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions)
---
#### List Active Guild Threads
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/threads/active`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/threads/active?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/threads/active?guild_id={guild_id}&api_token={api_token}
```
**Description**: List Active Guild Threads
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/threads/active?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-guild-threads)
---
#### Get Guild Member
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/members/{user.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/members/{user.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/members/user_id?guild_id={guild_id}&user_is={user_is}&api_token={api_token}
```
**Description**: Get Guild Member
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `user_is` | string | Yes | User ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/members/{user.id}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Member](https://discord.com/developers/docs/resources/guild#get-guild-member)
---
#### List Guild Members
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/members`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/members?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/members?guild_id={guild_id}&after={after}&limit={limit}&api_token={api_token}
```
**Description**: List Guild Members
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `after` | string | No | the highest user id in the previous page,0 |
| `limit` | number | No | max number of members,1 |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/members?after=VALUE&limit=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [List Guild Members](https://discord.com/developers/docs/resources/guild#list-guild-members)
---
#### Search Guild Members
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/members/search`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/members/search?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/members/search?guild_id={guild_id}&limit={limit}&query={query}&api_token={api_token}
```
**Description**: Search Guild Members
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | number | No | max number of members,1 |
| `query` | string | No | Query string to match username and nickname |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/members/search?limit=VALUE&query=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Search Guild Members](https://discord.com/developers/docs/resources/guild#search-guild-members)
---
#### Add Guild Member
**Method**: `PUT` | **LowCodeAPI Path**: `/guilds/{guild.id}/members/{user.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/members/{user.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/members/user_id?guild_id={guild_id}&user_is={user_is}&api_token={api_token}
```
**Description**: Add Guild Member
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `user_is` | string | Yes | User ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `access_token` | string | No | an oauth2 access token granted with the guilds |
| `deaf` | boolean | No | whether the user is deafened in voice channels |
| `mute` | boolean | No | whether the user is muted in voice channels |
| `nick` | string | No | value to set users nickname to |
| `roles` | array | No | array of role ids the member is assigned |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PUT "https://api.lowcodeapi.com/discord/guilds/{guild.id}/members/{user.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Add Guild Member](https://discord.com/developers/docs/resources/guild#add-guild-member)
---
#### Modify Guild Member
**Method**: `PATCH` | **LowCodeAPI Path**: `/guilds/{guild.id}/members/{user.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/members/{user.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/members/user_id?guild_id={guild_id}&user_id={user_id}&api_token={api_token}
```
**Description**: Modify Guild Member
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `user_id` | string | Yes | User ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `channel_id` | string | No | id of channel to move user |
| `communication_disabled_until` | string | No | when the user's timeout will expire and the user will be able to communicate in the guild again set to null to remove timeout |
| `deaf` | boolean | No | whether the user is deafened in voice channels |
| `flags` | nunber | No | guild member flags |
| `mute` | boolean | No | whether the user is muted in voice channels |
| `nick` | string | No | value to set users nickname to |
| `roles` | array | No | array of role ids the member is assigned |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/guilds/{guild.id}/members/{user.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Guild Member](https://discord.com/developers/docs/resources/guild#modify-guild-member)
---
#### Modify Current Member
**Method**: `PATCH` | **LowCodeAPI Path**: `/guilds/{guild.id}/members/@me`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/members/@me?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/members/me?guild_id={guild_id}&api_token={api_token}
```
**Description**: Modify Current Member
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `nick` | string | No | value to set user's nickname to |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/guilds/{guild.id}/members/@me?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Current Member](https://discord.com/developers/docs/resources/guild#modify-current-member)
---
*Note: Showing 15 of 46 endpoints in this category. See complete reference below.*
---
### Category: Guild Scheduled Event
#### List Scheduled Events for Guild
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/scheduled-events`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/scheduled-events?guild_id={guild_id}&with_user_count={with_user_count}&api_token={api_token}
```
**Description**: List Scheduled Events for Guild
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `with_user_count` | boolean | No | include number of users subscribed to each event |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events?with_user_count=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [List Scheduled Events for Guild](https://discord.com/developers/docs/resources/guild-scheduled-event#list-scheduled-events-for-guild)
---
#### Create Guild Scheduled Event
**Method**: `POST` | **LowCodeAPI Path**: `/guilds/{guild.id}/scheduled-events`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/scheduled-events?guild_id={guild_id}&api_token={api_token}
```
**Description**: Create Guild Scheduled Event
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Request Body**:
```json
{
"channel_id": "<string>",
"entity_metadata": "<string>"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `channel_id` | string | Yes | the channel id of the scheduled event |
| `description` | string | No | the description of the scheduled event |
| `entity_metadata` | string | Yes | the entity metadata of the scheduled event |
| `entity_type` | string | No | the entity type of the scheduled event |
| `image` | string | No | the cover image of the scheduled event |
| `name` | string | No | The name of the scheduled event (1-100 characters) |
| `privacy_level` | string | No | the privacy level of the scheduled event |
| `scheduled_end_time` | string | No | the time when the scheduled event is scheduled to end |
| `scheduled_start_time` | string | No | the time to schedule the scheduled event |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Guild Scheduled Event](https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event)
---
#### Get Guild Scheduled Event
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/scheduled-events/guild_scheduled_event_id?guild_id={guild_id}&guild_scheduled_event_id={guild_scheduled_event_id}&with_user_count={with_user_count}&api_token={api_token}
```
**Description**: Get Guild Scheduled Event
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `guild_scheduled_event_id` | string | Yes | Guild Scheduled Event ID |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `with_user_count` | boolean | No | :include number of users subscribed to this event |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}?with_user_count=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Scheduled Event](https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event)
---
#### Modify Guild Scheduled Event
**Method**: `PATCH` | **LowCodeAPI Path**: `/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/scheduled-events/guild_scheduled_event_id?guild_id={guild_id}&guild_scheduled_event_id={guild_scheduled_event_id}&api_token={api_token}
```
**Description**: Modify Guild Scheduled Event
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `guild_scheduled_event_id` | string | Yes | Guild Scheduled Event ID |
**Request Body**:
```json
{
"channel_id": "<string>",
"entity_type": "<string>",
"scheduled_end_time": "<string>"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `channel_id` | string | Yes | The channel ID of the scheduled event (null if changing to external event) |
| `description` | string | No | the description of the scheduled event |
| `entity_metadata` | string | No | The entity metadata of the scheduled event |
| `entity_type` | string | Yes | the entity type of the scheduled event |
| `image` | string | No | the cover image of the scheduled event |
| `name` | string | No | the name of the scheduled event |
| `privacy_level` | string | No | The privacy level of the scheduled event |
| `scheduled_end_time` | string | Yes | the time when the scheduled event is scheduled to end |
| `scheduled_start_time` | string | No | the time to schedule the scheduled event |
| `status` | string | No | the status of the scheduled event |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Guild Scheduled Event](https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event)
---
#### Delete Guild Scheduled Event
**Method**: `DELETE` | **LowCodeAPI Path**: `/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/scheduled-events/guild_scheduled_event_id?guild_id={guild_id}&guild_scheduled_event_id={guild_scheduled_event_id}&api_token={api_token}
```
**Description**: Delete Guild Scheduled Event
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `guild_scheduled_event_id` | string | Yes | Guild Scheduled Event ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Guild Scheduled Event](https://discord.com/developers/docs/resources/guild-scheduled-event#delete-guild-scheduled-event)
---
#### Get Guild Scheduled Event Users
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}/users`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}/users?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/scheduled-events/guild_scheduled_event_id/users?guild_id={guild_id}&guild_scheduled_event_id={guild_scheduled_event_id}&after={after}&before={before}&limit={limit}&with_member={with_member}&api_token={api_token}
```
**Description**: Get Guild Scheduled Event Users
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `guild_scheduled_event_id` | string | Yes | Guild Scheduled Event ID |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `after` | string | Yes | consider only users after given user id,null |
| `before` | string | Yes | consider only users before given user id,null |
| `limit` | number | No | number of users to return,100 |
| `with_member` | boolean | No | include guild member data if it exists,false |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}/users?after=VALUE&before=VALUE&limit=VALUE&with_member=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Scheduled Event Users](https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event-users)
---
### Category: Guild Template
#### Get Guild Template
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/templates/{template.code}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/templates/{template.code}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/templates/template_code?template_code={template_code}&api_token={api_token}
```
**Description**: Get Guild Template
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `template_code` | string | Yes | Template Code |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/templates/{template.code}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Template](https://discord.com/developers/docs/resources/guild-template#get-guild-template)
---
#### Create Guild from Guild Template
**Method**: `POST` | **LowCodeAPI Path**: `/guilds/templates/{template.code}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/templates/{template.code}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/templates/template_code?template_code={template_code}&api_token={api_token}
```
**Description**: Create Guild from Guild Template
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `template_code` | string | Yes | Template Code |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `icon` | string | No | image for the guild icon |
| `name` | string | No | name of the guild |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/guilds/templates/{template.code}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Guild from Guild Template](https://discord.com/developers/docs/resources/guild-template#create-guild-from-guild-template)
---
#### Get Guild Templates
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/templates`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/templates?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/templates?guild_id={guild_id}&api_token={api_token}
```
**Description**: Get Guild Templates
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/templates?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Templates](https://discord.com/developers/docs/resources/guild-template#get-guild-templates)
---
#### Create Guild Template
**Method**: `POST` | **LowCodeAPI Path**: `/guilds/{guild.id}/templates`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/templates?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/templates?guild_id={guild_id}&api_token={api_token}
```
**Description**: Create Guild Template
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `description` | string | No | description for the template |
| `name` | string | No | name of the template |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/guilds/{guild.id}/templates?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Guild Template](https://discord.com/developers/docs/resources/guild-template#create-guild-template)
---
#### Sync Guild Template
**Method**: `PUT` | **LowCodeAPI Path**: `/guilds/{guild.id}/templates/{template.code}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/templates/{template.code}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/templates/template_code?guild_id={guild_id}&template_code={template_code}&api_token={api_token}
```
**Description**: Sync Guild Template
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `template_code` | string | Yes | Template Code |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PUT "https://api.lowcodeapi.com/discord/guilds/{guild.id}/templates/{template.code}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Sync Guild Template](https://discord.com/developers/docs/resources/guild-template#sync-guild-template)
---
#### Modify Guild Template
**Method**: `PATCH` | **LowCodeAPI Path**: `/guilds/{guild.id}/templates/{template.code}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/templates/{template.code}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/templates/template_code?guild_id={guild_id}&template_code={template_code}&api_token={api_token}
```
**Description**: Modify Guild Template
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `template_code` | string | Yes | Template Code |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `description` | string | No | description for the template |
| `name` | string | No | name of the template |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/guilds/{guild.id}/templates/{template.code}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Guild Template](https://discord.com/developers/docs/resources/guild-template#modify-guild-template)
---
#### Delete Guild Template
**Method**: `DELETE` | **LowCodeAPI Path**: `/guilds/{guild.id}/templates/{template.code}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/templates/{template.code}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/templates/template_code?guild_id={guild_id}&template_code={template_code}&api_token={api_token}
```
**Description**: Delete Guild Template
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `template_code` | string | Yes | Template Code |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/guilds/{guild.id}/templates/{template.code}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Guild Template](https://discord.com/developers/docs/resources/guild-template#delete-guild-template)
---
### Category: Invite
#### Get Invite
**Method**: `GET` | **LowCodeAPI Path**: `/invites/{invite.code}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/invites/{invite.code}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/invites/invite_code?invite_code={invite_code}&guild_scheduled_event_id={guild_scheduled_event_id}&with_counts={with_counts}&with_expiration={with_expiration}&api_token={api_token}
```
**Description**: Get Invite
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `invite_code` | string | Yes | Invite code |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_scheduled_event_id` | string | No | the guild scheduled event to include with the invite |
| `with_counts` | boolean | No | whether the invite should contain approximate member counts |
| `with_expiration` | boolean | No | whether the invite should contain the expiration date |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/invites/{invite.code}?guild_scheduled_event_id=VALUE&with_counts=VALUE&with_expiration=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Invite](https://discord.com/developers/docs/resources/invite#get-invite)
---
#### Delete Invite
**Method**: `DELETE` | **LowCodeAPI Path**: `/invites/{invite.code}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/invites/{invite.code}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/invites/invite_code?invite_code={invite_code}&api_token={api_token}
```
**Description**: Delete Invite
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `invite_code` | string | Yes | Invite code |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/invites/{invite.code}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Invite](https://discord.com/developers/docs/resources/invite#delete-invite)
---
### Category: Stage Instance
#### Create Stage Instance
**Method**: `POST` | **LowCodeAPI Path**: `/stage-instances`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/stage-instances?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/stage-instances?api_token={api_token}
```
**Description**: Create Stage Instance
**Request Body**:
```json
{
"send_start_notification": "<boolean>"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `channel_id` | string | No | The id of the Stage channel |
| `guild_scheduled_event_id` | string | No | The guild scheduled event associated with this Stage instance |
| `privacy_level` | number | No | The privacy level of the Stage instance |
| `send_start_notification` | boolean | Yes | Notify everyone that a Stage instance has started |
| `topic` | string | No | The topic of the Stage instance |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/stage-instances?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Stage Instance](https://discord.com/developers/docs/resources/stage-instance#create-stage-instance)
---
#### Get Stage Instance
**Method**: `GET` | **LowCodeAPI Path**: `/stage-instances/{channel.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/stage-instances/{channel.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/stage-instances/channel_id?channel_id={channel_id}&api_token={api_token}
```
**Description**: Get Stage Instance
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/stage-instances/{channel.id}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Stage Instance](https://discord.com/developers/docs/resources/stage-instance#get-stage-instance)
---
#### Modify Stage Instance
**Method**: `PATCH` | **LowCodeAPI Path**: `/stage-instances/{channel.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/stage-instances/{channel.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/stage-instances/channel_id?channel_id={channel_id}&api_token={api_token}
```
**Description**: Modify Stage Instance
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `privacy_level` | number | No | The privacy level of the Stage instance |
| `topic` | string | No | The topic of the Stage instance |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/stage-instances/{channel.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Stage Instance](https://discord.com/developers/docs/resources/stage-instance#modify-stage-instance)
---
#### Delete Stage Instance
**Method**: `DELETE` | **LowCodeAPI Path**: `/stage-instances/{channel.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/stage-instances/{channel.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/stage-instances/channel_id?channel_id={channel_id}&api_token={api_token}
```
**Description**: Delete Stage Instance
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/stage-instances/{channel.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Stage Instance](https://discord.com/developers/docs/resources/stage-instance#delete-stage-instance)
---
### Category: Sticker
#### Get Sticker
**Method**: `GET` | **LowCodeAPI Path**: `/stickers/{sticker.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/stickers/{sticker.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/stickers/sticker_id?sticker_id={sticker_id}&api_token={api_token}
```
**Description**: Get Sticker
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sticker_id` | string | Yes | Sticker ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/stickers/{sticker.id}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Sticker](https://discord.com/developers/docs/resources/sticker#get-sticker)
---
#### List Sticker Packs
**Method**: `GET` | **LowCodeAPI Path**: `/sticker-packs`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/sticker-packs?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/sticker-packs?api_token={api_token}
```
**Description**: List Sticker Packs
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/sticker-packs?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [List Sticker Packs](https://discord.com/developers/docs/resources/sticker#list-sticker-packs)
---
#### List Guild Stickers
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/stickers`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/stickers?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/stickers?guild_id={guild_id}&api_token={api_token}
```
**Description**: List Guild Stickers
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/stickers?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [List Guild Stickers](https://discord.com/developers/docs/resources/sticker#list-guild-stickers)
---
#### Get Guild Sticker
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/stickers/{sticker.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/stickers/{sticker.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/stickers/sticker_id?guild_id={guild_id}&sticker_id={sticker_id}&api_token={api_token}
```
**Description**: Get Guild Sticker
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `sticker_id` | string | Yes | Sticker ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/stickers/{sticker.id}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Sticker](https://discord.com/developers/docs/resources/sticker#get-guild-sticker)
---
#### Create Guild Sticker
**Method**: `POST` | **LowCodeAPI Path**: `/guilds/{guild.id}/stickers`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/stickers?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/stickers?guild_id={guild_id}&api_token={api_token}
```
**Description**: Create Guild Sticker
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/guilds/{guild.id}/stickers?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Guild Sticker](https://discord.com/developers/docs/resources/sticker#create-guild-sticker)
---
#### Modify Guild Sticker
**Method**: `PATCH` | **LowCodeAPI Path**: `/guilds/{guild.id}/stickers/{sticker.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/stickers/{sticker.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/stickers/sticker_id?guild_id={guild_id}&sticker_id={sticker_id}&api_token={api_token}
```
**Description**: Modify Guild Sticker
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `sticker_id` | string | Yes | Sticker ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `description` | string | No | description of the sticker |
| `name` | string | No | name of the sticker |
| `tags` | string | No | autocomplete suggestion tags for the sticker |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/guilds/{guild.id}/stickers/{sticker.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Guild Sticker](https://discord.com/developers/docs/resources/sticker#modify-guild-sticker)
---
#### Delete Guild Sticker
**Method**: `DELETE` | **LowCodeAPI Path**: `/guilds/{guild.id}/stickers/{sticker.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/stickers/{sticker.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/stickers/sticker_id?guild_id={guild_id}&sticker_id={sticker_id}&api_token={api_token}
```
**Description**: Delete Guild Sticker
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
| `sticker_id` | string | Yes | Sticker ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/guilds/{guild.id}/stickers/{sticker.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Guild Sticker](https://discord.com/developers/docs/resources/sticker#delete-guild-sticker)
---
### Category: User
#### Get Current User
**Method**: `GET` | **LowCodeAPI Path**: `/users/@me`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/users/@me?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/users/me?api_token={api_token}
```
**Description**: Get Current User
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/users/@me?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Current User](https://discord.com/developers/docs/resources/user#get-current-user)
---
#### Get User
**Method**: `GET` | **LowCodeAPI Path**: `/users/{user.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/users/{user.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/users/user_id?user_id={user_id}&api_token={api_token}
```
**Description**: Get User
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `user_id` | string | Yes | User ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/users/{user.id}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get User](https://discord.com/developers/docs/resources/user#get-user)
---
#### Modify Current User
**Method**: `PATCH` | **LowCodeAPI Path**: `/users/@me`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/users/@me?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/users/me?api_token={api_token}
```
**Description**: Modify Current User
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `avatar` | string | No | if passed modifies the users avatar |
| `username` | string | No | users username if changed may cause the users discriminator to be randomized |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/users/@me?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Current User](https://discord.com/developers/docs/resources/user#modify-current-user)
---
#### Get Current User Guilds
**Method**: `GET` | **LowCodeAPI Path**: `/users/@me/guilds`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/users/@me/guilds?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/users/me/guilds?after={after}&before={before}&limit={limit}&with_counts={with_counts}&api_token={api_token}
```
**Description**: Get Current User Guilds
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `after` | string | Yes | get guilds after this guild ID,absent |
| `before` | string | Yes | get guilds before this guild ID,absent |
| `limit` | number | No | max number of guilds to return,200 |
| `with_counts` | boolean | No | include approximate member and presence counts in response,false |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/users/@me/guilds?after=VALUE&before=VALUE&limit=VALUE&with_counts=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Current User Guilds](https://discord.com/developers/docs/resources/user#get-current-user-guilds)
---
#### Get Current User Guild Member
**Method**: `GET` | **LowCodeAPI Path**: `/users/@me/guilds/{guild.id}/member`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/users/@me/guilds/{guild.id}/member?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/users/me/guilds/guild_id/member?guild_id={guild_id}&api_token={api_token}
```
**Description**: Get Current User Guild Member
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/users/@me/guilds/{guild.id}/member?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Current User Guild Member](https://discord.com/developers/docs/resources/user#get-current-user-guild-member)
---
#### Leave Guild
**Method**: `DELETE` | **LowCodeAPI Path**: `/users/@me/guilds/{guild.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/users/@me/guilds/{guild.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/users/me/guilds/guild_id?guild_id={guild_id}&api_token={api_token}
```
**Description**: Leave Guild
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/users/@me/guilds/{guild.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Leave Guild](https://discord.com/developers/docs/resources/user#leave-guild)
---
#### Create Group DM
**Method**: `POST` | **LowCodeAPI Path**: `/users/@me/channels`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/users/@me/channels?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/users/me/channels?api_token={api_token}
```
**Description**: Create Group DM
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `nicks` | string | No | a dictionary of user ids to their respective nicknames |
| `{}access_tokens` | array | No | access tokens of users that have granted your app the gdm |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/users/@me/channels?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Group DM](https://discord.com/developers/docs/resources/user#create-group-dm)
---
#### Get Current User Connections
**Method**: `GET` | **LowCodeAPI Path**: `/users/@me/connections`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/users/@me/connections?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/users/me/connections?api_token={api_token}
```
**Description**: Get Current User Connections
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/users/@me/connections?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Current User Connections](https://discord.com/developers/docs/resources/user#get-current-user-connections)
---
#### Get Current User Application Role Connection
**Method**: `GET` | **LowCodeAPI Path**: `/users/@me/applications/{application.id}/role-connection`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/users/@me/applications/{application.id}/role-connection?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/users/me/applications/application_id/role-connection?application_id={application_id}&api_token={api_token}
```
**Description**: Get Current User Application Role Connection
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `application_id` | string | Yes | Application ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/users/@me/applications/{application.id}/role-connection?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Current User Application Role Connection](https://discord.com/developers/docs/resources/user#get-current-user-application-role-connection)
---
#### Update Current User Application Role Connection
**Method**: `PUT` | **LowCodeAPI Path**: `/users/@me/applications/{application.id}/role-connection`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/users/@me/applications/{application.id}/role-connection?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/users/me/applications/application_id/role-connection?application_id={application_id}&api_token={api_token}
```
**Description**: Update Current User Application Role Connection
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `application_id` | string | Yes | Application ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `metadata` | object | No | object mapping application role connection metadata keys to their string-ified value |
| `platform_name` | string | No | the vanity name of the platform a bot has connected |
| `platform_username` | string | No | the username on the platform a bot has connected |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PUT "https://api.lowcodeapi.com/discord/users/@me/applications/{application.id}/role-connection?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Update Current User Application Role Connection](https://discord.com/developers/docs/resources/user#update-current-user-application-role-connection)
---
### Category: Voice
#### List Voice Regions
**Method**: `GET` | **LowCodeAPI Path**: `/voice/regions`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/voice/regions?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/voice/regions?api_token={api_token}
```
**Description**: List Voice Regions
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/voice/regions?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [List Voice Regions](https://discord.com/developers/docs/resources/voice#list-voice-regions)
---
### Category: Webhook
#### Create Webhook
**Method**: `POST` | **LowCodeAPI Path**: `/channels/{channel.id}/webhooks`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/webhooks?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/webhooks?channel_id={channel_id}&api_token={api_token}
```
**Description**: Create Webhook
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `avatar` | string | No | image for the default webhook avatar |
| `name` | string | No | name of the webhook |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/channels/{channel.id}/webhooks?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Create Webhook](https://discord.com/developers/docs/resources/webhook#create-webhook)
---
#### Get Channel Webhooks
**Method**: `GET` | **LowCodeAPI Path**: `/channels/{channel.id}/webhooks`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/channels/{channel.id}/webhooks?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/channels/channel_id/webhooks?channel_id={channel_id}&api_token={api_token}
```
**Description**: Get Channel Webhooks
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `channel_id` | string | Yes | Channel ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/channels/{channel.id}/webhooks?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Channel Webhooks](https://discord.com/developers/docs/resources/webhook#get-channel-webhooks)
---
#### Get Guild Webhooks
**Method**: `GET` | **LowCodeAPI Path**: `/guilds/{guild.id}/webhooks`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/guilds/{guild.id}/webhooks?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/guilds/guild_id/webhooks?guild_id={guild_id}&api_token={api_token}
```
**Description**: Get Guild Webhooks
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guild_id` | string | Yes | Guild ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/guilds/{guild.id}/webhooks?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Guild Webhooks](https://discord.com/developers/docs/resources/webhook#get-guild-webhooks)
---
#### Get Webhook
**Method**: `GET` | **LowCodeAPI Path**: `/webhooks/{webhook.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id?webhook_id={webhook_id}&api_token={api_token}
```
**Description**: Get Webhook
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | Webhook ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Webhook](https://discord.com/developers/docs/resources/webhook#get-webhook)
---
#### Get Webhook with Token
**Method**: `GET` | **LowCodeAPI Path**: `/webhooks/{webhook.id}/{webhook.token}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id/webhook_token?webhook_id={webhook_id}&webhook_token={webhook_token}&api_token={api_token}
```
**Description**: Get Webhook with Token
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | Webhook ID |
| `webhook_token` | string | Yes | Webhook token |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}?api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Webhook with Token](https://discord.com/developers/docs/resources/webhook#get-webhook-with-token)
---
#### Modify Webhook
**Method**: `PATCH` | **LowCodeAPI Path**: `/webhooks/{webhook.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id?webhook_id={webhook_id}&api_token={api_token}
```
**Description**: Modify Webhook
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | Webhook ID |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `avatar` | string | No | :image for the default webhook avatar |
| `channel_id` | string | No | the new channel id this webhook should be moved to |
| `name` | string | No | the default name of the webhook |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Webhook](https://discord.com/developers/docs/resources/webhook#modify-webhook)
---
#### Modify Webhook with Token
**Method**: `PATCH` | **LowCodeAPI Path**: `/webhooks/{webhook.id}/{webhook.token}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id/webhook_token?webhook_id={webhook_id}&webhook_token={webhook_token}&api_token={api_token}
```
**Description**: Modify Webhook with Token
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | Webhook ID |
| `webhook_token` | string | Yes | Webhook token |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Modify Webhook with Token](https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token)
---
#### Delete Webhook
**Method**: `DELETE` | **LowCodeAPI Path**: `/webhooks/{webhook.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id?webhook_id={webhook_id}&api_token={api_token}
```
**Description**: Delete Webhook
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | Webhook ID |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Webhook](https://discord.com/developers/docs/resources/webhook#delete-webhook)
---
#### Delete Webhook with Token
**Method**: `DELETE` | **LowCodeAPI Path**: `/webhooks/{webhook.id}/{webhook.token}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id/webhook_token?webhook_id={webhook_id}&webhook_token={webhook_token}&api_token={api_token}
```
**Description**: Delete Webhook with Token
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | Webhook ID |
| `webhook_token` | string | Yes | Webhook token |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Webhook with Token](https://discord.com/developers/docs/resources/webhook#delete-webhook-with-token)
---
#### Execute Webhook
**Method**: `POST` | **LowCodeAPI Path**: `/webhooks/{webhook.id}/{webhook.token}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id/webhook_token?webhook_id={webhook_id}&webhook_token={webhook_token}&api_token={api_token}
```
**Description**: Execute Webhook
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | Webhook ID |
| `webhook_token` | string | Yes | Webhook token |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `thread_id` | string | No | Send a message to the specified thread within a webhooks channel |
| `wait` | boolean | No | waits for server confirmation of message send before response, and returns the created message body |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Execute Webhook](https://discord.com/developers/docs/resources/webhook#execute-webhook)
---
#### Execute Slack-Compatible Webhook
**Method**: `POST` | **LowCodeAPI Path**: `/webhooks/{webhook.id}/{webhook.token}/slack`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}/slack?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id/webhook_token/slack?webhook_id={webhook_id}&webhook_token={webhook_token}&api_token={api_token}
```
**Description**: Execute Slack-Compatible Webhook
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | Webhook ID |
| `webhook_token` | string | Yes | Webhook token |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `thread_id` | string | No | id of the thread to send the message in |
| `wait` | boolean | No | waits for server confirmation of message send before response |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}/slack?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Execute Slack-Compatible Webhook](https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook)
---
#### Execute GitHub-Compatible Webhook
**Method**: `POST` | **LowCodeAPI Path**: `/webhooks/{webhook.id}/{webhook.token}/github`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}/github?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id/webhook_token/github?webhook_id={webhook_id}&webhook_token={webhook_token}&api_token={api_token}
```
**Description**: Execute GitHub-Compatible Webhook
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | string | Yes | Webhook ID |
| `webhook_token` | string | Yes | Webhook token |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `thread_id` | string | No | id of the thread to send the message in |
| `wait` | boolean | No | waits for server confirmation of message send before response |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X POST "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}/github?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Execute GitHub-Compatible Webhook](https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook)
---
#### Get Webhook Message
**Method**: `GET` | **LowCodeAPI Path**: `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id/webhook_token/messages/message_id?message_id={message_id}&webhook_id={webhook_id}&webhook_token={webhook_token}&thread_id={thread_id}&api_token={api_token}
```
**Description**: Get Webhook Message
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `message_id` | string | Yes | Message ID |
| `webhook_id` | string | Yes | Webhook ID |
| `webhook_token` | string | Yes | Webhook token |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `thread_id` | string | No | :id of the thread the message is in |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X GET "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}?thread_id=VALUE&api_token=YOUR_API_TOKEN"
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Get Webhook Message](https://discord.com/developers/docs/resources/webhook#get-webhook-message)
---
#### Edit Webhook Message
**Method**: `PATCH` | **LowCodeAPI Path**: `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id/webhook_token/messages/message_id?message_id={message_id}&webhook_id={webhook_id}&webhook_token={webhook_token}&api_token={api_token}
```
**Description**: Edit Webhook Message
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `message_id` | string | Yes | Message ID |
| `webhook_id` | string | Yes | Webhook ID |
| `webhook_token` | string | Yes | Webhook token |
**Request Body**:
```json
{
"key": "value"
}
```
**Request Body Fields**:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `thread_id` | string | No | id of the thread the message is in |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X PATCH "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Edit Webhook Message](https://discord.com/developers/docs/resources/webhook#edit-webhook-message)
---
#### Delete Webhook Message
**Method**: `DELETE` | **LowCodeAPI Path**: `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`
**New Format (Priority)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}?api_token=YOUR_API_TOKEN
```
**Old Format (Fallback)**:
```bash
https://api.lowcodeapi.com/discord/webhooks/webhook_id/webhook_token/messages/message_id?message_id={message_id}&webhook_id={webhook_id}&webhook_token={webhook_token}&thread_id={thread_id}&api_token={api_token}
```
**Description**: Delete Webhook Message
**Path Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `message_id` | string | Yes | Message ID |
| `webhook_id` | string | Yes | Webhook ID |
| `webhook_token` | string | Yes | Webhook token |
**Query Parameters**:
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `thread_id` | string | No | id of the thread the message is in |
**Example Request**:
```bash
# NEW FORMAT (PRIORITY) - Path parameters stay in URL
curl -X DELETE "https://api.lowcodeapi.com/discord/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
```
**Example Response**:
```json
{
"data": {
// Provider response here
}
}
```
**Official Documentation**: [Delete Webhook Message](https://discord.com/developers/docs/resources/webhook#delete-webhook-message)
---
## API Definition Endpoints
You can retrieve the complete OpenAPI specification for this provider using these endpoints:
**New Format (OpenAPI spec with dynamic path parameters):**
```bash
curl -X GET "https://backend.lowcodeapi.com/discord/openapi"
```
**Old Format (API definition with sanitized paths):**
```bash
curl -X GET "https://backend.lowcodeapi.com/discord/definition"
```
## Response Format
All responses from LowCodeAPI are wrapped in a `data` key:
```json
{
"data": {
// Actual response from provider API
}
}
```
The `data` key contains the raw response from the provider's API.
## Complete Endpoint Reference
For a complete list of all 151 endpoints, refer to:
- **Official Provider Documentation**: https://discord.com/developers/docs/reference
## Usage Examples
### Example 1: Basic API Request (New Format)
Making a simple request to Discord:
```bash
# Replace RESOURCE_ID with an actual resource ID from your Discord account
curl -X GET "https://api.lowcodeapi.com/discord/resource/{RESOURCE_ID}?api_token=YOUR_API_TOKEN"
```
### Example 2: Request with Query Parameters (New Format)
Request with specific parameters:
```bash
# Include query parameters for filtering
curl -X GET "https://api.lowcodeapi.com/discord/resources?filter=value&api_token=YOUR_API_TOKEN"
```
## Error Handling
Standard HTTP status codes apply. All responses are wrapped in a `data` key:
```json
{
"data": {
// Actual response from provider
}
}
```