Getting Started with Callsavvy API & Webhooks
Introduction
Callsavvy API is designed for developers to easily integrate Callsavvy on any application using any software programing technology or development platform
Our API attempts to conform to the RESTful design principles. You interact with the resources exposed through the API by accessing resource collection and element URIs using the HTTP POST or GET.
Access to our API is Freely available to all Callsavvy users. You will likely need access to a web developer or programmer (if you’re not one) to get the most use out of UfitPay API.
Obtaining Your API credentials
In order to interact with Callsavvy APIs, you will need your API credentials. You can find your API credentials when you navigate to Settings -> API & Integration from from Callsavvy workplace. You need to be logged in as an Admin to access API credentials.
For added security, we recommend you restrict access to your API credentials to only white-listed IP addresses and domains. You can do this under Whitelisted Domains
Rate Limits
To ensure the stability and reliability of our service for all users, we have implemented the following rate limits:
Per-Endpoint: A maximum of 50 request per minute to the same endpoint.
Global: A maximum of 100 requests per minute across the entire API.
Exceeding these limits will result in a 429 Too Many Requests response. We recommend implementing retry logic with exponential backoff in your integration.
Authentication
All requests to Callsavvy API require authentication. Our API Authentication is implemented as HTTP Header Authentication over TLS (HTTPS).
To authenticate your request, you need to pass the following parameters as part of your HTTP request headers;
Public-Key: Your API Public Key
Private-Key: Your API Private Key
URL Format
Callsavvy API URL is made up of the Base URL and the Resource URI. A complete API URL will look like this; https://api.callsavvy.com/v1/‹resource URI›
Request Method
Our API accepts only JSON Enpred HTTP POST requests. Any other request method will not be recognized by our API
Below is a sample request to our balance enquiry API using cURL;
curl --request POST \
--url 'https://api.callsavvy.com/v1/getSummary' \
--header 'Public-Key: 1234567890' \
--header 'Private-Key: 33gTuienGR83HY32cGt' \
--header 'content-type: application/json'
--data '{"parameter":"value"}'Response Format
Our API response (success or error) is returned in JSON data. Response pres are sent via the normal HTTP Response pre,
A success response from our server will look like this;
{
"resource": "getSummary",
"status":"success",
"data":{
"assigned_number": "123456",
"business_id": "ab9363nd8o3h"
}
}
An error response from our server will look like this;
{
"resource": "getSummary",
"status":"error",
"message":"Invalid API credentials"
}
Response Parameters
| resource (string) | This is the API resource being called |
| status (string) | This is status of the API call. |
| data (object) | This object holds the actual information returned by the API resource. The content of this parameter depends on which API resource URI is being called |
Sandbox Credentials
Feel free to use the following API credentials for development and testing purposes.
| Public Key | TEST-hdo76HDCGAjfig4jbnyUI4734BNDY |
| Private Key | TEST-934HDHD84JDVBPSW73BYjegh494WD9084NFUih34-9974r |
- Plugin & Widget Integrations
- Voice Call Integration
- Support Ticket Integrations
- Live Chat Integrations
- Video Call Integrations
- Calendar Integrations
- -
- Available API Endpoints and Webhooks
- Account
- Get Business Summary
- List Departments
- List Request Categories
- List Users
- Tickets
- List Tickets
- Get Ticket Conversation
- Create New Ticket
- Add Ticket Reply
- Voice
- List Calls
- View Calls
- Create Auto-Dialer Task
- Create Automated Call
- Supported TTS Languages & Voices
- Chats & Social
- List Chats
- Get Chat Conversation
- List Social
- Get Social Conversation
- Campaign
- Send SMS Message
- Send Voice Message
- Send WhatsApp Message
- Video Call
- List Video Calls
- Get Video Call
- Create Video Call
- Virtual Meeting
- List Virtual Meetings
- Get Virtual Meeting
- Create Virtual Meeting
- Contacts
- List Contacts
- List Contact Groups
- Create Single Contact
- Create Bulk Contact
- Delete Contact
- Leads
- List Leads
- Create Lead
- Update Lead
- Delete Lead
- -
- Callsavvy Webhooks
- Caller Information Lookup
- Call Completion Event
- Auto Dialer Queue State
- New Ticket Notification
- Ticket Escalation Notification
- New Chat Notification
- New Lead Notification
- Lead Status Changed
- Chatbot Reply Lookup
- AI Content Lookup
- AI Workflow Automation Webhook
- Calendar Guest Validation
- Form Field Validation
