Skip to main content
POST
/
push-notifications
/
{id}
/
engagement
Report push notification engagement event (interacted with optional topic)
curl --request POST \
  --url https://{appId}.api-{region}.cometchat.io/v3/campaigns/push-notifications/{id}/engagement \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --header 'appid: <appid>' \
  --data '
{
  "topic": "dismissed"
}
'

Authorizations

apikey
string
header
required

Your CometChat REST API Key.

Headers

onbehalfof
string

UID of the user

appid
string
required

Tenant application ID

Path Parameters

id
string
required

Body

application/json
topic
string

Freeform topic discriminator for the interacted event. Custom values: any alphanumeric + underscore/hyphen string ≤64 chars.

Maximum string length: 64
Example:

"dismissed"

Response

Engagement recorded