Deadline calendar
const url = 'https://api.ultimateteam.ai/api/v1/compliance/deadlines';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.ultimateteam.ai/api/v1/compliance/deadlines \ --header 'X-API-Key: <X-API-Key>'Get upcoming compliance deadlines for the tenant.
Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”Successful Response
Typed envelope for GET /deadlines.
object
Response body for the compliance deadline calendar.
Attributes: tenant_id: The tenant the calendar belongs to. upcoming_deadlines: Ordered list of upcoming deadlines.
object
Tenant ID
Upcoming compliance deadlines
A single upcoming compliance deadline.
Attributes:
id: Unique identifier for the deadline.
title: Short description of what is due.
due_date: Date by which the obligation must be met.
category: Compliance category (e.g., "tax", "employment").
description: What the business needs to do by this date.
action_needed: Specific action required.
days_until_due: Number of days remaining until the deadline.
status: Current status (upcoming, due_soon, overdue).
object
Required action
Compliance category
Days remaining
Details
Due date
Deadline identifier
Deadline status
Short description of the obligation
Standard metadata attached to every API response.
object
Unique request identifier
Server timestamp of the response
Example
{ "data": { "upcoming_deadlines": [ { "action_needed": "", "days_until_due": 0, "description": "", "status": "upcoming" } ] }}