# How to get channel/role/user ID

### Step 1. Make sure you have Developer Mode enabled

Head over to your Discord settings, then Advanced, and then enable Developer Mode.

<figure><img src="/files/yxF2CXImv6XlitfAa4rj" alt=""><figcaption></figcaption></figure>

You can now close your settings and continue to the next step.

### Step 2. Grab the channel/role/user ID

After you have enabled Developer Mode, you should now see a new option when right clicking a user/channel/role. Just click on the "Copy User/Channel/Role ID" button, and the ID is pasted in your clipboard. You can now place the ID where it is asking.

<figure><img src="/files/TJozrj3DMt0xxwMxcDi4" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plexdevelopment.net/frequently-asked-questions/how-to-get-channel-role-user-id.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
