Overview
Schedly's API enables developers and technical users to integrate its rich scheduling features into their own applications. This allows for seamless automation and customization, providing enhanced productivity and user satisfaction by embedding Schedly's scheduling capabilities in external workflows.
Prerequisites
- Access to a Schedly account with API privileges.
- Familiarity with RESTful API concepts and JSON format.
- Use of API requires an internet-capable development environment.
Step-by-Step Instructions
Access API Documentation and Credentials
- Log in to your Schedly account.
- Navigate to Settings from the dashboard.
- Click on API & Developer Tools.
- Click the API Documentation link to view detailed API endpoints and usage examples.
- Under the API section, click Manage API Keys to generate or view API credentials.
- Note down your API Key; keep it secure as it controls access to your Schedly data.
Implement API Calls for Scheduling Automation
- Open your API development tool (e.g., Postman).
- Use the base URL
https://api.schedly.com/v1/for all endpoints. - To create an event, send a POST request to
events/newwith the JSON payload containingname,description,duration, andparticipantLimit. - Check response codes: 200 for success, 4xx for client errors.
- Update events by sending a PUT request to
events/{id}with updated fields.
Integrate Schedly with Third-Party Apps
- Use webhooks to forward event data from Schedly to third-party services.
- Go to API & Developer Tools and select the Webhooks tab.
- Click Add Webhook and enter the URL of your third-party service.
- Specify events to trigger the webhook, such as
event.createdorevent.updated. - Test the configuration by creating a test event in Schedly to ensure data is forwarded correctly.
Setup Webhook Responses for Real-Time Data
- From the Webhooks tab, configure a listener endpoint on your server to handle incoming requests.
- Process data from Schedly within your application to automate tasks, such as status updates.
- Validate incoming requests using a shared secret configured in API & Developer Tools.
Troubleshoot Common API Issues
API Key is not working: Ensure the key is active by checking status under Manage API Keys.
Incorrect API response: Verify endpoint URL and parameters using the API documentation.
Webhook not triggering: Confirm the correct event type is selected and test the webhook manually.
Key Details & Limits
- API requests are rate-limited to 1000 per hour per user.
- Each event type must define a
durationbetween 15 to 120 minutes. - Webhooks delivery retries up to 3 times on failure.
- User must have at least a Pro Plan to access detailed API features.
Frequently Asked Questions
How do I find my API key? Navigate to Settings > API & Developer Tools and view your API keys under Manage API Keys.
Can I automate participant confirmations?
Yes, configure event settings via API to requiresConfirmation: true for automated booking checks.
What should I include in a webhook payload?
Include eventType, eventID, and relevant data fields like name and date for efficient handling.
How can I test my API integration? Use a tool like Postman to send test requests to Schedly’s API and verify responses against expected outcomes.
What happens if a webhook fails? Schedly retries 3 times, notify logs of failures. Ensure your receiving server is correctly set up.
Troubleshooting
Cannot access API Documentation: Ensure you are logged in with an account that has appropriate privileges to view API & Developer Tools.
Event data missing in third-party app: Verify webhook URL and event subscription settings in Webhooks.
Related Topics
- Managing Event Types in Schedly: Learn how to create and edit event types efficiently.
- Using Schedly’s Team Features: Explore how to collaborate using Schedly’s team management tools.
- Understanding Schedly’s Insights: Dive into data analytics and how to leverage insights for better scheduling outcomes.