Request Verification Code
POST
https://api.sfox.com/v1/enterprise/users/send-verification/:user_id
Request an email or sms verification code for your user.
Request
Path Parameters
Name
Description
user_id
required, string
Unique ID defined by you for this user that will serve as the shared identifier for this account between you and sFOX
Body Parameters
Name
Description
type
required, string
Verification method.
Possible values: email
, sms
Example Requests
Response
Response Fields
Name
Description
data
object
Verification code information.
user_id
string
The ID of the end user the code was sent to.
type
string
The verification method for the code.
Possible values: email
, sms
email
string
The email address the verification code was sent to, if type
= email
phone_number
string
The phone number the verification code was sent to, if type
= sms
Responses
Last updated