Use endpoint instead of API
Use endpoint instead of API

Co-authored-by: Jonas Platte <27ee6ecc1a7094fc3a72464b18d8f78fff8631eb@users.noreply.github.com>
matrix-org/matrix-doc,matrix-org/matrix-doc,matrix-org/matrix-doc,matrix-org/matrix-doc