code: func (s *OrganizationsService) CreateHook(ctx context.Context, org string, hook *Hook) (*Hook, *Response, error) {
  	u := fmt.Sprintf("orgs/%v/hooks", org)
  
  	hookReq := &createHookRequest{
  		Name:   "web",
  		Events: hook.Events,
  		Active: hook.Active,
  		Config: hook.Config,
  	}
  
  	req, err := s.client.NewRequest("POST", u, hookReq)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	h := new(Hook)
  	resp, err := s.client.Do(ctx, req, h)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return h, resp, nil
  }
docs: // CreateHook creates a Hook for the specified org.
  // Config is a required field.
  //
  // Note that only a subset of the hook fields are used and hook must
  // not be nil.
  //
  // GitHub API docs: https://developer.github.com/v3/orgs/hooks/#create-a-hook