tether developers
Contents

API reference

Threads

Public threads in text channels.

Start Thread from Message

POST/channels/{channel.id}/messages/{message.id}/threadsPeople and bots

Start a public thread on a message. The thread has the message's id.

One thread per message. Names are typed by the person who starts a thread; every bot that can see the channel receives the name in THREAD_CREATE, even a bot that may not read messages: as on Discord, names are not message content. A DM or group DM works too (tether): the thread has no guild_id, parent_id is the conversation, everyone in the conversation is in the thread, and the same rules as for writing in the DM apply (a block stops it). A conversation with a system author has no threads, and a thread has no threads.

Permissions needed

CREATE_PUBLIC_THREADSbit 34359738368
Start threads
READ_MESSAGE_HISTORYbit 65536
Read message history

Path parameters

channel.id
A snowflake id.
message.id
A snowflake id.

Body

application/json

namestring · 1 to 100 charactersrequired
auto_archive_durationinteger | null
Minutes without a message until it archives: 60, 1440, 4320 or 10080.
rate_limit_per_userinteger | null · 0 to 21600
Slow mode in seconds.

Example request

{
  "name": "Ideas for Friday"
}

Response

201 APIThread

{
  "id": "107441200000000030",
  "type": 11,
  "guild_id": "107441200000000001",
  "name": "Ideas for Friday",
  "parent_id": "107441200000000010",
  "owner_id": "107441200000000200",
  "last_message_id": null,
  "message_count": 0,
  "member_count": 1,
  "total_message_sent": 0,
  "rate_limit_per_user": 0,
  "thread_metadata": {
    "archived": false,
    "auto_archive_duration": 1440,
    "archive_timestamp": "2026-10-22T10:05:00.000Z",
    "locked": false,
    "invitable": true,
    "create_timestamp": "2026-10-22T10:05:00.000Z"
  },
  "flags": 0,
  "member": {
    "id": "107441200000000030",
    "user_id": "107441200000000200",
    "join_timestamp": "2026-10-22T10:05:00.000Z",
    "flags": 0
  }
}

Errors

UNKNOWN_CHANNEL10003 · HTTP 404
The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403
You are in the server but cannot see the channel (VIEW_CHANNEL).
MISSING_PERMISSIONS50013 · HTTP 403
You lack a permission the route needs.
UNKNOWN_MESSAGE10008 · HTTP 404
There is no such message in that channel.
THREAD_ALREADY_CREATED160004 · HTTP 400
The message already has a thread.
MAX_ACTIVE_THREADS160006 · HTTP 400
The server has as many active threads as it may (a DM: 100).
INVALID_FORM_BODY50035 · HTTP 400
A field is missing, the wrong type or outside its limits.

Rate limits

threadCreatePerUserChannelbucket 5fcb966a
10 per 60 seconds, counted per user. See Rate limits.

Gateway events it causes

Discord

Like Discord’s Start Thread from Message, with differences.

Public threads in text channels only.

Start Thread without Message

POST/channels/{channel.id}/threadsPeople and bots

Start a public thread of its own in a text channel, DM or group DM.

Permissions needed

CREATE_PUBLIC_THREADSbit 34359738368
Start threads

Path parameters

channel.id
A snowflake id.

Body

application/json

namestring · 1 to 100 charactersrequired
auto_archive_durationinteger | null
rate_limit_per_userinteger | null · 0 to 21600
type11 | null
11 (public), or leave it out. Private threads (12) are 400.

Example request

{
  "name": "Off topic"
}

Response

201 APIThread

{
  "id": "107441200000000030",
  "type": 11,
  "guild_id": "107441200000000001",
  "name": "Ideas for Friday",
  "parent_id": "107441200000000010",
  "owner_id": "107441200000000200",
  "last_message_id": null,
  "message_count": 0,
  "member_count": 1,
  "total_message_sent": 0,
  "rate_limit_per_user": 0,
  "thread_metadata": {
    "archived": false,
    "auto_archive_duration": 1440,
    "archive_timestamp": "2026-10-22T10:05:00.000Z",
    "locked": false,
    "invitable": true,
    "create_timestamp": "2026-10-22T10:05:00.000Z"
  },
  "flags": 0,
  "member": {
    "id": "107441200000000030",
    "user_id": "107441200000000200",
    "join_timestamp": "2026-10-22T10:05:00.000Z",
    "flags": 0
  }
}

Errors

UNKNOWN_CHANNEL10003 · HTTP 404
The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403
You are in the server but cannot see the channel (VIEW_CHANNEL).
MISSING_PERMISSIONS50013 · HTTP 403
You lack a permission the route needs.
MAX_ACTIVE_THREADS160006 · HTTP 400
The server has as many active threads as it may (a DM: 100).
INVALID_FORM_BODY50035 · HTTP 400
The type is private, or a field is outside its limits.

Rate limits

threadCreatePerUserChannelbucket 5fcb966a
10 per 60 seconds, counted per user. See Rate limits.

Gateway events it causes

Discord

Like Discord’s Start Thread without Message, with differences.

Public threads only.

Modify Thread

PATCH/channels/{thread.id}People and bots

Rename, archive, lock a thread or change its slow mode.

This is Modify Channel with a thread's id. The thread's owner may change name, archived and locked; locked and slow mode need Manage Threads. Writing in an archived thread wakes it again, unless it is locked (then only people who manage threads may, 160005). In a DM thread (tether) anyone in the conversation may rename, archive and unarchive it; locked and slow mode are only its owner's.

Path parameters

thread.id
The thread's id.

Body

application/json

namestring · 1 to 100 characters
archivedboolean
lockedboolean
auto_archive_durationinteger
rate_limit_per_userinteger | null · 0 to 21600

Example request

{
  "archived": true
}

Response

200 APIThread

{
  "id": "107441200000000030",
  "type": 11,
  "guild_id": "107441200000000001",
  "name": "Ideas for Friday",
  "parent_id": "107441200000000010",
  "owner_id": "107441200000000200",
  "last_message_id": null,
  "message_count": 0,
  "member_count": 1,
  "total_message_sent": 0,
  "rate_limit_per_user": 0,
  "thread_metadata": {
    "archived": false,
    "auto_archive_duration": 1440,
    "archive_timestamp": "2026-10-22T10:05:00.000Z",
    "locked": false,
    "invitable": true,
    "create_timestamp": "2026-10-22T10:05:00.000Z"
  },
  "flags": 0,
  "member": {
    "id": "107441200000000030",
    "user_id": "107441200000000200",
    "join_timestamp": "2026-10-22T10:05:00.000Z",
    "flags": 0
  }
}

Errors

UNKNOWN_CHANNEL10003 · HTTP 404
The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403
You are in the server but cannot see the channel (VIEW_CHANNEL).
MISSING_PERMISSIONS50013 · HTTP 403
You lack a permission the route needs.
INVALID_FORM_BODY50035 · HTTP 400
A field is missing, the wrong type or outside its limits.

Gateway events it causes

Discord

The same as Discord’s Modify Channel (thread).

Delete Thread

DELETE/channels/{thread.id}People and bots

Delete a thread, with its messages.

This is Delete / Close Channel with a thread's id; it needs Manage Threads. In a DM thread (tether) only its owner may delete it; this is never "leave the DM".

Permissions needed

MANAGE_THREADSbit 17179869184
Manage threads

Path parameters

thread.id
The thread's id.

Response

200 APIThread

{
  "id": "107441200000000030",
  "type": 11,
  "guild_id": "107441200000000001",
  "name": "Ideas for Friday",
  "parent_id": "107441200000000010",
  "owner_id": "107441200000000200",
  "last_message_id": null,
  "message_count": 0,
  "member_count": 1,
  "total_message_sent": 0,
  "rate_limit_per_user": 0,
  "thread_metadata": {
    "archived": false,
    "auto_archive_duration": 1440,
    "archive_timestamp": "2026-10-22T10:05:00.000Z",
    "locked": false,
    "invitable": true,
    "create_timestamp": "2026-10-22T10:05:00.000Z"
  },
  "flags": 0,
  "member": {
    "id": "107441200000000030",
    "user_id": "107441200000000200",
    "join_timestamp": "2026-10-22T10:05:00.000Z",
    "flags": 0
  }
}

Errors

UNKNOWN_CHANNEL10003 · HTTP 404
The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403
You are in the server but cannot see the channel (VIEW_CHANNEL).
MISSING_PERMISSIONS50013 · HTTP 403
You lack a permission the route needs.

Gateway events it causes

Discord

The same as Discord’s Delete/Close Channel (thread).

Join Thread / Add Thread Member

PUT/channels/{thread.id}/thread-members/{user.id}People and bots

Join a thread (@me), or add someone (the thread's owner, or Manage Threads).

In a DM thread (tether) everyone in the conversation is already in it: @me answers 204 and does nothing, and adding someone else is 403 (50013).

Path parameters

thread.id
The thread's id.
user.id
A user id, or @me.

Response

204 no body

Errors

UNKNOWN_CHANNEL10003 · HTTP 404
The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403
You are in the server but cannot see the channel (VIEW_CHANNEL).
MISSING_PERMISSIONS50013 · HTTP 403
You lack a permission the route needs.
THREAD_ARCHIVED50083 · HTTP 400
The thread is archived (50083).
CANNOT_EXECUTE_ON_CHANNEL_TYPE50024 · HTTP 400
The channel is not a thread.

Rate limits

threadMemberPerUserChannelbucket 265a9e62
20 per 10 seconds, counted per user. See Rate limits.

Gateway events it causes

Discord

The same as Discord’s Add Thread Member.

Leave Thread / Remove Thread Member

DELETE/channels/{thread.id}/thread-members/{user.id}People and bots

Leave a thread (@me), or remove someone (the thread's owner, or Manage Threads).

In a DM thread (tether) there is nothing to leave: @me answers 204 and does nothing, and removing someone else is 403 (50013).

Path parameters

thread.id
The thread's id.
user.id
A user id, or @me.

Response

204 no body

Errors

UNKNOWN_CHANNEL10003 · HTTP 404
The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403
You are in the server but cannot see the channel (VIEW_CHANNEL).
MISSING_PERMISSIONS50013 · HTTP 403
You lack a permission the route needs.
CANNOT_EXECUTE_ON_CHANNEL_TYPE50024 · HTTP 400
The channel is not a thread.

Rate limits

threadMemberPerUserChannelbucket 265a9e62
20 per 10 seconds, counted per user. See Rate limits.

Gateway events it causes

Discord

The same as Discord’s Remove Thread Member.

Get Thread Member

GET/channels/{thread.id}/thread-members/{user.id}People and bots

One thread member. @me is you.

Path parameters

thread.id
The thread's id.
user.id
A user id, or @me.

Query string

with_member"0" | "1" | "true" | "false"

Response

200 APIThreadMember

{
  "id": "107441200000000030",
  "user_id": "107441200000000200",
  "join_timestamp": "2026-10-22T10:05:00.000Z",
  "flags": 0
}

Errors

UNKNOWN_CHANNEL10003 · HTTP 404
The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403
You are in the server but cannot see the channel (VIEW_CHANNEL).
UNKNOWN_USER10013 · HTTP 404
That person is not in the thread.

Discord

The same as Discord’s Get Thread Member.

List Thread Members

GET/channels/{thread.id}/thread-membersPeople and bots

Who follows a thread.

In a DM thread (tether) these are the people in the conversation.

Path parameters

thread.id
The thread's id.

Query string

with_member"0" | "1" | "true" | "false"
true adds each person's member.
afterstring
Members after this user id.
limitinteger · 1 to 100 · default 100

Response

200 a list of APIThreadMember

[
  {
    "id": "107441200000000030",
    "user_id": "107441200000000200",
    "join_timestamp": "2026-10-22T10:05:00.000Z",
    "flags": 0
  }
]

Errors

UNKNOWN_CHANNEL10003 · HTTP 404
The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403
You are in the server but cannot see the channel (VIEW_CHANNEL).
CANNOT_EXECUTE_ON_CHANNEL_TYPE50024 · HTTP 400
The channel is not a thread.

Discord

The same as Discord’s List Thread Members.

List Public Archived Threads

GET/channels/{channel.id}/threads/archived/publicPeople and bots

The archived threads of a text channel, DM or group DM, the most recently archived first.

Permissions needed

READ_MESSAGE_HISTORYbit 65536
Read message history

Path parameters

channel.id
A snowflake id.

Query string

beforestring
An ISO 8601 archive time to continue from.
limitinteger · 1 to 100 · default 50
At most 100.

Response

200 APIThreadList

{
  "threads": [
    {
      "id": "107441200000000030",
      "type": 11,
      "guild_id": "107441200000000001",
      "name": "Ideas for Friday",
      "parent_id": "107441200000000010",
      "owner_id": "107441200000000200",
      "last_message_id": null,
      "message_count": 0,
      "member_count": 1,
      "total_message_sent": 0,
      "rate_limit_per_user": 0,
      "thread_metadata": {
        "archived": true,
        "auto_archive_duration": 1440,
        "archive_timestamp": "2026-10-22T10:05:00.000Z",
        "locked": false,
        "invitable": true,
        "create_timestamp": "2026-10-22T10:05:00.000Z"
      },
      "flags": 0
    }
  ],
  "members": [],
  "has_more": false
}

Errors

UNKNOWN_CHANNEL10003 · HTTP 404
The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403
You are in the server but cannot see the channel (VIEW_CHANNEL).
MISSING_PERMISSIONS50013 · HTTP 403
You lack a permission the route needs.
CANNOT_EXECUTE_ON_CHANNEL_TYPE50024 · HTTP 400
The channel is itself a thread.

Discord

The same as Discord’s List Public Archived Threads.

List Active Guild Threads

GET/guilds/{guild.id}/threads/activePeople and bots

Every active thread in a server you can see, with your own memberships.

Path parameters

guild.id
A snowflake id.

Response

200 APIThreadList

{
  "threads": [
    {
      "id": "107441200000000030",
      "type": 11,
      "guild_id": "107441200000000001",
      "name": "Ideas for Friday",
      "parent_id": "107441200000000010",
      "owner_id": "107441200000000200",
      "last_message_id": null,
      "message_count": 0,
      "member_count": 1,
      "total_message_sent": 0,
      "rate_limit_per_user": 0,
      "thread_metadata": {
        "archived": false,
        "auto_archive_duration": 1440,
        "archive_timestamp": "2026-10-22T10:05:00.000Z",
        "locked": false,
        "invitable": true,
        "create_timestamp": "2026-10-22T10:05:00.000Z"
      },
      "flags": 0,
      "member": {
        "id": "107441200000000030",
        "user_id": "107441200000000200",
        "join_timestamp": "2026-10-22T10:05:00.000Z",
        "flags": 0
      }
    }
  ],
  "members": [
    {
      "id": "107441200000000030",
      "user_id": "107441200000000200",
      "join_timestamp": "2026-10-22T10:05:00.000Z",
      "flags": 0
    }
  ]
}

Errors

UNKNOWN_GUILD10004 · HTTP 404
The server does not exist, or you are not in it.

Discord

The same as Discord’s List Active Guild Threads.

List Active DM Threads

GET/channels/{channel.id}/threads/activePeople and botstether only

The active threads of one DM or group DM, newest first (up to 100).

tether's own route (Discord has no threads in DMs, and its active list is per server). The same list is in READY as dm_threads for every conversation you are in. A server channel is 400: use List Active Guild Threads.

Permissions needed

READ_MESSAGE_HISTORYbit 65536
Read message history

Path parameters

channel.id
A snowflake id.

Response

200 APIThreadList

{
  "threads": [
    {
      "id": "107441200000000030",
      "type": 11,
      "guild_id": "107441200000000001",
      "name": "Ideas for Friday",
      "parent_id": "107441200000000010",
      "owner_id": "107441200000000200",
      "last_message_id": null,
      "message_count": 0,
      "member_count": 1,
      "total_message_sent": 0,
      "rate_limit_per_user": 0,
      "thread_metadata": {
        "archived": false,
        "auto_archive_duration": 1440,
        "archive_timestamp": "2026-10-22T10:05:00.000Z",
        "locked": false,
        "invitable": true,
        "create_timestamp": "2026-10-22T10:05:00.000Z"
      },
      "flags": 0,
      "member": {
        "id": "107441200000000030",
        "user_id": "107441200000000200",
        "join_timestamp": "2026-10-22T10:05:00.000Z",
        "flags": 0
      }
    }
  ],
  "members": [
    {
      "id": "107441200000000030",
      "user_id": "107441200000000200",
      "join_timestamp": "2026-10-22T10:05:00.000Z",
      "flags": 0
    }
  ]
}

Errors

UNKNOWN_CHANNEL10003 · HTTP 404
The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403
You are in the server but cannot see the channel (VIEW_CHANNEL).
CANNOT_EXECUTE_ON_CHANNEL_TYPE50024 · HTTP 400
The channel is not a DM or group DM.

Discord

Only on tether: Discord has no such route.