{"openapi":"3.1.0","info":{"title":"Standalone application API","description":"A simple FastAPI setup for mm/workos applications","version":"0.0.0"},"paths":{"/api/user/me":{"get":{"summary":"Read User Me","operationId":"read_user_me_api_user_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/klaviyo/oauth/authorize":{"get":{"summary":"Klaviyo Authorize","description":"Initiates the OAuth authorization flow for Klaviyo.","operationId":"klaviyo_authorize_api_klaviyo_oauth_authorize_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/klaviyo/oauth/callback":{"get":{"summary":"Klaviyo Callback","description":"Handles the OAuth callback from Klaviyo.","operationId":"klaviyo_callback_api_klaviyo_oauth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/klaviyo/disconnect":{"post":{"summary":"Klaviyo Disconnect","description":"Disconnects the Klaviyo account for the current customer, revoking\nthe token in Klaviyo before clearing it from the database.","operationId":"klaviyo_disconnect_api_klaviyo_disconnect_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/klaviyo/webhook/uninstall":{"post":{"summary":"Klaviyo Uninstall Webhook","description":"Receives uninstall notifications sent by Klaviyo when a user removes\nthe app from within their Klaviyo account.","operationId":"klaviyo_uninstall_webhook_api_klaviyo_webhook_uninstall_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/klaviyo/account":{"get":{"summary":"Klaviyo Account","description":"Returns Klaviyo connection and account details for current customer.","operationId":"klaviyo_account_api_klaviyo_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/hubspot/oauth/authorize":{"get":{"tags":["hubspot"],"summary":"Hubspot Authorize","description":"Initiates the OAuth authorization flow for HubSpot.","operationId":"hubspot_authorize_api_hubspot_oauth_authorize_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/api/hubspot/oauth/callback":{"get":{"tags":["hubspot"],"summary":"Hubspot Callback","description":"Handles the OAuth callback from HubSpot.","operationId":"hubspot_callback_api_hubspot_oauth_callback_get","parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health Check","description":"Health check endpoint","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"dummy"}}}}}}