Actualizar tarea
PATCH
https://api.bydomu.com/v1/tasks/{id}This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.
Actualiza solo los campos enviados. Cerrar una tarea es enviar status: "COMPLETED".
Permission required
tasks:write
Required header
X-API-Key · secret key
Access level
Level 3 · with support review
Path parameters
1 · requiredidstring · requiredID de la tarea
Headers
1 · all optionalIdempotency-Keystring · optionalClave única de la operación (8-128 caracteres de
[a-zA-Z0-9._:-]). Un reintento con la misma clave y el mismo cuerpo devuelve la respuesta original sin repetir la operación. Vive 24 horas.8–128 charsBody (JSON)
17 · all optionaltitlestring · optional2–200 chars
descriptionstring · optional≤ 2000 chars · nullable
typestring · optionalCALL · EMAIL · WHATSAPP · VISIT · MEETING · SEND_PROPOSAL · SEND_CONTRACT · FOLLOW_UP · SCHEDULE_SHOWING · COLLECT_DOCUMENTS · OTHER
statusstring · optionalPENDING · IN_PROGRESS · COMPLETED · CANCELLED · OVERDUE
prioritystring · optionalLOW · MEDIUM · HIGH · URGENT
dueDatestring · optionalnullable
See the other 11 parameters
dueAtstring · optionalnullable
dueOnstring · optionalnullable
hasDueTimeboolean · optionalremindMinutesBeforeinteger · optional0–10080 · nullable
assigneeIdstring · optionalnullable
dealIdstring · optionalnullable
contactIdstring · optionalnullable
propertyIdstring · optionalnullable
recurrencestring · optionalDAILY · WEEKLY · MONTHLY · WEEKDAYS · nullable
recurrenceUntilstring · optionalnullable
attachmentsobject[] · optionalResponse 200
Task · 18 fieldsdataid · title · description · type · status · priority · dueDate · completedAt · archivedAt · attachments · dealId · contactId · assigneeId · createdById · createdAt · updatedAt · assignee · createdBy
idstringtitlestringdescriptionstringtypestringCALL, EMAIL, WHATSAPP, VISIT, MEETING, SEND_PROPOSALstatusstringPENDING, IN_PROGRESS, COMPLETED, CANCELLED, OVERDUEprioritystringLOW, MEDIUM, HIGH, URGENTdueDatestringcompletedAtstringarchivedAtstringattachmentsanyAdjuntos: `[{ url, name, size? }]`dealIdstringcontactIdstringassigneeIdstringcreatedByIdstringcreatedAtstringupdatedAtstringassigneeid · firstName · lastName
idstringfirstNamestringlastNamestringcreatedByid · firstName · lastName
idstringfirstNamestringlastNamestringPossible errors
shaped as{ "error": { "code", "message" } }- 400Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
- 401UNAUTHORIZED
- 402PAYMENT_REQUIRED
- 403FORBIDDEN
- 404NOT_FOUND
- 409DUPLICATE
- 429RATE_LIMITED
- 500INTERNAL_ERROR