def METHOD_NAME(self, type: str) -> BaseApiResponseX:
    body = {"type": type}
    path = "/integrations/authenticate"
    headers = {"Authorization": "GenieKey " + self.integration_key}
    return self.post(path=path, headers=headers, data=body)