Skip to content
Notice This app is in Beta Testing We are still testing Record Sender, so features may change.
Sign in

SDKs

Typed clients generated from the OpenAPI document by tools/sdkgen: every operation, bearer auth (API key or OAuth), a pagination helper, Idempotency-Key on POST, problem-details errors and a webhook signature check. Small and dependency-light.

TypeScript

sdks/typescript

npm install @recordsender/sdk
import { RecordSender } from "@recordsender/sdk";
const rs = new RecordSender({ token: process.env.RS_TOKEN! });
const me = await rs.me.show();
for await (const c of rs.paginate(rs.contacts.index, {})) console.log(c);

Rust

sdks/rust

cargo add recordsender
let rs = recordsender::Client::new("https://recordsender.com", token);
let me = rs.me_show().await?;

Kotlin

sdks/kotlin

implementation("com.recordsender:sdk:1.0.0")
val rs = RecordSender(token = System.getenv("RS_TOKEN"))
val me = rs.me.show()

Swift

sdks/swift

.package(url: "https://github.com/recordsender/sdk-swift", from: "1.0.0")
let rs = RecordSender(token: token)
let me = try await rs.me.show()

Elixir

sdks/elixir

{:record_sender_sdk, "~> 1.0"}
rs = RecordSender.SDK.new(token: System.fetch_env!("RS_TOKEN"))
{:ok, me} = RecordSender.SDK.Me.show(rs)

Verifying webhooks

import { verifyWebhook } from "@recordsender/sdk";
const ok = verifyWebhook(secret, rawBody, req.headers["x-recordsender-signature"]); // 5-minute tolerance