{"openapi":"3.1.0","info":{"title":"Portal2 API","version":"0.1.0"},"paths":{"/api/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Login Api Auth Login Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/totp/verify":{"post":{"tags":["auth"],"summary":"Totp Verify","operationId":"totp_verify_api_auth_totp_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TotpIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Totp Verify Api Auth Totp Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_api_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Me Api Me Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/signup":{"post":{"tags":["signup"],"summary":"Signup","operationId":"signup_api_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Signup Api Signup Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/signup/verify":{"post":{"tags":["signup"],"summary":"Signup Verify","operationId":"signup_verify_api_signup_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Signup Verify Api Signup Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/approvals":{"get":{"tags":["admin"],"summary":"List Pending","operationId":"list_pending_api_admin_approvals_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Response List Pending Api Admin Approvals Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/approvals/{user_id}":{"post":{"tags":["admin"],"summary":"Decide","operationId":"decide_api_admin_approvals__user_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decide Api Admin Approvals  User Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users":{"get":{"tags":["admin"],"summary":"List Users","operationId":"list_users_api_admin_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Response List Users Api Admin Users Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/users/{user_id}/reset-password":{"post":{"tags":["admin"],"summary":"Reset Password","operationId":"reset_password_api_admin_users__user_id__reset_password_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reset Password Api Admin Users  User Id  Reset Password Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/reset-mfa":{"post":{"tags":["admin"],"summary":"Reset Mfa","operationId":"reset_mfa_api_admin_users__user_id__reset_mfa_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reset Mfa Api Admin Users  User Id  Reset Mfa Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/suspend":{"post":{"tags":["admin"],"summary":"Suspend","operationId":"suspend_api_admin_users__user_id__suspend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReasonIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Suspend Api Admin Users  User Id  Suspend Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/reactivate":{"post":{"tags":["admin"],"summary":"Reactivate","operationId":"reactivate_api_admin_users__user_id__reactivate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reactivate Api Admin Users  User Id  Reactivate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/users/{user_id}/ban":{"post":{"tags":["admin"],"summary":"Ban","operationId":"ban_api_admin_users__user_id__ban_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReasonIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ban Api Admin Users  User Id  Ban Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/usage":{"get":{"tags":["admin"],"summary":"Usage","operationId":"usage_api_admin_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Usage Api Admin Usage Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/offenses":{"get":{"tags":["admin"],"summary":"Offenses","operationId":"offenses_api_admin_offenses_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Response Offenses Api Admin Offenses Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/intake/submit":{"post":{"tags":["intake"],"summary":"Submit","operationId":"submit_api_intake_submit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Api Intake Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/usage":{"get":{"tags":["intake"],"summary":"Usage","operationId":"usage_api_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Usage Api Usage Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/threads":{"get":{"tags":["intake"],"summary":"List Threads","operationId":"list_threads_api_threads_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Response List Threads Api Threads Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/threads/{thread_id}":{"get":{"tags":["intake"],"summary":"Thread Detail","operationId":"thread_detail_api_threads__thread_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Thread Detail Api Threads  Thread Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/threads/{thread_id}/messages":{"post":{"tags":["intake"],"summary":"Reply","operationId":"reply_api_threads__thread_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplyIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reply Api Threads  Thread Id  Messages Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/messages/{message_id}/attachments":{"post":{"tags":["intake"],"summary":"Upload Attachment","operationId":"upload_attachment_api_messages__message_id__attachments_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_attachment_api_messages__message_id__attachments_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Upload Attachment Api Messages  Message Id  Attachments Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attachments/{attachment_id}":{"get":{"tags":["intake"],"summary":"Download Attachment","operationId":"download_attachment_api_attachments__attachment_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string","title":"Attachment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/branding":{"get":{"tags":["branding"],"summary":"Get Branding","operationId":"get_branding_api_branding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Branding Api Branding Get"}}}}}}},"/api/admin/branding":{"get":{"tags":["branding-admin"],"summary":"Admin Get Branding","operationId":"admin_get_branding_api_admin_branding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Admin Get Branding Api Admin Branding Get"}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["branding-admin"],"summary":"Admin Update Branding","operationId":"admin_update_branding_api_admin_branding_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandingUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Admin Update Branding Api Admin Branding Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/webauthn/register/options":{"post":{"tags":["webauthn"],"summary":"Register Options","operationId":"register_options_api_auth_webauthn_register_options_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Options Api Auth Webauthn Register Options Post"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/webauthn/register/verify":{"post":{"tags":["webauthn"],"summary":"Register Verify","operationId":"register_verify_api_auth_webauthn_register_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterVerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Verify Api Auth Webauthn Register Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/webauthn/login/options":{"post":{"tags":["webauthn"],"summary":"Login Options","operationId":"login_options_api_auth_webauthn_login_options_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginOptionsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Login Options Api Auth Webauthn Login Options Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/webauthn/login/verify":{"post":{"tags":["webauthn"],"summary":"Login Verify","operationId":"login_verify_api_auth_webauthn_login_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginVerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Login Verify Api Auth Webauthn Login Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/webauthn/credentials":{"get":{"tags":["webauthn"],"summary":"List Credentials","operationId":"list_credentials_api_auth_webauthn_credentials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Response List Credentials Api Auth Webauthn Credentials Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/auth/webauthn/credentials/{cred_id}":{"delete":{"tags":["webauthn"],"summary":"Delete Credential","operationId":"delete_credential_api_auth_webauthn_credentials__cred_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"cred_id","in":"path","required":true,"schema":{"type":"string","title":"Cred Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Credential Api Auth Webauthn Credentials  Cred Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/org/signup":{"post":{"tags":["org-signup"],"summary":"Org Signup","operationId":"org_signup_api_org_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgSignupIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Org Signup Api Org Signup Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/billing/status":{"get":{"tags":["billing"],"summary":"Billing Status","operationId":"billing_status_api_billing_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Billing Status Api Billing Status Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/billing/checkout":{"post":{"tags":["billing"],"summary":"Checkout","operationId":"checkout_api_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Checkout Api Billing Checkout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/billing/portal":{"post":{"tags":["billing"],"summary":"Portal","operationId":"portal_api_billing_portal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Portal Api Billing Portal Post"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/billing/webhook":{"post":{"tags":["billing"],"summary":"Webhook","operationId":"webhook_api_billing_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Webhook Api Billing Webhook Post"}}}}}}},"/api/platform/auth/login":{"post":{"tags":["platform-admin"],"summary":"Platform Login","operationId":"platform_login_api_platform_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformLoginIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Platform Login Api Platform Auth Login Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/platform/tenants":{"get":{"tags":["platform-admin"],"summary":"List Tenants","operationId":"list_tenants_api_platform_tenants_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Response List Tenants Api Platform Tenants Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/platform/tenants/{tenant_id}":{"get":{"tags":["platform-admin"],"summary":"Tenant Detail","operationId":"tenant_detail_api_platform_tenants__tenant_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tenant_id","in":"path","required":true,"schema":{"type":"string","title":"Tenant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Tenant Detail Api Platform Tenants  Tenant Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/platform/tenants/{tenant_id}/suspend":{"post":{"tags":["platform-admin"],"summary":"Suspend Tenant","operationId":"suspend_tenant_api_platform_tenants__tenant_id__suspend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tenant_id","in":"path","required":true,"schema":{"type":"string","title":"Tenant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Suspend Tenant Api Platform Tenants  Tenant Id  Suspend Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/platform/tenants/{tenant_id}/reactivate":{"post":{"tags":["platform-admin"],"summary":"Reactivate Tenant","operationId":"reactivate_tenant_api_platform_tenants__tenant_id__reactivate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tenant_id","in":"path","required":true,"schema":{"type":"string","title":"Tenant Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reactivate Tenant Api Platform Tenants  Tenant Id  Reactivate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/platform/tenants/{tenant_id}/plan":{"post":{"tags":["platform-admin"],"summary":"Force Plan","operationId":"force_plan_api_platform_tenants__tenant_id__plan_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tenant_id","in":"path","required":true,"schema":{"type":"string","title":"Tenant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Force Plan Api Platform Tenants  Tenant Id  Plan Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/platform/stats":{"get":{"tags":["platform-admin"],"summary":"Platform Stats","operationId":"platform_stats_api_platform_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Platform Stats Api Platform Stats Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/domains":{"get":{"tags":["custom-domains"],"summary":"List Domains","operationId":"list_domains_api_admin_domains_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Response List Domains Api Admin Domains Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["custom-domains"],"summary":"Add Domain","operationId":"add_domain_api_admin_domains_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Add Domain Api Admin Domains Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/admin/domains/{domain_id}/verify":{"post":{"tags":["custom-domains"],"summary":"Verify Domain","operationId":"verify_domain_api_admin_domains__domain_id__verify_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Verify Domain Api Admin Domains  Domain Id  Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/domains/{domain_id}":{"delete":{"tags":["custom-domains"],"summary":"Delete Domain","operationId":"delete_domain_api_admin_domains__domain_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Domain Api Admin Domains  Domain Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/health":{"get":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Health Get"}}}}}}},"/":{"get":{"summary":"Landing","operationId":"landing__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/app/{path}":{"get":{"summary":"Spa","operationId":"spa_app__path__get","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app":{"get":{"summary":"Spa","operationId":"spa_app_get","parameters":[{"name":"path","in":"query","required":false,"schema":{"type":"string","default":"","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/platform":{"get":{"summary":"Platform Console","operationId":"platform_console_platform_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"ApprovalIn":{"properties":{"action":{"type":"string","title":"Action"}},"type":"object","required":["action"],"title":"ApprovalIn"},"Body_upload_attachment_api_messages__message_id__attachments_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_attachment_api_messages__message_id__attachments_post"},"BrandingUpdate":{"properties":{"product_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Name"},"support_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Support Email"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"favicon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Favicon Url"},"primary_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Color"},"secondary_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secondary Color"},"accent_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accent Color"},"intake_headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intake Headline"},"intake_blurb":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intake Blurb"},"tos_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tos Url"},"legal_entity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Entity"},"font_family_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family Body"},"font_family_heading":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family Heading"},"font_css_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Css Url"},"custom_css":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom Css"}},"type":"object","title":"BrandingUpdate"},"CheckoutIn":{"properties":{"plan":{"type":"string","title":"Plan"}},"type":"object","required":["plan"],"title":"CheckoutIn"},"DomainIn":{"properties":{"hostname":{"type":"string","title":"Hostname"}},"type":"object","required":["hostname"],"title":"DomainIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LoginIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginIn"},"LoginOptionsIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"LoginOptionsIn"},"LoginVerifyIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"credential":{"type":"object","title":"Credential"}},"type":"object","required":["email","credential"],"title":"LoginVerifyIn"},"OrgSignupIn":{"properties":{"org_name":{"type":"string","title":"Org Name"},"admin_email":{"type":"string","format":"email","title":"Admin Email"},"admin_password":{"type":"string","title":"Admin Password"},"plan":{"type":"string","title":"Plan","default":"free"},"consent":{"type":"boolean","title":"Consent"}},"type":"object","required":["org_name","admin_email","admin_password","consent"],"title":"OrgSignupIn"},"PlanIn":{"properties":{"plan":{"type":"string","title":"Plan"}},"type":"object","required":["plan"],"title":"PlanIn"},"PlatformLoginIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"PlatformLoginIn"},"ReasonIn":{"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"ReasonIn"},"RegisterVerifyIn":{"properties":{"credential":{"type":"object","title":"Credential"},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nickname"}},"type":"object","required":["credential"],"title":"RegisterVerifyIn"},"ReplyIn":{"properties":{"body":{"type":"string","title":"Body"}},"type":"object","required":["body"],"title":"ReplyIn"},"SignupIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"name":{"type":"string","title":"Name"},"consent":{"type":"boolean","title":"Consent"}},"type":"object","required":["email","password","name","consent"],"title":"SignupIn"},"SubmitIn":{"properties":{"subject":{"type":"string","title":"Subject"},"body":{"type":"string","title":"Body"}},"type":"object","required":["subject","body"],"title":"SubmitIn"},"TotpIn":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"TotpIn"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"code":{"type":"string","title":"Code"}},"type":"object","required":["email","code"],"title":"VerifyIn"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}