メインコンテンツへスキップ
POST
Create Business Event

Rate Limit

The rate limits are at the workspace level. You can create a maximum of 50 business events for each workspace.

承認

Authorization
string
header
必須

Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.

  • Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
  • Password: Use your API Key, which you can find within the Campaign report/Business events/Custom templates/Catalog API/Inform Report tile.

For more information on authentication and getting your credentials, refer here.

ボディ

application/json

Business event definition.

event_name
string
必須

This field contains the name of the business event.

例:

"NameOfOTTSeries"

event_attributes
object[]
必須

This field contains the event attributes of the business event being created.

created_by
string<email>
必須

The email address of the creator of the business event.

レスポンス

This response is returned when the request is processed successfully.

message
string
例:

"The business event has been created"

event_id
string

Unique identifier for the created business event.

例:

"64a40cff5547a6b2c5b14404"