SDKs
Official client libraries for the Endpointwise management API. All SDKs are auto-generated from the OpenAPI spec and published to each ecosystem's package registry.
Node.js / TypeScript
npm install @endpointwise/sdk
import { Endpointwise } from '@endpointwise/sdk';
const client = new Endpointwise({
apiKey: process.env.ENDPOINTWISE_API_KEY,
});
// List gateways
const { data: gateways } = await client.gateways.list();
// Issue a key
const key = await client.keys.create({
name: 'Partner: Acme Corp',
scope: 'read',
expiresAt: '2026-12-31',
});
Python
pip install endpointwise
from endpointwise import Endpointwise
client = Endpointwise(api_key="sk_live_your_key")
# List keys
keys = client.keys.list()
# Create a key
key = client.keys.create(
name="Partner: Acme Corp",
scope="read",
expires_at="2026-12-31",
)
Go
go get github.com/endpointwise/sdk-go
package main
import (
"context"
epw "github.com/endpointwise/sdk-go"
)
func main() {
client := epw.NewClient("sk_live_your_key")
key, err := client.Keys.Create(context.Background(), &epw.CreateKeyParams{
Name: "Partner: Acme Corp",
Scope: "read",
ExpiresAt: "2026-12-31",
})
}
Ruby
gem install endpointwise
require 'endpointwise'
client = Endpointwise::Client.new(api_key: ENV['ENDPOINTWISE_API_KEY'])
keys = client.keys.list
key = client.keys.create(name: "Partner: Acme Corp", scope: "read")
Direct HTTP
If your language isn't listed above, you can use the management API directly over HTTP. See the API Reference for full endpoint documentation.
curl -X POST https://api.endpointwise.com/v1/keys \
-H "Authorization: Bearer sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{"name":"Partner: Acme Corp","scope":"read","expires_at":"2026-12-31"}'
All SDKs are open source and available on GitHub under the endpointwise organization. Bug reports and pull requests welcome.