Prerequisites
- A Voyant Cloud account and an API token. Mint one in the dashboard tokens UI, or with the CLI after
voyant login. - Node.js 20 or newer.
Install the SDK
Create a client
The client reads your API token and points athttps://api.voyant.travel by default.
Make a call
Each service is a group on the client. Here are one-line examples across several services:Handle errors
Any non-2xx response throws aVoyantApiError carrying the HTTP status, a requestId, and the response body. Always preserve the request id in logs and support requests:
Next steps
Messaging
SMS, email, and verification in depth.
All services
Browse the full Cloud service catalog.