ByDomuDevelopers

Detalle de tarea

GEThttps://api.bydomu.com/v1/tasks/{id}

Esta referência é gerada a partir do código da API, por isso as descrições estão em espanhol. Nomes, parâmetros e exemplos são iguais em qualquer idioma.

La tarea con su responsable, quién la creó, y el negocio y el contacto asociados.

Permissão pedida

tasks:read

Cabeçalho obrigatório

X-API-Key · chave secreta

Nível de acesso

Nível 2 · automático na Inmobiliaria Pro

Parâmetros de rota

1 · obrigatórios
idstring · obrigatório
ID de la tarea

Resposta 200

TaskDetail · 20 campos
dataid · title · description · type · status · priority · dueDate · completedAt · archivedAt · attachments · dealId · contactId · assigneeId · createdById · createdAt · updatedAt · assignee · createdBy · deal · contact
idstring
titlestring
descriptionstring
typestringCALL, EMAIL, WHATSAPP, VISIT, MEETING, SEND_PROPOSAL
statusstringPENDING, IN_PROGRESS, COMPLETED, CANCELLED, OVERDUE
prioritystringLOW, MEDIUM, HIGH, URGENT
dueDatestring
completedAtstring
archivedAtstring
attachmentsanyAdjuntos: `[{ url, name, size? }]`
dealIdstring
contactIdstring
assigneeIdstring
createdByIdstring
createdAtstring
updatedAtstring
assigneeid · firstName · lastName · avatarUrl
idstring
firstNamestring
lastNamestring
avatarUrlstring
createdByid · firstName · lastName
idstring
firstNamestring
lastNamestring
dealid · title · contact
idstring
titlestring
contactid · firstName · lastName
idstring
firstNamestring
lastNamestring
contactid · firstName · lastName
idstring
firstNamestring
lastNamestring

Erros possíveis

com a forma { "error": { "code", "message" } }
  • 401UNAUTHORIZED
  • 403FORBIDDEN
  • 404NOT_FOUND
  • 429RATE_LIMITED
  • 500INTERNAL_ERROR
RequisiçãoGET/v1/tasks/{id}
SDK oficial · @bydomu/sdk · ainda não está no npm
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.tasks.get("clx1tsk001");
200 OK · exemplo
{
  "data": {
    "id": "clx1tsk001",
    "title": "Llamar a María para confirmar la visita",
    "description": "Confirmar el jueves a las 10.",
    "type": "CALL",
    "status": "PENDING",
    "priority": "LOW",
    "dueDate": "2026-10-01T15:00:00.000Z",
    "completedAt": "2026-10-01T14:40:00.000Z",
    "archivedAt": "2026-10-15T00:00:00.000Z",
    "attachments": [],
    "dealId": "clx1deal001",
    "contactId": "clx1con001",
    "assigneeId": "clx1usr001",
    "createdById": "clx1usr002",
    "createdAt": "2026-09-25T10:00:00.000Z",
    "updatedAt": "2026-09-25T10:00:00.000Z",
    "assignee": {
      "id": "clx1usr001",
      "firstName": "Carlos",
      "lastName": "Rodríguez",
      "avatarUrl": "https://cdn.bydomu.com/avatars/carlos.jpg"
    },
    "createdBy": {
      "id": "clx1usr001",
      "firstName": "Carlos",
      "lastName": "Rodríguez"
    },
    "deal": {
      "id": "clx1deal001",
      "title": "Venta Apto Chapinero",
      "contact": {
        "id": "clx1con001",
        "firstName": "María",
        "lastName": "González"
      }
    },
    "contact": {
      "id": "clx1con001",
      "firstName": "María",
      "lastName": "González"
    }
  }
}