Retrieves event information for a specified event type.
Rules retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
const eventDetails = await api.events.get({eventType: 'gateway-account-created'}); console.log(eventDetails.fields.rulesCount);
{- "eventType": "account-password-reset-requested",
- "title": "string",
- "description": "string",
- "category": "billing",
- "rulesCount": 0,
- "bindsCount": 0,
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}