POST /projects/{project_id}/custom_events

Create a Custom Event in a provided Project

Servers

Path parameters

Name Type Required Description
project_id Integer Yes

The Project ID of the Project you want to create an Custom Event in

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id Integer No

The unique identifier of the Event

category String No

Valid values:

  • "subscribe"
  • "search"
  • "convert"
  • "save"
  • "add_to_cart"
  • "other"
  • "purchase"
  • "share"
  • "sign_up"
project_id Integer No

The ID of this Event's parent Project

created String No

Creation date for this Event

name String No

A human readable name for this Event. If unspecified, defaults to the key

archived Boolean No

Whether or not to archive this Event

description String No

A description of this Event

key String Yes

Unique string identifier for this Event within the Project

event_type String No

The type of this Event

Valid values:

  • "custom"
is_classic Boolean No

Whether or not this Event is a classic Event. If true, this Event is read-only

Default value: false

is_editable Boolean No

Whether or not this Event may be edited

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.