This documentation aims to provide all the information you need to work with our API.
This API is not authenticated.
curl --request GET \
--get "https://lumerel.com/api/v1/user" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"user": {
"id": 1,
"name": "John Doe",
"email": "[email protected]"
},
"team": {
"id": 1,
"name": "Team Name",
"subdomain": "team"
}
}
curl --request GET \
--get "https://lumerel.com/api/v1/clients" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"clients": [
{
"id": 1,
"name": "Client Name",
"email": "[email protected]",
"phone": "+1234567890",
"team": {
"id": 1,
"name": "Team Name"
},
"projects": [],
"tasks": []
}
]
}
curl --request POST \
"https://lumerel.com/api/v1/clients" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Acme Corp\",
\"email\": \"[email protected]\",
\"phone\": \"+1234567890\"
}"
{
"client": {
"id": 1,
"name": "Acme Corp",
"email": "[email protected]",
"phone": "+1234567890",
}
}
The ID of the client.
The client ID.
curl --request PUT \
"https://lumerel.com/api/v1/clients/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Acme Corp\",
\"email\": \"[email protected]\",
\"phone\": \"+1234567890\"
}"
{
"client": {
"id": 1,
"name": "Acme Corp",
"email": "[email protected]",
"phone": "+1234567890",
}
}
The ID of the client.
The client ID.
curl --request DELETE \
"https://lumerel.com/api/v1/clients/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"message": "Client deleted successfully"
}
curl --request GET \
--get "https://lumerel.com/api/v1/groups" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"groups": [
{
"id": 1,
"name": "Development",
"code": "DEV",
"is_expanded": true,
"client_id": 1,
"project_id": 1,
"team": {
"id": 1,
"name": "Team Name"
},
"client": {
"id": 1,
"name": "Client Name"
},
"project": {
"id": 1,
"name": "Project Name"
},
"tasks": []
}
]
}
curl --request POST \
"https://lumerel.com/api/v1/groups" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Development\",
\"client_id\": 1,
\"project_id\": 1,
\"code\": \"DEV\",
\"is_expanded\": true
}"
{
"group": {
"id": 1,
"name": "Development",
"code": "DEV",
"client_id": 1,
"project_id": 1,
"is_expanded": true
}
}
The ID of the group.
The group ID.
curl --request PUT \
"https://lumerel.com/api/v1/groups/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Development\",
\"client_id\": 1,
\"project_id\": 1,
\"code\": \"DEV\",
\"is_expanded\": true
}"
{
"group": {
"id": 1,
"name": "Development",
"code": "DEV",
"client_id": 1,
"project_id": 1,
"is_expanded": true
}
}
The ID of the group.
The group ID.
curl --request DELETE \
"https://lumerel.com/api/v1/groups/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"message": "Group deleted successfully"
}
curl --request GET \
--get "https://lumerel.com/api/v1/invoices" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"invoices": [
{
"id": 1,
"number": "00001",
"total": 1000,
"paid": 500,
"balance": 500,
"due_date": "2024-01-31",
"client_id": 1,
"team": {
"id": 1,
"name": "Team Name"
},
"client": {
"id": 1,
"name": "Client Name"
},
"lineItems": [],
"payments": [],
"status": "Created"
}
]
}
curl --request POST \
"https://lumerel.com/api/v1/invoices" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"client_id\": 1,
\"due_date\": \"2024-01-31\",
\"discount\": 10
}"
{
"invoice": {
"id": 1,
"number": "00001",
"client_id": 1,
"due_date": "2024-01-31",
"discount": 10,
"total": 0,
"paid": 0,
"balance": 0
}
}
The ID of the invoice.
The invoice ID.
curl --request PUT \
"https://lumerel.com/api/v1/invoices/58" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"client_id\": 1,
\"due_date\": \"2024-01-31\",
\"discount\": 10
}"
{
"invoice": {
"id": 1,
"number": "00001",
"client_id": 1,
"due_date": "2024-01-31",
"discount": 10,
"total": 0,
"paid": 0,
"balance": 0
}
}
The ID of the invoice.
The invoice ID.
curl --request DELETE \
"https://lumerel.com/api/v1/invoices/58" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"message": "Invoice deleted successfully"
}
curl --request GET \
--get "https://lumerel.com/api/v1/projects" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"projects": [
{
"id": 1,
"name": "Project Name",
"description": "Project description",
"status": "active",
"client_id": 1,
"team": {
"id": 1,
"name": "Team Name"
},
"client": {
"id": 1,
"name": "Client Name"
},
"tasks": []
}
]
}
curl --request POST \
"https://lumerel.com/api/v1/projects" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Website Redesign\",
\"description\": \"Complete redesign of the company website\",
\"client_id\": 1,
\"status\": \"active\"
}"
{
"project": {
"id": 1,
"name": "Website Redesign",
"description": "Complete redesign of the company website",
"client_id": 1,
"status": "active"
}
}
The project ID.
curl --request PUT \
"https://lumerel.com/api/v1/projects/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Website Redesign\",
\"description\": \"Complete redesign of the company website\",
\"client_id\": 1,
\"status\": \"active\"
}"
{
"project": {
"id": 1,
"name": "Website Redesign",
"description": "Complete redesign of the company website",
"client_id": 1,
"status": "active"
}
}
The project ID.
curl --request DELETE \
"https://lumerel.com/api/v1/projects/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"message": "Project deleted successfully"
}
curl --request GET \
--get "https://lumerel.com/api/v1/tasks" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"tasks": [
{
"id": 1,
"title": "Task Title",
"description": "Task description",
"status": "pending",
"priority": "medium",
"client_id": 1,
"project_id": 1,
"client": {
"id": 1,
"name": "Client Name"
},
"project": {
"id": 1,
"name": "Project Name"
},
"timeLogs": []
}
]
}
curl --request POST \
"https://lumerel.com/api/v1/tasks" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Fix login bug\",
\"description\": \"Users are unable to login with correct credentials\",
\"client_id\": 1,
\"project_id\": 1,
\"status\": \"pending\",
\"priority\": \"high\"
}"
{
"task": {
"id": 1,
"title": "Fix login bug",
"description": "Users are unable to login with correct credentials",
"client_id": 1,
"project_id": 1,
"status": "pending",
"priority": "high"
}
}
The ID of the task.
The task ID.
curl --request PUT \
"https://lumerel.com/api/v1/tasks/38" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Fix login bug\",
\"description\": \"Users are unable to login with correct credentials\",
\"client_id\": 1,
\"project_id\": 1,
\"group_id\": 1,
\"status\": \"pending\",
\"priority\": \"high\"
}"
{
"task": {
"id": 1,
"title": "Fix login bug",
"description": "Users are unable to login with correct credentials",
"client_id": 1,
"project_id": 1,
"group_id": 1,
"status": "pending",
"priority": "high"
}
}
The ID of the task.
The task ID.
curl --request DELETE \
"https://lumerel.com/api/v1/tasks/38" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"message": "Task deleted successfully"
}
curl --request GET \
--get "https://lumerel.com/api/v1/teams" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"teams": [
{
"id": 1,
"name": "Team Name",
"subdomain": "team",
"users": [
{
"id": 1,
"name": "John Doe",
"email": "[email protected]"
}
]
}
]
}