auth

Request SMS login code

Public: starts a Twilio Verify SMS login challenge to phone, scoped by tenant_code. 400 if SMS verification isn't configured for the tenant (no Verify client wired or no active Twilio connection) or if rate-limited. An expired workspace code gets 404 tenant_code_expired.

post/auth/sms/request

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/auth/sms/request
  • Auth: none declared

Request body

phonestring
tenant_codestring

Response

OK

messagestring
successboolean

Example response

{
  "success": true
}

Changes

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