>>

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

NameType
channel_idNumber
>>

Response

200SphereChannel

  • Text

A text channel.

FieldTypeDescription
type"TEXT"The type of this Sphere Channel variant.
idNumberThe ID of this text channel.
sphere_idNumberThe ID of the sphere that this text channel belongs to.
nameStringThe name of this text channel.
topic?StringThe topic of this text channel.
positionNumberThis text channel’s position inside of its sphere.
category_idNumberThe ID of the category this channel belongs to.
  • Voice

A voice channel.

FieldTypeDescription
type"VOICE"The type of this Sphere Channel variant.
idNumberThe ID of this voice channel.
sphere_idNumberThe ID of the sphere that this voice channel belongs to.
nameStringThe name of this voice channel.
positionNumberThis voice channel’s position inside of its sphere.
category_idNumberThe 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
}