Skip to main content
POST
/
api
/
v1
/
user
/
{id}
/
otp
/
setup
setup OTP
curl --request POST \
  --url https://api.example.com/api/v1/user/{id}/otp/setup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "secret": "<string>",
  "deviceName": "<string>",
  "totpCode": "<string>"
}
'
{
  "response": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.extractor.live/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication

Path Parameters

id
integer<int64>
required

Body

application/json
secret
string
deviceName
string
totpCode
string

Response

200 - application/json

OK

response
string