Amazon Connect · Schema

Contact

Contains information about a contact.

ChatContact CenterCustomer ServiceVoiceAIOmnichannel

Properties

Name Type Description
Arn string The Amazon Resource Name (ARN) for the contact.
Id string The identifier for the contact.
InitialContactId string If this contact is related to other contacts, this is the ID of the initial contact.
PreviousContactId string If this contact is not the first contact, this is the ID of the previous contact.
Channel string How the contact reached your contact center.
QueueInfo object
AgentInfo object
InitiationMethod string Indicates how the contact was initiated.
InitiationTimestamp string The date and time this contact was initiated.
DisconnectTimestamp string The timestamp when the customer endpoint disconnected from Amazon Connect.
LastUpdateTimestamp string The timestamp when contact was last updated.
View JSON Schema on GitHub

JSON Schema

contact-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-connect/refs/heads/main/json-schema/contact-schema.json",
  "title": "Contact",
  "description": "Contains information about a contact.",
  "type": "object",
  "properties": {
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) for the contact."
    },
    "Id": {
      "type": "string",
      "description": "The identifier for the contact.",
      "example": "a1b2c3d4-5678-90ab-cdef-88888EXAMPLE"
    },
    "InitialContactId": {
      "type": "string",
      "description": "If this contact is related to other contacts, this is the ID of the initial contact."
    },
    "PreviousContactId": {
      "type": "string",
      "description": "If this contact is not the first contact, this is the ID of the previous contact."
    },
    "Channel": {
      "type": "string",
      "description": "How the contact reached your contact center.",
      "enum": [
        "VOICE",
        "CHAT",
        "TASK",
        "EMAIL"
      ],
      "example": "VOICE"
    },
    "QueueInfo": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string"
        },
        "EnqueueTimestamp": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "AgentInfo": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string"
        },
        "ConnectedToAgentTimestamp": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "InitiationMethod": {
      "type": "string",
      "description": "Indicates how the contact was initiated.",
      "enum": [
        "INBOUND",
        "OUTBOUND",
        "TRANSFER",
        "QUEUE_TRANSFER",
        "CALLBACK",
        "API"
      ],
      "example": "INBOUND"
    },
    "InitiationTimestamp": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time this contact was initiated."
    },
    "DisconnectTimestamp": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the customer endpoint disconnected from Amazon Connect."
    },
    "LastUpdateTimestamp": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when contact was last updated."
    }
  }
}