Installation
Get your API token
Sign up and get your API token from the Contiguity Console. Your token will start with
contiguity_sk_.Initialize the Client
Import and create a new Contiguity client instance:The constructor will throw an error if:
- No token is provided and no environment variable is set
- The token doesn’t start with
contiguity_sk_
Send Your First Message
- Text Message
- Email
- OTP
- iMessage
- WhatsApp
Send a text message to any phone number:Response:
Error Handling
All SDK methods can throw errors. Use try-catch blocks to handle them:Next Steps
Installation Guide
Learn more about environment setup and configuration
Text Messages
Explore text messaging features and options
Send emails with React templates and attachments
Webhooks
Handle incoming messages and events

