---
updatedAt: 2026-02-25T12:57:30.000Z
---

# KustomerCore.sendPresenceActivity()

Send information about the customer's presence status.

[block:callout]
{
  "type": "success",
  "title": "First, initialize chat",
  "body": "You must initialize with `KustomerCore.init()` before you can execute any additional Core SDK methods"
}
[/block]

## Examples

[block:code]
{
  "codes": [
    {
      "code": "// Send presence activity\nKustomerCore.sendPresenceActivity({\n  presence: 'online'\n});",
      "language": "javascript",
      "name": "Code samples: KustomerCore.getCategories()"
    }
  ]
}
[/block]

## Syntax

[block:code]
{
  "codes": [
    {
      "code": "KustomerCore.sendPresenceActivity(options)",
      "language": "javascript",
      "name": "JavaScript syntax: Kustomer.describeConversation()"
    }
  ]
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Parameter",
    "h-1": "Type",
    "h-2": "Description",
    "0-1": "Object",
    "0-2": "**Required**\n\nAn object containing the presence status. A breakdown of the `options` object is listed below.",
    "0-0": "options"
  },
  "cols": 3,
  "rows": 1
}
[/block]

### `options`

[block:parameters]
{
  "data": {
    "h-0": "Property",
    "h-1": "Type",
    "h-2": "Description",
    "0-0": "presence",
    "0-2": "**Required**\n\nEither `'online'` or `'offline'`.",
    "0-1": "String"
  },
  "cols": 3,
  "rows": 1
}
[/block]