Belta Shop API
  1. Auth
Belta Shop API
  • Auth
    • register
      POST
    • login
      POST
    • refresh-token
      POST
    • send otp
      POST
    • send guest otp
      POST
    • verify otp
      POST
    • verify guest otp
      POST
    • reset password
      POST
  • Upload
    • Upload Single FIle
      POST
    • Upload Multiple Files
      POST
  • Products
    • Public Endpoints
      • Get All Products
      • Get Single Product
    • Staff Endpoints
      • Get All Products (Staff)
      • Get Single Product (Staff)
      • Create Product
      • Update Product
      • Delete Product
      • Link to SubCategory
      • Unlink from SubCategory
      • Link to Brand
      • Unlink from Brand
      • Link to Brand
      • Unlink from Brand
  • Brands
    • Public Endpoints
      • Get All Brands
      • Get Single Brand
    • Staff Endpoints
      • Get All Brands (Staff)
      • Get Single Brand (Staff)
      • Create Brand
      • Update Brand
      • Delete Brand
  • Categories
    • Public Endpoints
      • Get All Categories
      • Get Single Category
    • Staff Endpoints
      • Get All Categories (Staff)
      • Get Single Category (Staff)
      • Create Category
      • Update Category
      • Delete Category
  • Subcategories
    • Public Endpoints
      • Get All Subcategories
      • Get Single Subcategory
    • Staff Endpoints
      • Get All Subcategories (Staff)
      • Get Single Subcategory (Staff)
      • Create Subcategory
      • Update Subcategory
      • Delete Subcategory
      • Link to Category
      • Unlink from Category
      • Link to Category
      • Unlink from Category
  • Offers
    • Get All Offers
      GET
    • Get Single Offer
      GET
    • Create Offer
      POST
    • Update Offer
      PATCH
    • Delete Offer
      DELETE
  • Labels
    • Public Endpoints
      • Get All Labels
      • Get Single Label
    • Staff Endpoints
      • Get All Labels (Staff)
      • Get Single Label (Staff)
      • Create Label
      • Update Label
      • Delete Label
      • Link to Product
      • Unlink from Product
      • Unlink from Product
  • Tags
    • Public Endpoints
      • Get All Tags
      • Get Single Tag
    • Staff Endpoints
      • Get All Tags (Staff)
      • Get Single Tag (Staff)
      • Create Tag
      • Update Tag
      • Delete Tag
      • Link to Product
      • Unlink from Product
      • Link to Product
      • Unlink from Product
  • Welcome
    GET
  1. Auth

refresh-token

POST
https://shop-api.imbeltagy.tech/auth/refresh-token
Provide a valid refresh token to generate another access and refresh token with an updated user profile.
*** Refresh tokens ar only VALID ONCE and can't used as an access token and access tokens can't be used as refresh tokens
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://shop-api.imbeltagy.tech/auth/refresh-token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2ODJiNzE3M2Y1YzhjODYzYWI5MzFhNDUiLCJ0b2tlbklkIjoiMjE4YWIxZWQtYjk5OC00MTI4LThhMWUtNmQ4Mjc2NmJkYzYzIiwiZW1haWwiOiJpbWJlbHRhZ3lAZ21haWwuY29tIiwicm9sZSI6ImFkbWluIiwiaWF0IjoxNzQ5NzY0ODAwLCJleHAiOjE3NTAzNjk2MDB9.wOGGrCrO8NjwXNnStd7YEiHqW_XCz0dtCwfzKMPSPX8"
}'
Response Response Example
{}

Request

Body Params application/json
token
string 
required
Examples

Responses

🟢200Success
application/json
Body
object {0}
Modified at 2025-06-21 03:47:18
Previous
login
Next
send otp
Built with