Get Channel
This route does not require a valid Authorization header, however it is preferred to provide it.
GET/channels/<channel_id>
Get a channel’s data using its ID.
Path Params
| Name | Type | 
|---|---|
| channel_id | Number | 
Response
- Text
 
A text channel.
| Field | Type | Description | 
|---|---|---|
| type | "TEXT" | The type of this Sphere Channel variant. | 
| id | Number | The ID of this text channel. | 
| sphere_id | Number | The ID of the sphere that this text channel belongs to. | 
| name | String | The name of this text channel. | 
| topic? | String | The topic of this text channel. | 
| position | Number | This text channel’s position inside of its sphere. | 
| category_id | Number | The ID of the category this channel belongs to. | 
- Voice
 
A voice channel.
| Field | Type | Description | 
|---|---|---|
| type | "VOICE" | The type of this Sphere Channel variant. | 
| id | Number | The ID of this voice channel. | 
| sphere_id | Number | The ID of the sphere that this voice channel belongs to. | 
| name | String | The name of this voice channel. | 
| position | Number | This voice channel’s position inside of its sphere. | 
| category_id | Number | The ID of the category this channel belongs to. | 
Example
curl \
  -H "Authorization: <token>" \
  https://api.eludris.gay/channels/4204171393377
{
  "type": "TEXT",
  "id": 4204171493378,
  "sphere_id": 4204171493377,
  "name": "general",
  "position": 0
}