def create(cls, data=None, api_key=None, endpoint=None, add_headers=None,
               **kwargs):
        """Create an event on your PagerDuty account."""
        cls.validate(data)
        inst = cls(api_key=api_key)
        endpoint = ''
        return inst.request('POST',
                            endpoint=endpoint,
                            data=data,
                            query_params=kwargs,
                            add_headers=add_headers,
                            )
Create an event on your PagerDuty account.