Skip to main content
Official Node.js and Python libraries, covering every endpoint in the API reference.

Node.js

Works with Node.js 20 and later, Bun, Deno, Cloudflare Workers and Vercel Edge, with TypeScript types built in. GitHub

Python

Works with Python 3.9 and later. Write from as from_. For async code, use AsyncBlujay. GitHub

What you get

Client settings

Pass any of these when you create the client:

Receive webhooks

Each library checks that a webhook came from Blujay and hands back the event. Give it the request body exactly as it arrived, before any JSON parsing. It rejects a bad signature, a missing header, or a timestamp more than 5 minutes off with WebhookVerificationError.
Verifying Signatures shows how to get the raw body in Express and Flask.

Other languages

The libraries are optional. The API is plain HTTPS with JSON and a bearer token, so any language works, and every guide in these docs shows curl first:
Every endpoint is in the API reference, and the OpenAPI file works with code generators for other languages.