code: public void validateVerification(int id, String code) {
  		getResourceFactory().getApiResource("/hook/" + id + "/verify/validate")
  				.entity(new HookValidate(code), MediaType.APPLICATION_JSON)
  				.post();
  	}
docs: Validates the hook using the code received from the verify call. On
  successful validation the hook will become active.
  
  @param id
  The id of the hook to be verified
  @param code
  The code received from the call to the endpoint