The Axro Node SDK wraps the REST API in typed, promise-based methods and validates webhook signatures for you. It is the fastest way to integrate Axro services into a Node.js or TypeScript project.
Install
npm install @aftr/sdk. The SDK ships its own types, so you get autocomplete and compile-time checking of every endpoint payload.
First call
- ▸Create a client with your API key
- ▸Call the method matching the endpoint you need
- ▸Handle typed errors with a simple try/catch
Webhooks
Pass your webhook secret to the SDK and it verifies incoming signatures automatically. Unverified payloads are rejected before your handler runs.
