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>"
}Setup OTP. Secret must be provided to OtpDataDto in base32-encoded format, just like it comes from GET //otp/setup method. Device name is arbitrary. Same secret could be used for multiple device names. Same secret could not be used for same device name.
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.