LeadWire Messaging API v2 [Product Update]
We just launched the newest version of our Messaging API. This latest version adds several new components, functionality, and new layers of security. The aim is that you empower your SMS Marketing strategy by integrating the API and webhooks to your business ecosystem to send and receive text notifications to your customers an synchronize your audience data between your apps and LeadWire. We’ve also added a new documentation portal where you can test the API endpoints with your credentials.
Developers Portal
As part of this update, we created a new Developer portal button that will be in the LeadWire Toolbar, and will give you access to three different options API Logs, Integrations and Documentation.
API Logs
In the API logs you will be see your API activity logs by date in descending order (the newer first) with response details of each request and webhook trigger at the right-side panel. Moreover, we’ve added filtering options so that you can refine your search for a particular log. These options include the request method (POST, GET, UPDATE, etc.), the specific event (Send_Message, Add_Contact, Get_Organization, etc), request status codes and date range. When you filter by the Send_Message event the system offers additional options so that you can further dig into the response and search for particular source or destination numbers or the type of message (SMS or MMS).
Integrations
In the integrations view you will find your API Key hidden, and you will be able to copy it to use in your requests or test the API. You will also be able to manage your webhook URL. All webhook trigger requests will be sent to this same endpoint, check the documentation to learn what parameters are sent on each one. At this point we added 4 webhook events that will trigger when:
- A contact opts-in to any of your audiences.
- A contact opts-out of your campaigns.
- You receive a new inbound message.
- A LeadWire campaign is sent from your account.
Docs
As part of this update, we’ve created a comprehensive documentation that will help you understand how our API works and get started with is. You will be able to test the endpoints by using your API Key as the authorization token (See Image below)
Our goal with this new API is to provide you with the same features you use and love from LeadWire and use them in your own apps. As we continue to grow and add more capabilities to LeadWire, the API will include them and grow as well. Let us know if there’s something you think we should add to the API.
Still don’t have access to LeadWire? Get a Personalized Demo