Authentication factors

Enroll a user device for authentication using one-time passwords

This is the first step in enrolling the logged-in user's mobile device, where a one-time password is sent to the device.

:::note On sandbox, no text message is sent and the one-time password is always 123456. :::

post/authentication_factors/otp/{channel}

Request

  • Base URL: https://sandbox.weavr.io/multi
  • URL: https://sandbox.weavr.io/multi/authentication_factors/otp/{channel}
  • Auth: API key in header api-key and HTTP bearer

Path parameters

channel'SMS' required
  • SMS: The one-time-password is sent as a text message

The unique identifier for the channel.

Headers

idempotency-refstring
Example:transfer-2026-08-07-001

A unique call reference generated by the caller that, taking into consideration the payload as well as the operation itself, helps avoid duplicate operations. Idempotency reference uniqueness is maintained for at least 24 hours.

Response

Success, no content

Changes

No recorded changes to this operation across all 1 revision of this API.