Bring This Food
  1. otp
Bring This Food
  • https
    • v1
      • account
        • account - get
        • account - delete
        • account - update overview
        • bank - update
        • menu - update overview
        • menu - add combo item
        • menu - add other(categorised) item
        • menu - update item
        • menu - delete item
        • menu - add category
        • menu - update category
        • menu - delete category
        • menu - get categories
        • role-category - verify
        • store - update
      • auth
        • reset password
        • sign-up
        • sign-in
        • sign-out
      • existence
        • telephone existence
      • invite-code
        • send invite code
      • menus
        • menu items
      • request
        • accept request
        • reject request
      • otp
        • send otp
          POST
        • verify otp
          POST
      • pagination
        • first request
        • next request
      • upload
        • upload file
      • user
        • get user
        • send role-category request
        • menu categories
        • menu items - all
        • menu items - combo
        • menu items - categorised
      • users
        • get vendors
  • Schemas
    • v1
      • file
        • uploadedFile
      • otp
        • otp
      • price
        • priceProps
      • query
        • paginationProps
      • request
        • headerAuthorization
      • responses
        • 200 - success
        • 208 - already done
        • 400 - bad request
        • 401 - unauthorised
        • 403 - forbidden
        • 404 - not found
        • 409 - conflict
        • 410 - gone
        • 500 - server error
      • user
        • basicUser
        • extendedUser
        • user
        • location
        • userRequest
        • userRole
        • userTelephone
        • userTokens
        • userPassword
        • store
        • weeklyAvailability
        • timeRangeProps
        • iso24HrTime
        • bank
        • verificationStatus
        • timezoneOffset
      • user-store-menu
        • storeMenuCategory
        • storeMenuCategoryItem
        • storeMenuComboItem
        • storeMenuOverview
  1. otp

verify otp

dev-env-v1
https://btf-node.vercel.app/v1
dev-env-v1
https://btf-node.vercel.app/v1
POST
https://btf-node.vercel.app/v1
/otp/verify
verifies an otp code sent to a phone number;
tokens would be returned, which may be needed, especially during password reset session;
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://btf-node.vercel.app/v1/otp/verify' \
--header 'Content-Type: application/json' \
--data-raw '{
    "telephone": "+2349012345678",
    "code": "string"
}'
Response Response Example
200 - Example 1
{
    "data": {
        "tokens": {
            "access": "string",
            "refresh": "string"
        }
    }
}

Request

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400400 - bad request
Modified at 2025-08-07 05:53:32
Previous
send otp
Next
first request
Built with