Gladly · Schema

Gladly Task

Schema for a Task resource in the Gladly REST API. Tasks are work items assigned to agents or teams that can be tied to a Customer and Conversation.

Customer ServiceCXContact CenterAI Customer ServiceConversationsSidekick AIHeroVoiceChatSMSEmailHelp CenterWebhooksKnowledge Base

Properties

Name Type Description
id string Gladly-assigned task identifier.
customerId string
conversationId string
name string Short title for the task.
description string Long-form task body.
status string
dueAt string
assignee object
comments array
createdAt string
modifiedAt string
closedAt string
View JSON Schema on GitHub

JSON Schema

gladly-task-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/gladly/gladly-task-schema.json",
  "title": "Gladly Task",
  "description": "Schema for a Task resource in the Gladly REST API. Tasks are work items assigned to agents or teams that can be tied to a Customer and Conversation.",
  "type": "object",
  "required": ["id"],
  "properties": {
    "id": {"type": "string", "description": "Gladly-assigned task identifier."},
    "customerId": {"type": "string"},
    "conversationId": {"type": "string"},
    "name": {"type": "string", "description": "Short title for the task."},
    "description": {"type": "string", "description": "Long-form task body."},
    "status": {
      "type": "string",
      "enum": ["OPEN", "CLOSED"]
    },
    "dueAt": {"type": "string", "format": "date-time"},
    "assignee": {
      "type": "object",
      "properties": {
        "agentId": {"type": "string"},
        "inboxId": {"type": "string"}
      }
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {"type": "string"},
          "content": {"type": "string"},
          "agentId": {"type": "string"},
          "createdAt": {"type": "string", "format": "date-time"}
        }
      }
    },
    "createdAt": {"type": "string", "format": "date-time"},
    "modifiedAt": {"type": "string", "format": "date-time"},
    "closedAt": {"type": "string", "format": "date-time"}
  }
}