Matrix Server Contacts go client

April 20, 2026 ยท View on GitHub

This small library provides a go client to interact with /.well-known/matrix/support endpoint.

The following MSCs are supported:

Initially it was developed to be used in the Matrix Rooms Search project, but it can be used in any other project that needs to interact with the admin contact API.

Usage

package main

import (
    "fmt"
    "github.com/etkecc/go-msc1929"
)

func main() {
    contacts, err := msc1929.Get("matrix.org")
    if err != nil {
        fmt.Println(err)
    }
    fmt.Println(contacts.AdminEmails())
}