SDKs
Official SDKs and client libraries for the RelayAPI.
Official SDKs
Node.js / TypeScript
npm install @relayapi/sdkimport Relay from '@relayapi/sdk';
const client = new Relay(); // reads RELAY_API_KEY from environmentPython
pip install relayfrom relay import Relay
client = Relay() # reads RELAY_API_KEY from environmentGo
go get github.com/relayapi-dev/relay-goimport relaygo "github.com/relayapi-dev/relay-go"
client := relaygo.NewClient() // reads RELAY_API_KEY from environmentJava
implementation("dev.relayapi:relay-java:0.0.1")<dependency>
<groupId>dev.relayapi</groupId>
<artifactId>relay-java</artifactId>
<version>0.0.1</version>
</dependency>import dev.relayapi.api.client.RelayClient;
import dev.relayapi.api.client.okhttp.RelayOkHttpClient;
RelayClient client = RelayOkHttpClient.fromEnv(); // reads RELAY_API_KEY from environmentREST API
You can also use the API directly with any HTTP client. See the API Reference for full endpoint documentation.
OpenAPI Specification
The full OpenAPI 3.1.0 specification is available at:
- JSON: /api/openapi
- Interactive Docs: API Reference
Use the spec to generate client libraries in any language using tools like OpenAPI Generator.
Found something wrong? Help us improve this page.