Push.Express Documentation
  • Push.Express Documentation
  • Quckstart
    • How to use
    • Custom events
    • Analytics
    • Demo apps
  • SDK
    • PWA
    • Kotlin
    • Swift
    • Unity
    • Flutter
    • Onesignal
  • API
    • Applications
    • Application groups
    • App Instances (Devices)
    • Pushes
    • Instant sending
    • One-time sending in future
    • Smart weekly sending
    • Auto-push sending
    • Custom events
  • SDK API
    • SDK API specs
    • SDK API v2
Powered by GitBook
On this page
  1. API

Custom events

PreviousAuto-push sendingNextSDK API specs

Last updated 28 days ago

CtrlK
  • Endpoints
  • Create an custom events
  • Body params:
  • Response:

Version date: 28 July 2025


To authorize, you need to add the header "Authorization: Bearer ..." (get your API KEY in your personal account on "Personal" tab).

Endpoints

  • Create an custom events


Create an custom events

POST https://core.push.express/api/b/v2/apps

  • Description: Creates a new custom events.

Request:

curl --url "https://core.push.express/api/b/v2/events"
    --request POST
    --header "content-type: application/json"
    --header "Authorization: Bearer ..."
    --data '
{
    "name": "Trial event",
    "code": "trial",
'

Body params:

  • name, required, string. Name of event.

  • code, required, string. The event code. It is needed to send the event to the PushExpress service.

Response:

  • 201: New event created

{"id":12345}
  • id, int. ID of newly created event.