{"openapi":"3.0.0","info":{"version":"1.0.0","title":"2ndSight AI View SaaS Project API's","description":"The API for AI View SaaS Project"},"paths":{"/verifyOrganization":{"post":{"tags":["VerifyOrganization"],"summary":"Verify whether an organization is registered or not","operationId":"verifyOrganization","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"officialEmail":{"type":"string"}}}}}},"responses":{"200":{"description":"Redirects to createAcc.html or to the specified URL"},"302":{"description":"Redirect to the specified URL","headers":{"Location":{"schema":{"type":"string"}}}},"404":{"description":"Organization not found"},"500":{"description":"Internal server error"}}}},"/authenticate":{"get":{"tags":["Authenticate"],"summary":"Authenticate using token","operationId":"authenticate","parameters":[{"in":"query","name":"slug","required":true,"schema":{"type":"string"}},{"in":"query","name":"stytch_token_type","required":true,"schema":{"type":"string"}},{"in":"query","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful authentication"},"400":{"description":"Bad request"},"404":{"description":"Organization or token not found"},"500":{"description":"Internal server error"}}}}},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/deepak.singh-847/2ndSight_B2B/1.0.0"},{"description":"SwaggerHub API Auto Mocking","url":"https://localhost:3001/"}]}