Skip to main content
POST
/
push
/
hardal
curl --request POST \
  --url https://{signalId}-signal.usehardal.com/push/hardal \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "event",
  "payload": {
    "website": "demo",
    "name": "page_view",
    "url": "https://yourstore.com/products",
    "title": "Products",
    "device_type": "desktop",
    "language": "en-US",
    "platform": "web",
    "data": {}
  }
}
'
{
  "ok": true
}

Body

application/json
type
enum<string>
required

Request type. Use event for tracking events, identify for user identification.

Available options:
event,
identify
Example:

"event"

payload
object
required

Response

Event received successfully.

ok
boolean
Example:

true