TenanciTenanci

Help centerAPI referenceStatus & reports

Status & reports

Status page, incidents and end-customer report.

Get the status page and incidents

GET/projects/{id}/status-pageprojects:read

The page lives at /__tenanci/status on every domain of the project, with your brand and nothing from Tenanci: availability for the last 90 days, current status and incidents. incidents holds the 50 most recent.

Parameters

  • idpath · stringrequired

    Resource id (prj_…, dom_…)

Request

cURL
curl "https://api.tenanci.com/v2/projects/prj_8f3k2m/status-page" \
  -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx"

Response 200

{
  "settings": {
    "enabled": true,
    "title": "Agenda Fácil",
    "description": "Situação do sistema de agendamento",
    "logoUrl": "https://assets.tenanci.com/org_5t1v/logo.png",
    "color": "#1f2937"
  },
  "incidents": [
    {
      "id": "inc_6w2r8t",
      "title": "Lentidão no agendamento",
      "impact": "minor",
      "status": "investigating",
      "updates": [
        {
          "at": "2026-10-14T18:02:00.000Z",
          "status": "investigating",
          "message": "Estamos investigando a lentidão ao confirmar horários."
        }
      ],
      "startedAt": "2026-10-14T18:00:00.000Z",
      "resolvedAt": null
    }
  ],
  "path": "/__tenanci/status"
}

Configure the status page

PUT/projects/{id}/status-pageprojects:write

Title, logo and color are also the brand of the customer report and portal. Only the fields you send change.

Parameters

  • idpath · stringrequired

    Resource id (prj_…, dom_…)

Body

  • enabledboolean

    Publishes the page.

  • titlestringmax 80

    Title (default: project name).

  • descriptionstring | null
  • logoUrlstring | null

    https logo URL (upload it with POST /assets).

  • colorstringmax 7

    Brand color as #rrggbb.

Request

cURL
curl -X PUT "https://api.tenanci.com/v2/projects/prj_8f3k2m/status-page" \
  -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"enabled":true,"title":"Agenda Fácil","description":"Situação do sistema de agendamento","color":"#1f2937"}'

Response 200

{
  "settings": {
    "enabled": true,
    "title": "Agenda Fácil",
    "description": "Situação do sistema de agendamento",
    "logoUrl": "https://assets.tenanci.com/org_5t1v/logo.png",
    "color": "#1f2937"
  }
}

Publish an incident

POST/projects/{id}/incidentsprojects:write

Shows on the status page. Without status, it starts as investigating (or scheduled when impact is maintenance).

Parameters

  • idpath · stringrequired

    Resource id (prj_…, dom_…)

Body

  • titlestringrequiredmax 120

    Short title.

  • impact"minor" | "major" | "maintenance"required

    minor (partial), major (outage) or maintenance (planned).

  • status"investigating" | "identified" | "monitoring" | "resolved" | "scheduled"

    investigating, identified, monitoring, resolved or scheduled (planned maintenance).

  • messagestringrequiredmax 2000

    First update.

  • startedAtstringmax 40

    Start (ISO 8601; default now).

Request

cURL
curl -X POST "https://api.tenanci.com/v2/projects/prj_8f3k2m/incidents" \
  -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"title":"Lentidão no agendamento","impact":"minor","message":"Estamos investigando a lentidão ao confirmar horários."}'

Response 201

{
  "id": "inc_6w2r8t",
  "title": "Lentidão no agendamento",
  "impact": "minor",
  "status": "investigating",
  "updates": [
    {
      "at": "2026-10-14T18:02:00.000Z",
      "status": "investigating",
      "message": "Estamos investigando a lentidão ao confirmar horários."
    }
  ],
  "startedAt": "2026-10-14T18:00:00.000Z",
  "resolvedAt": null
}

Post an incident update

POST/projects/{id}/incidents/{incidentId}projects:write

Appends an update (keeps the last 50). resolved closes the incident.

Parameters

  • idpath · stringrequired

    Resource id (prj_…, dom_…)

  • incidentIdpath · stringrequired

    Incident id (inc_…)

Body

  • status"investigating" | "identified" | "monitoring" | "resolved" | "scheduled"required

    investigating, identified, monitoring, resolved or scheduled (planned maintenance).

  • messagestringrequiredmax 2000

Request

cURL
curl -X POST "https://api.tenanci.com/v2/projects/prj_8f3k2m/incidents/<incidentId>" \
  -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"status":"resolved","message":"Normalizado. Os agendamentos voltaram ao tempo de sempre."}'

Response 200

{
  "id": "inc_6w2r8t",
  "title": "Lentidão no agendamento",
  "impact": "minor",
  "status": "resolved",
  "updates": [
    {
      "at": "2026-10-14T18:02:00.000Z",
      "status": "investigating",
      "message": "Estamos investigando a lentidão ao confirmar horários."
    },
    {
      "at": "2026-10-14T18:40:00.000Z",
      "status": "resolved",
      "message": "Normalizado. Os agendamentos voltaram ao tempo de sempre."
    }
  ],
  "startedAt": "2026-10-14T18:00:00.000Z",
  "resolvedAt": "2026-10-14T18:40:00.000Z"
}

Delete an incident

DELETE/projects/{id}/incidents/{incidentId}projects:write

Parameters

  • idpath · stringrequired

    Resource id (prj_…, dom_…)

  • incidentIdpath · stringrequired

    Incident id (inc_…)

Request

cURL
curl -X DELETE "https://api.tenanci.com/v2/projects/prj_8f3k2m/incidents/<incidentId>" \
  -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx"

Response 204

Success

Get the customer report

GET/domains/{id}/reportdomains:read

Private link on the customer's domain (/__tenanci/report/<token>) with the last 30 days: visitors, pages, sources, devices and countries, with the status page's brand. url: null = off.

Parameters

  • idpath · stringrequired

    Resource id (prj_…, dom_…)

Request

cURL
curl "https://api.tenanci.com/v2/domains/dom_4h7n1q/report" \
  -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx"

Response 200

{
  "url": "https://barbeariadoze.com.br/__tenanci/report/Vb8mK2qX7nR4tW9zL3pC5a",
  "email": "ze@barbeariadoze.com.br",
  "monthly": true
}

Configure the customer report

PUT/domains/{id}/reportdomains:write

The first call creates the link. monthly sends the summary on the 1st of every month to email (through the white-label sender, if verified).

Parameters

  • idpath · stringrequired

    Resource id (prj_…, dom_…)

Body

  • emailstring | null

    Customer email for the monthly send.

  • monthlyboolean

    Send the summary on the 1st of each month (requires email).

  • regenerateboolean

    Replace the link (the old one stops working).

  • enabledboolean

    false turns the link off.

Request

cURL
curl -X PUT "https://api.tenanci.com/v2/domains/dom_4h7n1q/report" \
  -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"email":"ze@barbeariadoze.com.br","monthly":true}'

Response 200

{
  "url": "https://barbeariadoze.com.br/__tenanci/report/Vb8mK2qX7nR4tW9zL3pC5a",
  "email": "ze@barbeariadoze.com.br",
  "monthly": true
}