v2

latestOpenAPI 3.1.12026-07-2613060964.2 KB

Create Event

Add events and their linked schemas in SuprSend

post/v1/{workspace}/event/

Path parameters

workspacestring required

Workspace slug (staging, production, etc.)

Request body

namestring required

Unique Identifier of the Event.

descriptionstring

Description of the event. Can be used to describe which action this event is linked to.

Example request

{
  "name": "User Signup Event",
  "description": "Triggered whenever a new user successfully signs up on the platform",
  "payload_schema": {
    "schema": "user_signup_v1",
    "version_no": 1
  }
}

Response

Updated event details

object required