OtterText
Welcome to the OtterText API Docs!
What is the OtterText API?
At OtterText, we envision a dynamic future for SMS, revolutionizing how businesses interact with their customers. Our mission is to provide a unified platform where every merchant can seamlessly connect with their customers through a single phone number, offering many engaging possibilities. From sending timely shipping updates and exclusive discount codes to exploring new, innovative use cases, the potential for meaningful communication is boundless. All these interactions should be housed within a unified conversation thread, akin to chatting with a close friend.
But to realize this ambitious vision, we understand the importance of collaboration with our valued partners. As much as we aspire to create the best, we acknowledge that we cannot do it alone. Thus, we invite our partners and retail shops to join us in building the future of SMS.
Enter the OtterText API: a gateway to limitless creativity and innovation. We are committed to continuously enriching this API with cutting-edge functionalities and powerful tools. These resources empower you to craft extraordinary applications on top of our platform, delivering enchanting SMS experiences to our collective customer base.
Key Features of the OtterText API:
- Seamless Integration: The API provides straightforward integration with our platform, ensuring smooth communication and data exchange between your applications and OtterText.
- Versatile Messaging: With our API, you can access a wide range of messaging capabilities. The possibilities are endless, whether you want to send transactional updates, promotional offers, or personalized messages.
- Real-Time Insights: Leverage real-time data insights to understand customer behavior better, enabling you to tailor your SMS experiences for maximum impact.
- Scalability and Reliability: Our API is designed to handle large-scale operations, ensuring your applications can scale effortlessly alongside your business growth.
- Developer-Friendly Documentation: We provide comprehensive and user-friendly documentation, making it easy for developers of all levels to get started quickly and efficiently.
- Secure and Privacy-Compliant: Security and privacy are at the core of our API. We take every measure to safeguard data and ensure compliance with industry standards.
Join us on this journey to redefine SMS interactions and unlock the potential of business-to-customer communications. Together, we can create a world where every merchant can provide personalized and engaging SMS experiences, building stronger relationships with their customers.
At OtterText, we are more than just an API provider; we are your partners in driving innovation, enabling growth, and delivering memorable SMS experiences that leave a lasting impact. Let's shape the future of SMS together.
Welcome to the OtterText API Docs!
Our API Docs are your gateway to building amazing experiences on top of the OtterText platform. Whether you're a seasoned developer or just starting your journey, we have the resources you need to get started.
Getting Started:
- Authentication: Before you dive into the building with our API, you'll need to set up authentication. Learn how to access our platform and interact with your data securely.
- API Reference: This comprehensive reference guide provides detailed information on all the endpoints and functionalities available through our API. Get familiar with the various methods to interact with your subscribers and messages.
- Changelog: Stay up-to-date with the latest changes and updates to our API. We continuously strive to enhance our services, and the changelog keeps you informed about our improvements.
10DLC verification (SMS / MMS)
Before using endpoints that send or trigger SMS/MMS (for example Add Customer, Send Message, Schedule Message, Send Template, opt-in flows, and similar), your OtterText account must be 10DLC verified in the OtterText dashboard. If the account is not verified, the API typically returns HTTP 200 with a JSON body such as {"status":"error","message":"Action not allowed"} instead of sending the message. Email endpoints (for example Send Email) do not require 10DLC.
What's Next:
- How to Add Subscribers Using the API: Learn how to add new subscribers to your OtterText account programmatically and seamlessly. This enables you to automate subscriber management and streamline your workflows.
- Create Subscriber: Dive deeper into creating subscribers through the API. Master the parameters and options available to customize subscriber profiles according to your needs.
- Rate Limits: Familiarize yourself with the rate limits imposed by our API. Understanding rate limits is essential to ensure smooth and efficient interactions with our platform.
- Configuring Webhooks: Explore the power of webhooks and how to configure them to receive real-time updates from OtterText. Webhooks provide a reliable way to keep track of events and react accordingly.
We are excited to see the incredible applications and experiences you'll build using the OtterText API. Your creativity and innovation will play a crucial role in shaping the future of SMS interactions.
If you ever need assistance or have any questions while working with our API, our dedicated support team is here to help you every step of the way. Let's embark on this journey together and create something extraordinary!
Authentication
How to authenticate with our API
Technical Partners - Authorization and Authentication
To access the full power of the OtterText API, technical partners must use the appropriate authorization and authentication methods. Follow the guidelines below to obtain and use your private API key securely.
- Get Your Partner Keys: As a technical partner, you'll need to request your partner keys from the OtterText team. Please click here to request your API keys.
- Authorization Headers: When making requests related to your Triggers (e.g., getting, adding, updating, or deleting), no additional authorization is required.
Authorization/Authentication Process: Use your API Key in the bearer token header to authorize and authenticate a request. For example:
For partners, the token will be closer to:
Security Recommendations: To maintain a high level of security and prevent potential abuses, follow these best practices:
- Avoid Exposing Private API Tokens: Never expose your private API tokens or shop tokens to the outside world, as this could lead to security vulnerabilities.
- Avoid Calling API from Frontend Client: Do not make direct calls to the OtterText API from your frontend client (e.g., JavaScript included in your website code). Instead, consider using your backend API to communicate with our API securely.
- Utilize Zapier or Backend Services: You can trigger API calls through services like Zapier or use your backend API to mediate requests to the OtterText API. This ensures that your private API tokens remain confidential and are not exposed client-side.
By adhering to these security practices, you can confidently build robust and secure integrations using the OtterText API. Our dedicated support team is always ready to help if you encounter any questions or need assistance. Let's create a secure and seamless SMS experience together!
TCPA Compliance - Building Trust and Transparency
At OtterText, we uphold compliance standards and foster trust between businesses and their customers. TCPA (Telephone Consumer Protection Act) compliance is paramount, and we take it seriously. As our valued partner, you must know the compliance requirements associated with using our API.
Confirmation Message for Opt-In Subscribers:
When using our API to add subscribers, all subscribers must confirm their opt-in to receive recurring automated messages. If subscribers do not provide confirmation, they will not be added to the Company's subscriber list.
Opt-in Message
[Company_Name]: Reply with your birthday YES to opt-in. Msg & data rates may apply. STOP to stop. HELP for assistance.
Opt-in Confirmation Message
You're now subscribed to [Company_Name] alerts. Msg&data rates may apply. Reply STOP to opt out—text HELP for more info.
S.H.A.F.T. Opt-in Message
[Company_Name]: Reply with your birthday MM/DD/YYYY to verify age & finish opt-in. Msg & data rates may apply. STOP to stop. HELP for assistance.
S.H.A.F.T. Opt-in Confirmation Message
Thank you for providing your birthday! We have verified your age and completed the opt-in process. Stay tuned for exciting updates and offers from [Company_Name]:.
S.H.A.F.T. Opt-in Message for Rewards
[Company_Name]: Thanks for your purchase! Reply with your Birthday MM/DD/YYYY to verify age & opt-in for rewards—text HELP for assistance. Reply STOP to cancel. Msg&data rates may apply..
*Please note that at present, this confirmation message is not customizable.
TCPA-Compliant Language in Subscriber Collection:
Wherever you collect a subscriber's phone number, whether, through a form or any other means, it is essential to include TCPA-compliant language to ensure transparency and inform subscribers of their rights.
Sample TCPA-compliant language:
By signing up, I agree to receive recurring automated marketing text messages (e.g., cart reminders, shipping notifications, two-way chat, marketing messages, etc) at the phone number provided. Consent is not a condition to purchase. Msg & data rates may apply. Msg frequency varies. Reply HELP for help and STOP to cancel. View our Terms of Service and Privacy Policy.
❗️Important:
Include links to the Terms and Conditions and Privacy Policy pages in the above message. These links are crucial in providing subscribers with additional information about their rights and data handling.
Text Message Compliance Guide:
For a comprehensive understanding of text message compliance best practices, we have prepared a helpful guide on Text Message Compliance. This guide offers insights and recommendations to ensure your SMS communications adhere to all relevant regulations and industry standards.
By strictly following TCPA compliance guidelines and ensuring transparency in subscriber interactions, you build trust with your customers and enhance the overall experience. Compliance protects your customers' privacy and helps you establish a long-lasting and positive relationship with them.
If you have any questions or require further assistance with compliance, our dedicated support team is here to provide guidance and support. Let's work together to create a compliant and trustworthy SMS experience for your audience.