class Attio::Webhook

def test(**opts)

Test the webhook with a sample payload
def test(**opts)
  raise InvalidRequestError, "Cannot test a webhook without an ID" unless persisted?
  self.class.send(:execute_request, :POST, "#{resource_path}/test", {}, opts)
  true
end