PlatformXeDocs
Get API Key

Issues

Federated bug-report and support-ticket workflow that traverses application boundaries.

The Issues service is a polymorphic ticket store for cross-app bug reports and support tickets. Issues are scoped to the calling organisation but stamped with the app that reported them, so a tenant's support team can triage problems regardless of which Caldera app surfaced the user complaint.

When to use

  • A guest reports a Lettings booking issue from inside Concierge — file under app: 'concierge' with metadata.bookingId.
  • A partner support agent escalates from xAdmin → file under app: 'xadmin' with tags: ['escalation'].
  • An automated workflow detects a payment reconciliation drift → file under app: 'lettings' with priority: 'URGENT'.

For Caldera Threads conversations needing escalation to a ticket, the platform's workflow engine emits a THREAD_ESCALATED event with the issue id once the issue is created via this API.

Endpoints

GET  /api/v1/issues               — List issues for the calling org
POST /api/v1/issues               — Create a new issue

List

GET /api/v1/issues?app=lettings&status=OPEN
Query paramDescription
app (optional)Filter to a specific source app.
status (optional)OPEN / IN_PROGRESS / RESOLVED / CLOSED. Any other value is 400 VALIDATION_ERROR.

Create

{
  "app": "lettings",
  "reporterId": "user_123",
  "title": "Booking confirmation email shows wrong nights",
  "description": "Booked 3 nights, email says 2.",
  "priority": "HIGH",
  "tags": ["email", "template"],
  "metadata": { "bookingId": "bk_abc" }
}
FieldRequiredDescription
appyesSource app raising the issue.
reporterIdyesReporting user.
titleyes
descriptionyes
prioritynoLOW / MEDIUM / HIGH / URGENT. Defaults to MEDIUM.
tagsnoFree-form labels.
metadatanoFree-form structured context.

Plan-change requests

An issue with app: "PX" whose tags include plan-change (in any case: px and Plan-Change count too) is a request to change your organisation's plan (the portal's billing page files the same issue). It must name the plan it asks for in metadata.requestedPlan: BASIC, PRO or ENTERPRISE (anything else is 400 VALIDATION_ERROR). PRO and ENTERPRISE come with an Enterprise License, not a plan change: such a request goes to the licensing team as an issue tagged licensing (never a plan change) and is answered 409 CONTACT_LICENSING with error.details { email, id, existing }. Your organisation can have one licensing request open at a time: while one is, a repeat files nothing, existing is true, id names the open request and the message is "You already have an open request with our licensing team (); reply to it to add details." Your organisation can have one such request open (OPEN or IN_PROGRESS) at a time: while one is open, another is refused with 409 CONFLICT and nothing is filed, whichever way it was sent. Every other issue is filed as before.

StatusCodeWhen
201Filed: { id, message }.
400VALIDATION_ERRORThe body is not JSON, a required field is missing or a value is out of range, or a plan-change request names no metadata.requestedPlan of BASIC, PRO, ENTERPRISE.
409CONFLICTA plan-change request of your organisation is still open.
409CONTACT_LICENSINGA plan-change request names PRO or ENTERPRISE: it goes to the licensing team, never as a plan change. error.details is { email, id, existing }: existing: false, filed now; existing: true, your open licensing request was answered and nothing was filed.
500INTERNAL_ERRORThe issue could not be filed.

SDK usage

See the SDK reference for typed examples in TypeScript, Python, and Go.

Scopes required

EndpointScope
GET /api/v1/issuesissues:read
POST /api/v1/issuesissues:write