Skip to main content
GET
/
api
/
task
Obtener Tareas
curl --request GET \
  --url https://api.plazbot.com/api/task \
  --header 'Authorization: Bearer <token>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "success": true,
  "code": 123,
  "errorCode": "<string>",
  "message": "<string>",
  "data": [
    {
      "id": "<string>",
      "workspaceId": "<string>",
      "name": "<string>",
      "description": "<string>",
      "creationDate": "2023-11-07T05:31:56Z",
      "updatedDate": "2023-11-07T05:31:56Z",
      "expirationDate": "2023-11-07T05:31:56Z",
      "statusId": 123,
      "notes": "<string>",
      "asignedUsers": [
        "<string>"
      ],
      "projectStatusId": "<string>",
      "files": [
        "<string>"
      ],
      "project": [
        "<string>"
      ],
      "subTask": [
        "<string>"
      ],
      "orderInCards": 123,
      "orderInCardsLastUpdated": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Token de autenticacion Bearer. Obtenga el token usando el endpoint /api/user/login

Headers

x-workspace-id
string
required

Identificador del workspace

Query Parameters

workspaceId
string

Identificador del workspace

contactId
string

ID del contacto para filtrar tareas

pageNumber
integer
default:1

Numero de pagina

pageSize
integer
default:10

Cantidad de registros por pagina

name
string

Filtrar por nombre de tarea

projectStatusId
string

Filtrar por estado del proyecto

Response

Lista de tareas obtenida exitosamente

success
boolean
required

Indica si la operacion fue exitosa

code
integer
required

Codigo HTTP de la respuesta

errorCode
string | null
required

Codigo de error, null si no hay error

message
string
required

Mensaje descriptivo del resultado

data
object[]
required