List deadlines
curl --request GET \
--url http://localhost:4005/v1/deadlines \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:4005/v1/deadlines"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4005/v1/deadlines', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:4005/v1/deadlines"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"active": true,
"color": "#FF5733",
"createdAt": "2026-01-01T00:00:00Z",
"description": "Monthly regulatory compliance report",
"dueDate": "2026-07-31T00:00:00Z",
"frequency": "monthly",
"id": "00000000-0000-0000-0000-000000000001",
"name": "Monthly Regulatory Report",
"notifyDaysBefore": 5,
"status": "pending",
"type": "regulatory",
"updatedAt": "2026-01-01T00:00:00Z"
}
],
"limit": 10,
"page": 1,
"total": 10
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}List deadlines
Returns a filtered page of deadlines.
GET
/
v1
/
deadlines
List deadlines
curl --request GET \
--url http://localhost:4005/v1/deadlines \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:4005/v1/deadlines"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4005/v1/deadlines', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:4005/v1/deadlines"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"active": true,
"color": "#FF5733",
"createdAt": "2026-01-01T00:00:00Z",
"description": "Monthly regulatory compliance report",
"dueDate": "2026-07-31T00:00:00Z",
"frequency": "monthly",
"id": "00000000-0000-0000-0000-000000000001",
"name": "Monthly Regulatory Report",
"notifyDaysBefore": 5,
"status": "pending",
"type": "regulatory",
"updatedAt": "2026-01-01T00:00:00Z"
}
],
"limit": 10,
"page": 1,
"total": 10
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Autorizaciones
JWT bearer token issued by the identity provider.
Parámetros de consulta
Deadline status filter.
Opciones disponibles:
pending, overdue, delivered Maximum number of deadlines in the page.
One-based page number.
Respuesta
OK
Deadlines in the requested page.
Show child attributes
Show child attributes
Ejemplo:
[ { "active": true, "color": "#FF5733", "createdAt": "2026-01-01T00:00:00Z", "description": "Monthly regulatory compliance report", "dueDate": "2026-07-31T00:00:00Z", "frequency": "monthly", "id": "00000000-0000-0000-0000-000000000001", "name": "Monthly Regulatory Report", "notifyDaysBefore": 5, "status": "pending", "type": "regulatory", "updatedAt": "2026-01-01T00:00:00Z" } ]
Maximum number of deadlines in the page.
Ejemplo:
10
Current one-based page number.
Ejemplo:
1
Total number of deadlines matching the filters.
Ejemplo:
10
¿Esta página le ayudó?

