Skip to main content
Use this endpoint to generate and deliver a one-time password (OTP) to a recipient. The response contains a session identifier that must be supplied when verifying the OTP.

Endpoint


Authentication


Request Body


Supported Purposes


Example Request


Successful Response


Response Fields


OTP Reuse

When OTP reuse is enabled, Zeckta may reuse an active OTP session if a valid OTP already exists for the same destination and purpose. In this scenario:
  • No new OTP is generated
  • No additional SMS is sent
  • The existing OTP remains valid until expiration
Example:
When reused is true, clients should continue using the existing OTP and session identifier.

Validation Rules

Destination Number

Must be supplied in international E.164 format. Example:

Sender Name

Must be a valid Sender Name available to your workspace. Example:

Message Template

Optional custom message template. If omitted, Zeckta uses the default OTP template.

Default Configuration


Workspace Isolation

OTP sessions are isolated by workspace. A workspace can only:
  • Request OTPs using its own API key
  • Verify OTPs generated within its own workspace
  • Access sessions associated with its own credentials
Cross-workspace access is not permitted.

Next Step

Verify OTP

Validate a received OTP using the session identifier returned from this endpoint.