Create Otp

Create an OTP and send it via the specified channel. First verifies that the user exists in the organisation. Always creates a new OTP and invalidates any previous ones.

Args: request: The request object organisation_uuid: The organisation UUID workspace_uuid: The workspace UUID payload: Contains to (recipient) and channel information

Returns: OTP details including UUID

Language
Click Try It! to start a request and see the response here!