Skip to content

Record an idempotent shown, clicked, or dismissed event​

POST
/widget/push-notifications/{notificationId}/events

Authorizations​

BearerAuth

JWT token from login

Type
HTTP (bearer)
or
AccessToken

Personal access token. Value: Token <your-token>

Type
API Key (header: Authorization)

Parameters​

Path Parameters

notificationId*
Type
string
Required

Request Body​

application/json
JSON
{
  
"event_id": "string",
  
"event_type": "string",
  
"visitor_id": "string",
  
"session_id": "string",
  
"page_view_id": "string",
  
"page_url": "string",
  
"occurred_at": "string"
}

Responses​

Duplicate event already recorded

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI