API Documentation
Comprehensive RESTful API documentation for integrating with Cashilly platform. Build powerful applications with our robust APIs and SDKs.
Quick Start
Get up and running in minutes
2. Make Request
Use your API key to make authenticated requests
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.cashilly.com/v1/projectsAPI Endpoints
Comprehensive reference for all API endpoints
/api/v1/projectsRetrieve all projects for the authenticated user
Parameters
limitNumber of projects to return (max 100)
offsetNumber of projects to skip
statusFilter by project status
Example
GET /api/v1/projects?limit=10&status=active{
"projects": [
{
"id": "proj_123",
"name": "Image Classification Dataset",
"status": "active",
"created_at": "2024-01-15T10:30:00Z",
"total_tasks": 1000,
"completed_tasks": 750
}
],
"total": 1,
"limit": 10,
"offset": 0
}/api/v1/projectsCreate a new annotation project
Parameters
nameProject name
descriptionProject description
annotation_typeType of annotation (image, text, audio)
guidelinesAnnotation guidelines
Example
POST /api/v1/projects{
"id": "proj_456",
"name": "Object Detection Dataset",
"status": "created",
"created_at": "2024-01-15T11:00:00Z",
"annotation_type": "image",
"total_tasks": 0
}/api/v1/tasksRetrieve tasks for a specific project
Parameters
project_idProject ID
statusFilter by task status
limitNumber of tasks to return
Example
GET /api/v1/tasks?project_id=proj_123&status=pending&limit=5{
"tasks": [
{
"id": "task_789",
"project_id": "proj_123",
"status": "pending",
"data": {
"image_url": "https://example.com/image1.jpg"
},
"created_at": "2024-01-15T10:30:00Z"
}
],
"total": 250,
"limit": 5
}/api/v1/tasks/{task_id}/annotationsSubmit annotations for a task
Parameters
task_idTask ID (in URL path)
annotationsArray of annotation objects
confidenceConfidence score (0-1)
Example
POST /api/v1/tasks/task_789/annotations{
"id": "ann_101",
"task_id": "task_789",
"status": "submitted",
"submitted_at": "2024-01-15T12:00:00Z",
"quality_score": 0.95
}Authentication
Secure your API requests with multiple authentication methods
API Key
Medium SecuritySimple API key authentication for basic integrations
Use Case
Server-to-server communication
Authorization: Bearer sk_live_1234567890abcdefOAuth 2.0
High SecurityIndustry-standard OAuth 2.0 for secure user authentication
Use Case
User-facing applications
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...JWT
High SecurityJSON Web Tokens for stateless authentication
Use Case
Microservices and distributed systems
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Official SDKs
Use our official SDKs for faster integration
Python
v2.1.0Official Python SDK with async support
Features
pip install cashilly-sdkJavaScript
v1.8.0Node.js and browser-compatible SDK
Features
npm install @cashilly/sdkGo
v1.2.0High-performance Go SDK
Features
go get github.com/cashilly/sdk-goPHP
v1.5.0PHP SDK with Laravel integration
Features
composer require cashilly/sdkRate Limits
Fair usage limits to ensure platform stability
Ready to Start Building?
Get your API key and start integrating with Cashilly today