Skip to content
Download Beeper

Get Connect server info

client.Info.Get(ctx) (*InfoGetResponse, error)
GET/v1/info

Returns app, platform, server, and endpoint discovery metadata for this Beeper Desktop instance.

ReturnsExpand Collapse
type InfoGetResponse struct{…}
App InfoGetResponseApp
BundleID string

App bundle identifier

Name string

App name

Version string

App version

Endpoints InfoGetResponseEndpoints
Mcp string

MCP endpoint

OAuth InfoGetResponseEndpointsOAuth
AuthorizationEndpoint string

OAuth authorization endpoint

IntrospectionEndpoint string

OAuth introspection endpoint

RegistrationEndpoint string

OAuth dynamic client registration endpoint

RevocationEndpoint string

OAuth token revocation endpoint

TokenEndpoint string

OAuth token endpoint

UserinfoEndpoint string

OAuth userinfo endpoint

Spec string

OpenAPI spec endpoint

WsEvents string

WebSocket events endpoint

Platform InfoGetResponsePlatform
Arch string

CPU architecture

Os string

Operating system identifier

Release stringoptional

Runtime release version

Server InfoGetResponseServer
BaseURL string

Base URL of the Connect server

Hostname string

Listening host

McpEnabled bool

Whether MCP endpoint is enabled

Port int64

Listening port

RemoteAccess bool

Whether remote access is enabled

Status string

Server status

Get Connect server info

package main

import (
  "context"
  "fmt"

  "github.com/beeper/desktop-api-go"
  "github.com/beeper/desktop-api-go/option"
)

func main() {
  client := beeperdesktopapi.NewClient(
    option.WithAccessToken("My Access Token"),
  )
  info, err := client.Info.Get(context.TODO())
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", info.App)
}
{
  "app": {
    "bundle_id": "bundle_id",
    "name": "name",
    "version": "version"
  },
  "endpoints": {
    "mcp": "mcp",
    "oauth": {
      "authorization_endpoint": "authorization_endpoint",
      "introspection_endpoint": "introspection_endpoint",
      "registration_endpoint": "registration_endpoint",
      "revocation_endpoint": "revocation_endpoint",
      "token_endpoint": "token_endpoint",
      "userinfo_endpoint": "userinfo_endpoint"
    },
    "spec": "spec",
    "ws_events": "ws_events"
  },
  "platform": {
    "arch": "arch",
    "os": "os",
    "release": "release"
  },
  "server": {
    "base_url": "base_url",
    "hostname": "hostname",
    "mcp_enabled": true,
    "port": 0,
    "remote_access": true,
    "status": "status"
  }
}
Returns Examples
{
  "app": {
    "bundle_id": "bundle_id",
    "name": "name",
    "version": "version"
  },
  "endpoints": {
    "mcp": "mcp",
    "oauth": {
      "authorization_endpoint": "authorization_endpoint",
      "introspection_endpoint": "introspection_endpoint",
      "registration_endpoint": "registration_endpoint",
      "revocation_endpoint": "revocation_endpoint",
      "token_endpoint": "token_endpoint",
      "userinfo_endpoint": "userinfo_endpoint"
    },
    "spec": "spec",
    "ws_events": "ws_events"
  },
  "platform": {
    "arch": "arch",
    "os": "os",
    "release": "release"
  },
  "server": {
    "base_url": "base_url",
    "hostname": "hostname",
    "mcp_enabled": true,
    "port": 0,
    "remote_access": true,
    "status": "status"
  }
}