Auth hooks

Send a test code through the hook to a phone

post/api/v1/auth-hooks/{hookId}/test

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/api/v1/auth-hooks/{hookId}/test
  • Auth: HTTP bearer

Path parameters

hookIdstring required

Request body

phonestring required

Phone in international format that receives a test code

Response

OK

channel_used'whatsapp_gateway' | 'telegram' | 'telegram_gateway' | 'whatsapp_official' nullable required
status'pending' | 'sent' | 'delivered' | 'verified' | 'failed' | 'expired' | 'canceled' | 'locked' required
to_phonestring required
verification_idstring uuid required

Changes

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