GitHub Repository
Source, issues, and releases for the Relaybase Node SDK.
Requirements
- Node.js 18+
Installation
Authentication
Get your API key from the Relaybase dashboard and pass it to the constructor:https://api.tryrelaybase.com/v1.
Quick start
Verifying an email
Validation modes
mode field.
Response fields
verifySingle() returns a Promise<VerifyEmailResponse>. The useful payload is in result.data:
Example:
Error handling
Errors from the API are thrown asRelaybaseAPIError, which carries the HTTP status code: