/bridges/{endpoint}
The /bridges/{endpoint} endpoint returns a list of bridged channels, with only channel IDs
Path parameters
endpoint: The ID of your endpoint (usually your Discord server id)
Query parameters
token: Your Astroid token (see Getting a token)
Example request
import requests
endpoint_id = 1
token = "S3Kjd0LHDLhPWJDnxeh..."
request = requests.get(f"https://api.astroid.cc/bridges/{endpoint_id}?token={token}")
data = request.json()
print(data)const endpoint_id = 1
const token = "S3Kjd0LHDLhPWJDnxeh..."
await fetch(`https://api.astroid.cc/bridges/${endpoint_id}?token=${token}`,
{"method": "GET"}
)
.then((response) => response.json())
.then((data) => {
console.log(data)
})curl --location --request GET "https://api.astroid.cc/bridges/{endpoint}?token={token}"Example response
{
"discord": [
"124643..."
],
"guilded": [
"76b27d56-0b..."
],
"revolt": [
"0KN5XD2..."
],
"nerimity": [
"152712..."
]
}Last updated
Was this helpful?