Prerequisites
Before you begin, make sure you have:- A Day Copilot account (sign up here)
- Your API credentials (JWT token)
- A tool to make HTTP requests (cURL, Postman, or your favorite programming language)
Step 1: Get Your API Token
After signing in to Day Copilot, you’ll receive a JWT token. This token authenticates all your API requests.Your JWT token is sensitive! Never commit it to version control or share it publicly.
Step 2: Make Your First API Call
Let’s fetch your tasks to verify everything is working.Step 3: Create Your First Task
Now let’s create a new task:Step 4: Response Format
Successful requests return a JSON response:Common Response Codes
| Code | Meaning |
|---|---|
| 200 | Success - Request completed successfully |
| 201 | Created - Resource created successfully |
| 400 | Bad Request - Invalid request parameters |
| 401 | Unauthorized - Missing or invalid authentication token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Resource doesn’t exist |
| 429 | Rate Limited - Too many requests |
| 500 | Server Error - Something went wrong on our end |
Next Steps
Authentication
Learn about OAuth 2.0 and token management
Core Concepts
Understand the architecture and data models
API Reference
Explore all available endpoints
Guides
Follow detailed implementation guides
Need Help?
Support
Contact our support team if you run into any issues