Skip to main content
POST
/
users
/
@me
/
channels
Create private channel
curl --request POST \
  --url https://api.fluxer.app/v1/users/@me/channels \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "recipient_id": "<string>",
  "recipients": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "type": 1073741823,
  "guild_id": "<string>",
  "name": "<string>",
  "topic": "<string>",
  "url": "<string>",
  "icon": "<string>",
  "owner_id": "<string>",
  "position": 1073741823,
  "parent_id": "<string>",
  "bitrate": 1073741823,
  "user_limit": 1073741823,
  "rtc_region": "<string>",
  "last_message_id": "<string>",
  "last_pin_timestamp": "2023-11-07T05:31:56Z",
  "permission_overwrites": [
    {
      "id": "<string>",
      "type": 0,
      "allow": "<string>",
      "deny": "<string>"
    }
  ],
  "recipients": [
    {
      "id": "<string>",
      "username": "<string>",
      "discriminator": "<string>",
      "global_name": "<string>",
      "avatar": "<string>",
      "avatar_color": 1073741823,
      "flags": 1073741823,
      "bot": true,
      "system": true
    }
  ],
  "nsfw": true,
  "rate_limit_per_user": 1073741823,
  "nicks": {}
}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Body

application/json
recipient_id
string<snowflake>
recipients
string<snowflake>[]

Array of user IDs for creating a group DM (max 9)

Maximum array length: 9

Response

Success

id
string
required

The unique identifier (snowflake) for this channel

type
integer<int32>
required

The type of the channel

Required range: 0 <= x <= 2147483647
guild_id
string<snowflake>
name
string

The name of the channel

topic
string | null

The topic of the channel

url
string<uri> | null

The URL associated with the channel

icon
string | null

The icon hash of the channel (for group DMs)

owner_id
string<snowflake> | null

The ID of the owner of the channel (for group DMs)

position
integer<int32>
Required range: 0 <= x <= 2147483647
parent_id
string<snowflake> | null

The ID of the parent category for this channel

bitrate
integer<int32> | null

The bitrate of the voice channel in bits per second

Required range: 0 <= x <= 2147483647
user_limit
integer<int32> | null

The maximum number of users allowed in the voice channel

Required range: 0 <= x <= 2147483647
rtc_region
string | null

The voice region ID for the voice channel

last_message_id
string<snowflake> | null

The ID of the last message sent in this channel

last_pin_timestamp
string<date-time> | null

The ISO 8601 timestamp of when the last pinned message was pinned

permission_overwrites
object[]

The permission overwrites for this channel

Maximum array length: 500
recipients
object[]

The recipients of the DM channel

Maximum array length: 25
nsfw
boolean

Whether the channel is marked as NSFW

rate_limit_per_user
integer<int32>
Required range: 0 <= x <= 2147483647
nicks
object

Custom nicknames for users in this channel (for group DMs)