Skip to main content
The Go SDK’s services and types are generated from the Linkvite OpenAPI spec, so every endpoint, request and response matches the API. It needs Go 1.24+ and has no dependencies outside the standard library.

Create a client

For OAuth, pass an HTTP client that adds and refreshes the token, such as the one from golang.org/x/oauth2:

Call the API

Path parameters are arguments, request bodies are *XRequest structs, and query parameters are *XParams structs (nil for none). Optional values are pointers; use linkvite.Ptr.
Each method’s doc comment gives its scope, rate limit and route. client.Do(ctx, method, path, query, body, &out) calls any endpoint.

Errors and retries

Idempotent requests are retried on 429, 5xx and network errors (twice by default; WithMaxRetries changes it), honouring Retry-After. Cancel requests with the context.

Pagination

Source and releases: github.com/linkvite/go.