Crear tarea
POST
https://api.bydomu.com/v1/tasksThis reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.
Crea una tarea suelta o vinculada a un negocio o a un contacto. Respeta el tope de tareas del plan (403 PLAN_LIMIT_REACHED). Responde solo el id: pide GET /tasks/{id} para el detalle.
Permission required
tasks:write
Required header
X-API-Key · secret key
Access level
Level 3 · with support review
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)
16 · 1 requiredtitlestring · required2–200 chars
descriptionstring · optional≤ 2000 chars
typestring · optionalCALL · EMAIL · WHATSAPP · VISIT · MEETING · SEND_PROPOSAL · SEND_CONTRACT · FOLLOW_UP · SCHEDULE_SHOWING · COLLECT_DOCUMENTS · OTHER · default "OTHER"
prioritystring · optionalLOW · MEDIUM · HIGH · URGENT · default "MEDIUM"
dueDatestring · optionalnullable
dueAtstring · optionalnullable
See the other 10 parameters
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 201
object · 1 fieldsdataid
idstringPossible 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