Custom events

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

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.

Last updated