Skip to main content

ContactWindow

contactIdstringrequired
openbooleanrequired

Open on at least one of the listed numbers.

expiresAtstring<date-time>nullablerequired

The latest expiry among the listed numbers; null if the contact never wrote.

remainingSecondsintegerrequired

Whole seconds until it closes; 0 when closed.

Possible values: >= 0

windows object[]required
  • Array [
  • phoneNumberIdstringrequired
    openbooleanrequired
    expiresAtstring<date-time>nullablerequired

    null when the contact never wrote to this number.

    remainingSecondsintegerrequired

    Whole seconds until it closes; 0 when closed.

    Possible values: >= 0

    lastInboundAtstring<date-time>nullablerequired

    The contact's last message to this number.

  • ]
  • ContactWindow
    {
    "contactId": "string",
    "open": true,
    "expiresAt": "2024-07-29T15:51:28.071Z",
    "remainingSeconds": 0,
    "windows": [
    {
    "phoneNumberId": "string",
    "open": true,
    "expiresAt": "2024-07-29T15:51:28.071Z",
    "remainingSeconds": 0,
    "lastInboundAt": "2024-07-29T15:51:28.071Z"
    }
    ]
    }