TechArticle
API de u0life
Crea tareas y clientes de u0life desde herramientas externas con claves API del usuario.
Public API overview
The u0life public API lets external systems work with records owned by a user API key. Task creation and client list/create endpoints are available now; notes, time and money pages describe the resource contracts prepared for the next public endpoints.
Use the API for server-to-server automations: CRM callbacks, website forms, support queues, calendar tools, scripts and other trusted services that need to add work history to u0life.
- Create a user API key in the u0life integrations section.
- Send the key as Authorization: Bearer u0_live_your_key.
- Send JSON with Content-Type: application/json.
- IDs such as client_id, project_id and category_id must belong to the API key owner.
Base task request
POST
https://u0life.com/public-api/v1/tasks/
Live endpoint for creating tasks.
curl -X POST https://u0life.com/public-api/v1/tasks/ \
-H "Authorization: Bearer u0_live_your_key" \
-H "Content-Type: application/json" \
-d '{"title":"Call client","description":"Created from external API"}'
Base client request
GET
https://u0life.com/public-api/v1/clients/
Live endpoint for listing clients.
curl -X GET "https://u0life.com/public-api/v1/clients/?limit=50&offset=0" \
-H "Authorization: Bearer u0_live_your_key"
Responses and errors
Successful creates return HTTP 201 with success true and a data object containing id and type. Validation and permission errors return success false with an error code and message.
{"success":true,"data":{"id":123,"type":"task"}}
{"success":false,"error":{"code":"TITLE_REQUIRED","message":"Task title is required."}}
Sections
API de clientes
Lista y crea clientes de u0life desde sistemas externos confiables.
API de tareas
Crea tareas de u0life desde sistemas externos con el endpoint publico activo.
API de notas
Contrato preparado de API publica para crear notas de proyecto desde sistemas externos.
API de tiempo
Contrato preparado de API publica para agregar tiempo real a tareas, proyectos y clientes.
API de dinero
Contrato preparado de API publica para agregar ingresos, gastos y transferencias a u0life.