testproj
Ttestproj
API Reference
GETSecure image proxy with caching/api/images/proxy
PATCHUpdate an account authorization role/api/admin/companies/{id}/role
GETGet detailed tenant information/api/admin/dashboard/{companyId}GETList all registered tenant organizations/api/admin/dashboard/all-companiesGETGet telemetry charts and growth timeseries/api/admin/dashboard/chartsGETGet overall platform analytics & metrics/api/admin/dashboard/statsGETGet the executive dashboard summary/api/admin/dashboard/summaryGETList top organizations by API volume / revenue/api/admin/dashboard/top-companies
GETReal-time system health and process telemetry/api/admin/healthGETGet HTTP audit & security logs/api/admin/logsGETVerify admin identity/api/admin/me
GETGet company tenant details/api/companies/{companyId}POSTRegister a company account/api/companies/registerstep
POSTUpdate API UI settings/api/companies/{companyId}/api-ui-settingsPOSTSave company API specifications/api/companies/{companyId}/apidetailsstepPOSTSave UI preferences and complete onboarding/api/companies/{companyId}/uiselectionstep
POSTAnalyze a company API definition/api/companies/{companyId}/apis/{apiIndex}/analyze
POSTRequest a password reset OTP/api/company/forgot-passwordGETVerify active company session/api/company/loginPOSTAuthenticate a company user/api/company/loginPOSTSign out a company user/api/company/logoutGETVerify session alias/api/company/verify-session
POSTReset a company user's password/api/company/forgot-password/resetPOSTVerify a password reset OTP/api/company/forgot-password/verify
GETCheck gateway health status/health
GETEstablish MCP SSE stream for AI agent/mcp/{mcpSlug}POSTExecute an MCP tool call/mcp/{mcpSlug}
GETGet MCP OAuth protected-resource metadata/mcp/{mcpSlug}/.well-known/oauth-protected-resource
llms.txtPowered by Octri
POST/api/company/forgot-password/verify

Verify a password reset OTP

Verifies a password reset OTP sent to a company user's email address. Submit the account email and the 6-digit otp to receive a reset verification token. Use the returned token when completing the token-based password reset flow.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 body fields

The company account email address and its password reset OTP.

emailstringrequired

The company account's email address in email format.

otpstringrequired

The 6-digit password reset code sent to the email address.

2 status codes
200Returns a success indicator and the reset verification token.
resetTokenstringoptional
successbooleanoptional
400Returned when the OTP is invalid or expired.

Error handling

The email and otp fields are required, and email must use email format; otp must be the 6-digit code sent to that address. A 400 is returned when the OTP is invalid or expired.

import { SoftTechAIEnterpriseAPIMCPGateway } from "testproj-sdk";

const client = new SoftTechAIEnterpriseAPIMCPGateway({
  baseUrl: "http://localhost:4000",
  auth: { apiKeyAuth: process.env.SOFT_TECH_API_KEY! },
});

const result = await client.passwordRecovery.verifyForgotPasswordOtp({
  email: "[email protected]",
  otp: "123456",
});
Response
{
  "resetToken": "eyJhbGciOi...",
  "success": true
}
PreviousReset a company user's passwordNextVerify active company session