Pular para o conteúdo

Consultar a repetição da tarefa

GET
/api/seller/external/v1/task/{id}/recurrence
curl --request GET \
--get "https://api.spelt.com.br/api/seller/external/v1/task/architecto/recurrence" \
--header "Authorization: Bearer splt_live_SUA_CHAVE" \
--header "Content-Type: application/json" \
--header "Accept: application/json"

A rotina a que a tarefa pertence. data é null quando ela não se repete. template_task_id é o modelo: o card que as próximas tarefas copiam. Ele não aparece no quadro nem em GET /task, e abre por id (GET /task/{id}, com is_template: true e sem coluna nem posição): alterar título, descrição, checklist, tags ou responsável dele muda as próximas tarefas. is_template aqui diz se o card consultado é o próprio modelo.

id
required
string

ULID da tarefa.

Media typeapplication/json
object
data
object
id
string
board_id
string
template_task_id
string
template_title
string
frequency
string
weekdays
Array<integer>
business_days_only
boolean
month_day
string | null
month_week
string | null
month_weekday
string | null
due_in_days
integer
next_run_on
string
status
string
summary
string
is_template
boolean
Example
{
"data": {
"id": "01JA0000000000000000000070",
"board_id": "01JA0000000000000000000001",
"template_task_id": "01JA0000000000000000000010",
"template_title": "Revisão da semana",
"frequency": "weekly",
"weekdays": [
1
],
"business_days_only": false,
"month_day": null,
"month_week": null,
"month_weekday": null,
"due_in_days": 2,
"next_run_on": "2026-12-01",
"status": "active",
"summary": "toda segunda",
"is_template": false
}
}
Media typeapplication/json
object
error
string
Example
{
"error": "Recurso não encontrado"
}