Event Metadata
Create custom event metadata
Declares a new brand-custom event schema. The event identity is the combination of name and origin; displayName and at least one top-level property are required. Optional metadata fields must be omitted rather than sent as null. The created event is returned with every node flagged explicitlyDefined.
Scopes: events.write
Rate Limiting: This endpoint is rate limited to 400 requests per minute.
post/event-metadata
Request
- Base URLhttps://api.omnisend.com/api
- URLhttps://api.omnisend.com/api/event-metadata
- Auth
- API key in header Authorization
- or OAuth 2Client credentialsToken URL: https://app.omnisend.com/oauth2/token
Headers
Omnisend-Versionstring required
API version that specifies the response format and behaviour
Request body
Example request
{
"displayName": "Loyalty Points Earned",
"name": "loyalty points earned",
"origin": "api"
}Response
The created event metadata
Example response
{
"event": {
"displayName": "Placed Order",
"name": "placed order",
"origins": [
"shopify",
"woocommerce"
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.